1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
210 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
211 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
212 #define SWIGTYPE_p_wxPyPanel swig_types[3]
213 #define SWIGTYPE_p_wxMenu swig_types[4]
214 #define SWIGTYPE_p_wxPrintData swig_types[5]
215 #define SWIGTYPE_p_wxFontData swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
218 #define SWIGTYPE_p_wxIconBundle swig_types[9]
219 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
220 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
221 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
224 #define SWIGTYPE_p_wxRegion swig_types[15]
225 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
226 #define SWIGTYPE_p_int swig_types[17]
227 #define SWIGTYPE_p_wxSize swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxIcon swig_types[20]
230 #define SWIGTYPE_p_wxVisualAttributes swig_types[21]
231 #define SWIGTYPE_p_wxMDIChildFrame swig_types[22]
232 #define SWIGTYPE_p_wxColourData swig_types[23]
233 #define SWIGTYPE_p_wxNotifyEvent swig_types[24]
234 #define SWIGTYPE_p_wxPyWindow swig_types[25]
235 #define SWIGTYPE_p_wxSplashScreen swig_types[26]
236 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[27]
237 #define SWIGTYPE_p_wxProgressDialog swig_types[28]
238 #define SWIGTYPE_p_wxMessageDialog swig_types[29]
239 #define SWIGTYPE_p_wxTextEntryDialog swig_types[30]
240 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31]
241 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32]
242 #define SWIGTYPE_p_wxFileDialog swig_types[33]
243 #define SWIGTYPE_p_wxPrinter swig_types[34]
244 #define SWIGTYPE_p_wxArrayInt swig_types[35]
245 #define SWIGTYPE_p_wxEvtHandler swig_types[36]
246 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[37]
247 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[38]
248 #define SWIGTYPE_p_wxPyVListBox swig_types[39]
249 #define SWIGTYPE_p_wxRect swig_types[40]
250 #define SWIGTYPE_p_char swig_types[41]
251 #define SWIGTYPE_p_wxMiniFrame swig_types[42]
252 #define SWIGTYPE_p_wxFrame swig_types[43]
253 #define SWIGTYPE_p_wxPyPrintout swig_types[44]
254 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[45]
255 #define SWIGTYPE_p_wxScrollWinEvent swig_types[46]
256 #define SWIGTYPE_p_wxStatusBar swig_types[47]
257 #define SWIGTYPE_p_wxMDIParentFrame swig_types[48]
258 #define SWIGTYPE_p_wxPoint swig_types[49]
259 #define SWIGTYPE_p_wxObject swig_types[50]
260 #define SWIGTYPE_p_wxOutputStream swig_types[51]
261 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[52]
262 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
263 #define SWIGTYPE_p_wxTipWindow swig_types[54]
264 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
265 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
266 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[57]
267 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[58]
268 #define SWIGTYPE_p_wxPopupWindow swig_types[59]
269 #define SWIGTYPE_p_wxSashWindow swig_types[60]
270 #define SWIGTYPE_p_wxTopLevelWindow swig_types[61]
271 #define SWIGTYPE_p_wxWindow swig_types[62]
272 #define SWIGTYPE_p_wxScrolledWindow swig_types[63]
273 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[64]
274 #define SWIGTYPE_p_wxMenuBar swig_types[65]
275 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
276 #define SWIGTYPE_p_wxSashEvent swig_types[67]
277 #define SWIGTYPE_p_wxString swig_types[68]
278 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
279 #define SWIGTYPE_p_wxFontDialog swig_types[70]
280 #define SWIGTYPE_p_wxDirDialog swig_types[71]
281 #define SWIGTYPE_p_wxColourDialog swig_types[72]
282 #define SWIGTYPE_p_wxDialog swig_types[73]
283 #define SWIGTYPE_p_wxPanel swig_types[74]
284 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
285 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
286 #define SWIGTYPE_p_wxFileSystem swig_types[77]
287 #define SWIGTYPE_p_wxBitmap swig_types[78]
288 #define SWIGTYPE_p_wxCommandEvent swig_types[79]
289 #define SWIGTYPE_p_wxPreviewControlBar swig_types[80]
290 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[81]
291 #define SWIGTYPE_p_wxColour swig_types[82]
292 #define SWIGTYPE_p_wxToolBar swig_types[83]
293 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[84]
294 #define SWIGTYPE_p_wxPrintDialogData swig_types[85]
295 static swig_type_info
*swig_types
[87];
297 /* -------- TYPES TABLE (END) -------- */
300 /*-----------------------------------------------
301 @(target):= _windows_.so
302 ------------------------------------------------*/
303 #define SWIG_init init_windows_
305 #define SWIG_name "_windows_"
307 /* Auxiliar swig macros */
310 #define SWIGSTATICINLINE(a) static inline a
311 #define SWIGSTATIC(a) static a
312 #define swig_new_array(type, size) (new type[(size)])
313 #define swig_delete_array(cptr) delete[] cptr
314 #define swig_const_cast(type,a) const_cast<type>(a)
315 #define swig_static_cast(type,a) static_cast<type>(a)
316 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
318 #ifdef HAVE_NUMERIC_CAST
319 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
321 #define swig_numeric_cast(type,a) static_cast<type>(a)
326 #define SWIGSTATICINLINE(a) static a
327 #define SWIGSTATIC(a) static a
328 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
329 #define swig_delete_array(cptr) free((char*)cptr)
330 #define swig_const_cast(type,a) (type)(a)
331 #define swig_static_cast(type,a) (type)(a)
332 #define swig_reinterpret_cast(type,a) (type)(a)
333 #define swig_numeric_cast(type,a) (type)(a)
335 #endif /* __cplusplus */
338 #define SWIG_FromSignedChar PyInt_FromLong
339 #define SWIG_FromUnsignedChar PyInt_FromLong
340 #define SWIG_FromShort PyInt_FromLong
341 #define SWIG_FromUnsignedShort PyInt_FromLong
342 #define SWIG_FromInt PyInt_FromLong
343 #define SWIG_FromLong PyInt_FromLong
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
346 #define SWIG_FromFloat PyFloat_FromDouble
347 #define SWIG_FromDouble PyFloat_FromDouble
350 #include "wx/wxPython/wxPython.h"
351 #include "wx/wxPython/pyclasses.h"
354 static const wxString
wxPyEmptyString(wxEmptyString
);
355 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
362 SWIGSTATICINLINE(long)
363 SWIG_CheckLongInRange(long value
, const char* type
,
364 long min_value
, long max_value
)
366 if (!PyErr_Occurred()) {
367 if (value
< min_value
) {
369 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
370 value
, type
, min_value
);
372 PyErr_SetObject(PyExc_OverflowError
, err
);
374 } else if (value
> max_value
) {
376 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
377 value
, type
, max_value
);
378 PyErr_SetObject(PyExc_OverflowError
, err
);
386 SWIGSTATICINLINE(long)
387 SWIG_AsLong(PyObject
* obj
)
389 if (PyNumber_Check(obj
))
390 return PyInt_AsLong(obj
);
392 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
393 obj
->ob_type
->tp_name
);
394 PyErr_SetObject(PyExc_TypeError
, errmsg
);
401 #if INT_MAX != LONG_MAX
402 SWIGSTATICINLINE(int)
403 SWIG_AsInt(PyObject
*obj
)
405 return swig_numeric_cast(int,
406 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
407 "int", INT_MIN
, INT_MAX
));
410 #define SWIG_AsInt SWIG_AsLong
414 SWIGSTATICINLINE(int)
415 SWIG_CheckInt(PyObject
* obj
)
418 if (PyErr_Occurred()) {
427 SWIGSTATICINLINE(int)
428 SWIG_CheckLong(PyObject
* obj
)
431 if (PyErr_Occurred()) {
440 SWIGSTATICINLINE(bool)
441 SWIG_AsBool(PyObject
*obj
)
443 return PyObject_IsTrue(obj
) ? true : false;
447 SWIGSTATICINLINE(int)
448 SWIG_CheckBool(PyObject
* obj
)
451 if (PyErr_Occurred()) {
460 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
466 } else if (target
== Py_None
) {
470 if (!PyTuple_Check(target
)) {
472 target
= PyTuple_New(1);
473 PyTuple_SetItem(target
, 0, o2
);
476 PyTuple_SetItem(o3
, 0, o
);
479 target
= PySequence_Concat(o2
, o3
);
487 SWIGSTATICINLINE(double)
488 SWIG_AsDouble(PyObject
*obj
)
490 if (PyNumber_Check(obj
))
491 return PyFloat_AsDouble(obj
);
493 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
494 obj
->ob_type
->tp_name
);
495 PyErr_SetObject(PyExc_TypeError
, errmsg
);
502 SWIGSTATICINLINE(int)
503 SWIG_CheckDouble(PyObject
* obj
)
506 if (PyErr_Occurred()) {
514 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
515 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
516 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
517 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
520 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
522 self
->GetFieldRect(i
, r
);
525 static const wxString
wxPySplitterNameStr(wxT("splitter"));
526 static const wxString
wxPySashNameStr(wxT("sashWindow"));
527 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
529 #include <wx/popupwin.h>
532 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
535 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
536 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
537 : wxPopupTransientWindow(parent
, style
) {}
539 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
540 DEC_PYCALLBACK__(OnDismiss
);
541 DEC_PYCALLBACK_BOOL_(CanDismiss
);
546 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
547 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
548 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
551 #include <wx/tipwin.h>
553 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
554 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
557 #include <wx/tipwin.h>
560 #include <wx/vscroll.h>
563 class wxPyVScrolledWindow
: public wxVScrolledWindow
565 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
567 wxPyVScrolledWindow() : wxVScrolledWindow() {}
569 wxPyVScrolledWindow(wxWindow
*parent
,
570 wxWindowID id
= wxID_ANY
,
571 const wxPoint
& pos
= wxDefaultPosition
,
572 const wxSize
& size
= wxDefaultSize
,
574 const wxString
& name
= wxPyPanelNameStr
)
575 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
578 // Overridable virtuals
580 // this function must be overridden in the derived class and it should
581 // return the height of the given line in pixels
582 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
585 // this function doesn't have to be overridden but it may be useful to do
586 // it if calculating the lines heights is a relatively expensive operation
587 // as it gives the user code a possibility to calculate several of them at
590 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
591 // shouldn't rely on the latter being called for all lines in the interval
592 // specified here. It is also possible that OnGetLineHeight() will be
593 // called for the lines outside of this interval, so this is really just a
594 // hint, not a promise.
596 // finally note that lineMin is inclusive, while lineMax is exclusive, as
598 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
601 // when the number of lines changes, we try to estimate the total height
602 // of all lines which is a rather expensive operation in terms of lines
603 // access, so if the user code may estimate the average height
604 // better/faster than we do, it should override this function to implement
607 // this function should return the best guess for the total height it may
609 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
612 // Also expose some other interesting protected methods
615 // find the index of the line we need to show at the top of the window such
616 // that the last (fully or partially) visible line is the given one
617 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
618 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
620 // get the total height of the lines between lineMin (inclusive) and
621 // lineMax (exclusive)
622 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
623 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
629 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
631 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
632 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
633 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
636 SWIGSTATICINLINE(unsigned long)
637 SWIG_AsUnsignedLong(PyObject
* obj
)
639 if (PyLong_Check(obj
)) {
640 return PyLong_AsUnsignedLong(obj
);
642 long i
= SWIG_AsLong(obj
);
643 if ( !PyErr_Occurred() && (i
< 0)) {
644 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
651 SWIGSTATICINLINE(int)
652 SWIG_CheckUnsignedLong(PyObject
* obj
)
654 SWIG_AsUnsignedLong(obj
);
655 if (PyErr_Occurred()) {
664 SWIGSTATICINLINE(PyObject
* )
665 SWIG_FromUnsignedLong(unsigned long value
)
667 return (value
> LONG_MAX
) ?
668 PyLong_FromUnsignedLong(value
)
669 : PyInt_FromLong(swig_numeric_cast(long,value
));
673 #include <wx/vlbox.h>
675 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
677 class wxPyVListBox
: public wxVListBox
679 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
681 wxPyVListBox() : wxVListBox() {}
683 wxPyVListBox(wxWindow
*parent
,
684 wxWindowID id
= wxID_ANY
,
685 const wxPoint
& pos
= wxDefaultPosition
,
686 const wxSize
& size
= wxDefaultSize
,
688 const wxString
& name
= wxPyVListBoxNameStr
)
689 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
692 // Overridable virtuals
694 // the derived class must implement this function to actually draw the item
695 // with the given index on the provided DC
696 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
697 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
700 // the derived class must implement this method to return the height of the
702 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
703 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
706 // this method may be used to draw separators between the lines; note that
707 // the rectangle may be modified, typically to deflate it a bit before
708 // passing to OnDrawItem()
710 // the base class version doesn't do anything
711 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
712 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
715 // this method is used to draw the items background and, maybe, a border
718 // the base class version implements a reasonable default behaviour which
719 // consists in drawing the selected item with the standard background
720 // colour and drawing a border around the item if it is either selected or
722 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
723 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
729 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
731 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
732 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
733 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
734 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
737 PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
738 unsigned long cookie
= 0;
739 int selected
= self
->GetFirstSelected(cookie
);
740 bool blocked
= wxPyBeginBlockThreads();
741 PyObject
* tup
= PyTuple_New(2);
742 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
743 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
744 wxPyEndBlockThreads(blocked
);
747 PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
748 int selected
= self
->GetNextSelected(cookie
);
749 bool blocked
= wxPyBeginBlockThreads();
750 PyObject
* tup
= PyTuple_New(2);
751 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
752 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
753 wxPyEndBlockThreads(blocked
);
757 #include <wx/htmllbox.h>
760 class wxPyHtmlListBox
: public wxHtmlListBox
762 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
764 wxPyHtmlListBox() : wxHtmlListBox() {}
766 wxPyHtmlListBox(wxWindow
*parent
,
767 wxWindowID id
= wxID_ANY
,
768 const wxPoint
& pos
= wxDefaultPosition
,
769 const wxSize
& size
= wxDefaultSize
,
771 const wxString
& name
= wxPyVListBoxNameStr
)
772 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
775 // Overridable virtuals
777 // this method must be implemented in the derived class and should return
778 // the body (i.e. without <html>) of the HTML for the given item
779 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
781 // this function may be overridden to decorate HTML returned by OnGetItem()
782 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
785 // // this method allows to customize the selection appearance: it may be used
786 // // to specify the colour of the text which normally has the given colour
787 // // colFg when it is inside the selection
789 // // by default, the original colour is not used at all and all text has the
790 // // same (default for this system) colour inside selection
791 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
793 // // this is the same as GetSelectedTextColour() but allows to customize the
794 // // background colour -- this is even more rarely used as you can change it
795 // // globally using SetSelectionBackground()
796 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
803 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
805 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
806 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
813 // implement dummy classes and such for wxMac
815 class wxTaskBarIcon
: public wxEvtHandler
818 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
822 class wxTaskBarIconEvent
: public wxEvent
825 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
826 { wxPyRaiseNotImplemented(); }
827 virtual wxEvent
* Clone() const { return NULL
; }
831 wxEVT_TASKBAR_MOVE
= 0,
832 wxEVT_TASKBAR_LEFT_DOWN
= 0,
833 wxEVT_TASKBAR_LEFT_UP
= 0,
834 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
835 wxEVT_TASKBAR_RIGHT_UP
= 0,
836 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
837 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
842 // // Otherwise make a class that can virtualize CreatePopupMenu
843 // class wxPyTaskBarIcon : public wxTaskBarIcon
845 // DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
847 // wxPyTaskBarIcon() : wxTaskBarIcon()
850 // wxMenu* CreatePopupMenu() {
851 // wxMenu *rval = NULL;
853 // bool blocked = wxPyBeginBlockThreads();
854 // if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
857 // ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
859 // if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
864 // wxPyEndBlockThreads(blocked);
866 // rval = wxTaskBarIcon::CreatePopupMenu();
873 // IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
877 void wxTaskBarIcon_Destroy(wxTaskBarIcon
*self
){
882 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
883 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
884 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
885 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
886 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
887 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
888 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
890 self
->GetFilenames(arr
);
891 return wxArrayString2PyList_helper(arr
);
893 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
896 return wxArrayString2PyList_helper(arr
);
898 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
899 return wxArrayInt2PyList_helper(self
->GetSelections());
901 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
902 return new wxSingleChoiceDialog(parent
, message
, caption
,
903 choices
, choices_array
, NULL
, style
, pos
);
908 // C++ version of Python aware wxWindow
909 class wxPyWindow
: public wxWindow
911 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
913 wxPyWindow() : wxWindow() {}
914 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
915 const wxPoint
& pos
= wxDefaultPosition
,
916 const wxSize
& size
= wxDefaultSize
,
918 const wxString
& name
= wxPyPanelNameStr
)
919 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
921 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
923 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
924 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
925 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
926 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
928 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
929 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
930 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
932 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
933 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
935 DEC_PYCALLBACK__(InitDialog
);
936 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
937 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
938 DEC_PYCALLBACK_BOOL_(Validate
);
940 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
941 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
942 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
944 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
945 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
947 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
948 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
949 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
954 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
956 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
957 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
958 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
959 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
961 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
962 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
963 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
965 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
966 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
968 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
969 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
970 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
971 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
973 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
974 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
975 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
977 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
978 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
980 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
981 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
982 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
985 // C++ version of Python aware wxPanel
986 class wxPyPanel
: public wxPanel
988 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
990 wxPyPanel() : wxPanel() {}
991 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
992 const wxPoint
& pos
= wxDefaultPosition
,
993 const wxSize
& size
= wxDefaultSize
,
995 const wxString
& name
= wxPyPanelNameStr
)
996 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
998 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
1001 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1002 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1003 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1004 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1006 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1007 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1008 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1010 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1011 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1013 DEC_PYCALLBACK__(InitDialog
);
1014 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1015 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1016 DEC_PYCALLBACK_BOOL_(Validate
);
1018 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1019 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1020 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1022 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1023 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1025 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1026 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1027 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1032 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
1034 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
1035 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
1036 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
1037 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
1039 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
1040 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
1041 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
1043 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
1044 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
1046 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
1047 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
1048 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
1049 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
1051 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
1052 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
1053 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
1055 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
1056 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
1058 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
1059 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
1060 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
1063 // C++ version of Python aware wxScrolledWindow
1064 class wxPyScrolledWindow
: public wxScrolledWindow
1066 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1068 wxPyScrolledWindow() : wxScrolledWindow() {}
1069 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1070 const wxPoint
& pos
= wxDefaultPosition
,
1071 const wxSize
& size
= wxDefaultSize
,
1073 const wxString
& name
= wxPyPanelNameStr
)
1074 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1076 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
1078 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1079 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1080 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1081 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1083 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1084 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1085 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1087 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1088 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1090 DEC_PYCALLBACK__(InitDialog
);
1091 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1092 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1093 DEC_PYCALLBACK_BOOL_(Validate
);
1095 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1096 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1097 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1099 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1100 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1102 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1103 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1104 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1109 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1111 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1112 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1113 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1114 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1116 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1117 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1118 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1120 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1121 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1123 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1124 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1125 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1126 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1128 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1129 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1130 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1132 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1133 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1135 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1136 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1137 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
1141 #include "wx/wxPython/printfw.h"
1144 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1145 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1149 // Since this one would be tough and ugly to do with the Macros...
1150 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1151 bool hadErr
= False
;
1154 bool blocked
= wxPyBeginBlockThreads();
1155 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1156 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1157 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1160 val
= PyTuple_GetItem(result
, 0);
1161 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1164 val
= PyTuple_GetItem(result
, 1);
1165 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1168 val
= PyTuple_GetItem(result
, 2);
1169 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1172 val
= PyTuple_GetItem(result
, 3);
1173 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1180 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1185 wxPyEndBlockThreads(blocked
);
1187 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1190 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1191 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1195 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1196 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1197 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1198 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1199 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1200 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1201 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1207 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1208 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1209 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1212 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1213 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1216 bool blocked = wxPyBeginBlockThreads(); \
1217 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1218 PyObject* win = wxPyMake_wxObject(a); \
1219 PyObject* dc = wxPyMake_wxObject(&b); \
1220 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1224 wxPyEndBlockThreads(blocked); \
1226 rval = PCLASS::CBNAME(a, b); \
1229 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1230 return PCLASS::CBNAME(a, b); \
1236 class wxPyPrintPreview
: public wxPrintPreview
1238 DECLARE_CLASS(wxPyPrintPreview
)
1240 wxPyPrintPreview(wxPyPrintout
* printout
,
1241 wxPyPrintout
* printoutForPrinting
,
1242 wxPrintDialogData
* data
=NULL
)
1243 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1245 wxPyPrintPreview(wxPyPrintout
* printout
,
1246 wxPyPrintout
* printoutForPrinting
,
1247 wxPrintData
* data
=NULL
)
1248 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1251 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1252 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1253 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1254 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1255 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1256 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1257 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1262 // Stupid renamed classes... Fix this in 2.5...
1263 #if defined(__WXMSW__)
1264 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1265 #elif defined(__WXMAC__)
1266 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1268 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1271 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1272 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1273 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1274 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1275 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1276 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1277 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1280 class wxPyPreviewFrame
: public wxPreviewFrame
1282 DECLARE_CLASS(wxPyPreviewFrame
);
1284 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1285 const wxString
& title
,
1286 const wxPoint
& pos
= wxDefaultPosition
,
1287 const wxSize
& size
= wxDefaultSize
,
1288 long style
= wxDEFAULT_FRAME_STYLE
,
1289 const wxString
& name
= wxPyFrameNameStr
)
1290 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1293 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1294 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1296 DEC_PYCALLBACK_VOID_(Initialize
);
1297 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1298 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1303 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1305 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1306 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1307 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1310 class wxPyPreviewControlBar
: public wxPreviewControlBar
1312 DECLARE_CLASS(wxPyPreviewControlBar
);
1314 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1317 const wxPoint
& pos
= wxDefaultPosition
,
1318 const wxSize
& size
= wxDefaultSize
,
1320 const wxString
& name
= wxPyPanelNameStr
)
1321 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1324 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1326 DEC_PYCALLBACK_VOID_(CreateButtons
);
1327 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1332 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1333 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1334 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1339 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1340 PyObject
*resultobj
;
1341 wxWindow
*arg1
= (wxWindow
*) 0 ;
1342 int arg2
= (int) (int)-1 ;
1343 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1344 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1345 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1346 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1347 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1348 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1349 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1353 bool temp6
= False
;
1354 PyObject
* obj0
= 0 ;
1355 PyObject
* obj1
= 0 ;
1356 PyObject
* obj2
= 0 ;
1357 PyObject
* obj3
= 0 ;
1358 PyObject
* obj4
= 0 ;
1359 PyObject
* obj5
= 0 ;
1361 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1368 arg2
= (int const) SWIG_AsInt(obj1
);
1369 if (PyErr_Occurred()) SWIG_fail
;
1374 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1380 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1384 arg5
= (long) SWIG_AsLong(obj4
);
1385 if (PyErr_Occurred()) SWIG_fail
;
1389 arg6
= wxString_in_helper(obj5
);
1390 if (arg6
== NULL
) SWIG_fail
;
1395 if (!wxPyCheckForApp()) SWIG_fail
;
1396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1397 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1399 wxPyEndAllowThreads(__tstate
);
1400 if (PyErr_Occurred()) SWIG_fail
;
1403 resultobj
= wxPyMake_wxObject(result
);
1419 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1420 PyObject
*resultobj
;
1426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1428 if (!wxPyCheckForApp()) SWIG_fail
;
1429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1430 result
= (wxPanel
*)new wxPanel();
1432 wxPyEndAllowThreads(__tstate
);
1433 if (PyErr_Occurred()) SWIG_fail
;
1436 resultobj
= wxPyMake_wxObject(result
);
1444 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1445 PyObject
*resultobj
;
1446 wxPanel
*arg1
= (wxPanel
*) 0 ;
1447 wxWindow
*arg2
= (wxWindow
*) 0 ;
1448 int arg3
= (int) (int)-1 ;
1449 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1450 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1451 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1452 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1453 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1454 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1455 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1459 bool temp7
= False
;
1460 PyObject
* obj0
= 0 ;
1461 PyObject
* obj1
= 0 ;
1462 PyObject
* obj2
= 0 ;
1463 PyObject
* obj3
= 0 ;
1464 PyObject
* obj4
= 0 ;
1465 PyObject
* obj5
= 0 ;
1466 PyObject
* obj6
= 0 ;
1468 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1474 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1477 arg3
= (int const) SWIG_AsInt(obj2
);
1478 if (PyErr_Occurred()) SWIG_fail
;
1483 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1489 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1493 arg6
= (long) SWIG_AsLong(obj5
);
1494 if (PyErr_Occurred()) SWIG_fail
;
1498 arg7
= wxString_in_helper(obj6
);
1499 if (arg7
== NULL
) SWIG_fail
;
1504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1505 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1507 wxPyEndAllowThreads(__tstate
);
1508 if (PyErr_Occurred()) SWIG_fail
;
1511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1527 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1528 PyObject
*resultobj
;
1529 wxPanel
*arg1
= (wxPanel
*) 0 ;
1530 PyObject
* obj0
= 0 ;
1532 (char *) "self", NULL
1535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1540 (arg1
)->InitDialog();
1542 wxPyEndAllowThreads(__tstate
);
1543 if (PyErr_Occurred()) SWIG_fail
;
1545 Py_INCREF(Py_None
); resultobj
= Py_None
;
1552 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1553 PyObject
*resultobj
;
1554 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1555 wxVisualAttributes result
;
1556 PyObject
* obj0
= 0 ;
1558 (char *) "variant", NULL
1561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1563 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
1564 if (PyErr_Occurred()) SWIG_fail
;
1567 if (!wxPyCheckForApp()) SWIG_fail
;
1568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1569 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1571 wxPyEndAllowThreads(__tstate
);
1572 if (PyErr_Occurred()) SWIG_fail
;
1575 wxVisualAttributes
* resultptr
;
1576 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1585 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1587 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1588 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1590 return Py_BuildValue((char *)"");
1592 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1593 PyObject
*resultobj
;
1594 wxWindow
*arg1
= (wxWindow
*) 0 ;
1595 int arg2
= (int) (int)-1 ;
1596 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1597 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1598 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1599 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1600 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1601 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1602 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1603 wxScrolledWindow
*result
;
1606 bool temp6
= False
;
1607 PyObject
* obj0
= 0 ;
1608 PyObject
* obj1
= 0 ;
1609 PyObject
* obj2
= 0 ;
1610 PyObject
* obj3
= 0 ;
1611 PyObject
* obj4
= 0 ;
1612 PyObject
* obj5
= 0 ;
1614 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1621 arg2
= (int const) SWIG_AsInt(obj1
);
1622 if (PyErr_Occurred()) SWIG_fail
;
1627 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1633 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1637 arg5
= (long) SWIG_AsLong(obj4
);
1638 if (PyErr_Occurred()) SWIG_fail
;
1642 arg6
= wxString_in_helper(obj5
);
1643 if (arg6
== NULL
) SWIG_fail
;
1648 if (!wxPyCheckForApp()) SWIG_fail
;
1649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1650 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1652 wxPyEndAllowThreads(__tstate
);
1653 if (PyErr_Occurred()) SWIG_fail
;
1655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1670 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1671 PyObject
*resultobj
;
1672 wxScrolledWindow
*result
;
1677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1679 if (!wxPyCheckForApp()) SWIG_fail
;
1680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1681 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1683 wxPyEndAllowThreads(__tstate
);
1684 if (PyErr_Occurred()) SWIG_fail
;
1686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1693 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1694 PyObject
*resultobj
;
1695 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1696 wxWindow
*arg2
= (wxWindow
*) 0 ;
1697 int arg3
= (int) (int)-1 ;
1698 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1699 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1700 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1701 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1702 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1703 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1704 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1708 bool temp7
= False
;
1709 PyObject
* obj0
= 0 ;
1710 PyObject
* obj1
= 0 ;
1711 PyObject
* obj2
= 0 ;
1712 PyObject
* obj3
= 0 ;
1713 PyObject
* obj4
= 0 ;
1714 PyObject
* obj5
= 0 ;
1715 PyObject
* obj6
= 0 ;
1717 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1723 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1726 arg3
= (int const) SWIG_AsInt(obj2
);
1727 if (PyErr_Occurred()) SWIG_fail
;
1732 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1738 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1742 arg6
= (long) SWIG_AsLong(obj5
);
1743 if (PyErr_Occurred()) SWIG_fail
;
1747 arg7
= wxString_in_helper(obj6
);
1748 if (arg7
== NULL
) SWIG_fail
;
1753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1754 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1756 wxPyEndAllowThreads(__tstate
);
1757 if (PyErr_Occurred()) SWIG_fail
;
1760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1776 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1777 PyObject
*resultobj
;
1778 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1783 int arg6
= (int) 0 ;
1784 int arg7
= (int) 0 ;
1785 bool arg8
= (bool) False
;
1786 PyObject
* obj0
= 0 ;
1787 PyObject
* obj1
= 0 ;
1788 PyObject
* obj2
= 0 ;
1789 PyObject
* obj3
= 0 ;
1790 PyObject
* obj4
= 0 ;
1791 PyObject
* obj5
= 0 ;
1792 PyObject
* obj6
= 0 ;
1793 PyObject
* obj7
= 0 ;
1795 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1801 arg2
= (int) SWIG_AsInt(obj1
);
1802 if (PyErr_Occurred()) SWIG_fail
;
1803 arg3
= (int) SWIG_AsInt(obj2
);
1804 if (PyErr_Occurred()) SWIG_fail
;
1805 arg4
= (int) SWIG_AsInt(obj3
);
1806 if (PyErr_Occurred()) SWIG_fail
;
1807 arg5
= (int) SWIG_AsInt(obj4
);
1808 if (PyErr_Occurred()) SWIG_fail
;
1810 arg6
= (int) SWIG_AsInt(obj5
);
1811 if (PyErr_Occurred()) SWIG_fail
;
1814 arg7
= (int) SWIG_AsInt(obj6
);
1815 if (PyErr_Occurred()) SWIG_fail
;
1818 arg8
= (bool) SWIG_AsBool(obj7
);
1819 if (PyErr_Occurred()) SWIG_fail
;
1822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1823 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1825 wxPyEndAllowThreads(__tstate
);
1826 if (PyErr_Occurred()) SWIG_fail
;
1828 Py_INCREF(Py_None
); resultobj
= Py_None
;
1835 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
*resultobj
;
1837 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1840 PyObject
* obj0
= 0 ;
1841 PyObject
* obj1
= 0 ;
1842 PyObject
* obj2
= 0 ;
1844 (char *) "self",(char *) "x",(char *) "y", NULL
1847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1850 arg2
= (int) SWIG_AsInt(obj1
);
1851 if (PyErr_Occurred()) SWIG_fail
;
1852 arg3
= (int) SWIG_AsInt(obj2
);
1853 if (PyErr_Occurred()) SWIG_fail
;
1855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1856 (arg1
)->Scroll(arg2
,arg3
);
1858 wxPyEndAllowThreads(__tstate
);
1859 if (PyErr_Occurred()) SWIG_fail
;
1861 Py_INCREF(Py_None
); resultobj
= Py_None
;
1868 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1869 PyObject
*resultobj
;
1870 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1873 PyObject
* obj0
= 0 ;
1874 PyObject
* obj1
= 0 ;
1876 (char *) "self",(char *) "orient", NULL
1879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1882 arg2
= (int) SWIG_AsInt(obj1
);
1883 if (PyErr_Occurred()) SWIG_fail
;
1885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1886 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1888 wxPyEndAllowThreads(__tstate
);
1889 if (PyErr_Occurred()) SWIG_fail
;
1891 resultobj
= SWIG_FromInt((int)result
);
1898 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1899 PyObject
*resultobj
;
1900 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1903 PyObject
* obj0
= 0 ;
1904 PyObject
* obj1
= 0 ;
1905 PyObject
* obj2
= 0 ;
1907 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1913 arg2
= (int) SWIG_AsInt(obj1
);
1914 if (PyErr_Occurred()) SWIG_fail
;
1915 arg3
= (int) SWIG_AsInt(obj2
);
1916 if (PyErr_Occurred()) SWIG_fail
;
1918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1919 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1921 wxPyEndAllowThreads(__tstate
);
1922 if (PyErr_Occurred()) SWIG_fail
;
1924 Py_INCREF(Py_None
); resultobj
= Py_None
;
1931 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1932 PyObject
*resultobj
;
1933 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1936 PyObject
* obj0
= 0 ;
1937 PyObject
* obj1
= 0 ;
1938 PyObject
* obj2
= 0 ;
1940 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1946 arg2
= (int) SWIG_AsInt(obj1
);
1947 if (PyErr_Occurred()) SWIG_fail
;
1948 arg3
= (int) SWIG_AsInt(obj2
);
1949 if (PyErr_Occurred()) SWIG_fail
;
1951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1952 (arg1
)->SetScrollRate(arg2
,arg3
);
1954 wxPyEndAllowThreads(__tstate
);
1955 if (PyErr_Occurred()) SWIG_fail
;
1957 Py_INCREF(Py_None
); resultobj
= Py_None
;
1964 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1965 PyObject
*resultobj
;
1966 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1967 int *arg2
= (int *) 0 ;
1968 int *arg3
= (int *) 0 ;
1971 PyObject
* obj0
= 0 ;
1973 (char *) "self", NULL
1978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1983 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1985 wxPyEndAllowThreads(__tstate
);
1986 if (PyErr_Occurred()) SWIG_fail
;
1988 Py_INCREF(Py_None
); resultobj
= Py_None
;
1990 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1991 resultobj
= t_output_helper(resultobj
,o
);
1994 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1995 resultobj
= t_output_helper(resultobj
,o
);
2003 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2004 PyObject
*resultobj
;
2005 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2008 PyObject
* obj0
= 0 ;
2009 PyObject
* obj1
= 0 ;
2010 PyObject
* obj2
= 0 ;
2012 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2018 arg2
= (bool) SWIG_AsBool(obj1
);
2019 if (PyErr_Occurred()) SWIG_fail
;
2020 arg3
= (bool) SWIG_AsBool(obj2
);
2021 if (PyErr_Occurred()) SWIG_fail
;
2023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2024 (arg1
)->EnableScrolling(arg2
,arg3
);
2026 wxPyEndAllowThreads(__tstate
);
2027 if (PyErr_Occurred()) SWIG_fail
;
2029 Py_INCREF(Py_None
); resultobj
= Py_None
;
2036 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2037 PyObject
*resultobj
;
2038 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2039 int *arg2
= (int *) 0 ;
2040 int *arg3
= (int *) 0 ;
2043 PyObject
* obj0
= 0 ;
2045 (char *) "self", NULL
2050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
2051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2055 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
2057 wxPyEndAllowThreads(__tstate
);
2058 if (PyErr_Occurred()) SWIG_fail
;
2060 Py_INCREF(Py_None
); resultobj
= Py_None
;
2062 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2063 resultobj
= t_output_helper(resultobj
,o
);
2066 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
2067 resultobj
= t_output_helper(resultobj
,o
);
2075 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2076 PyObject
*resultobj
;
2077 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2080 PyObject
* obj0
= 0 ;
2081 PyObject
* obj1
= 0 ;
2082 PyObject
* obj2
= 0 ;
2084 (char *) "self",(char *) "xs",(char *) "ys", NULL
2087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2090 arg2
= (double) SWIG_AsDouble(obj1
);
2091 if (PyErr_Occurred()) SWIG_fail
;
2092 arg3
= (double) SWIG_AsDouble(obj2
);
2093 if (PyErr_Occurred()) SWIG_fail
;
2095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2096 (arg1
)->SetScale(arg2
,arg3
);
2098 wxPyEndAllowThreads(__tstate
);
2099 if (PyErr_Occurred()) SWIG_fail
;
2101 Py_INCREF(Py_None
); resultobj
= Py_None
;
2108 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2109 PyObject
*resultobj
;
2110 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2112 PyObject
* obj0
= 0 ;
2114 (char *) "self", NULL
2117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2122 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2124 wxPyEndAllowThreads(__tstate
);
2125 if (PyErr_Occurred()) SWIG_fail
;
2127 resultobj
= SWIG_FromDouble((double)result
);
2134 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2135 PyObject
*resultobj
;
2136 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2138 PyObject
* obj0
= 0 ;
2140 (char *) "self", NULL
2143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2148 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2150 wxPyEndAllowThreads(__tstate
);
2151 if (PyErr_Occurred()) SWIG_fail
;
2153 resultobj
= SWIG_FromDouble((double)result
);
2160 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2161 PyObject
*resultobj
;
2162 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2166 PyObject
* obj0
= 0 ;
2167 PyObject
* obj1
= 0 ;
2169 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2174 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2178 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2180 wxPyEndAllowThreads(__tstate
);
2181 if (PyErr_Occurred()) SWIG_fail
;
2184 wxPoint
* resultptr
;
2185 resultptr
= new wxPoint((wxPoint
&) result
);
2186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2194 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2195 PyObject
*resultobj
;
2196 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2199 int *arg4
= (int *) 0 ;
2200 int *arg5
= (int *) 0 ;
2203 PyObject
* obj0
= 0 ;
2204 PyObject
* obj1
= 0 ;
2205 PyObject
* obj2
= 0 ;
2209 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2212 arg2
= (int) SWIG_AsInt(obj1
);
2213 if (PyErr_Occurred()) SWIG_fail
;
2214 arg3
= (int) SWIG_AsInt(obj2
);
2215 if (PyErr_Occurred()) SWIG_fail
;
2217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2218 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2220 wxPyEndAllowThreads(__tstate
);
2221 if (PyErr_Occurred()) SWIG_fail
;
2223 Py_INCREF(Py_None
); resultobj
= Py_None
;
2225 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2226 resultobj
= t_output_helper(resultobj
,o
);
2229 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2230 resultobj
= t_output_helper(resultobj
,o
);
2238 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2243 argc
= PyObject_Length(args
);
2244 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2245 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2251 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2260 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2263 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2271 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2279 _v
= SWIG_CheckInt(argv
[1]);
2281 _v
= SWIG_CheckInt(argv
[2]);
2283 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2289 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2294 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2295 PyObject
*resultobj
;
2296 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2300 PyObject
* obj0
= 0 ;
2301 PyObject
* obj1
= 0 ;
2303 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2308 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2312 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2314 wxPyEndAllowThreads(__tstate
);
2315 if (PyErr_Occurred()) SWIG_fail
;
2318 wxPoint
* resultptr
;
2319 resultptr
= new wxPoint((wxPoint
&) result
);
2320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2328 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2329 PyObject
*resultobj
;
2330 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2333 int *arg4
= (int *) 0 ;
2334 int *arg5
= (int *) 0 ;
2337 PyObject
* obj0
= 0 ;
2338 PyObject
* obj1
= 0 ;
2339 PyObject
* obj2
= 0 ;
2343 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2346 arg2
= (int) SWIG_AsInt(obj1
);
2347 if (PyErr_Occurred()) SWIG_fail
;
2348 arg3
= (int) SWIG_AsInt(obj2
);
2349 if (PyErr_Occurred()) SWIG_fail
;
2351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2352 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2354 wxPyEndAllowThreads(__tstate
);
2355 if (PyErr_Occurred()) SWIG_fail
;
2357 Py_INCREF(Py_None
); resultobj
= Py_None
;
2359 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2360 resultobj
= t_output_helper(resultobj
,o
);
2363 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2364 resultobj
= t_output_helper(resultobj
,o
);
2372 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2377 argc
= PyObject_Length(args
);
2378 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2379 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2385 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2394 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2397 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2405 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2413 _v
= SWIG_CheckInt(argv
[1]);
2415 _v
= SWIG_CheckInt(argv
[2]);
2417 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2423 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2428 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2429 PyObject
*resultobj
;
2430 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2431 PyObject
* obj0
= 0 ;
2433 (char *) "self", NULL
2436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2441 (arg1
)->AdjustScrollbars();
2443 wxPyEndAllowThreads(__tstate
);
2444 if (PyErr_Occurred()) SWIG_fail
;
2446 Py_INCREF(Py_None
); resultobj
= Py_None
;
2453 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2454 PyObject
*resultobj
;
2455 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2456 wxScrollWinEvent
*arg2
= 0 ;
2458 PyObject
* obj0
= 0 ;
2459 PyObject
* obj1
= 0 ;
2461 (char *) "self",(char *) "event", NULL
2464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2467 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2468 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2471 PyErr_SetString(PyExc_TypeError
,"null reference");
2475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2476 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2478 wxPyEndAllowThreads(__tstate
);
2479 if (PyErr_Occurred()) SWIG_fail
;
2481 resultobj
= SWIG_FromInt((int)result
);
2488 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2489 PyObject
*resultobj
;
2490 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2491 wxWindow
*arg2
= (wxWindow
*) 0 ;
2492 PyObject
* obj0
= 0 ;
2493 PyObject
* obj1
= 0 ;
2495 (char *) "self",(char *) "target", NULL
2498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2501 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2505 (arg1
)->SetTargetWindow(arg2
);
2507 wxPyEndAllowThreads(__tstate
);
2508 if (PyErr_Occurred()) SWIG_fail
;
2510 Py_INCREF(Py_None
); resultobj
= Py_None
;
2517 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2518 PyObject
*resultobj
;
2519 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2521 PyObject
* obj0
= 0 ;
2523 (char *) "self", NULL
2526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2531 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2533 wxPyEndAllowThreads(__tstate
);
2534 if (PyErr_Occurred()) SWIG_fail
;
2537 resultobj
= wxPyMake_wxObject(result
);
2545 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2546 PyObject
*resultobj
;
2547 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2548 wxVisualAttributes result
;
2549 PyObject
* obj0
= 0 ;
2551 (char *) "variant", NULL
2554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2556 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2557 if (PyErr_Occurred()) SWIG_fail
;
2560 if (!wxPyCheckForApp()) SWIG_fail
;
2561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2562 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2564 wxPyEndAllowThreads(__tstate
);
2565 if (PyErr_Occurred()) SWIG_fail
;
2568 wxVisualAttributes
* resultptr
;
2569 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2570 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2578 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2581 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2583 return Py_BuildValue((char *)"");
2585 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2586 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2591 static PyObject
*_wrap_FrameNameStr_get() {
2596 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2598 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2605 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2606 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2611 static PyObject
*_wrap_DialogNameStr_get() {
2616 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2618 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2625 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2626 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2631 static PyObject
*_wrap_StatusLineNameStr_get() {
2636 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2638 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2645 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2646 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2651 static PyObject
*_wrap_ToolBarNameStr_get() {
2656 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2658 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2665 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2666 PyObject
*resultobj
;
2667 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2668 bool arg2
= (bool) True
;
2669 PyObject
* obj0
= 0 ;
2670 PyObject
* obj1
= 0 ;
2672 (char *) "self",(char *) "maximize", NULL
2675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2679 arg2
= (bool) SWIG_AsBool(obj1
);
2680 if (PyErr_Occurred()) SWIG_fail
;
2683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2684 (arg1
)->Maximize(arg2
);
2686 wxPyEndAllowThreads(__tstate
);
2687 if (PyErr_Occurred()) SWIG_fail
;
2689 Py_INCREF(Py_None
); resultobj
= Py_None
;
2696 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2697 PyObject
*resultobj
;
2698 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2699 PyObject
* obj0
= 0 ;
2701 (char *) "self", NULL
2704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2711 wxPyEndAllowThreads(__tstate
);
2712 if (PyErr_Occurred()) SWIG_fail
;
2714 Py_INCREF(Py_None
); resultobj
= Py_None
;
2721 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2722 PyObject
*resultobj
;
2723 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2724 bool arg2
= (bool) True
;
2725 PyObject
* obj0
= 0 ;
2726 PyObject
* obj1
= 0 ;
2728 (char *) "self",(char *) "iconize", NULL
2731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2735 arg2
= (bool) SWIG_AsBool(obj1
);
2736 if (PyErr_Occurred()) SWIG_fail
;
2739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2740 (arg1
)->Iconize(arg2
);
2742 wxPyEndAllowThreads(__tstate
);
2743 if (PyErr_Occurred()) SWIG_fail
;
2745 Py_INCREF(Py_None
); resultobj
= Py_None
;
2752 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2753 PyObject
*resultobj
;
2754 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2756 PyObject
* obj0
= 0 ;
2758 (char *) "self", NULL
2761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2766 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2768 wxPyEndAllowThreads(__tstate
);
2769 if (PyErr_Occurred()) SWIG_fail
;
2772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2780 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2781 PyObject
*resultobj
;
2782 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2784 PyObject
* obj0
= 0 ;
2786 (char *) "self", NULL
2789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2794 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2796 wxPyEndAllowThreads(__tstate
);
2797 if (PyErr_Occurred()) SWIG_fail
;
2800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2808 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2809 PyObject
*resultobj
;
2810 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2812 PyObject
* obj0
= 0 ;
2814 (char *) "self", NULL
2817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2822 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2824 wxPyEndAllowThreads(__tstate
);
2825 if (PyErr_Occurred()) SWIG_fail
;
2829 resultptr
= new wxIcon((wxIcon
&) result
);
2830 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2838 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2839 PyObject
*resultobj
;
2840 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2842 PyObject
* obj0
= 0 ;
2843 PyObject
* obj1
= 0 ;
2845 (char *) "self",(char *) "icon", NULL
2848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2851 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2852 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2855 PyErr_SetString(PyExc_TypeError
,"null reference");
2859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2860 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2862 wxPyEndAllowThreads(__tstate
);
2863 if (PyErr_Occurred()) SWIG_fail
;
2865 Py_INCREF(Py_None
); resultobj
= Py_None
;
2872 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2873 PyObject
*resultobj
;
2874 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2875 wxIconBundle
*arg2
= 0 ;
2876 PyObject
* obj0
= 0 ;
2877 PyObject
* obj1
= 0 ;
2879 (char *) "self",(char *) "icons", NULL
2882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2885 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2886 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2889 PyErr_SetString(PyExc_TypeError
,"null reference");
2893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2894 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2896 wxPyEndAllowThreads(__tstate
);
2897 if (PyErr_Occurred()) SWIG_fail
;
2899 Py_INCREF(Py_None
); resultobj
= Py_None
;
2906 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2907 PyObject
*resultobj
;
2908 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2910 long arg3
= (long) wxFULLSCREEN_ALL
;
2912 PyObject
* obj0
= 0 ;
2913 PyObject
* obj1
= 0 ;
2914 PyObject
* obj2
= 0 ;
2916 (char *) "self",(char *) "show",(char *) "style", NULL
2919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2922 arg2
= (bool) SWIG_AsBool(obj1
);
2923 if (PyErr_Occurred()) SWIG_fail
;
2925 arg3
= (long) SWIG_AsLong(obj2
);
2926 if (PyErr_Occurred()) SWIG_fail
;
2929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2930 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2932 wxPyEndAllowThreads(__tstate
);
2933 if (PyErr_Occurred()) SWIG_fail
;
2936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2944 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2945 PyObject
*resultobj
;
2946 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2948 PyObject
* obj0
= 0 ;
2950 (char *) "self", NULL
2953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2958 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2960 wxPyEndAllowThreads(__tstate
);
2961 if (PyErr_Occurred()) SWIG_fail
;
2964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2972 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2973 PyObject
*resultobj
;
2974 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2975 wxString
*arg2
= 0 ;
2976 bool temp2
= False
;
2977 PyObject
* obj0
= 0 ;
2978 PyObject
* obj1
= 0 ;
2980 (char *) "self",(char *) "title", NULL
2983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2987 arg2
= wxString_in_helper(obj1
);
2988 if (arg2
== NULL
) SWIG_fail
;
2992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2993 (arg1
)->SetTitle((wxString
const &)*arg2
);
2995 wxPyEndAllowThreads(__tstate
);
2996 if (PyErr_Occurred()) SWIG_fail
;
2998 Py_INCREF(Py_None
); resultobj
= Py_None
;
3013 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3014 PyObject
*resultobj
;
3015 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3017 PyObject
* obj0
= 0 ;
3019 (char *) "self", NULL
3022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
3023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3027 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
3029 wxPyEndAllowThreads(__tstate
);
3030 if (PyErr_Occurred()) SWIG_fail
;
3034 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3036 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3045 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3046 PyObject
*resultobj
;
3047 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3048 wxRegion
*arg2
= 0 ;
3050 PyObject
* obj0
= 0 ;
3051 PyObject
* obj1
= 0 ;
3053 (char *) "self",(char *) "region", NULL
3056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3059 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
3060 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3063 PyErr_SetString(PyExc_TypeError
,"null reference");
3067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3068 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
3070 wxPyEndAllowThreads(__tstate
);
3071 if (PyErr_Occurred()) SWIG_fail
;
3074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3082 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
3084 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3085 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3087 return Py_BuildValue((char *)"");
3089 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3090 PyObject
*resultobj
;
3091 wxWindow
*arg1
= (wxWindow
*) 0 ;
3092 int arg2
= (int) (int)-1 ;
3093 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3094 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3095 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3096 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3097 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3098 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3099 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3100 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3101 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3103 bool temp3
= False
;
3106 bool temp7
= False
;
3107 PyObject
* obj0
= 0 ;
3108 PyObject
* obj1
= 0 ;
3109 PyObject
* obj2
= 0 ;
3110 PyObject
* obj3
= 0 ;
3111 PyObject
* obj4
= 0 ;
3112 PyObject
* obj5
= 0 ;
3113 PyObject
* obj6
= 0 ;
3115 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3122 arg2
= (int const) SWIG_AsInt(obj1
);
3123 if (PyErr_Occurred()) SWIG_fail
;
3127 arg3
= wxString_in_helper(obj2
);
3128 if (arg3
== NULL
) SWIG_fail
;
3135 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3141 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3145 arg6
= (long) SWIG_AsLong(obj5
);
3146 if (PyErr_Occurred()) SWIG_fail
;
3150 arg7
= wxString_in_helper(obj6
);
3151 if (arg7
== NULL
) SWIG_fail
;
3156 if (!wxPyCheckForApp()) SWIG_fail
;
3157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3158 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3160 wxPyEndAllowThreads(__tstate
);
3161 if (PyErr_Occurred()) SWIG_fail
;
3164 resultobj
= wxPyMake_wxObject(result
);
3188 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3189 PyObject
*resultobj
;
3195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3197 if (!wxPyCheckForApp()) SWIG_fail
;
3198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3199 result
= (wxFrame
*)new wxFrame();
3201 wxPyEndAllowThreads(__tstate
);
3202 if (PyErr_Occurred()) SWIG_fail
;
3205 resultobj
= wxPyMake_wxObject(result
);
3213 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3214 PyObject
*resultobj
;
3215 wxFrame
*arg1
= (wxFrame
*) 0 ;
3216 wxWindow
*arg2
= (wxWindow
*) 0 ;
3217 int arg3
= (int) (int)-1 ;
3218 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3219 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3220 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3221 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3222 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3223 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3224 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3225 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3226 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3228 bool temp4
= False
;
3231 bool temp8
= False
;
3232 PyObject
* obj0
= 0 ;
3233 PyObject
* obj1
= 0 ;
3234 PyObject
* obj2
= 0 ;
3235 PyObject
* obj3
= 0 ;
3236 PyObject
* obj4
= 0 ;
3237 PyObject
* obj5
= 0 ;
3238 PyObject
* obj6
= 0 ;
3239 PyObject
* obj7
= 0 ;
3241 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3250 arg3
= (int const) SWIG_AsInt(obj2
);
3251 if (PyErr_Occurred()) SWIG_fail
;
3255 arg4
= wxString_in_helper(obj3
);
3256 if (arg4
== NULL
) SWIG_fail
;
3263 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3269 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3273 arg7
= (long) SWIG_AsLong(obj6
);
3274 if (PyErr_Occurred()) SWIG_fail
;
3278 arg8
= wxString_in_helper(obj7
);
3279 if (arg8
== NULL
) SWIG_fail
;
3284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3285 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3287 wxPyEndAllowThreads(__tstate
);
3288 if (PyErr_Occurred()) SWIG_fail
;
3291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3315 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3316 PyObject
*resultobj
;
3317 wxFrame
*arg1
= (wxFrame
*) 0 ;
3319 PyObject
* obj0
= 0 ;
3321 (char *) "self", NULL
3324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3329 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3331 wxPyEndAllowThreads(__tstate
);
3332 if (PyErr_Occurred()) SWIG_fail
;
3335 wxPoint
* resultptr
;
3336 resultptr
= new wxPoint((wxPoint
&) result
);
3337 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3345 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3346 PyObject
*resultobj
;
3347 wxFrame
*arg1
= (wxFrame
*) 0 ;
3348 PyObject
* obj0
= 0 ;
3350 (char *) "self", NULL
3353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3358 (arg1
)->SendSizeEvent();
3360 wxPyEndAllowThreads(__tstate
);
3361 if (PyErr_Occurred()) SWIG_fail
;
3363 Py_INCREF(Py_None
); resultobj
= Py_None
;
3370 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
*resultobj
;
3372 wxFrame
*arg1
= (wxFrame
*) 0 ;
3373 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3374 PyObject
* obj0
= 0 ;
3375 PyObject
* obj1
= 0 ;
3377 (char *) "self",(char *) "menubar", NULL
3380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3387 (arg1
)->SetMenuBar(arg2
);
3389 wxPyEndAllowThreads(__tstate
);
3390 if (PyErr_Occurred()) SWIG_fail
;
3392 Py_INCREF(Py_None
); resultobj
= Py_None
;
3399 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3400 PyObject
*resultobj
;
3401 wxFrame
*arg1
= (wxFrame
*) 0 ;
3403 PyObject
* obj0
= 0 ;
3405 (char *) "self", NULL
3408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3413 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3415 wxPyEndAllowThreads(__tstate
);
3416 if (PyErr_Occurred()) SWIG_fail
;
3419 resultobj
= wxPyMake_wxObject(result
);
3427 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3428 PyObject
*resultobj
;
3429 wxFrame
*arg1
= (wxFrame
*) 0 ;
3432 PyObject
* obj0
= 0 ;
3433 PyObject
* obj1
= 0 ;
3435 (char *) "self",(char *) "winid", NULL
3438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3441 arg2
= (int) SWIG_AsInt(obj1
);
3442 if (PyErr_Occurred()) SWIG_fail
;
3444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3445 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3447 wxPyEndAllowThreads(__tstate
);
3448 if (PyErr_Occurred()) SWIG_fail
;
3451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3459 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3460 PyObject
*resultobj
;
3461 wxFrame
*arg1
= (wxFrame
*) 0 ;
3462 int arg2
= (int) 1 ;
3463 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
3464 int arg4
= (int) 0 ;
3465 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3466 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3467 wxStatusBar
*result
;
3468 bool temp5
= False
;
3469 PyObject
* obj0
= 0 ;
3470 PyObject
* obj1
= 0 ;
3471 PyObject
* obj2
= 0 ;
3472 PyObject
* obj3
= 0 ;
3473 PyObject
* obj4
= 0 ;
3475 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3482 arg2
= (int) SWIG_AsInt(obj1
);
3483 if (PyErr_Occurred()) SWIG_fail
;
3486 arg3
= (long) SWIG_AsLong(obj2
);
3487 if (PyErr_Occurred()) SWIG_fail
;
3490 arg4
= (int) SWIG_AsInt(obj3
);
3491 if (PyErr_Occurred()) SWIG_fail
;
3495 arg5
= wxString_in_helper(obj4
);
3496 if (arg5
== NULL
) SWIG_fail
;
3501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3502 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3504 wxPyEndAllowThreads(__tstate
);
3505 if (PyErr_Occurred()) SWIG_fail
;
3508 resultobj
= wxPyMake_wxObject(result
);
3524 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3525 PyObject
*resultobj
;
3526 wxFrame
*arg1
= (wxFrame
*) 0 ;
3527 wxStatusBar
*result
;
3528 PyObject
* obj0
= 0 ;
3530 (char *) "self", NULL
3533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3538 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3540 wxPyEndAllowThreads(__tstate
);
3541 if (PyErr_Occurred()) SWIG_fail
;
3544 resultobj
= wxPyMake_wxObject(result
);
3552 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3553 PyObject
*resultobj
;
3554 wxFrame
*arg1
= (wxFrame
*) 0 ;
3555 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3556 PyObject
* obj0
= 0 ;
3557 PyObject
* obj1
= 0 ;
3559 (char *) "self",(char *) "statBar", NULL
3562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3565 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3569 (arg1
)->SetStatusBar(arg2
);
3571 wxPyEndAllowThreads(__tstate
);
3572 if (PyErr_Occurred()) SWIG_fail
;
3574 Py_INCREF(Py_None
); resultobj
= Py_None
;
3581 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
*resultobj
;
3583 wxFrame
*arg1
= (wxFrame
*) 0 ;
3584 wxString
*arg2
= 0 ;
3585 int arg3
= (int) 0 ;
3586 bool temp2
= False
;
3587 PyObject
* obj0
= 0 ;
3588 PyObject
* obj1
= 0 ;
3589 PyObject
* obj2
= 0 ;
3591 (char *) "self",(char *) "text",(char *) "number", NULL
3594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3598 arg2
= wxString_in_helper(obj1
);
3599 if (arg2
== NULL
) SWIG_fail
;
3603 arg3
= (int) SWIG_AsInt(obj2
);
3604 if (PyErr_Occurred()) SWIG_fail
;
3607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3608 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3610 wxPyEndAllowThreads(__tstate
);
3611 if (PyErr_Occurred()) SWIG_fail
;
3613 Py_INCREF(Py_None
); resultobj
= Py_None
;
3628 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3629 PyObject
*resultobj
;
3630 wxFrame
*arg1
= (wxFrame
*) 0 ;
3632 int *arg3
= (int *) 0 ;
3633 PyObject
* obj0
= 0 ;
3634 PyObject
* obj1
= 0 ;
3636 (char *) "self",(char *) "widths", NULL
3639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3643 arg2
= PyList_Size(obj1
);
3644 arg3
= int_LIST_helper(obj1
);
3645 if (arg3
== NULL
) SWIG_fail
;
3648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3649 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3654 Py_INCREF(Py_None
); resultobj
= Py_None
;
3656 if (arg3
) delete [] arg3
;
3661 if (arg3
) delete [] arg3
;
3667 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3668 PyObject
*resultobj
;
3669 wxFrame
*arg1
= (wxFrame
*) 0 ;
3670 wxString
*arg2
= 0 ;
3671 int arg3
= (int) 0 ;
3672 bool temp2
= False
;
3673 PyObject
* obj0
= 0 ;
3674 PyObject
* obj1
= 0 ;
3675 PyObject
* obj2
= 0 ;
3677 (char *) "self",(char *) "text",(char *) "number", NULL
3680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3684 arg2
= wxString_in_helper(obj1
);
3685 if (arg2
== NULL
) SWIG_fail
;
3689 arg3
= (int) SWIG_AsInt(obj2
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3694 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3699 Py_INCREF(Py_None
); resultobj
= Py_None
;
3714 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3715 PyObject
*resultobj
;
3716 wxFrame
*arg1
= (wxFrame
*) 0 ;
3717 int arg2
= (int) 0 ;
3718 PyObject
* obj0
= 0 ;
3719 PyObject
* obj1
= 0 ;
3721 (char *) "self",(char *) "number", NULL
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3728 arg2
= (int) SWIG_AsInt(obj1
);
3729 if (PyErr_Occurred()) SWIG_fail
;
3732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3733 (arg1
)->PopStatusText(arg2
);
3735 wxPyEndAllowThreads(__tstate
);
3736 if (PyErr_Occurred()) SWIG_fail
;
3738 Py_INCREF(Py_None
); resultobj
= Py_None
;
3745 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3746 PyObject
*resultobj
;
3747 wxFrame
*arg1
= (wxFrame
*) 0 ;
3749 PyObject
* obj0
= 0 ;
3750 PyObject
* obj1
= 0 ;
3752 (char *) "self",(char *) "n", NULL
3755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3758 arg2
= (int) SWIG_AsInt(obj1
);
3759 if (PyErr_Occurred()) SWIG_fail
;
3761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3762 (arg1
)->SetStatusBarPane(arg2
);
3764 wxPyEndAllowThreads(__tstate
);
3765 if (PyErr_Occurred()) SWIG_fail
;
3767 Py_INCREF(Py_None
); resultobj
= Py_None
;
3774 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
*resultobj
;
3776 wxFrame
*arg1
= (wxFrame
*) 0 ;
3778 PyObject
* obj0
= 0 ;
3780 (char *) "self", NULL
3783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3788 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3790 wxPyEndAllowThreads(__tstate
);
3791 if (PyErr_Occurred()) SWIG_fail
;
3793 resultobj
= SWIG_FromInt((int)result
);
3800 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3801 PyObject
*resultobj
;
3802 wxFrame
*arg1
= (wxFrame
*) 0 ;
3803 long arg2
= (long) -1 ;
3804 int arg3
= (int) -1 ;
3805 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3806 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3808 bool temp4
= False
;
3809 PyObject
* obj0
= 0 ;
3810 PyObject
* obj1
= 0 ;
3811 PyObject
* obj2
= 0 ;
3812 PyObject
* obj3
= 0 ;
3814 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3821 arg2
= (long) SWIG_AsLong(obj1
);
3822 if (PyErr_Occurred()) SWIG_fail
;
3825 arg3
= (int) SWIG_AsInt(obj2
);
3826 if (PyErr_Occurred()) SWIG_fail
;
3830 arg4
= wxString_in_helper(obj3
);
3831 if (arg4
== NULL
) SWIG_fail
;
3836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3837 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3839 wxPyEndAllowThreads(__tstate
);
3840 if (PyErr_Occurred()) SWIG_fail
;
3843 resultobj
= wxPyMake_wxObject(result
);
3859 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
*resultobj
;
3861 wxFrame
*arg1
= (wxFrame
*) 0 ;
3863 PyObject
* obj0
= 0 ;
3865 (char *) "self", NULL
3868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3873 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3875 wxPyEndAllowThreads(__tstate
);
3876 if (PyErr_Occurred()) SWIG_fail
;
3879 resultobj
= wxPyMake_wxObject(result
);
3887 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
*resultobj
;
3889 wxFrame
*arg1
= (wxFrame
*) 0 ;
3890 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3891 PyObject
* obj0
= 0 ;
3892 PyObject
* obj1
= 0 ;
3894 (char *) "self",(char *) "toolbar", NULL
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3900 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
3901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3904 (arg1
)->SetToolBar(arg2
);
3906 wxPyEndAllowThreads(__tstate
);
3907 if (PyErr_Occurred()) SWIG_fail
;
3909 Py_INCREF(Py_None
); resultobj
= Py_None
;
3916 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3917 PyObject
*resultobj
;
3918 wxFrame
*arg1
= (wxFrame
*) 0 ;
3919 wxString
*arg2
= 0 ;
3921 bool temp2
= False
;
3922 PyObject
* obj0
= 0 ;
3923 PyObject
* obj1
= 0 ;
3924 PyObject
* obj2
= 0 ;
3926 (char *) "self",(char *) "text",(char *) "show", NULL
3929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3933 arg2
= wxString_in_helper(obj1
);
3934 if (arg2
== NULL
) SWIG_fail
;
3937 arg3
= (bool) SWIG_AsBool(obj2
);
3938 if (PyErr_Occurred()) SWIG_fail
;
3940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3941 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3943 wxPyEndAllowThreads(__tstate
);
3944 if (PyErr_Occurred()) SWIG_fail
;
3946 Py_INCREF(Py_None
); resultobj
= Py_None
;
3961 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3962 PyObject
*resultobj
;
3963 wxFrame
*arg1
= (wxFrame
*) 0 ;
3964 wxMenu
*arg2
= (wxMenu
*) NULL
;
3965 PyObject
* obj0
= 0 ;
3966 PyObject
* obj1
= 0 ;
3968 (char *) "self",(char *) "menu", NULL
3971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3975 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
3976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3980 (arg1
)->DoMenuUpdates(arg2
);
3982 wxPyEndAllowThreads(__tstate
);
3983 if (PyErr_Occurred()) SWIG_fail
;
3985 Py_INCREF(Py_None
); resultobj
= Py_None
;
3992 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
*resultobj
;
3994 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3995 wxVisualAttributes result
;
3996 PyObject
* obj0
= 0 ;
3998 (char *) "variant", NULL
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4003 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4004 if (PyErr_Occurred()) SWIG_fail
;
4007 if (!wxPyCheckForApp()) SWIG_fail
;
4008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4009 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4011 wxPyEndAllowThreads(__tstate
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4015 wxVisualAttributes
* resultptr
;
4016 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4017 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4025 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
4027 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4028 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
4030 return Py_BuildValue((char *)"");
4032 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
*resultobj
;
4034 wxWindow
*arg1
= (wxWindow
*) 0 ;
4035 int arg2
= (int) (int)-1 ;
4036 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4037 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4038 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4039 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4040 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4041 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4042 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
4043 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
4044 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4046 bool temp3
= False
;
4049 bool temp7
= False
;
4050 PyObject
* obj0
= 0 ;
4051 PyObject
* obj1
= 0 ;
4052 PyObject
* obj2
= 0 ;
4053 PyObject
* obj3
= 0 ;
4054 PyObject
* obj4
= 0 ;
4055 PyObject
* obj5
= 0 ;
4056 PyObject
* obj6
= 0 ;
4058 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4065 arg2
= (int const) SWIG_AsInt(obj1
);
4066 if (PyErr_Occurred()) SWIG_fail
;
4070 arg3
= wxString_in_helper(obj2
);
4071 if (arg3
== NULL
) SWIG_fail
;
4078 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4084 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4088 arg6
= (long) SWIG_AsLong(obj5
);
4089 if (PyErr_Occurred()) SWIG_fail
;
4093 arg7
= wxString_in_helper(obj6
);
4094 if (arg7
== NULL
) SWIG_fail
;
4099 if (!wxPyCheckForApp()) SWIG_fail
;
4100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4101 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4103 wxPyEndAllowThreads(__tstate
);
4104 if (PyErr_Occurred()) SWIG_fail
;
4107 resultobj
= wxPyMake_wxObject(result
);
4131 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4132 PyObject
*resultobj
;
4138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4140 if (!wxPyCheckForApp()) SWIG_fail
;
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 result
= (wxDialog
*)new wxDialog();
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4148 resultobj
= wxPyMake_wxObject(result
);
4156 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4157 PyObject
*resultobj
;
4158 wxDialog
*arg1
= (wxDialog
*) 0 ;
4159 wxWindow
*arg2
= (wxWindow
*) 0 ;
4160 int arg3
= (int) (int)-1 ;
4161 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4162 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4163 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4164 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4165 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4166 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4167 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4168 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4169 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4171 bool temp4
= False
;
4174 bool temp8
= False
;
4175 PyObject
* obj0
= 0 ;
4176 PyObject
* obj1
= 0 ;
4177 PyObject
* obj2
= 0 ;
4178 PyObject
* obj3
= 0 ;
4179 PyObject
* obj4
= 0 ;
4180 PyObject
* obj5
= 0 ;
4181 PyObject
* obj6
= 0 ;
4182 PyObject
* obj7
= 0 ;
4184 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4193 arg3
= (int const) SWIG_AsInt(obj2
);
4194 if (PyErr_Occurred()) SWIG_fail
;
4198 arg4
= wxString_in_helper(obj3
);
4199 if (arg4
== NULL
) SWIG_fail
;
4206 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4212 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4216 arg7
= (long) SWIG_AsLong(obj6
);
4217 if (PyErr_Occurred()) SWIG_fail
;
4221 arg8
= wxString_in_helper(obj7
);
4222 if (arg8
== NULL
) SWIG_fail
;
4227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4228 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4230 wxPyEndAllowThreads(__tstate
);
4231 if (PyErr_Occurred()) SWIG_fail
;
4234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4258 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4259 PyObject
*resultobj
;
4260 wxDialog
*arg1
= (wxDialog
*) 0 ;
4262 PyObject
* obj0
= 0 ;
4263 PyObject
* obj1
= 0 ;
4265 (char *) "self",(char *) "returnCode", NULL
4268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4271 arg2
= (int) SWIG_AsInt(obj1
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 (arg1
)->SetReturnCode(arg2
);
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4280 Py_INCREF(Py_None
); resultobj
= Py_None
;
4287 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4288 PyObject
*resultobj
;
4289 wxDialog
*arg1
= (wxDialog
*) 0 ;
4291 PyObject
* obj0
= 0 ;
4293 (char *) "self", NULL
4296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4301 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4303 wxPyEndAllowThreads(__tstate
);
4304 if (PyErr_Occurred()) SWIG_fail
;
4306 resultobj
= SWIG_FromInt((int)result
);
4313 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4314 PyObject
*resultobj
;
4315 wxDialog
*arg1
= (wxDialog
*) 0 ;
4316 wxString
*arg2
= 0 ;
4318 bool temp2
= False
;
4319 PyObject
* obj0
= 0 ;
4320 PyObject
* obj1
= 0 ;
4322 (char *) "self",(char *) "message", NULL
4325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4329 arg2
= wxString_in_helper(obj1
);
4330 if (arg2
== NULL
) SWIG_fail
;
4334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4335 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4337 wxPyEndAllowThreads(__tstate
);
4338 if (PyErr_Occurred()) SWIG_fail
;
4341 resultobj
= wxPyMake_wxSizer(result
);
4357 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
*resultobj
;
4359 wxDialog
*arg1
= (wxDialog
*) 0 ;
4362 PyObject
* obj0
= 0 ;
4363 PyObject
* obj1
= 0 ;
4365 (char *) "self",(char *) "flags", NULL
4368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4371 arg2
= (long) SWIG_AsLong(obj1
);
4372 if (PyErr_Occurred()) SWIG_fail
;
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4377 wxPyEndAllowThreads(__tstate
);
4378 if (PyErr_Occurred()) SWIG_fail
;
4381 resultobj
= wxPyMake_wxSizer(result
);
4389 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4390 PyObject
*resultobj
;
4391 wxDialog
*arg1
= (wxDialog
*) 0 ;
4393 PyObject
* obj0
= 0 ;
4395 (char *) "self", NULL
4398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4403 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4405 wxPyEndAllowThreads(__tstate
);
4406 if (PyErr_Occurred()) SWIG_fail
;
4409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4417 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4418 PyObject
*resultobj
;
4419 wxDialog
*arg1
= (wxDialog
*) 0 ;
4421 PyObject
* obj0
= 0 ;
4423 (char *) "self", NULL
4426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4431 result
= (int)(arg1
)->ShowModal();
4433 wxPyEndAllowThreads(__tstate
);
4434 if (PyErr_Occurred()) SWIG_fail
;
4436 resultobj
= SWIG_FromInt((int)result
);
4443 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4444 PyObject
*resultobj
;
4445 wxDialog
*arg1
= (wxDialog
*) 0 ;
4447 PyObject
* obj0
= 0 ;
4448 PyObject
* obj1
= 0 ;
4450 (char *) "self",(char *) "retCode", NULL
4453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4456 arg2
= (int) SWIG_AsInt(obj1
);
4457 if (PyErr_Occurred()) SWIG_fail
;
4459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4460 (arg1
)->EndModal(arg2
);
4462 wxPyEndAllowThreads(__tstate
);
4463 if (PyErr_Occurred()) SWIG_fail
;
4465 Py_INCREF(Py_None
); resultobj
= Py_None
;
4472 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
*resultobj
;
4474 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4475 wxVisualAttributes result
;
4476 PyObject
* obj0
= 0 ;
4478 (char *) "variant", NULL
4481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4483 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4484 if (PyErr_Occurred()) SWIG_fail
;
4487 if (!wxPyCheckForApp()) SWIG_fail
;
4488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4489 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4491 wxPyEndAllowThreads(__tstate
);
4492 if (PyErr_Occurred()) SWIG_fail
;
4495 wxVisualAttributes
* resultptr
;
4496 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4505 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4507 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4508 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4510 return Py_BuildValue((char *)"");
4512 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4513 PyObject
*resultobj
;
4514 wxWindow
*arg1
= (wxWindow
*) 0 ;
4515 int arg2
= (int) (int)-1 ;
4516 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4517 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4518 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4519 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4520 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4521 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4522 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4523 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4524 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4525 wxMiniFrame
*result
;
4526 bool temp3
= False
;
4529 bool temp7
= False
;
4530 PyObject
* obj0
= 0 ;
4531 PyObject
* obj1
= 0 ;
4532 PyObject
* obj2
= 0 ;
4533 PyObject
* obj3
= 0 ;
4534 PyObject
* obj4
= 0 ;
4535 PyObject
* obj5
= 0 ;
4536 PyObject
* obj6
= 0 ;
4538 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4545 arg2
= (int const) SWIG_AsInt(obj1
);
4546 if (PyErr_Occurred()) SWIG_fail
;
4550 arg3
= wxString_in_helper(obj2
);
4551 if (arg3
== NULL
) SWIG_fail
;
4558 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4564 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4568 arg6
= (long) SWIG_AsLong(obj5
);
4569 if (PyErr_Occurred()) SWIG_fail
;
4573 arg7
= wxString_in_helper(obj6
);
4574 if (arg7
== NULL
) SWIG_fail
;
4579 if (!wxPyCheckForApp()) SWIG_fail
;
4580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4581 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4583 wxPyEndAllowThreads(__tstate
);
4584 if (PyErr_Occurred()) SWIG_fail
;
4586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4609 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4610 PyObject
*resultobj
;
4611 wxMiniFrame
*result
;
4616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4618 if (!wxPyCheckForApp()) SWIG_fail
;
4619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4620 result
= (wxMiniFrame
*)new wxMiniFrame();
4622 wxPyEndAllowThreads(__tstate
);
4623 if (PyErr_Occurred()) SWIG_fail
;
4625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4632 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4633 PyObject
*resultobj
;
4634 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4635 wxWindow
*arg2
= (wxWindow
*) 0 ;
4636 int arg3
= (int) (int)-1 ;
4637 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4638 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4639 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4640 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4641 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4642 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4643 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4644 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4645 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4647 bool temp4
= False
;
4650 bool temp8
= False
;
4651 PyObject
* obj0
= 0 ;
4652 PyObject
* obj1
= 0 ;
4653 PyObject
* obj2
= 0 ;
4654 PyObject
* obj3
= 0 ;
4655 PyObject
* obj4
= 0 ;
4656 PyObject
* obj5
= 0 ;
4657 PyObject
* obj6
= 0 ;
4658 PyObject
* obj7
= 0 ;
4660 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4666 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4669 arg3
= (int const) SWIG_AsInt(obj2
);
4670 if (PyErr_Occurred()) SWIG_fail
;
4674 arg4
= wxString_in_helper(obj3
);
4675 if (arg4
== NULL
) SWIG_fail
;
4682 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4688 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4692 arg7
= (long) SWIG_AsLong(obj6
);
4693 if (PyErr_Occurred()) SWIG_fail
;
4697 arg8
= wxString_in_helper(obj7
);
4698 if (arg8
== NULL
) SWIG_fail
;
4703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4704 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4706 wxPyEndAllowThreads(__tstate
);
4707 if (PyErr_Occurred()) SWIG_fail
;
4710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4734 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4737 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4739 return Py_BuildValue((char *)"");
4741 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4742 PyObject
*resultobj
;
4743 wxBitmap
*arg1
= 0 ;
4744 wxWindow
*arg2
= (wxWindow
*) 0 ;
4746 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4747 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4748 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4749 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4750 long arg6
= (long) wxNO_BORDER
;
4751 wxSplashScreenWindow
*result
;
4754 PyObject
* obj0
= 0 ;
4755 PyObject
* obj1
= 0 ;
4756 PyObject
* obj2
= 0 ;
4757 PyObject
* obj3
= 0 ;
4758 PyObject
* obj4
= 0 ;
4759 PyObject
* obj5
= 0 ;
4761 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4766 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4769 PyErr_SetString(PyExc_TypeError
,"null reference");
4772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4774 arg3
= (int) SWIG_AsInt(obj2
);
4775 if (PyErr_Occurred()) SWIG_fail
;
4779 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4785 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4789 arg6
= (long) SWIG_AsLong(obj5
);
4790 if (PyErr_Occurred()) SWIG_fail
;
4793 if (!wxPyCheckForApp()) SWIG_fail
;
4794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4795 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4797 wxPyEndAllowThreads(__tstate
);
4798 if (PyErr_Occurred()) SWIG_fail
;
4800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4807 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4808 PyObject
*resultobj
;
4809 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4810 wxBitmap
*arg2
= 0 ;
4811 PyObject
* obj0
= 0 ;
4812 PyObject
* obj1
= 0 ;
4814 (char *) "self",(char *) "bitmap", NULL
4817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4821 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4824 PyErr_SetString(PyExc_TypeError
,"null reference");
4828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4829 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4831 wxPyEndAllowThreads(__tstate
);
4832 if (PyErr_Occurred()) SWIG_fail
;
4834 Py_INCREF(Py_None
); resultobj
= Py_None
;
4841 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4842 PyObject
*resultobj
;
4843 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4845 PyObject
* obj0
= 0 ;
4847 (char *) "self", NULL
4850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4856 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4857 result
= (wxBitmap
*) &_result_ref
;
4860 wxPyEndAllowThreads(__tstate
);
4861 if (PyErr_Occurred()) SWIG_fail
;
4864 wxBitmap
* resultptr
= new wxBitmap(*result
);
4865 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4873 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4875 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4876 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4878 return Py_BuildValue((char *)"");
4880 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4881 PyObject
*resultobj
;
4882 wxBitmap
*arg1
= 0 ;
4885 wxWindow
*arg4
= (wxWindow
*) 0 ;
4886 int arg5
= (int) -1 ;
4887 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4888 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4889 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4890 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4891 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4892 wxSplashScreen
*result
;
4895 PyObject
* obj0
= 0 ;
4896 PyObject
* obj1
= 0 ;
4897 PyObject
* obj2
= 0 ;
4898 PyObject
* obj3
= 0 ;
4899 PyObject
* obj4
= 0 ;
4900 PyObject
* obj5
= 0 ;
4901 PyObject
* obj6
= 0 ;
4902 PyObject
* obj7
= 0 ;
4904 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4909 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4912 PyErr_SetString(PyExc_TypeError
,"null reference");
4915 arg2
= (long) SWIG_AsLong(obj1
);
4916 if (PyErr_Occurred()) SWIG_fail
;
4917 arg3
= (int) SWIG_AsInt(obj2
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4919 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4922 arg5
= (int) SWIG_AsInt(obj4
);
4923 if (PyErr_Occurred()) SWIG_fail
;
4928 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4934 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4938 arg8
= (long) SWIG_AsLong(obj7
);
4939 if (PyErr_Occurred()) SWIG_fail
;
4942 if (!wxPyCheckForApp()) SWIG_fail
;
4943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4944 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4946 wxPyEndAllowThreads(__tstate
);
4947 if (PyErr_Occurred()) SWIG_fail
;
4949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
4956 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4957 PyObject
*resultobj
;
4958 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4960 PyObject
* obj0
= 0 ;
4962 (char *) "self", NULL
4965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4970 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4972 wxPyEndAllowThreads(__tstate
);
4973 if (PyErr_Occurred()) SWIG_fail
;
4975 resultobj
= SWIG_FromLong((long)result
);
4982 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
*resultobj
;
4984 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4985 wxSplashScreenWindow
*result
;
4986 PyObject
* obj0
= 0 ;
4988 (char *) "self", NULL
4991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4996 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4998 wxPyEndAllowThreads(__tstate
);
4999 if (PyErr_Occurred()) SWIG_fail
;
5001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
5008 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5009 PyObject
*resultobj
;
5010 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5012 PyObject
* obj0
= 0 ;
5014 (char *) "self", NULL
5017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
5018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5022 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
5024 wxPyEndAllowThreads(__tstate
);
5025 if (PyErr_Occurred()) SWIG_fail
;
5027 resultobj
= SWIG_FromInt((int)result
);
5034 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
5036 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5037 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
5039 return Py_BuildValue((char *)"");
5041 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5042 PyObject
*resultobj
;
5043 wxWindow
*arg1
= (wxWindow
*) 0 ;
5044 int arg2
= (int) -1 ;
5045 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
5046 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
5047 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5048 wxStatusBar
*result
;
5049 bool temp4
= False
;
5050 PyObject
* obj0
= 0 ;
5051 PyObject
* obj1
= 0 ;
5052 PyObject
* obj2
= 0 ;
5053 PyObject
* obj3
= 0 ;
5055 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5062 arg2
= (int) SWIG_AsInt(obj1
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5066 arg3
= (long) SWIG_AsLong(obj2
);
5067 if (PyErr_Occurred()) SWIG_fail
;
5071 arg4
= wxString_in_helper(obj3
);
5072 if (arg4
== NULL
) SWIG_fail
;
5077 if (!wxPyCheckForApp()) SWIG_fail
;
5078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5079 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
5081 wxPyEndAllowThreads(__tstate
);
5082 if (PyErr_Occurred()) SWIG_fail
;
5085 resultobj
= wxPyMake_wxObject(result
);
5101 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5102 PyObject
*resultobj
;
5103 wxStatusBar
*result
;
5108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5110 if (!wxPyCheckForApp()) SWIG_fail
;
5111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5112 result
= (wxStatusBar
*)new wxStatusBar();
5114 wxPyEndAllowThreads(__tstate
);
5115 if (PyErr_Occurred()) SWIG_fail
;
5118 resultobj
= wxPyMake_wxObject(result
);
5126 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5127 PyObject
*resultobj
;
5128 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5129 wxWindow
*arg2
= (wxWindow
*) 0 ;
5130 int arg3
= (int) -1 ;
5131 long arg4
= (long) wxST_SIZEGRIP
;
5132 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5133 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5135 bool temp5
= False
;
5136 PyObject
* obj0
= 0 ;
5137 PyObject
* obj1
= 0 ;
5138 PyObject
* obj2
= 0 ;
5139 PyObject
* obj3
= 0 ;
5140 PyObject
* obj4
= 0 ;
5142 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5148 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5151 arg3
= (int) SWIG_AsInt(obj2
);
5152 if (PyErr_Occurred()) SWIG_fail
;
5155 arg4
= (long) SWIG_AsLong(obj3
);
5156 if (PyErr_Occurred()) SWIG_fail
;
5160 arg5
= wxString_in_helper(obj4
);
5161 if (arg5
== NULL
) SWIG_fail
;
5166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5167 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5169 wxPyEndAllowThreads(__tstate
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5189 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5190 PyObject
*resultobj
;
5191 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5192 int arg2
= (int) 1 ;
5193 PyObject
* obj0
= 0 ;
5194 PyObject
* obj1
= 0 ;
5196 (char *) "self",(char *) "number", NULL
5199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5203 arg2
= (int) SWIG_AsInt(obj1
);
5204 if (PyErr_Occurred()) SWIG_fail
;
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 (arg1
)->SetFieldsCount(arg2
);
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5213 Py_INCREF(Py_None
); resultobj
= Py_None
;
5220 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5221 PyObject
*resultobj
;
5222 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5224 PyObject
* obj0
= 0 ;
5226 (char *) "self", NULL
5229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5234 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5236 wxPyEndAllowThreads(__tstate
);
5237 if (PyErr_Occurred()) SWIG_fail
;
5239 resultobj
= SWIG_FromInt((int)result
);
5246 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5247 PyObject
*resultobj
;
5248 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5249 wxString
*arg2
= 0 ;
5250 int arg3
= (int) 0 ;
5251 bool temp2
= False
;
5252 PyObject
* obj0
= 0 ;
5253 PyObject
* obj1
= 0 ;
5254 PyObject
* obj2
= 0 ;
5256 (char *) "self",(char *) "text",(char *) "number", NULL
5259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5263 arg2
= wxString_in_helper(obj1
);
5264 if (arg2
== NULL
) SWIG_fail
;
5268 arg3
= (int) SWIG_AsInt(obj2
);
5269 if (PyErr_Occurred()) SWIG_fail
;
5272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5273 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5278 Py_INCREF(Py_None
); resultobj
= Py_None
;
5293 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5294 PyObject
*resultobj
;
5295 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5296 int arg2
= (int) 0 ;
5298 PyObject
* obj0
= 0 ;
5299 PyObject
* obj1
= 0 ;
5301 (char *) "self",(char *) "number", NULL
5304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5308 arg2
= (int) SWIG_AsInt(obj1
);
5309 if (PyErr_Occurred()) SWIG_fail
;
5312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5313 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5315 wxPyEndAllowThreads(__tstate
);
5316 if (PyErr_Occurred()) SWIG_fail
;
5320 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5322 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5331 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5332 PyObject
*resultobj
;
5333 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5334 wxString
*arg2
= 0 ;
5335 int arg3
= (int) 0 ;
5336 bool temp2
= False
;
5337 PyObject
* obj0
= 0 ;
5338 PyObject
* obj1
= 0 ;
5339 PyObject
* obj2
= 0 ;
5341 (char *) "self",(char *) "text",(char *) "number", NULL
5344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5348 arg2
= wxString_in_helper(obj1
);
5349 if (arg2
== NULL
) SWIG_fail
;
5353 arg3
= (int) SWIG_AsInt(obj2
);
5354 if (PyErr_Occurred()) SWIG_fail
;
5357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5358 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5360 wxPyEndAllowThreads(__tstate
);
5361 if (PyErr_Occurred()) SWIG_fail
;
5363 Py_INCREF(Py_None
); resultobj
= Py_None
;
5378 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5379 PyObject
*resultobj
;
5380 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5381 int arg2
= (int) 0 ;
5382 PyObject
* obj0
= 0 ;
5383 PyObject
* obj1
= 0 ;
5385 (char *) "self",(char *) "number", NULL
5388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5392 arg2
= (int) SWIG_AsInt(obj1
);
5393 if (PyErr_Occurred()) SWIG_fail
;
5396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5397 (arg1
)->PopStatusText(arg2
);
5399 wxPyEndAllowThreads(__tstate
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5402 Py_INCREF(Py_None
); resultobj
= Py_None
;
5409 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5410 PyObject
*resultobj
;
5411 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5413 int *arg3
= (int *) 0 ;
5414 PyObject
* obj0
= 0 ;
5415 PyObject
* obj1
= 0 ;
5417 (char *) "self",(char *) "widths", NULL
5420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5424 arg2
= PyList_Size(obj1
);
5425 arg3
= int_LIST_helper(obj1
);
5426 if (arg3
== NULL
) SWIG_fail
;
5429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5430 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5432 wxPyEndAllowThreads(__tstate
);
5433 if (PyErr_Occurred()) SWIG_fail
;
5435 Py_INCREF(Py_None
); resultobj
= Py_None
;
5437 if (arg3
) delete [] arg3
;
5442 if (arg3
) delete [] arg3
;
5448 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5449 PyObject
*resultobj
;
5450 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5453 PyObject
* obj0
= 0 ;
5454 PyObject
* obj1
= 0 ;
5456 (char *) "self",(char *) "i", NULL
5459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5462 arg2
= (int) SWIG_AsInt(obj1
);
5463 if (PyErr_Occurred()) SWIG_fail
;
5465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5466 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5468 wxPyEndAllowThreads(__tstate
);
5469 if (PyErr_Occurred()) SWIG_fail
;
5473 resultptr
= new wxRect((wxRect
&) result
);
5474 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5482 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5483 PyObject
*resultobj
;
5484 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5486 PyObject
* obj0
= 0 ;
5487 PyObject
* obj1
= 0 ;
5489 (char *) "self",(char *) "height", NULL
5492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5495 arg2
= (int) SWIG_AsInt(obj1
);
5496 if (PyErr_Occurred()) SWIG_fail
;
5498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5499 (arg1
)->SetMinHeight(arg2
);
5501 wxPyEndAllowThreads(__tstate
);
5502 if (PyErr_Occurred()) SWIG_fail
;
5504 Py_INCREF(Py_None
); resultobj
= Py_None
;
5511 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5512 PyObject
*resultobj
;
5513 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5515 PyObject
* obj0
= 0 ;
5517 (char *) "self", NULL
5520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5525 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5527 wxPyEndAllowThreads(__tstate
);
5528 if (PyErr_Occurred()) SWIG_fail
;
5530 resultobj
= SWIG_FromInt((int)result
);
5537 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5538 PyObject
*resultobj
;
5539 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5541 PyObject
* obj0
= 0 ;
5543 (char *) "self", NULL
5546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5551 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5553 wxPyEndAllowThreads(__tstate
);
5554 if (PyErr_Occurred()) SWIG_fail
;
5556 resultobj
= SWIG_FromInt((int)result
);
5563 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
*resultobj
;
5565 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5566 wxVisualAttributes result
;
5567 PyObject
* obj0
= 0 ;
5569 (char *) "variant", NULL
5572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5574 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5575 if (PyErr_Occurred()) SWIG_fail
;
5578 if (!wxPyCheckForApp()) SWIG_fail
;
5579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5580 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5582 wxPyEndAllowThreads(__tstate
);
5583 if (PyErr_Occurred()) SWIG_fail
;
5586 wxVisualAttributes
* resultptr
;
5587 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5596 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5598 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5599 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5601 return Py_BuildValue((char *)"");
5603 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5604 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5609 static PyObject
*_wrap_SplitterNameStr_get() {
5614 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5616 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5623 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5624 PyObject
*resultobj
;
5625 wxWindow
*arg1
= (wxWindow
*) 0 ;
5626 int arg2
= (int) -1 ;
5627 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5628 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5629 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5630 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5631 long arg5
= (long) wxSP_3D
;
5632 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5633 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5634 wxSplitterWindow
*result
;
5637 bool temp6
= False
;
5638 PyObject
* obj0
= 0 ;
5639 PyObject
* obj1
= 0 ;
5640 PyObject
* obj2
= 0 ;
5641 PyObject
* obj3
= 0 ;
5642 PyObject
* obj4
= 0 ;
5643 PyObject
* obj5
= 0 ;
5645 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5652 arg2
= (int) SWIG_AsInt(obj1
);
5653 if (PyErr_Occurred()) SWIG_fail
;
5658 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5664 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5668 arg5
= (long) SWIG_AsLong(obj4
);
5669 if (PyErr_Occurred()) SWIG_fail
;
5673 arg6
= wxString_in_helper(obj5
);
5674 if (arg6
== NULL
) SWIG_fail
;
5679 if (!wxPyCheckForApp()) SWIG_fail
;
5680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5681 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5683 wxPyEndAllowThreads(__tstate
);
5684 if (PyErr_Occurred()) SWIG_fail
;
5686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5701 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5702 PyObject
*resultobj
;
5703 wxSplitterWindow
*result
;
5708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5710 if (!wxPyCheckForApp()) SWIG_fail
;
5711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5712 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5714 wxPyEndAllowThreads(__tstate
);
5715 if (PyErr_Occurred()) SWIG_fail
;
5717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5724 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5725 PyObject
*resultobj
;
5726 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5727 wxWindow
*arg2
= (wxWindow
*) 0 ;
5728 int arg3
= (int) -1 ;
5729 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5730 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5731 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5732 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5733 long arg6
= (long) wxSP_3D
;
5734 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5735 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5739 bool temp7
= False
;
5740 PyObject
* obj0
= 0 ;
5741 PyObject
* obj1
= 0 ;
5742 PyObject
* obj2
= 0 ;
5743 PyObject
* obj3
= 0 ;
5744 PyObject
* obj4
= 0 ;
5745 PyObject
* obj5
= 0 ;
5746 PyObject
* obj6
= 0 ;
5748 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5754 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5757 arg3
= (int) SWIG_AsInt(obj2
);
5758 if (PyErr_Occurred()) SWIG_fail
;
5763 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5769 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5773 arg6
= (long) SWIG_AsLong(obj5
);
5774 if (PyErr_Occurred()) SWIG_fail
;
5778 arg7
= wxString_in_helper(obj6
);
5779 if (arg7
== NULL
) SWIG_fail
;
5784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5785 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5807 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5808 PyObject
*resultobj
;
5809 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5811 PyObject
* obj0
= 0 ;
5813 (char *) "self", NULL
5816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5827 resultobj
= wxPyMake_wxObject(result
);
5835 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
*resultobj
;
5837 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5839 PyObject
* obj0
= 0 ;
5841 (char *) "self", NULL
5844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5849 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5851 wxPyEndAllowThreads(__tstate
);
5852 if (PyErr_Occurred()) SWIG_fail
;
5855 resultobj
= wxPyMake_wxObject(result
);
5863 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5864 PyObject
*resultobj
;
5865 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5867 PyObject
* obj0
= 0 ;
5868 PyObject
* obj1
= 0 ;
5870 (char *) "self",(char *) "mode", NULL
5873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5876 arg2
= (int) SWIG_AsInt(obj1
);
5877 if (PyErr_Occurred()) SWIG_fail
;
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 (arg1
)->SetSplitMode(arg2
);
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5885 Py_INCREF(Py_None
); resultobj
= Py_None
;
5892 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5893 PyObject
*resultobj
;
5894 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5896 PyObject
* obj0
= 0 ;
5898 (char *) "self", NULL
5901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5906 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5908 wxPyEndAllowThreads(__tstate
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5911 resultobj
= SWIG_FromInt((int)result
);
5918 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
*resultobj
;
5920 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5921 wxWindow
*arg2
= (wxWindow
*) 0 ;
5922 PyObject
* obj0
= 0 ;
5923 PyObject
* obj1
= 0 ;
5925 (char *) "self",(char *) "window", NULL
5928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5931 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5935 (arg1
)->Initialize(arg2
);
5937 wxPyEndAllowThreads(__tstate
);
5938 if (PyErr_Occurred()) SWIG_fail
;
5940 Py_INCREF(Py_None
); resultobj
= Py_None
;
5947 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5948 PyObject
*resultobj
;
5949 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5950 wxWindow
*arg2
= (wxWindow
*) 0 ;
5951 wxWindow
*arg3
= (wxWindow
*) 0 ;
5952 int arg4
= (int) 0 ;
5954 PyObject
* obj0
= 0 ;
5955 PyObject
* obj1
= 0 ;
5956 PyObject
* obj2
= 0 ;
5957 PyObject
* obj3
= 0 ;
5959 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5965 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5967 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5970 arg4
= (int) SWIG_AsInt(obj3
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5977 wxPyEndAllowThreads(__tstate
);
5978 if (PyErr_Occurred()) SWIG_fail
;
5981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5989 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5990 PyObject
*resultobj
;
5991 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5992 wxWindow
*arg2
= (wxWindow
*) 0 ;
5993 wxWindow
*arg3
= (wxWindow
*) 0 ;
5994 int arg4
= (int) 0 ;
5996 PyObject
* obj0
= 0 ;
5997 PyObject
* obj1
= 0 ;
5998 PyObject
* obj2
= 0 ;
5999 PyObject
* obj3
= 0 ;
6001 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6007 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6009 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6012 arg4
= (int) SWIG_AsInt(obj3
);
6013 if (PyErr_Occurred()) SWIG_fail
;
6016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6017 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
6019 wxPyEndAllowThreads(__tstate
);
6020 if (PyErr_Occurred()) SWIG_fail
;
6023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6031 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6032 PyObject
*resultobj
;
6033 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6034 wxWindow
*arg2
= (wxWindow
*) NULL
;
6036 PyObject
* obj0
= 0 ;
6037 PyObject
* obj1
= 0 ;
6039 (char *) "self",(char *) "toRemove", NULL
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
6043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6046 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6051 result
= (bool)(arg1
)->Unsplit(arg2
);
6053 wxPyEndAllowThreads(__tstate
);
6054 if (PyErr_Occurred()) SWIG_fail
;
6057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6065 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
*resultobj
;
6067 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6068 wxWindow
*arg2
= (wxWindow
*) 0 ;
6069 wxWindow
*arg3
= (wxWindow
*) 0 ;
6071 PyObject
* obj0
= 0 ;
6072 PyObject
* obj1
= 0 ;
6073 PyObject
* obj2
= 0 ;
6075 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6083 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6087 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) SWIG_fail
;
6093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6101 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6102 PyObject
*resultobj
;
6103 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6104 PyObject
* obj0
= 0 ;
6106 (char *) "self", NULL
6109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6114 (arg1
)->UpdateSize();
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6119 Py_INCREF(Py_None
); resultobj
= Py_None
;
6126 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6127 PyObject
*resultobj
;
6128 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6130 PyObject
* obj0
= 0 ;
6132 (char *) "self", NULL
6135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6140 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6142 wxPyEndAllowThreads(__tstate
);
6143 if (PyErr_Occurred()) SWIG_fail
;
6146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6154 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6155 PyObject
*resultobj
;
6156 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6158 PyObject
* obj0
= 0 ;
6159 PyObject
* obj1
= 0 ;
6161 (char *) "self",(char *) "width", NULL
6164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6167 arg2
= (int) SWIG_AsInt(obj1
);
6168 if (PyErr_Occurred()) SWIG_fail
;
6170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6171 (arg1
)->SetSashSize(arg2
);
6173 wxPyEndAllowThreads(__tstate
);
6174 if (PyErr_Occurred()) SWIG_fail
;
6176 Py_INCREF(Py_None
); resultobj
= Py_None
;
6183 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6184 PyObject
*resultobj
;
6185 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6187 PyObject
* obj0
= 0 ;
6188 PyObject
* obj1
= 0 ;
6190 (char *) "self",(char *) "width", NULL
6193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6196 arg2
= (int) SWIG_AsInt(obj1
);
6197 if (PyErr_Occurred()) SWIG_fail
;
6199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6200 (arg1
)->SetBorderSize(arg2
);
6202 wxPyEndAllowThreads(__tstate
);
6203 if (PyErr_Occurred()) SWIG_fail
;
6205 Py_INCREF(Py_None
); resultobj
= Py_None
;
6212 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6213 PyObject
*resultobj
;
6214 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6216 PyObject
* obj0
= 0 ;
6218 (char *) "self", NULL
6221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6226 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6228 wxPyEndAllowThreads(__tstate
);
6229 if (PyErr_Occurred()) SWIG_fail
;
6231 resultobj
= SWIG_FromInt((int)result
);
6238 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6239 PyObject
*resultobj
;
6240 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6242 PyObject
* obj0
= 0 ;
6244 (char *) "self", NULL
6247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6252 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6254 wxPyEndAllowThreads(__tstate
);
6255 if (PyErr_Occurred()) SWIG_fail
;
6257 resultobj
= SWIG_FromInt((int)result
);
6264 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6265 PyObject
*resultobj
;
6266 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6268 bool arg3
= (bool) True
;
6269 PyObject
* obj0
= 0 ;
6270 PyObject
* obj1
= 0 ;
6271 PyObject
* obj2
= 0 ;
6273 (char *) "self",(char *) "position",(char *) "redraw", NULL
6276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6279 arg2
= (int) SWIG_AsInt(obj1
);
6280 if (PyErr_Occurred()) SWIG_fail
;
6282 arg3
= (bool) SWIG_AsBool(obj2
);
6283 if (PyErr_Occurred()) SWIG_fail
;
6286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6287 (arg1
)->SetSashPosition(arg2
,arg3
);
6289 wxPyEndAllowThreads(__tstate
);
6290 if (PyErr_Occurred()) SWIG_fail
;
6292 Py_INCREF(Py_None
); resultobj
= Py_None
;
6299 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
*resultobj
;
6301 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6303 PyObject
* obj0
= 0 ;
6305 (char *) "self", NULL
6308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6313 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6315 wxPyEndAllowThreads(__tstate
);
6316 if (PyErr_Occurred()) SWIG_fail
;
6318 resultobj
= SWIG_FromInt((int)result
);
6325 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6326 PyObject
*resultobj
;
6327 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6329 PyObject
* obj0
= 0 ;
6330 PyObject
* obj1
= 0 ;
6332 (char *) "self",(char *) "min", NULL
6335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6338 arg2
= (int) SWIG_AsInt(obj1
);
6339 if (PyErr_Occurred()) SWIG_fail
;
6341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6342 (arg1
)->SetMinimumPaneSize(arg2
);
6344 wxPyEndAllowThreads(__tstate
);
6345 if (PyErr_Occurred()) SWIG_fail
;
6347 Py_INCREF(Py_None
); resultobj
= Py_None
;
6354 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6355 PyObject
*resultobj
;
6356 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6358 PyObject
* obj0
= 0 ;
6360 (char *) "self", NULL
6363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6368 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6370 wxPyEndAllowThreads(__tstate
);
6371 if (PyErr_Occurred()) SWIG_fail
;
6373 resultobj
= SWIG_FromInt((int)result
);
6380 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6381 PyObject
*resultobj
;
6382 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6385 int arg4
= (int) 5 ;
6387 PyObject
* obj0
= 0 ;
6388 PyObject
* obj1
= 0 ;
6389 PyObject
* obj2
= 0 ;
6390 PyObject
* obj3
= 0 ;
6392 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6398 arg2
= (int) SWIG_AsInt(obj1
);
6399 if (PyErr_Occurred()) SWIG_fail
;
6400 arg3
= (int) SWIG_AsInt(obj2
);
6401 if (PyErr_Occurred()) SWIG_fail
;
6403 arg4
= (int) SWIG_AsInt(obj3
);
6404 if (PyErr_Occurred()) SWIG_fail
;
6407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6408 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6410 wxPyEndAllowThreads(__tstate
);
6411 if (PyErr_Occurred()) SWIG_fail
;
6414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6422 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6423 PyObject
*resultobj
;
6424 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6425 PyObject
* obj0
= 0 ;
6427 (char *) "self", NULL
6430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6435 (arg1
)->SizeWindows();
6437 wxPyEndAllowThreads(__tstate
);
6438 if (PyErr_Occurred()) SWIG_fail
;
6440 Py_INCREF(Py_None
); resultobj
= Py_None
;
6447 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6448 PyObject
*resultobj
;
6449 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6451 PyObject
* obj0
= 0 ;
6452 PyObject
* obj1
= 0 ;
6454 (char *) "self",(char *) "needUpdating", NULL
6457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6460 arg2
= (bool) SWIG_AsBool(obj1
);
6461 if (PyErr_Occurred()) SWIG_fail
;
6463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6464 (arg1
)->SetNeedUpdating(arg2
);
6466 wxPyEndAllowThreads(__tstate
);
6467 if (PyErr_Occurred()) SWIG_fail
;
6469 Py_INCREF(Py_None
); resultobj
= Py_None
;
6476 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6477 PyObject
*resultobj
;
6478 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6480 PyObject
* obj0
= 0 ;
6482 (char *) "self", NULL
6485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6490 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6504 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6505 PyObject
*resultobj
;
6506 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6507 wxVisualAttributes result
;
6508 PyObject
* obj0
= 0 ;
6510 (char *) "variant", NULL
6513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6515 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6516 if (PyErr_Occurred()) SWIG_fail
;
6519 if (!wxPyCheckForApp()) SWIG_fail
;
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6527 wxVisualAttributes
* resultptr
;
6528 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6529 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6537 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6539 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6540 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6542 return Py_BuildValue((char *)"");
6544 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6545 PyObject
*resultobj
;
6546 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6547 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6548 wxSplitterEvent
*result
;
6549 PyObject
* obj0
= 0 ;
6550 PyObject
* obj1
= 0 ;
6552 (char *) "type",(char *) "splitter", NULL
6555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6557 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6558 if (PyErr_Occurred()) SWIG_fail
;
6561 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6566 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6568 wxPyEndAllowThreads(__tstate
);
6569 if (PyErr_Occurred()) SWIG_fail
;
6571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6578 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6579 PyObject
*resultobj
;
6580 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6582 PyObject
* obj0
= 0 ;
6583 PyObject
* obj1
= 0 ;
6585 (char *) "self",(char *) "pos", NULL
6588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6591 arg2
= (int) SWIG_AsInt(obj1
);
6592 if (PyErr_Occurred()) SWIG_fail
;
6594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6595 (arg1
)->SetSashPosition(arg2
);
6597 wxPyEndAllowThreads(__tstate
);
6598 if (PyErr_Occurred()) SWIG_fail
;
6600 Py_INCREF(Py_None
); resultobj
= Py_None
;
6607 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6608 PyObject
*resultobj
;
6609 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6611 PyObject
* obj0
= 0 ;
6613 (char *) "self", NULL
6616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6621 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6623 wxPyEndAllowThreads(__tstate
);
6624 if (PyErr_Occurred()) SWIG_fail
;
6626 resultobj
= SWIG_FromInt((int)result
);
6633 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6634 PyObject
*resultobj
;
6635 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6637 PyObject
* obj0
= 0 ;
6639 (char *) "self", NULL
6642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6647 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6649 wxPyEndAllowThreads(__tstate
);
6650 if (PyErr_Occurred()) SWIG_fail
;
6653 resultobj
= wxPyMake_wxObject(result
);
6661 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6662 PyObject
*resultobj
;
6663 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6665 PyObject
* obj0
= 0 ;
6667 (char *) "self", NULL
6670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6677 wxPyEndAllowThreads(__tstate
);
6678 if (PyErr_Occurred()) SWIG_fail
;
6680 resultobj
= SWIG_FromInt((int)result
);
6687 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6688 PyObject
*resultobj
;
6689 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6691 PyObject
* obj0
= 0 ;
6693 (char *) "self", NULL
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6701 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6703 wxPyEndAllowThreads(__tstate
);
6704 if (PyErr_Occurred()) SWIG_fail
;
6706 resultobj
= SWIG_FromInt((int)result
);
6713 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6716 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6718 return Py_BuildValue((char *)"");
6720 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6721 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6726 static PyObject
*_wrap_SashNameStr_get() {
6731 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6733 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6740 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6741 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6746 static PyObject
*_wrap_SashLayoutNameStr_get() {
6751 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6753 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6760 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6761 PyObject
*resultobj
;
6762 wxWindow
*arg1
= (wxWindow
*) 0 ;
6763 int arg2
= (int) -1 ;
6764 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6765 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6766 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6767 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6768 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6769 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6770 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6771 wxSashWindow
*result
;
6774 bool temp6
= False
;
6775 PyObject
* obj0
= 0 ;
6776 PyObject
* obj1
= 0 ;
6777 PyObject
* obj2
= 0 ;
6778 PyObject
* obj3
= 0 ;
6779 PyObject
* obj4
= 0 ;
6780 PyObject
* obj5
= 0 ;
6782 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6789 arg2
= (int) SWIG_AsInt(obj1
);
6790 if (PyErr_Occurred()) SWIG_fail
;
6795 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6801 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6805 arg5
= (long) SWIG_AsLong(obj4
);
6806 if (PyErr_Occurred()) SWIG_fail
;
6810 arg6
= wxString_in_helper(obj5
);
6811 if (arg6
== NULL
) SWIG_fail
;
6816 if (!wxPyCheckForApp()) SWIG_fail
;
6817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6818 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6838 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6839 PyObject
*resultobj
;
6840 wxSashWindow
*result
;
6845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6847 if (!wxPyCheckForApp()) SWIG_fail
;
6848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6849 result
= (wxSashWindow
*)new wxSashWindow();
6851 wxPyEndAllowThreads(__tstate
);
6852 if (PyErr_Occurred()) SWIG_fail
;
6854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6861 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6862 PyObject
*resultobj
;
6863 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6864 wxWindow
*arg2
= (wxWindow
*) 0 ;
6865 int arg3
= (int) -1 ;
6866 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6867 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6868 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6869 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6870 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6871 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6872 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6876 bool temp7
= False
;
6877 PyObject
* obj0
= 0 ;
6878 PyObject
* obj1
= 0 ;
6879 PyObject
* obj2
= 0 ;
6880 PyObject
* obj3
= 0 ;
6881 PyObject
* obj4
= 0 ;
6882 PyObject
* obj5
= 0 ;
6883 PyObject
* obj6
= 0 ;
6885 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6891 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6894 arg3
= (int) SWIG_AsInt(obj2
);
6895 if (PyErr_Occurred()) SWIG_fail
;
6900 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6906 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6910 arg6
= (long) SWIG_AsLong(obj5
);
6911 if (PyErr_Occurred()) SWIG_fail
;
6915 arg7
= wxString_in_helper(obj6
);
6916 if (arg7
== NULL
) SWIG_fail
;
6921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6922 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6924 wxPyEndAllowThreads(__tstate
);
6925 if (PyErr_Occurred()) SWIG_fail
;
6928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6944 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6945 PyObject
*resultobj
;
6946 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6949 PyObject
* obj0
= 0 ;
6950 PyObject
* obj1
= 0 ;
6951 PyObject
* obj2
= 0 ;
6953 (char *) "self",(char *) "edge",(char *) "sash", NULL
6956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6959 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6960 if (PyErr_Occurred()) SWIG_fail
;
6961 arg3
= (bool) SWIG_AsBool(obj2
);
6962 if (PyErr_Occurred()) SWIG_fail
;
6964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6965 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6967 wxPyEndAllowThreads(__tstate
);
6968 if (PyErr_Occurred()) SWIG_fail
;
6970 Py_INCREF(Py_None
); resultobj
= Py_None
;
6977 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6978 PyObject
*resultobj
;
6979 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6982 PyObject
* obj0
= 0 ;
6983 PyObject
* obj1
= 0 ;
6985 (char *) "self",(char *) "edge", NULL
6988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6991 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6992 if (PyErr_Occurred()) SWIG_fail
;
6994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6995 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6997 wxPyEndAllowThreads(__tstate
);
6998 if (PyErr_Occurred()) SWIG_fail
;
7001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7009 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7010 PyObject
*resultobj
;
7011 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7014 PyObject
* obj0
= 0 ;
7015 PyObject
* obj1
= 0 ;
7016 PyObject
* obj2
= 0 ;
7018 (char *) "self",(char *) "edge",(char *) "border", NULL
7021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7024 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7025 if (PyErr_Occurred()) SWIG_fail
;
7026 arg3
= (bool) SWIG_AsBool(obj2
);
7027 if (PyErr_Occurred()) SWIG_fail
;
7029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7030 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
7032 wxPyEndAllowThreads(__tstate
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7035 Py_INCREF(Py_None
); resultobj
= Py_None
;
7042 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
;
7044 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7047 PyObject
* obj0
= 0 ;
7048 PyObject
* obj1
= 0 ;
7050 (char *) "self",(char *) "edge", NULL
7053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
7054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7056 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7057 if (PyErr_Occurred()) SWIG_fail
;
7059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7060 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
7062 wxPyEndAllowThreads(__tstate
);
7063 if (PyErr_Occurred()) SWIG_fail
;
7066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7074 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
*resultobj
;
7076 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7079 PyObject
* obj0
= 0 ;
7080 PyObject
* obj1
= 0 ;
7082 (char *) "self",(char *) "edge", NULL
7085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
7086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7088 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7092 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
7094 wxPyEndAllowThreads(__tstate
);
7095 if (PyErr_Occurred()) SWIG_fail
;
7097 resultobj
= SWIG_FromInt((int)result
);
7104 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
*resultobj
;
7106 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7108 PyObject
* obj0
= 0 ;
7109 PyObject
* obj1
= 0 ;
7111 (char *) "self",(char *) "width", NULL
7114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7117 arg2
= (int) SWIG_AsInt(obj1
);
7118 if (PyErr_Occurred()) SWIG_fail
;
7120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7121 (arg1
)->SetDefaultBorderSize(arg2
);
7123 wxPyEndAllowThreads(__tstate
);
7124 if (PyErr_Occurred()) SWIG_fail
;
7126 Py_INCREF(Py_None
); resultobj
= Py_None
;
7133 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
*resultobj
;
7135 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7137 PyObject
* obj0
= 0 ;
7139 (char *) "self", NULL
7142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7147 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7149 wxPyEndAllowThreads(__tstate
);
7150 if (PyErr_Occurred()) SWIG_fail
;
7152 resultobj
= SWIG_FromInt((int)result
);
7159 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7160 PyObject
*resultobj
;
7161 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7163 PyObject
* obj0
= 0 ;
7164 PyObject
* obj1
= 0 ;
7166 (char *) "self",(char *) "width", NULL
7169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7172 arg2
= (int) SWIG_AsInt(obj1
);
7173 if (PyErr_Occurred()) SWIG_fail
;
7175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7176 (arg1
)->SetExtraBorderSize(arg2
);
7178 wxPyEndAllowThreads(__tstate
);
7179 if (PyErr_Occurred()) SWIG_fail
;
7181 Py_INCREF(Py_None
); resultobj
= Py_None
;
7188 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7189 PyObject
*resultobj
;
7190 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7192 PyObject
* obj0
= 0 ;
7194 (char *) "self", NULL
7197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7202 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7204 wxPyEndAllowThreads(__tstate
);
7205 if (PyErr_Occurred()) SWIG_fail
;
7207 resultobj
= SWIG_FromInt((int)result
);
7214 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7215 PyObject
*resultobj
;
7216 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7218 PyObject
* obj0
= 0 ;
7219 PyObject
* obj1
= 0 ;
7221 (char *) "self",(char *) "min", NULL
7224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7227 arg2
= (int) SWIG_AsInt(obj1
);
7228 if (PyErr_Occurred()) SWIG_fail
;
7230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7231 (arg1
)->SetMinimumSizeX(arg2
);
7233 wxPyEndAllowThreads(__tstate
);
7234 if (PyErr_Occurred()) SWIG_fail
;
7236 Py_INCREF(Py_None
); resultobj
= Py_None
;
7243 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7244 PyObject
*resultobj
;
7245 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7247 PyObject
* obj0
= 0 ;
7248 PyObject
* obj1
= 0 ;
7250 (char *) "self",(char *) "min", NULL
7253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7256 arg2
= (int) SWIG_AsInt(obj1
);
7257 if (PyErr_Occurred()) SWIG_fail
;
7259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7260 (arg1
)->SetMinimumSizeY(arg2
);
7262 wxPyEndAllowThreads(__tstate
);
7263 if (PyErr_Occurred()) SWIG_fail
;
7265 Py_INCREF(Py_None
); resultobj
= Py_None
;
7272 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7273 PyObject
*resultobj
;
7274 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7276 PyObject
* obj0
= 0 ;
7278 (char *) "self", NULL
7281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7286 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7288 wxPyEndAllowThreads(__tstate
);
7289 if (PyErr_Occurred()) SWIG_fail
;
7291 resultobj
= SWIG_FromInt((int)result
);
7298 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7299 PyObject
*resultobj
;
7300 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7302 PyObject
* obj0
= 0 ;
7304 (char *) "self", NULL
7307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7312 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) SWIG_fail
;
7317 resultobj
= SWIG_FromInt((int)result
);
7324 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7325 PyObject
*resultobj
;
7326 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7328 PyObject
* obj0
= 0 ;
7329 PyObject
* obj1
= 0 ;
7331 (char *) "self",(char *) "max", NULL
7334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7337 arg2
= (int) SWIG_AsInt(obj1
);
7338 if (PyErr_Occurred()) SWIG_fail
;
7340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7341 (arg1
)->SetMaximumSizeX(arg2
);
7343 wxPyEndAllowThreads(__tstate
);
7344 if (PyErr_Occurred()) SWIG_fail
;
7346 Py_INCREF(Py_None
); resultobj
= Py_None
;
7353 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7354 PyObject
*resultobj
;
7355 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7357 PyObject
* obj0
= 0 ;
7358 PyObject
* obj1
= 0 ;
7360 (char *) "self",(char *) "max", NULL
7363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7366 arg2
= (int) SWIG_AsInt(obj1
);
7367 if (PyErr_Occurred()) SWIG_fail
;
7369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7370 (arg1
)->SetMaximumSizeY(arg2
);
7372 wxPyEndAllowThreads(__tstate
);
7373 if (PyErr_Occurred()) SWIG_fail
;
7375 Py_INCREF(Py_None
); resultobj
= Py_None
;
7382 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7383 PyObject
*resultobj
;
7384 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7386 PyObject
* obj0
= 0 ;
7388 (char *) "self", NULL
7391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7396 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7398 wxPyEndAllowThreads(__tstate
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7401 resultobj
= SWIG_FromInt((int)result
);
7408 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7409 PyObject
*resultobj
;
7410 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7412 PyObject
* obj0
= 0 ;
7414 (char *) "self", NULL
7417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7422 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7424 wxPyEndAllowThreads(__tstate
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7427 resultobj
= SWIG_FromInt((int)result
);
7434 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7435 PyObject
*resultobj
;
7436 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7439 int arg4
= (int) 2 ;
7441 PyObject
* obj0
= 0 ;
7442 PyObject
* obj1
= 0 ;
7443 PyObject
* obj2
= 0 ;
7444 PyObject
* obj3
= 0 ;
7446 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7452 arg2
= (int) SWIG_AsInt(obj1
);
7453 if (PyErr_Occurred()) SWIG_fail
;
7454 arg3
= (int) SWIG_AsInt(obj2
);
7455 if (PyErr_Occurred()) SWIG_fail
;
7457 arg4
= (int) SWIG_AsInt(obj3
);
7458 if (PyErr_Occurred()) SWIG_fail
;
7461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7462 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7464 wxPyEndAllowThreads(__tstate
);
7465 if (PyErr_Occurred()) SWIG_fail
;
7467 resultobj
= SWIG_FromInt((int)result
);
7474 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7475 PyObject
*resultobj
;
7476 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7477 PyObject
* obj0
= 0 ;
7479 (char *) "self", NULL
7482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7487 (arg1
)->SizeWindows();
7489 wxPyEndAllowThreads(__tstate
);
7490 if (PyErr_Occurred()) SWIG_fail
;
7492 Py_INCREF(Py_None
); resultobj
= Py_None
;
7499 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7502 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7504 return Py_BuildValue((char *)"");
7506 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7507 PyObject
*resultobj
;
7508 int arg1
= (int) 0 ;
7509 int arg2
= (int) wxSASH_NONE
;
7510 wxSashEvent
*result
;
7511 PyObject
* obj0
= 0 ;
7512 PyObject
* obj1
= 0 ;
7514 (char *) "id",(char *) "edge", NULL
7517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7519 arg1
= (int) SWIG_AsInt(obj0
);
7520 if (PyErr_Occurred()) SWIG_fail
;
7523 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7524 if (PyErr_Occurred()) SWIG_fail
;
7527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7528 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7530 wxPyEndAllowThreads(__tstate
);
7531 if (PyErr_Occurred()) SWIG_fail
;
7533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7540 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7541 PyObject
*resultobj
;
7542 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7544 PyObject
* obj0
= 0 ;
7545 PyObject
* obj1
= 0 ;
7547 (char *) "self",(char *) "edge", NULL
7550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7553 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7554 if (PyErr_Occurred()) SWIG_fail
;
7556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7557 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7559 wxPyEndAllowThreads(__tstate
);
7560 if (PyErr_Occurred()) SWIG_fail
;
7562 Py_INCREF(Py_None
); resultobj
= Py_None
;
7569 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7570 PyObject
*resultobj
;
7571 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7573 PyObject
* obj0
= 0 ;
7575 (char *) "self", NULL
7578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7583 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7585 wxPyEndAllowThreads(__tstate
);
7586 if (PyErr_Occurred()) SWIG_fail
;
7588 resultobj
= SWIG_FromInt((int)result
);
7595 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7596 PyObject
*resultobj
;
7597 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7600 PyObject
* obj0
= 0 ;
7601 PyObject
* obj1
= 0 ;
7603 (char *) "self",(char *) "rect", NULL
7606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7611 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7615 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7617 wxPyEndAllowThreads(__tstate
);
7618 if (PyErr_Occurred()) SWIG_fail
;
7620 Py_INCREF(Py_None
); resultobj
= Py_None
;
7627 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7628 PyObject
*resultobj
;
7629 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7631 PyObject
* obj0
= 0 ;
7633 (char *) "self", NULL
7636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7641 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7643 wxPyEndAllowThreads(__tstate
);
7644 if (PyErr_Occurred()) SWIG_fail
;
7648 resultptr
= new wxRect((wxRect
&) result
);
7649 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7657 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7658 PyObject
*resultobj
;
7659 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7661 PyObject
* obj0
= 0 ;
7662 PyObject
* obj1
= 0 ;
7664 (char *) "self",(char *) "status", NULL
7667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7670 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7671 if (PyErr_Occurred()) SWIG_fail
;
7673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7674 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7676 wxPyEndAllowThreads(__tstate
);
7677 if (PyErr_Occurred()) SWIG_fail
;
7679 Py_INCREF(Py_None
); resultobj
= Py_None
;
7686 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7687 PyObject
*resultobj
;
7688 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7690 PyObject
* obj0
= 0 ;
7692 (char *) "self", NULL
7695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7700 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7702 wxPyEndAllowThreads(__tstate
);
7703 if (PyErr_Occurred()) SWIG_fail
;
7705 resultobj
= SWIG_FromInt((int)result
);
7712 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7714 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7715 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7717 return Py_BuildValue((char *)"");
7719 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7720 PyObject
*resultobj
;
7721 int arg1
= (int) 0 ;
7722 wxQueryLayoutInfoEvent
*result
;
7723 PyObject
* obj0
= 0 ;
7728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7730 arg1
= (int) SWIG_AsInt(obj0
);
7731 if (PyErr_Occurred()) SWIG_fail
;
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7735 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7737 wxPyEndAllowThreads(__tstate
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7747 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7748 PyObject
*resultobj
;
7749 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7751 PyObject
* obj0
= 0 ;
7752 PyObject
* obj1
= 0 ;
7754 (char *) "self",(char *) "length", NULL
7757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7760 arg2
= (int) SWIG_AsInt(obj1
);
7761 if (PyErr_Occurred()) SWIG_fail
;
7763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7764 (arg1
)->SetRequestedLength(arg2
);
7766 wxPyEndAllowThreads(__tstate
);
7767 if (PyErr_Occurred()) SWIG_fail
;
7769 Py_INCREF(Py_None
); resultobj
= Py_None
;
7776 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7777 PyObject
*resultobj
;
7778 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7780 PyObject
* obj0
= 0 ;
7782 (char *) "self", NULL
7785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7790 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7792 wxPyEndAllowThreads(__tstate
);
7793 if (PyErr_Occurred()) SWIG_fail
;
7795 resultobj
= SWIG_FromInt((int)result
);
7802 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7803 PyObject
*resultobj
;
7804 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7806 PyObject
* obj0
= 0 ;
7807 PyObject
* obj1
= 0 ;
7809 (char *) "self",(char *) "flags", NULL
7812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7815 arg2
= (int) SWIG_AsInt(obj1
);
7816 if (PyErr_Occurred()) SWIG_fail
;
7818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7819 (arg1
)->SetFlags(arg2
);
7821 wxPyEndAllowThreads(__tstate
);
7822 if (PyErr_Occurred()) SWIG_fail
;
7824 Py_INCREF(Py_None
); resultobj
= Py_None
;
7831 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7832 PyObject
*resultobj
;
7833 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7835 PyObject
* obj0
= 0 ;
7837 (char *) "self", NULL
7840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7845 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7847 wxPyEndAllowThreads(__tstate
);
7848 if (PyErr_Occurred()) SWIG_fail
;
7850 resultobj
= SWIG_FromInt((int)result
);
7857 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7858 PyObject
*resultobj
;
7859 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7862 PyObject
* obj0
= 0 ;
7863 PyObject
* obj1
= 0 ;
7865 (char *) "self",(char *) "size", NULL
7868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7873 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7877 (arg1
)->SetSize((wxSize
const &)*arg2
);
7879 wxPyEndAllowThreads(__tstate
);
7880 if (PyErr_Occurred()) SWIG_fail
;
7882 Py_INCREF(Py_None
); resultobj
= Py_None
;
7889 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7890 PyObject
*resultobj
;
7891 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7893 PyObject
* obj0
= 0 ;
7895 (char *) "self", NULL
7898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7903 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7905 wxPyEndAllowThreads(__tstate
);
7906 if (PyErr_Occurred()) SWIG_fail
;
7910 resultptr
= new wxSize((wxSize
&) result
);
7911 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7919 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7920 PyObject
*resultobj
;
7921 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7923 PyObject
* obj0
= 0 ;
7924 PyObject
* obj1
= 0 ;
7926 (char *) "self",(char *) "orient", NULL
7929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7932 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
7933 if (PyErr_Occurred()) SWIG_fail
;
7935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7936 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7938 wxPyEndAllowThreads(__tstate
);
7939 if (PyErr_Occurred()) SWIG_fail
;
7941 Py_INCREF(Py_None
); resultobj
= Py_None
;
7948 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7949 PyObject
*resultobj
;
7950 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7952 PyObject
* obj0
= 0 ;
7954 (char *) "self", NULL
7957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7962 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7964 wxPyEndAllowThreads(__tstate
);
7965 if (PyErr_Occurred()) SWIG_fail
;
7967 resultobj
= SWIG_FromInt((int)result
);
7974 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7975 PyObject
*resultobj
;
7976 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7978 PyObject
* obj0
= 0 ;
7979 PyObject
* obj1
= 0 ;
7981 (char *) "self",(char *) "align", NULL
7984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7987 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
7988 if (PyErr_Occurred()) SWIG_fail
;
7990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7991 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7993 wxPyEndAllowThreads(__tstate
);
7994 if (PyErr_Occurred()) SWIG_fail
;
7996 Py_INCREF(Py_None
); resultobj
= Py_None
;
8003 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8004 PyObject
*resultobj
;
8005 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8007 PyObject
* obj0
= 0 ;
8009 (char *) "self", NULL
8012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
8013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8017 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
8019 wxPyEndAllowThreads(__tstate
);
8020 if (PyErr_Occurred()) SWIG_fail
;
8022 resultobj
= SWIG_FromInt((int)result
);
8029 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8032 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
8034 return Py_BuildValue((char *)"");
8036 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8037 PyObject
*resultobj
;
8038 int arg1
= (int) 0 ;
8039 wxCalculateLayoutEvent
*result
;
8040 PyObject
* obj0
= 0 ;
8045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
8047 arg1
= (int) SWIG_AsInt(obj0
);
8048 if (PyErr_Occurred()) SWIG_fail
;
8051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8052 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
8054 wxPyEndAllowThreads(__tstate
);
8055 if (PyErr_Occurred()) SWIG_fail
;
8057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
8064 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8065 PyObject
*resultobj
;
8066 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8068 PyObject
* obj0
= 0 ;
8069 PyObject
* obj1
= 0 ;
8071 (char *) "self",(char *) "flags", NULL
8074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8077 arg2
= (int) SWIG_AsInt(obj1
);
8078 if (PyErr_Occurred()) SWIG_fail
;
8080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8081 (arg1
)->SetFlags(arg2
);
8083 wxPyEndAllowThreads(__tstate
);
8084 if (PyErr_Occurred()) SWIG_fail
;
8086 Py_INCREF(Py_None
); resultobj
= Py_None
;
8093 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8094 PyObject
*resultobj
;
8095 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8097 PyObject
* obj0
= 0 ;
8099 (char *) "self", NULL
8102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8107 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
8109 wxPyEndAllowThreads(__tstate
);
8110 if (PyErr_Occurred()) SWIG_fail
;
8112 resultobj
= SWIG_FromInt((int)result
);
8119 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8120 PyObject
*resultobj
;
8121 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8124 PyObject
* obj0
= 0 ;
8125 PyObject
* obj1
= 0 ;
8127 (char *) "self",(char *) "rect", NULL
8130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8135 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8139 (arg1
)->SetRect((wxRect
const &)*arg2
);
8141 wxPyEndAllowThreads(__tstate
);
8142 if (PyErr_Occurred()) SWIG_fail
;
8144 Py_INCREF(Py_None
); resultobj
= Py_None
;
8151 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8152 PyObject
*resultobj
;
8153 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8155 PyObject
* obj0
= 0 ;
8157 (char *) "self", NULL
8160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
8161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8165 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8167 wxPyEndAllowThreads(__tstate
);
8168 if (PyErr_Occurred()) SWIG_fail
;
8172 resultptr
= new wxRect((wxRect
&) result
);
8173 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8181 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8184 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8186 return Py_BuildValue((char *)"");
8188 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8189 PyObject
*resultobj
;
8190 wxWindow
*arg1
= (wxWindow
*) 0 ;
8191 int arg2
= (int) -1 ;
8192 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8193 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8194 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8195 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8196 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8197 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8198 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8199 wxSashLayoutWindow
*result
;
8202 bool temp6
= False
;
8203 PyObject
* obj0
= 0 ;
8204 PyObject
* obj1
= 0 ;
8205 PyObject
* obj2
= 0 ;
8206 PyObject
* obj3
= 0 ;
8207 PyObject
* obj4
= 0 ;
8208 PyObject
* obj5
= 0 ;
8210 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8217 arg2
= (int) SWIG_AsInt(obj1
);
8218 if (PyErr_Occurred()) SWIG_fail
;
8223 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8229 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8233 arg5
= (long) SWIG_AsLong(obj4
);
8234 if (PyErr_Occurred()) SWIG_fail
;
8238 arg6
= wxString_in_helper(obj5
);
8239 if (arg6
== NULL
) SWIG_fail
;
8244 if (!wxPyCheckForApp()) SWIG_fail
;
8245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8246 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8248 wxPyEndAllowThreads(__tstate
);
8249 if (PyErr_Occurred()) SWIG_fail
;
8251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8266 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8267 PyObject
*resultobj
;
8268 wxSashLayoutWindow
*result
;
8273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8275 if (!wxPyCheckForApp()) SWIG_fail
;
8276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8277 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8279 wxPyEndAllowThreads(__tstate
);
8280 if (PyErr_Occurred()) SWIG_fail
;
8282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8289 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8290 PyObject
*resultobj
;
8291 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8292 wxWindow
*arg2
= (wxWindow
*) 0 ;
8293 int arg3
= (int) -1 ;
8294 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8295 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8296 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8297 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8298 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8299 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8300 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8304 bool temp7
= False
;
8305 PyObject
* obj0
= 0 ;
8306 PyObject
* obj1
= 0 ;
8307 PyObject
* obj2
= 0 ;
8308 PyObject
* obj3
= 0 ;
8309 PyObject
* obj4
= 0 ;
8310 PyObject
* obj5
= 0 ;
8311 PyObject
* obj6
= 0 ;
8313 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8319 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8322 arg3
= (int) SWIG_AsInt(obj2
);
8323 if (PyErr_Occurred()) SWIG_fail
;
8328 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8334 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8338 arg6
= (long) SWIG_AsLong(obj5
);
8339 if (PyErr_Occurred()) SWIG_fail
;
8343 arg7
= wxString_in_helper(obj6
);
8344 if (arg7
== NULL
) SWIG_fail
;
8349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8350 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8352 wxPyEndAllowThreads(__tstate
);
8353 if (PyErr_Occurred()) SWIG_fail
;
8356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8372 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8373 PyObject
*resultobj
;
8374 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8376 PyObject
* obj0
= 0 ;
8378 (char *) "self", NULL
8381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8386 result
= (int)(arg1
)->GetAlignment();
8388 wxPyEndAllowThreads(__tstate
);
8389 if (PyErr_Occurred()) SWIG_fail
;
8391 resultobj
= SWIG_FromInt((int)result
);
8398 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8399 PyObject
*resultobj
;
8400 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8402 PyObject
* obj0
= 0 ;
8404 (char *) "self", NULL
8407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8412 result
= (int)(arg1
)->GetOrientation();
8414 wxPyEndAllowThreads(__tstate
);
8415 if (PyErr_Occurred()) SWIG_fail
;
8417 resultobj
= SWIG_FromInt((int)result
);
8424 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8425 PyObject
*resultobj
;
8426 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8428 PyObject
* obj0
= 0 ;
8429 PyObject
* obj1
= 0 ;
8431 (char *) "self",(char *) "alignment", NULL
8434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8437 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8441 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8443 wxPyEndAllowThreads(__tstate
);
8444 if (PyErr_Occurred()) SWIG_fail
;
8446 Py_INCREF(Py_None
); resultobj
= Py_None
;
8453 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8454 PyObject
*resultobj
;
8455 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8458 PyObject
* obj0
= 0 ;
8459 PyObject
* obj1
= 0 ;
8461 (char *) "self",(char *) "size", NULL
8464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8469 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8473 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8475 wxPyEndAllowThreads(__tstate
);
8476 if (PyErr_Occurred()) SWIG_fail
;
8478 Py_INCREF(Py_None
); resultobj
= Py_None
;
8485 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8486 PyObject
*resultobj
;
8487 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8489 PyObject
* obj0
= 0 ;
8490 PyObject
* obj1
= 0 ;
8492 (char *) "self",(char *) "orientation", NULL
8495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8498 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8502 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8504 wxPyEndAllowThreads(__tstate
);
8505 if (PyErr_Occurred()) SWIG_fail
;
8507 Py_INCREF(Py_None
); resultobj
= Py_None
;
8514 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8517 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8519 return Py_BuildValue((char *)"");
8521 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8522 PyObject
*resultobj
;
8523 wxLayoutAlgorithm
*result
;
8528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8531 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8533 wxPyEndAllowThreads(__tstate
);
8534 if (PyErr_Occurred()) SWIG_fail
;
8536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8543 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8544 PyObject
*resultobj
;
8545 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8546 PyObject
* obj0
= 0 ;
8548 (char *) "self", NULL
8551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8558 wxPyEndAllowThreads(__tstate
);
8559 if (PyErr_Occurred()) SWIG_fail
;
8561 Py_INCREF(Py_None
); resultobj
= Py_None
;
8568 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8569 PyObject
*resultobj
;
8570 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8571 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8572 wxRect
*arg3
= (wxRect
*) NULL
;
8574 PyObject
* obj0
= 0 ;
8575 PyObject
* obj1
= 0 ;
8576 PyObject
* obj2
= 0 ;
8578 (char *) "self",(char *) "frame",(char *) "rect", NULL
8581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8584 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8587 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8592 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8594 wxPyEndAllowThreads(__tstate
);
8595 if (PyErr_Occurred()) SWIG_fail
;
8598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8606 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8607 PyObject
*resultobj
;
8608 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8609 wxFrame
*arg2
= (wxFrame
*) 0 ;
8610 wxWindow
*arg3
= (wxWindow
*) NULL
;
8612 PyObject
* obj0
= 0 ;
8613 PyObject
* obj1
= 0 ;
8614 PyObject
* obj2
= 0 ;
8616 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8625 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8630 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8632 wxPyEndAllowThreads(__tstate
);
8633 if (PyErr_Occurred()) SWIG_fail
;
8636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8644 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8645 PyObject
*resultobj
;
8646 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8647 wxWindow
*arg2
= (wxWindow
*) 0 ;
8648 wxWindow
*arg3
= (wxWindow
*) NULL
;
8650 PyObject
* obj0
= 0 ;
8651 PyObject
* obj1
= 0 ;
8652 PyObject
* obj2
= 0 ;
8654 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8663 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8668 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8670 wxPyEndAllowThreads(__tstate
);
8671 if (PyErr_Occurred()) SWIG_fail
;
8674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8682 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8684 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8685 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8687 return Py_BuildValue((char *)"");
8689 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8690 PyObject
*resultobj
;
8691 wxWindow
*arg1
= (wxWindow
*) 0 ;
8692 int arg2
= (int) wxBORDER_NONE
;
8693 wxPopupWindow
*result
;
8694 PyObject
* obj0
= 0 ;
8695 PyObject
* obj1
= 0 ;
8697 (char *) "parent",(char *) "flags", NULL
8700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8704 arg2
= (int) SWIG_AsInt(obj1
);
8705 if (PyErr_Occurred()) SWIG_fail
;
8708 if (!wxPyCheckForApp()) SWIG_fail
;
8709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8710 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8712 wxPyEndAllowThreads(__tstate
);
8713 if (PyErr_Occurred()) SWIG_fail
;
8715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8722 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8723 PyObject
*resultobj
;
8724 wxPopupWindow
*result
;
8729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8731 if (!wxPyCheckForApp()) SWIG_fail
;
8732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8733 result
= (wxPopupWindow
*)new wxPopupWindow();
8735 wxPyEndAllowThreads(__tstate
);
8736 if (PyErr_Occurred()) SWIG_fail
;
8738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8745 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8746 PyObject
*resultobj
;
8747 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8748 wxWindow
*arg2
= (wxWindow
*) 0 ;
8749 int arg3
= (int) wxBORDER_NONE
;
8751 PyObject
* obj0
= 0 ;
8752 PyObject
* obj1
= 0 ;
8753 PyObject
* obj2
= 0 ;
8755 (char *) "self",(char *) "parent",(char *) "flags", NULL
8758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8761 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8764 arg3
= (int) SWIG_AsInt(obj2
);
8765 if (PyErr_Occurred()) SWIG_fail
;
8768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8769 result
= (bool)(arg1
)->Create(arg2
,arg3
);
8771 wxPyEndAllowThreads(__tstate
);
8772 if (PyErr_Occurred()) SWIG_fail
;
8775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8783 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8784 PyObject
*resultobj
;
8785 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8790 PyObject
* obj0
= 0 ;
8791 PyObject
* obj1
= 0 ;
8792 PyObject
* obj2
= 0 ;
8794 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8802 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8806 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
8809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8810 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8812 wxPyEndAllowThreads(__tstate
);
8813 if (PyErr_Occurred()) SWIG_fail
;
8815 Py_INCREF(Py_None
); resultobj
= Py_None
;
8822 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8825 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8827 return Py_BuildValue((char *)"");
8829 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
;
8831 wxWindow
*arg1
= (wxWindow
*) 0 ;
8832 int arg2
= (int) wxBORDER_NONE
;
8833 wxPyPopupTransientWindow
*result
;
8834 PyObject
* obj0
= 0 ;
8835 PyObject
* obj1
= 0 ;
8837 (char *) "parent",(char *) "style", NULL
8840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8844 arg2
= (int) SWIG_AsInt(obj1
);
8845 if (PyErr_Occurred()) SWIG_fail
;
8848 if (!wxPyCheckForApp()) SWIG_fail
;
8849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8850 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8852 wxPyEndAllowThreads(__tstate
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8862 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8863 PyObject
*resultobj
;
8864 wxPyPopupTransientWindow
*result
;
8869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8871 if (!wxPyCheckForApp()) SWIG_fail
;
8872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8873 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8875 wxPyEndAllowThreads(__tstate
);
8876 if (PyErr_Occurred()) SWIG_fail
;
8878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8885 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8886 PyObject
*resultobj
;
8887 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8888 PyObject
*arg2
= (PyObject
*) 0 ;
8889 PyObject
*arg3
= (PyObject
*) 0 ;
8890 PyObject
* obj0
= 0 ;
8891 PyObject
* obj1
= 0 ;
8892 PyObject
* obj2
= 0 ;
8894 (char *) "self",(char *) "self",(char *) "_class", NULL
8897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8904 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8906 wxPyEndAllowThreads(__tstate
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8909 Py_INCREF(Py_None
); resultobj
= Py_None
;
8916 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
;
8918 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8919 wxWindow
*arg2
= (wxWindow
*) NULL
;
8920 PyObject
* obj0
= 0 ;
8921 PyObject
* obj1
= 0 ;
8923 (char *) "self",(char *) "focus", NULL
8926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
8927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8930 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8935 (arg1
)->Popup(arg2
);
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8940 Py_INCREF(Py_None
); resultobj
= Py_None
;
8947 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
*resultobj
;
8949 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8950 PyObject
* obj0
= 0 ;
8952 (char *) "self", NULL
8955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
8956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8962 wxPyEndAllowThreads(__tstate
);
8963 if (PyErr_Occurred()) SWIG_fail
;
8965 Py_INCREF(Py_None
); resultobj
= Py_None
;
8972 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8974 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8975 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8977 return Py_BuildValue((char *)"");
8979 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8980 PyObject
*resultobj
;
8981 wxWindow
*arg1
= (wxWindow
*) 0 ;
8982 wxString
*arg2
= 0 ;
8983 int arg3
= (int) 100 ;
8984 wxRect
*arg4
= (wxRect
*) NULL
;
8985 wxTipWindow
*result
;
8986 bool temp2
= False
;
8987 PyObject
* obj0
= 0 ;
8988 PyObject
* obj1
= 0 ;
8989 PyObject
* obj2
= 0 ;
8990 PyObject
* obj3
= 0 ;
8992 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8999 arg2
= wxString_in_helper(obj1
);
9000 if (arg2
== NULL
) SWIG_fail
;
9004 arg3
= (int) SWIG_AsInt(obj2
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9008 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
9009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9012 if (!wxPyCheckForApp()) SWIG_fail
;
9013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9014 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9016 wxPyEndAllowThreads(__tstate
);
9017 if (PyErr_Occurred()) SWIG_fail
;
9019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
9034 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9035 PyObject
*resultobj
;
9036 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9039 PyObject
* obj0
= 0 ;
9040 PyObject
* obj1
= 0 ;
9042 (char *) "self",(char *) "rectBound", NULL
9045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9050 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9054 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
9056 wxPyEndAllowThreads(__tstate
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9059 Py_INCREF(Py_None
); resultobj
= Py_None
;
9066 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9067 PyObject
*resultobj
;
9068 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9069 PyObject
* obj0
= 0 ;
9071 (char *) "self", NULL
9074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
9075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9081 wxPyEndAllowThreads(__tstate
);
9082 if (PyErr_Occurred()) SWIG_fail
;
9084 Py_INCREF(Py_None
); resultobj
= Py_None
;
9091 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9094 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
9096 return Py_BuildValue((char *)"");
9098 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
*resultobj
;
9100 wxWindow
*arg1
= (wxWindow
*) 0 ;
9101 int arg2
= (int) wxID_ANY
;
9102 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9103 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9104 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9105 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9106 long arg5
= (long) 0 ;
9107 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9108 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9109 wxPyVScrolledWindow
*result
;
9112 bool temp6
= False
;
9113 PyObject
* obj0
= 0 ;
9114 PyObject
* obj1
= 0 ;
9115 PyObject
* obj2
= 0 ;
9116 PyObject
* obj3
= 0 ;
9117 PyObject
* obj4
= 0 ;
9118 PyObject
* obj5
= 0 ;
9120 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9127 arg2
= (int) SWIG_AsInt(obj1
);
9128 if (PyErr_Occurred()) SWIG_fail
;
9133 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9139 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9143 arg5
= (long) SWIG_AsLong(obj4
);
9144 if (PyErr_Occurred()) SWIG_fail
;
9148 arg6
= wxString_in_helper(obj5
);
9149 if (arg6
== NULL
) SWIG_fail
;
9154 if (!wxPyCheckForApp()) SWIG_fail
;
9155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9156 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9158 wxPyEndAllowThreads(__tstate
);
9159 if (PyErr_Occurred()) SWIG_fail
;
9161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9176 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9177 PyObject
*resultobj
;
9178 wxPyVScrolledWindow
*result
;
9183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9185 if (!wxPyCheckForApp()) SWIG_fail
;
9186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9187 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9189 wxPyEndAllowThreads(__tstate
);
9190 if (PyErr_Occurred()) SWIG_fail
;
9192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9199 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9200 PyObject
*resultobj
;
9201 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9202 PyObject
*arg2
= (PyObject
*) 0 ;
9203 PyObject
*arg3
= (PyObject
*) 0 ;
9204 PyObject
* obj0
= 0 ;
9205 PyObject
* obj1
= 0 ;
9206 PyObject
* obj2
= 0 ;
9208 (char *) "self",(char *) "self",(char *) "_class", NULL
9211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9223 Py_INCREF(Py_None
); resultobj
= Py_None
;
9230 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
*resultobj
;
9232 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9233 wxWindow
*arg2
= (wxWindow
*) 0 ;
9234 int arg3
= (int) wxID_ANY
;
9235 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9236 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9237 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9238 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9239 long arg6
= (long) 0 ;
9240 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9241 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9245 bool temp7
= False
;
9246 PyObject
* obj0
= 0 ;
9247 PyObject
* obj1
= 0 ;
9248 PyObject
* obj2
= 0 ;
9249 PyObject
* obj3
= 0 ;
9250 PyObject
* obj4
= 0 ;
9251 PyObject
* obj5
= 0 ;
9252 PyObject
* obj6
= 0 ;
9254 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9260 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9263 arg3
= (int) SWIG_AsInt(obj2
);
9264 if (PyErr_Occurred()) SWIG_fail
;
9269 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9275 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9279 arg6
= (long) SWIG_AsLong(obj5
);
9280 if (PyErr_Occurred()) SWIG_fail
;
9284 arg7
= wxString_in_helper(obj6
);
9285 if (arg7
== NULL
) SWIG_fail
;
9290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9291 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9293 wxPyEndAllowThreads(__tstate
);
9294 if (PyErr_Occurred()) SWIG_fail
;
9297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9313 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9314 PyObject
*resultobj
;
9315 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9317 PyObject
* obj0
= 0 ;
9318 PyObject
* obj1
= 0 ;
9320 (char *) "self",(char *) "count", NULL
9323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9326 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9330 (arg1
)->SetLineCount(arg2
);
9332 wxPyEndAllowThreads(__tstate
);
9333 if (PyErr_Occurred()) SWIG_fail
;
9335 Py_INCREF(Py_None
); resultobj
= Py_None
;
9342 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9343 PyObject
*resultobj
;
9344 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9347 PyObject
* obj0
= 0 ;
9348 PyObject
* obj1
= 0 ;
9350 (char *) "self",(char *) "line", NULL
9353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9356 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9357 if (PyErr_Occurred()) SWIG_fail
;
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9374 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9375 PyObject
*resultobj
;
9376 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9379 PyObject
* obj0
= 0 ;
9380 PyObject
* obj1
= 0 ;
9382 (char *) "self",(char *) "lines", NULL
9385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9388 arg2
= (int) SWIG_AsInt(obj1
);
9389 if (PyErr_Occurred()) SWIG_fail
;
9391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9392 result
= (bool)(arg1
)->ScrollLines(arg2
);
9394 wxPyEndAllowThreads(__tstate
);
9395 if (PyErr_Occurred()) SWIG_fail
;
9398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9406 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9407 PyObject
*resultobj
;
9408 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9411 PyObject
* obj0
= 0 ;
9412 PyObject
* obj1
= 0 ;
9414 (char *) "self",(char *) "pages", NULL
9417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9420 arg2
= (int) SWIG_AsInt(obj1
);
9421 if (PyErr_Occurred()) SWIG_fail
;
9423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9424 result
= (bool)(arg1
)->ScrollPages(arg2
);
9426 wxPyEndAllowThreads(__tstate
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9438 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
*resultobj
;
9440 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9442 PyObject
* obj0
= 0 ;
9443 PyObject
* obj1
= 0 ;
9445 (char *) "self",(char *) "line", NULL
9448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9451 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9452 if (PyErr_Occurred()) SWIG_fail
;
9454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9455 (arg1
)->RefreshLine(arg2
);
9457 wxPyEndAllowThreads(__tstate
);
9458 if (PyErr_Occurred()) SWIG_fail
;
9460 Py_INCREF(Py_None
); resultobj
= Py_None
;
9467 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9468 PyObject
*resultobj
;
9469 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9472 PyObject
* obj0
= 0 ;
9473 PyObject
* obj1
= 0 ;
9474 PyObject
* obj2
= 0 ;
9476 (char *) "self",(char *) "from",(char *) "to", NULL
9479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9482 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9484 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9488 (arg1
)->RefreshLines(arg2
,arg3
);
9490 wxPyEndAllowThreads(__tstate
);
9491 if (PyErr_Occurred()) SWIG_fail
;
9493 Py_INCREF(Py_None
); resultobj
= Py_None
;
9500 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9501 PyObject
*resultobj
;
9502 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9506 PyObject
* obj0
= 0 ;
9507 PyObject
* obj1
= 0 ;
9508 PyObject
* obj2
= 0 ;
9510 (char *) "self",(char *) "x",(char *) "y", NULL
9513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9516 arg2
= (int) SWIG_AsInt(obj1
);
9517 if (PyErr_Occurred()) SWIG_fail
;
9518 arg3
= (int) SWIG_AsInt(obj2
);
9519 if (PyErr_Occurred()) SWIG_fail
;
9521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9522 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9524 wxPyEndAllowThreads(__tstate
);
9525 if (PyErr_Occurred()) SWIG_fail
;
9527 resultobj
= SWIG_FromInt((int)result
);
9534 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9535 PyObject
*resultobj
;
9536 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9540 PyObject
* obj0
= 0 ;
9541 PyObject
* obj1
= 0 ;
9543 (char *) "self",(char *) "pt", NULL
9546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9551 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9555 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9557 wxPyEndAllowThreads(__tstate
);
9558 if (PyErr_Occurred()) SWIG_fail
;
9560 resultobj
= SWIG_FromInt((int)result
);
9567 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9568 PyObject
*resultobj
;
9569 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9570 PyObject
* obj0
= 0 ;
9572 (char *) "self", NULL
9575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9580 (arg1
)->RefreshAll();
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9585 Py_INCREF(Py_None
); resultobj
= Py_None
;
9592 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9593 PyObject
*resultobj
;
9594 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9596 PyObject
* obj0
= 0 ;
9598 (char *) "self", NULL
9601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9606 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9608 wxPyEndAllowThreads(__tstate
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9611 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9618 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9619 PyObject
*resultobj
;
9620 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9622 PyObject
* obj0
= 0 ;
9624 (char *) "self", NULL
9627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9632 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9634 wxPyEndAllowThreads(__tstate
);
9635 if (PyErr_Occurred()) SWIG_fail
;
9637 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9644 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9645 PyObject
*resultobj
;
9646 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9648 PyObject
* obj0
= 0 ;
9650 (char *) "self", NULL
9653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9658 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9660 wxPyEndAllowThreads(__tstate
);
9661 if (PyErr_Occurred()) SWIG_fail
;
9663 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9670 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9671 PyObject
*resultobj
;
9672 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9675 PyObject
* obj0
= 0 ;
9676 PyObject
* obj1
= 0 ;
9678 (char *) "self",(char *) "line", NULL
9681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9684 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9685 if (PyErr_Occurred()) SWIG_fail
;
9687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9688 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9690 wxPyEndAllowThreads(__tstate
);
9691 if (PyErr_Occurred()) SWIG_fail
;
9694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9702 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9704 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9705 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9707 return Py_BuildValue((char *)"");
9709 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9710 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9715 static PyObject
*_wrap_VListBoxNameStr_get() {
9720 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9722 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9729 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9730 PyObject
*resultobj
;
9731 wxWindow
*arg1
= (wxWindow
*) 0 ;
9732 int arg2
= (int) wxID_ANY
;
9733 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9734 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9735 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9736 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9737 long arg5
= (long) 0 ;
9738 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9739 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9740 wxPyVListBox
*result
;
9743 bool temp6
= False
;
9744 PyObject
* obj0
= 0 ;
9745 PyObject
* obj1
= 0 ;
9746 PyObject
* obj2
= 0 ;
9747 PyObject
* obj3
= 0 ;
9748 PyObject
* obj4
= 0 ;
9749 PyObject
* obj5
= 0 ;
9751 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9758 arg2
= (int) SWIG_AsInt(obj1
);
9759 if (PyErr_Occurred()) SWIG_fail
;
9764 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9770 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9774 arg5
= (long) SWIG_AsLong(obj4
);
9775 if (PyErr_Occurred()) SWIG_fail
;
9779 arg6
= wxString_in_helper(obj5
);
9780 if (arg6
== NULL
) SWIG_fail
;
9785 if (!wxPyCheckForApp()) SWIG_fail
;
9786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9787 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9789 wxPyEndAllowThreads(__tstate
);
9790 if (PyErr_Occurred()) SWIG_fail
;
9792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9807 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9808 PyObject
*resultobj
;
9809 wxPyVListBox
*result
;
9814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9816 if (!wxPyCheckForApp()) SWIG_fail
;
9817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9818 result
= (wxPyVListBox
*)new wxPyVListBox();
9820 wxPyEndAllowThreads(__tstate
);
9821 if (PyErr_Occurred()) SWIG_fail
;
9823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9830 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9831 PyObject
*resultobj
;
9832 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9833 PyObject
*arg2
= (PyObject
*) 0 ;
9834 PyObject
*arg3
= (PyObject
*) 0 ;
9835 PyObject
* obj0
= 0 ;
9836 PyObject
* obj1
= 0 ;
9837 PyObject
* obj2
= 0 ;
9839 (char *) "self",(char *) "self",(char *) "_class", NULL
9842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9849 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9851 wxPyEndAllowThreads(__tstate
);
9852 if (PyErr_Occurred()) SWIG_fail
;
9854 Py_INCREF(Py_None
); resultobj
= Py_None
;
9861 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9862 PyObject
*resultobj
;
9863 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9864 wxWindow
*arg2
= (wxWindow
*) 0 ;
9865 int arg3
= (int) wxID_ANY
;
9866 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9867 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9868 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9869 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9870 long arg6
= (long) 0 ;
9871 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9872 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9876 bool temp7
= False
;
9877 PyObject
* obj0
= 0 ;
9878 PyObject
* obj1
= 0 ;
9879 PyObject
* obj2
= 0 ;
9880 PyObject
* obj3
= 0 ;
9881 PyObject
* obj4
= 0 ;
9882 PyObject
* obj5
= 0 ;
9883 PyObject
* obj6
= 0 ;
9885 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9891 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9894 arg3
= (int) SWIG_AsInt(obj2
);
9895 if (PyErr_Occurred()) SWIG_fail
;
9900 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9906 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9910 arg6
= (long) SWIG_AsLong(obj5
);
9911 if (PyErr_Occurred()) SWIG_fail
;
9915 arg7
= wxString_in_helper(obj6
);
9916 if (arg7
== NULL
) SWIG_fail
;
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9944 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9945 PyObject
*resultobj
;
9946 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9948 PyObject
* obj0
= 0 ;
9950 (char *) "self", NULL
9953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9958 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9960 wxPyEndAllowThreads(__tstate
);
9961 if (PyErr_Occurred()) SWIG_fail
;
9963 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9970 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9971 PyObject
*resultobj
;
9972 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9974 PyObject
* obj0
= 0 ;
9976 (char *) "self", NULL
9979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9984 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9986 wxPyEndAllowThreads(__tstate
);
9987 if (PyErr_Occurred()) SWIG_fail
;
9990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9998 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9999 PyObject
*resultobj
;
10000 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10002 PyObject
* obj0
= 0 ;
10003 char *kwnames
[] = {
10004 (char *) "self", NULL
10007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
10008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
10014 wxPyEndAllowThreads(__tstate
);
10015 if (PyErr_Occurred()) SWIG_fail
;
10017 resultobj
= SWIG_FromInt((int)result
);
10024 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10025 PyObject
*resultobj
;
10026 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10029 PyObject
* obj0
= 0 ;
10030 PyObject
* obj1
= 0 ;
10031 char *kwnames
[] = {
10032 (char *) "self",(char *) "item", NULL
10035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
10036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10038 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10039 if (PyErr_Occurred()) SWIG_fail
;
10041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10042 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
10044 wxPyEndAllowThreads(__tstate
);
10045 if (PyErr_Occurred()) SWIG_fail
;
10048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10056 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10057 PyObject
*resultobj
;
10058 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10061 PyObject
* obj0
= 0 ;
10062 PyObject
* obj1
= 0 ;
10063 char *kwnames
[] = {
10064 (char *) "self",(char *) "item", NULL
10067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10070 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10071 if (PyErr_Occurred()) SWIG_fail
;
10073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10074 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
10076 wxPyEndAllowThreads(__tstate
);
10077 if (PyErr_Occurred()) SWIG_fail
;
10080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10088 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10089 PyObject
*resultobj
;
10090 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10092 PyObject
* obj0
= 0 ;
10093 char *kwnames
[] = {
10094 (char *) "self", NULL
10097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
10098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10102 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10107 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10114 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10115 PyObject
*resultobj
;
10116 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10118 PyObject
* obj0
= 0 ;
10119 char *kwnames
[] = {
10120 (char *) "self", NULL
10123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
10124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10128 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
10130 wxPyEndAllowThreads(__tstate
);
10131 if (PyErr_Occurred()) SWIG_fail
;
10133 resultobj
= result
;
10140 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10141 PyObject
*resultobj
;
10142 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10143 unsigned long arg2
;
10145 PyObject
* obj0
= 0 ;
10146 PyObject
* obj1
= 0 ;
10147 char *kwnames
[] = {
10148 (char *) "self",(char *) "cookie", NULL
10151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10154 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
10155 if (PyErr_Occurred()) SWIG_fail
;
10157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10158 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
10160 wxPyEndAllowThreads(__tstate
);
10161 if (PyErr_Occurred()) SWIG_fail
;
10163 resultobj
= result
;
10170 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10171 PyObject
*resultobj
;
10172 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10174 PyObject
* obj0
= 0 ;
10175 char *kwnames
[] = {
10176 (char *) "self", NULL
10179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10184 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10186 wxPyEndAllowThreads(__tstate
);
10187 if (PyErr_Occurred()) SWIG_fail
;
10190 wxPoint
* resultptr
;
10191 resultptr
= new wxPoint((wxPoint
&) result
);
10192 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10200 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10201 PyObject
*resultobj
;
10202 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10204 PyObject
* obj0
= 0 ;
10205 char *kwnames
[] = {
10206 (char *) "self", NULL
10209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10215 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10216 result
= (wxColour
*) &_result_ref
;
10219 wxPyEndAllowThreads(__tstate
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10229 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
*resultobj
;
10231 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10233 PyObject
* obj0
= 0 ;
10234 PyObject
* obj1
= 0 ;
10235 char *kwnames
[] = {
10236 (char *) "self",(char *) "count", NULL
10239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10242 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10243 if (PyErr_Occurred()) SWIG_fail
;
10245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10246 (arg1
)->SetItemCount(arg2
);
10248 wxPyEndAllowThreads(__tstate
);
10249 if (PyErr_Occurred()) SWIG_fail
;
10251 Py_INCREF(Py_None
); resultobj
= Py_None
;
10258 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10259 PyObject
*resultobj
;
10260 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10261 PyObject
* obj0
= 0 ;
10262 char *kwnames
[] = {
10263 (char *) "self", NULL
10266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10273 wxPyEndAllowThreads(__tstate
);
10274 if (PyErr_Occurred()) SWIG_fail
;
10276 Py_INCREF(Py_None
); resultobj
= Py_None
;
10283 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10284 PyObject
*resultobj
;
10285 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10287 PyObject
* obj0
= 0 ;
10288 PyObject
* obj1
= 0 ;
10289 char *kwnames
[] = {
10290 (char *) "self",(char *) "selection", NULL
10293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10296 arg2
= (int) SWIG_AsInt(obj1
);
10297 if (PyErr_Occurred()) SWIG_fail
;
10299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10300 (arg1
)->SetSelection(arg2
);
10302 wxPyEndAllowThreads(__tstate
);
10303 if (PyErr_Occurred()) SWIG_fail
;
10305 Py_INCREF(Py_None
); resultobj
= Py_None
;
10312 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10313 PyObject
*resultobj
;
10314 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10316 bool arg3
= (bool) True
;
10318 PyObject
* obj0
= 0 ;
10319 PyObject
* obj1
= 0 ;
10320 PyObject
* obj2
= 0 ;
10321 char *kwnames
[] = {
10322 (char *) "self",(char *) "item",(char *) "select", NULL
10325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10328 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10329 if (PyErr_Occurred()) SWIG_fail
;
10331 arg3
= (bool) SWIG_AsBool(obj2
);
10332 if (PyErr_Occurred()) SWIG_fail
;
10335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10336 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10338 wxPyEndAllowThreads(__tstate
);
10339 if (PyErr_Occurred()) SWIG_fail
;
10342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10350 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
;
10352 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10356 PyObject
* obj0
= 0 ;
10357 PyObject
* obj1
= 0 ;
10358 PyObject
* obj2
= 0 ;
10359 char *kwnames
[] = {
10360 (char *) "self",(char *) "from",(char *) "to", NULL
10363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10366 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10367 if (PyErr_Occurred()) SWIG_fail
;
10368 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10369 if (PyErr_Occurred()) SWIG_fail
;
10371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10372 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10374 wxPyEndAllowThreads(__tstate
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10386 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10387 PyObject
*resultobj
;
10388 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10390 PyObject
* obj0
= 0 ;
10391 PyObject
* obj1
= 0 ;
10392 char *kwnames
[] = {
10393 (char *) "self",(char *) "item", NULL
10396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10399 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10400 if (PyErr_Occurred()) SWIG_fail
;
10402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10403 (arg1
)->Toggle(arg2
);
10405 wxPyEndAllowThreads(__tstate
);
10406 if (PyErr_Occurred()) SWIG_fail
;
10408 Py_INCREF(Py_None
); resultobj
= Py_None
;
10415 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10416 PyObject
*resultobj
;
10417 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10419 PyObject
* obj0
= 0 ;
10420 char *kwnames
[] = {
10421 (char *) "self", NULL
10424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10429 result
= (bool)(arg1
)->SelectAll();
10431 wxPyEndAllowThreads(__tstate
);
10432 if (PyErr_Occurred()) SWIG_fail
;
10435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10443 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10444 PyObject
*resultobj
;
10445 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10447 PyObject
* obj0
= 0 ;
10448 char *kwnames
[] = {
10449 (char *) "self", NULL
10452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10457 result
= (bool)(arg1
)->DeselectAll();
10459 wxPyEndAllowThreads(__tstate
);
10460 if (PyErr_Occurred()) SWIG_fail
;
10463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10471 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10472 PyObject
*resultobj
;
10473 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10474 wxPoint
*arg2
= 0 ;
10476 PyObject
* obj0
= 0 ;
10477 PyObject
* obj1
= 0 ;
10478 char *kwnames
[] = {
10479 (char *) "self",(char *) "pt", NULL
10482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10487 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10491 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10493 wxPyEndAllowThreads(__tstate
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10496 Py_INCREF(Py_None
); resultobj
= Py_None
;
10503 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10504 PyObject
*resultobj
;
10505 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10508 PyObject
* obj0
= 0 ;
10509 PyObject
* obj1
= 0 ;
10510 PyObject
* obj2
= 0 ;
10511 char *kwnames
[] = {
10512 (char *) "self",(char *) "x",(char *) "y", NULL
10515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10518 arg2
= (int) SWIG_AsInt(obj1
);
10519 if (PyErr_Occurred()) SWIG_fail
;
10520 arg3
= (int) SWIG_AsInt(obj2
);
10521 if (PyErr_Occurred()) SWIG_fail
;
10523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10524 (arg1
)->SetMargins(arg2
,arg3
);
10526 wxPyEndAllowThreads(__tstate
);
10527 if (PyErr_Occurred()) SWIG_fail
;
10529 Py_INCREF(Py_None
); resultobj
= Py_None
;
10536 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10537 PyObject
*resultobj
;
10538 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10539 wxColour
*arg2
= 0 ;
10541 PyObject
* obj0
= 0 ;
10542 PyObject
* obj1
= 0 ;
10543 char *kwnames
[] = {
10544 (char *) "self",(char *) "col", NULL
10547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10552 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10556 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10558 wxPyEndAllowThreads(__tstate
);
10559 if (PyErr_Occurred()) SWIG_fail
;
10561 Py_INCREF(Py_None
); resultobj
= Py_None
;
10568 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10571 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10573 return Py_BuildValue((char *)"");
10575 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10576 PyObject
*resultobj
;
10577 wxWindow
*arg1
= (wxWindow
*) 0 ;
10578 int arg2
= (int) wxID_ANY
;
10579 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10580 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10581 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10582 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10583 long arg5
= (long) 0 ;
10584 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10585 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10586 wxPyHtmlListBox
*result
;
10589 bool temp6
= False
;
10590 PyObject
* obj0
= 0 ;
10591 PyObject
* obj1
= 0 ;
10592 PyObject
* obj2
= 0 ;
10593 PyObject
* obj3
= 0 ;
10594 PyObject
* obj4
= 0 ;
10595 PyObject
* obj5
= 0 ;
10596 char *kwnames
[] = {
10597 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10604 arg2
= (int) SWIG_AsInt(obj1
);
10605 if (PyErr_Occurred()) SWIG_fail
;
10610 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10616 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10620 arg5
= (long) SWIG_AsLong(obj4
);
10621 if (PyErr_Occurred()) SWIG_fail
;
10625 arg6
= wxString_in_helper(obj5
);
10626 if (arg6
== NULL
) SWIG_fail
;
10631 if (!wxPyCheckForApp()) SWIG_fail
;
10632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10633 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10635 wxPyEndAllowThreads(__tstate
);
10636 if (PyErr_Occurred()) SWIG_fail
;
10638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10653 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10654 PyObject
*resultobj
;
10655 wxPyHtmlListBox
*result
;
10656 char *kwnames
[] = {
10660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10662 if (!wxPyCheckForApp()) SWIG_fail
;
10663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10664 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10666 wxPyEndAllowThreads(__tstate
);
10667 if (PyErr_Occurred()) SWIG_fail
;
10669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10676 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10677 PyObject
*resultobj
;
10678 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10679 PyObject
*arg2
= (PyObject
*) 0 ;
10680 PyObject
*arg3
= (PyObject
*) 0 ;
10681 PyObject
* obj0
= 0 ;
10682 PyObject
* obj1
= 0 ;
10683 PyObject
* obj2
= 0 ;
10684 char *kwnames
[] = {
10685 (char *) "self",(char *) "self",(char *) "_class", NULL
10688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10695 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10697 wxPyEndAllowThreads(__tstate
);
10698 if (PyErr_Occurred()) SWIG_fail
;
10700 Py_INCREF(Py_None
); resultobj
= Py_None
;
10707 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10708 PyObject
*resultobj
;
10709 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10710 wxWindow
*arg2
= (wxWindow
*) 0 ;
10711 int arg3
= (int) wxID_ANY
;
10712 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10713 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10714 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10715 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10716 long arg6
= (long) 0 ;
10717 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10718 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10722 bool temp7
= False
;
10723 PyObject
* obj0
= 0 ;
10724 PyObject
* obj1
= 0 ;
10725 PyObject
* obj2
= 0 ;
10726 PyObject
* obj3
= 0 ;
10727 PyObject
* obj4
= 0 ;
10728 PyObject
* obj5
= 0 ;
10729 PyObject
* obj6
= 0 ;
10730 char *kwnames
[] = {
10731 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10740 arg3
= (int) SWIG_AsInt(obj2
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10746 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10752 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10756 arg6
= (long) SWIG_AsLong(obj5
);
10757 if (PyErr_Occurred()) SWIG_fail
;
10761 arg7
= wxString_in_helper(obj6
);
10762 if (arg7
== NULL
) SWIG_fail
;
10767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10768 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10770 wxPyEndAllowThreads(__tstate
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10790 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10791 PyObject
*resultobj
;
10792 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10793 PyObject
* obj0
= 0 ;
10794 char *kwnames
[] = {
10795 (char *) "self", NULL
10798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10803 (arg1
)->RefreshAll();
10805 wxPyEndAllowThreads(__tstate
);
10806 if (PyErr_Occurred()) SWIG_fail
;
10808 Py_INCREF(Py_None
); resultobj
= Py_None
;
10815 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10816 PyObject
*resultobj
;
10817 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10819 PyObject
* obj0
= 0 ;
10820 PyObject
* obj1
= 0 ;
10821 char *kwnames
[] = {
10822 (char *) "self",(char *) "count", NULL
10825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10828 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10829 if (PyErr_Occurred()) SWIG_fail
;
10831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10832 (arg1
)->SetItemCount(arg2
);
10834 wxPyEndAllowThreads(__tstate
);
10835 if (PyErr_Occurred()) SWIG_fail
;
10837 Py_INCREF(Py_None
); resultobj
= Py_None
;
10844 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10845 PyObject
*resultobj
;
10846 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10847 wxFileSystem
*result
;
10848 PyObject
* obj0
= 0 ;
10849 char *kwnames
[] = {
10850 (char *) "self", NULL
10853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
10854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10859 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
10860 result
= (wxFileSystem
*) &_result_ref
;
10863 wxPyEndAllowThreads(__tstate
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
10873 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10875 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10876 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10878 return Py_BuildValue((char *)"");
10880 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10881 PyObject
*resultobj
;
10882 wxTaskBarIcon
*result
;
10883 char *kwnames
[] = {
10887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10889 if (!wxPyCheckForApp()) SWIG_fail
;
10890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10891 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10893 wxPyEndAllowThreads(__tstate
);
10894 if (PyErr_Occurred()) SWIG_fail
;
10896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10903 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10904 PyObject
*resultobj
;
10905 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10906 PyObject
* obj0
= 0 ;
10907 char *kwnames
[] = {
10908 (char *) "self", NULL
10911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10918 wxPyEndAllowThreads(__tstate
);
10919 if (PyErr_Occurred()) SWIG_fail
;
10921 Py_INCREF(Py_None
); resultobj
= Py_None
;
10928 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10929 PyObject
*resultobj
;
10930 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10931 PyObject
* obj0
= 0 ;
10932 char *kwnames
[] = {
10933 (char *) "self", NULL
10936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
10937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10941 wxTaskBarIcon_Destroy(arg1
);
10943 wxPyEndAllowThreads(__tstate
);
10944 if (PyErr_Occurred()) SWIG_fail
;
10946 Py_INCREF(Py_None
); resultobj
= Py_None
;
10953 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10954 PyObject
*resultobj
;
10955 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10957 PyObject
* obj0
= 0 ;
10958 char *kwnames
[] = {
10959 (char *) "self", NULL
10962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
10963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10967 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
10969 wxPyEndAllowThreads(__tstate
);
10970 if (PyErr_Occurred()) SWIG_fail
;
10973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10981 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10982 PyObject
*resultobj
;
10983 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10985 PyObject
* obj0
= 0 ;
10986 char *kwnames
[] = {
10987 (char *) "self", NULL
10990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
10991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10995 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
10997 wxPyEndAllowThreads(__tstate
);
10998 if (PyErr_Occurred()) SWIG_fail
;
11001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11009 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11010 PyObject
*resultobj
;
11011 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11013 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11014 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11016 bool temp3
= False
;
11017 PyObject
* obj0
= 0 ;
11018 PyObject
* obj1
= 0 ;
11019 PyObject
* obj2
= 0 ;
11020 char *kwnames
[] = {
11021 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11027 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11028 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11030 if (arg2
== NULL
) {
11031 PyErr_SetString(PyExc_TypeError
,"null reference");
11036 arg3
= wxString_in_helper(obj2
);
11037 if (arg3
== NULL
) SWIG_fail
;
11042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11043 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
11045 wxPyEndAllowThreads(__tstate
);
11046 if (PyErr_Occurred()) SWIG_fail
;
11049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11065 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11066 PyObject
*resultobj
;
11067 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11069 PyObject
* obj0
= 0 ;
11070 char *kwnames
[] = {
11071 (char *) "self", NULL
11074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
11075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11079 result
= (bool)(arg1
)->RemoveIcon();
11081 wxPyEndAllowThreads(__tstate
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11093 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11094 PyObject
*resultobj
;
11095 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11096 wxMenu
*arg2
= (wxMenu
*) 0 ;
11098 PyObject
* obj0
= 0 ;
11099 PyObject
* obj1
= 0 ;
11100 char *kwnames
[] = {
11101 (char *) "self",(char *) "menu", NULL
11104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
11105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11107 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
11108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11111 result
= (bool)(arg1
)->PopupMenu(arg2
);
11113 wxPyEndAllowThreads(__tstate
);
11114 if (PyErr_Occurred()) SWIG_fail
;
11117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11125 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
11127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11128 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
11130 return Py_BuildValue((char *)"");
11132 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11133 PyObject
*resultobj
;
11135 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
11136 wxTaskBarIconEvent
*result
;
11137 PyObject
* obj0
= 0 ;
11138 PyObject
* obj1
= 0 ;
11139 char *kwnames
[] = {
11140 (char *) "evtType",(char *) "tbIcon", NULL
11143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11144 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11146 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
11147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11150 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
11152 wxPyEndAllowThreads(__tstate
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
11162 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11165 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
11167 return Py_BuildValue((char *)"");
11169 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
11170 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
11175 static PyObject
*_wrap_FileSelectorPromptStr_get() {
11180 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11182 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11189 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
11190 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
11195 static PyObject
*_wrap_DirSelectorPromptStr_get() {
11200 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11202 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11209 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
11210 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
11215 static PyObject
*_wrap_DirDialogNameStr_get() {
11220 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11222 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11229 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
11230 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
11235 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
11240 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11242 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11249 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
11250 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
11255 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
11260 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11262 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11269 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
11270 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11275 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11280 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11282 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11289 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11290 PyObject
*resultobj
;
11291 wxColourData
*result
;
11292 char *kwnames
[] = {
11296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11299 result
= (wxColourData
*)new wxColourData();
11301 wxPyEndAllowThreads(__tstate
);
11302 if (PyErr_Occurred()) SWIG_fail
;
11304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11311 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11312 PyObject
*resultobj
;
11313 wxColourData
*arg1
= (wxColourData
*) 0 ;
11314 PyObject
* obj0
= 0 ;
11315 char *kwnames
[] = {
11316 (char *) "self", NULL
11319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11326 wxPyEndAllowThreads(__tstate
);
11327 if (PyErr_Occurred()) SWIG_fail
;
11329 Py_INCREF(Py_None
); resultobj
= Py_None
;
11336 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11337 PyObject
*resultobj
;
11338 wxColourData
*arg1
= (wxColourData
*) 0 ;
11340 PyObject
* obj0
= 0 ;
11341 char *kwnames
[] = {
11342 (char *) "self", NULL
11345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11350 result
= (bool)(arg1
)->GetChooseFull();
11352 wxPyEndAllowThreads(__tstate
);
11353 if (PyErr_Occurred()) SWIG_fail
;
11356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11364 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11365 PyObject
*resultobj
;
11366 wxColourData
*arg1
= (wxColourData
*) 0 ;
11368 PyObject
* obj0
= 0 ;
11369 char *kwnames
[] = {
11370 (char *) "self", NULL
11373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11378 result
= (arg1
)->GetColour();
11380 wxPyEndAllowThreads(__tstate
);
11381 if (PyErr_Occurred()) SWIG_fail
;
11384 wxColour
* resultptr
;
11385 resultptr
= new wxColour((wxColour
&) result
);
11386 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11394 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11395 PyObject
*resultobj
;
11396 wxColourData
*arg1
= (wxColourData
*) 0 ;
11399 PyObject
* obj0
= 0 ;
11400 PyObject
* obj1
= 0 ;
11401 char *kwnames
[] = {
11402 (char *) "self",(char *) "i", NULL
11405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11408 arg2
= (int) SWIG_AsInt(obj1
);
11409 if (PyErr_Occurred()) SWIG_fail
;
11411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11412 result
= (arg1
)->GetCustomColour(arg2
);
11414 wxPyEndAllowThreads(__tstate
);
11415 if (PyErr_Occurred()) SWIG_fail
;
11418 wxColour
* resultptr
;
11419 resultptr
= new wxColour((wxColour
&) result
);
11420 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11428 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11429 PyObject
*resultobj
;
11430 wxColourData
*arg1
= (wxColourData
*) 0 ;
11432 PyObject
* obj0
= 0 ;
11433 PyObject
* obj1
= 0 ;
11434 char *kwnames
[] = {
11435 (char *) "self",(char *) "flag", NULL
11438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11441 arg2
= (int) SWIG_AsInt(obj1
);
11442 if (PyErr_Occurred()) SWIG_fail
;
11444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11445 (arg1
)->SetChooseFull(arg2
);
11447 wxPyEndAllowThreads(__tstate
);
11448 if (PyErr_Occurred()) SWIG_fail
;
11450 Py_INCREF(Py_None
); resultobj
= Py_None
;
11457 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11458 PyObject
*resultobj
;
11459 wxColourData
*arg1
= (wxColourData
*) 0 ;
11460 wxColour
*arg2
= 0 ;
11462 PyObject
* obj0
= 0 ;
11463 PyObject
* obj1
= 0 ;
11464 char *kwnames
[] = {
11465 (char *) "self",(char *) "colour", NULL
11468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11473 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11477 (arg1
)->SetColour((wxColour
const &)*arg2
);
11479 wxPyEndAllowThreads(__tstate
);
11480 if (PyErr_Occurred()) SWIG_fail
;
11482 Py_INCREF(Py_None
); resultobj
= Py_None
;
11489 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11490 PyObject
*resultobj
;
11491 wxColourData
*arg1
= (wxColourData
*) 0 ;
11493 wxColour
*arg3
= 0 ;
11495 PyObject
* obj0
= 0 ;
11496 PyObject
* obj1
= 0 ;
11497 PyObject
* obj2
= 0 ;
11498 char *kwnames
[] = {
11499 (char *) "self",(char *) "i",(char *) "colour", NULL
11502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11505 arg2
= (int) SWIG_AsInt(obj1
);
11506 if (PyErr_Occurred()) SWIG_fail
;
11509 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11513 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11515 wxPyEndAllowThreads(__tstate
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11518 Py_INCREF(Py_None
); resultobj
= Py_None
;
11525 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
11527 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11528 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11530 return Py_BuildValue((char *)"");
11532 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11533 PyObject
*resultobj
;
11534 wxWindow
*arg1
= (wxWindow
*) 0 ;
11535 wxColourData
*arg2
= (wxColourData
*) NULL
;
11536 wxColourDialog
*result
;
11537 PyObject
* obj0
= 0 ;
11538 PyObject
* obj1
= 0 ;
11539 char *kwnames
[] = {
11540 (char *) "parent",(char *) "data", NULL
11543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11547 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11551 if (!wxPyCheckForApp()) SWIG_fail
;
11552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11553 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11555 wxPyEndAllowThreads(__tstate
);
11556 if (PyErr_Occurred()) SWIG_fail
;
11558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11565 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11566 PyObject
*resultobj
;
11567 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11568 wxColourData
*result
;
11569 PyObject
* obj0
= 0 ;
11570 char *kwnames
[] = {
11571 (char *) "self", NULL
11574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11580 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11581 result
= (wxColourData
*) &_result_ref
;
11584 wxPyEndAllowThreads(__tstate
);
11585 if (PyErr_Occurred()) SWIG_fail
;
11587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11594 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11596 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11597 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11599 return Py_BuildValue((char *)"");
11601 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11602 PyObject
*resultobj
;
11603 wxWindow
*arg1
= (wxWindow
*) 0 ;
11604 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11605 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11606 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11607 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11608 long arg4
= (long) 0 ;
11609 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11610 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11611 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11612 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11613 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11614 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11615 wxDirDialog
*result
;
11616 bool temp2
= False
;
11617 bool temp3
= False
;
11620 bool temp7
= False
;
11621 PyObject
* obj0
= 0 ;
11622 PyObject
* obj1
= 0 ;
11623 PyObject
* obj2
= 0 ;
11624 PyObject
* obj3
= 0 ;
11625 PyObject
* obj4
= 0 ;
11626 PyObject
* obj5
= 0 ;
11627 PyObject
* obj6
= 0 ;
11628 char *kwnames
[] = {
11629 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11637 arg2
= wxString_in_helper(obj1
);
11638 if (arg2
== NULL
) SWIG_fail
;
11644 arg3
= wxString_in_helper(obj2
);
11645 if (arg3
== NULL
) SWIG_fail
;
11650 arg4
= (long) SWIG_AsLong(obj3
);
11651 if (PyErr_Occurred()) SWIG_fail
;
11656 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11662 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11667 arg7
= wxString_in_helper(obj6
);
11668 if (arg7
== NULL
) SWIG_fail
;
11673 if (!wxPyCheckForApp()) SWIG_fail
;
11674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11675 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11677 wxPyEndAllowThreads(__tstate
);
11678 if (PyErr_Occurred()) SWIG_fail
;
11680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11711 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11712 PyObject
*resultobj
;
11713 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11715 PyObject
* obj0
= 0 ;
11716 char *kwnames
[] = {
11717 (char *) "self", NULL
11720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11725 result
= (arg1
)->GetPath();
11727 wxPyEndAllowThreads(__tstate
);
11728 if (PyErr_Occurred()) SWIG_fail
;
11732 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11734 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11743 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11744 PyObject
*resultobj
;
11745 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11747 PyObject
* obj0
= 0 ;
11748 char *kwnames
[] = {
11749 (char *) "self", NULL
11752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11757 result
= (arg1
)->GetMessage();
11759 wxPyEndAllowThreads(__tstate
);
11760 if (PyErr_Occurred()) SWIG_fail
;
11764 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11766 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11775 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11776 PyObject
*resultobj
;
11777 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11779 PyObject
* obj0
= 0 ;
11780 char *kwnames
[] = {
11781 (char *) "self", NULL
11784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11789 result
= (long)(arg1
)->GetStyle();
11791 wxPyEndAllowThreads(__tstate
);
11792 if (PyErr_Occurred()) SWIG_fail
;
11794 resultobj
= SWIG_FromLong((long)result
);
11801 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11802 PyObject
*resultobj
;
11803 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11804 wxString
*arg2
= 0 ;
11805 bool temp2
= False
;
11806 PyObject
* obj0
= 0 ;
11807 PyObject
* obj1
= 0 ;
11808 char *kwnames
[] = {
11809 (char *) "self",(char *) "message", NULL
11812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11816 arg2
= wxString_in_helper(obj1
);
11817 if (arg2
== NULL
) SWIG_fail
;
11821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11822 (arg1
)->SetMessage((wxString
const &)*arg2
);
11824 wxPyEndAllowThreads(__tstate
);
11825 if (PyErr_Occurred()) SWIG_fail
;
11827 Py_INCREF(Py_None
); resultobj
= Py_None
;
11842 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11843 PyObject
*resultobj
;
11844 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11845 wxString
*arg2
= 0 ;
11846 bool temp2
= False
;
11847 PyObject
* obj0
= 0 ;
11848 PyObject
* obj1
= 0 ;
11849 char *kwnames
[] = {
11850 (char *) "self",(char *) "path", NULL
11853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11857 arg2
= wxString_in_helper(obj1
);
11858 if (arg2
== NULL
) SWIG_fail
;
11862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11863 (arg1
)->SetPath((wxString
const &)*arg2
);
11865 wxPyEndAllowThreads(__tstate
);
11866 if (PyErr_Occurred()) SWIG_fail
;
11868 Py_INCREF(Py_None
); resultobj
= Py_None
;
11883 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11886 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11888 return Py_BuildValue((char *)"");
11890 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11891 PyObject
*resultobj
;
11892 wxWindow
*arg1
= (wxWindow
*) 0 ;
11893 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11894 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11895 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11896 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11897 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11898 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11899 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11900 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11901 long arg6
= (long) 0 ;
11902 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11903 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11904 wxFileDialog
*result
;
11905 bool temp2
= False
;
11906 bool temp3
= False
;
11907 bool temp4
= False
;
11908 bool temp5
= False
;
11910 PyObject
* obj0
= 0 ;
11911 PyObject
* obj1
= 0 ;
11912 PyObject
* obj2
= 0 ;
11913 PyObject
* obj3
= 0 ;
11914 PyObject
* obj4
= 0 ;
11915 PyObject
* obj5
= 0 ;
11916 PyObject
* obj6
= 0 ;
11917 char *kwnames
[] = {
11918 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11926 arg2
= wxString_in_helper(obj1
);
11927 if (arg2
== NULL
) SWIG_fail
;
11933 arg3
= wxString_in_helper(obj2
);
11934 if (arg3
== NULL
) SWIG_fail
;
11940 arg4
= wxString_in_helper(obj3
);
11941 if (arg4
== NULL
) SWIG_fail
;
11947 arg5
= wxString_in_helper(obj4
);
11948 if (arg5
== NULL
) SWIG_fail
;
11953 arg6
= (long) SWIG_AsLong(obj5
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11959 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11963 if (!wxPyCheckForApp()) SWIG_fail
;
11964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11965 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11967 wxPyEndAllowThreads(__tstate
);
11968 if (PyErr_Occurred()) SWIG_fail
;
11970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
12009 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12010 PyObject
*resultobj
;
12011 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12012 wxString
*arg2
= 0 ;
12013 bool temp2
= False
;
12014 PyObject
* obj0
= 0 ;
12015 PyObject
* obj1
= 0 ;
12016 char *kwnames
[] = {
12017 (char *) "self",(char *) "message", NULL
12020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
12021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12024 arg2
= wxString_in_helper(obj1
);
12025 if (arg2
== NULL
) SWIG_fail
;
12029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12030 (arg1
)->SetMessage((wxString
const &)*arg2
);
12032 wxPyEndAllowThreads(__tstate
);
12033 if (PyErr_Occurred()) SWIG_fail
;
12035 Py_INCREF(Py_None
); resultobj
= Py_None
;
12050 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12051 PyObject
*resultobj
;
12052 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12053 wxString
*arg2
= 0 ;
12054 bool temp2
= False
;
12055 PyObject
* obj0
= 0 ;
12056 PyObject
* obj1
= 0 ;
12057 char *kwnames
[] = {
12058 (char *) "self",(char *) "path", NULL
12061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12065 arg2
= wxString_in_helper(obj1
);
12066 if (arg2
== NULL
) SWIG_fail
;
12070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12071 (arg1
)->SetPath((wxString
const &)*arg2
);
12073 wxPyEndAllowThreads(__tstate
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12076 Py_INCREF(Py_None
); resultobj
= Py_None
;
12091 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12092 PyObject
*resultobj
;
12093 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12094 wxString
*arg2
= 0 ;
12095 bool temp2
= False
;
12096 PyObject
* obj0
= 0 ;
12097 PyObject
* obj1
= 0 ;
12098 char *kwnames
[] = {
12099 (char *) "self",(char *) "dir", NULL
12102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
12103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12106 arg2
= wxString_in_helper(obj1
);
12107 if (arg2
== NULL
) SWIG_fail
;
12111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12112 (arg1
)->SetDirectory((wxString
const &)*arg2
);
12114 wxPyEndAllowThreads(__tstate
);
12115 if (PyErr_Occurred()) SWIG_fail
;
12117 Py_INCREF(Py_None
); resultobj
= Py_None
;
12132 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12133 PyObject
*resultobj
;
12134 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12135 wxString
*arg2
= 0 ;
12136 bool temp2
= False
;
12137 PyObject
* obj0
= 0 ;
12138 PyObject
* obj1
= 0 ;
12139 char *kwnames
[] = {
12140 (char *) "self",(char *) "name", NULL
12143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
12144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12147 arg2
= wxString_in_helper(obj1
);
12148 if (arg2
== NULL
) SWIG_fail
;
12152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12153 (arg1
)->SetFilename((wxString
const &)*arg2
);
12155 wxPyEndAllowThreads(__tstate
);
12156 if (PyErr_Occurred()) SWIG_fail
;
12158 Py_INCREF(Py_None
); resultobj
= Py_None
;
12173 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12174 PyObject
*resultobj
;
12175 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12176 wxString
*arg2
= 0 ;
12177 bool temp2
= False
;
12178 PyObject
* obj0
= 0 ;
12179 PyObject
* obj1
= 0 ;
12180 char *kwnames
[] = {
12181 (char *) "self",(char *) "wildCard", NULL
12184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
12185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12188 arg2
= wxString_in_helper(obj1
);
12189 if (arg2
== NULL
) SWIG_fail
;
12193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12194 (arg1
)->SetWildcard((wxString
const &)*arg2
);
12196 wxPyEndAllowThreads(__tstate
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12199 Py_INCREF(Py_None
); resultobj
= Py_None
;
12214 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12215 PyObject
*resultobj
;
12216 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12218 PyObject
* obj0
= 0 ;
12219 PyObject
* obj1
= 0 ;
12220 char *kwnames
[] = {
12221 (char *) "self",(char *) "style", NULL
12224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
12225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12227 arg2
= (long) SWIG_AsLong(obj1
);
12228 if (PyErr_Occurred()) SWIG_fail
;
12230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12231 (arg1
)->SetStyle(arg2
);
12233 wxPyEndAllowThreads(__tstate
);
12234 if (PyErr_Occurred()) SWIG_fail
;
12236 Py_INCREF(Py_None
); resultobj
= Py_None
;
12243 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12244 PyObject
*resultobj
;
12245 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12247 PyObject
* obj0
= 0 ;
12248 PyObject
* obj1
= 0 ;
12249 char *kwnames
[] = {
12250 (char *) "self",(char *) "filterIndex", NULL
12253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
12254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12256 arg2
= (int) SWIG_AsInt(obj1
);
12257 if (PyErr_Occurred()) SWIG_fail
;
12259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12260 (arg1
)->SetFilterIndex(arg2
);
12262 wxPyEndAllowThreads(__tstate
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12265 Py_INCREF(Py_None
); resultobj
= Py_None
;
12272 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12273 PyObject
*resultobj
;
12274 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12276 PyObject
* obj0
= 0 ;
12277 char *kwnames
[] = {
12278 (char *) "self", NULL
12281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12286 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12288 wxPyEndAllowThreads(__tstate
);
12289 if (PyErr_Occurred()) SWIG_fail
;
12293 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12295 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12304 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12305 PyObject
*resultobj
;
12306 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12308 PyObject
* obj0
= 0 ;
12309 char *kwnames
[] = {
12310 (char *) "self", NULL
12313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12318 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12320 wxPyEndAllowThreads(__tstate
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12325 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12327 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12336 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12337 PyObject
*resultobj
;
12338 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12340 PyObject
* obj0
= 0 ;
12341 char *kwnames
[] = {
12342 (char *) "self", NULL
12345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12350 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12352 wxPyEndAllowThreads(__tstate
);
12353 if (PyErr_Occurred()) SWIG_fail
;
12357 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12359 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12368 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12369 PyObject
*resultobj
;
12370 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12372 PyObject
* obj0
= 0 ;
12373 char *kwnames
[] = {
12374 (char *) "self", NULL
12377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12382 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12384 wxPyEndAllowThreads(__tstate
);
12385 if (PyErr_Occurred()) SWIG_fail
;
12389 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12391 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12400 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12401 PyObject
*resultobj
;
12402 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12404 PyObject
* obj0
= 0 ;
12405 char *kwnames
[] = {
12406 (char *) "self", NULL
12409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12414 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12416 wxPyEndAllowThreads(__tstate
);
12417 if (PyErr_Occurred()) SWIG_fail
;
12421 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12423 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12432 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12433 PyObject
*resultobj
;
12434 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12436 PyObject
* obj0
= 0 ;
12437 char *kwnames
[] = {
12438 (char *) "self", NULL
12441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12446 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12448 wxPyEndAllowThreads(__tstate
);
12449 if (PyErr_Occurred()) SWIG_fail
;
12451 resultobj
= SWIG_FromLong((long)result
);
12458 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12459 PyObject
*resultobj
;
12460 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12462 PyObject
* obj0
= 0 ;
12463 char *kwnames
[] = {
12464 (char *) "self", NULL
12467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12472 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12474 wxPyEndAllowThreads(__tstate
);
12475 if (PyErr_Occurred()) SWIG_fail
;
12477 resultobj
= SWIG_FromInt((int)result
);
12484 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12485 PyObject
*resultobj
;
12486 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12488 PyObject
* obj0
= 0 ;
12489 char *kwnames
[] = {
12490 (char *) "self", NULL
12493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12500 wxPyEndAllowThreads(__tstate
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12503 resultobj
= result
;
12510 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12511 PyObject
*resultobj
;
12512 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12514 PyObject
* obj0
= 0 ;
12515 char *kwnames
[] = {
12516 (char *) "self", NULL
12519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12524 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12526 wxPyEndAllowThreads(__tstate
);
12527 if (PyErr_Occurred()) SWIG_fail
;
12529 resultobj
= result
;
12536 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12539 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12541 return Py_BuildValue((char *)"");
12543 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12544 PyObject
*resultobj
;
12545 wxWindow
*arg1
= (wxWindow
*) 0 ;
12546 wxString
*arg2
= 0 ;
12547 wxString
*arg3
= 0 ;
12548 int arg4
= (int) 0 ;
12549 wxString
*arg5
= (wxString
*) NULL
;
12550 long arg6
= (long) wxCHOICEDLG_STYLE
;
12551 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12552 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12553 wxMultiChoiceDialog
*result
;
12554 bool temp2
= False
;
12555 bool temp3
= False
;
12557 PyObject
* obj0
= 0 ;
12558 PyObject
* obj1
= 0 ;
12559 PyObject
* obj2
= 0 ;
12560 PyObject
* obj3
= 0 ;
12561 PyObject
* obj4
= 0 ;
12562 PyObject
* obj5
= 0 ;
12563 char *kwnames
[] = {
12564 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12571 arg2
= wxString_in_helper(obj1
);
12572 if (arg2
== NULL
) SWIG_fail
;
12576 arg3
= wxString_in_helper(obj2
);
12577 if (arg3
== NULL
) SWIG_fail
;
12582 arg4
= PyList_Size(obj3
);
12583 arg5
= wxString_LIST_helper(obj3
);
12584 if (arg5
== NULL
) SWIG_fail
;
12588 arg6
= (long) SWIG_AsLong(obj4
);
12589 if (PyErr_Occurred()) SWIG_fail
;
12594 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12598 if (!wxPyCheckForApp()) SWIG_fail
;
12599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12600 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12602 wxPyEndAllowThreads(__tstate
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12615 if (arg5
) delete [] arg5
;
12628 if (arg5
) delete [] arg5
;
12634 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12635 PyObject
*resultobj
;
12636 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12637 wxArrayInt
*arg2
= 0 ;
12638 bool temp2
= False
;
12639 PyObject
* obj0
= 0 ;
12640 PyObject
* obj1
= 0 ;
12641 char *kwnames
[] = {
12642 (char *) "self",(char *) "selections", NULL
12645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12649 if (! PySequence_Check(obj1
)) {
12650 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12653 arg2
= new wxArrayInt
;
12655 int i
, len
=PySequence_Length(obj1
);
12656 for (i
=0; i
<len
; i
++) {
12657 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12658 PyObject
* number
= PyNumber_Int(item
);
12659 arg2
->Add(PyInt_AS_LONG(number
));
12665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12666 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12668 wxPyEndAllowThreads(__tstate
);
12669 if (PyErr_Occurred()) SWIG_fail
;
12671 Py_INCREF(Py_None
); resultobj
= Py_None
;
12673 if (temp2
) delete arg2
;
12678 if (temp2
) delete arg2
;
12684 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12685 PyObject
*resultobj
;
12686 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12688 PyObject
* obj0
= 0 ;
12689 char *kwnames
[] = {
12690 (char *) "self", NULL
12693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12698 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12700 wxPyEndAllowThreads(__tstate
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12703 resultobj
= result
;
12710 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12712 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12713 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12715 return Py_BuildValue((char *)"");
12717 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12718 PyObject
*resultobj
;
12719 wxWindow
*arg1
= (wxWindow
*) 0 ;
12720 wxString
*arg2
= 0 ;
12721 wxString
*arg3
= 0 ;
12723 wxString
*arg5
= (wxString
*) 0 ;
12724 long arg6
= (long) wxCHOICEDLG_STYLE
;
12725 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12726 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12727 wxSingleChoiceDialog
*result
;
12728 bool temp2
= False
;
12729 bool temp3
= False
;
12731 PyObject
* obj0
= 0 ;
12732 PyObject
* obj1
= 0 ;
12733 PyObject
* obj2
= 0 ;
12734 PyObject
* obj3
= 0 ;
12735 PyObject
* obj4
= 0 ;
12736 PyObject
* obj5
= 0 ;
12737 char *kwnames
[] = {
12738 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12745 arg2
= wxString_in_helper(obj1
);
12746 if (arg2
== NULL
) SWIG_fail
;
12750 arg3
= wxString_in_helper(obj2
);
12751 if (arg3
== NULL
) SWIG_fail
;
12755 arg4
= PyList_Size(obj3
);
12756 arg5
= wxString_LIST_helper(obj3
);
12757 if (arg5
== NULL
) SWIG_fail
;
12760 arg6
= (long) SWIG_AsLong(obj4
);
12761 if (PyErr_Occurred()) SWIG_fail
;
12766 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12770 if (!wxPyCheckForApp()) SWIG_fail
;
12771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12772 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12774 wxPyEndAllowThreads(__tstate
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12787 if (arg5
) delete [] arg5
;
12800 if (arg5
) delete [] arg5
;
12806 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12807 PyObject
*resultobj
;
12808 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12810 PyObject
* obj0
= 0 ;
12811 char *kwnames
[] = {
12812 (char *) "self", NULL
12815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12820 result
= (int)(arg1
)->GetSelection();
12822 wxPyEndAllowThreads(__tstate
);
12823 if (PyErr_Occurred()) SWIG_fail
;
12825 resultobj
= SWIG_FromInt((int)result
);
12832 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12833 PyObject
*resultobj
;
12834 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12836 PyObject
* obj0
= 0 ;
12837 char *kwnames
[] = {
12838 (char *) "self", NULL
12841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12846 result
= (arg1
)->GetStringSelection();
12848 wxPyEndAllowThreads(__tstate
);
12849 if (PyErr_Occurred()) SWIG_fail
;
12853 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12855 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12864 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12865 PyObject
*resultobj
;
12866 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12868 PyObject
* obj0
= 0 ;
12869 PyObject
* obj1
= 0 ;
12870 char *kwnames
[] = {
12871 (char *) "self",(char *) "sel", NULL
12874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12877 arg2
= (int) SWIG_AsInt(obj1
);
12878 if (PyErr_Occurred()) SWIG_fail
;
12880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12881 (arg1
)->SetSelection(arg2
);
12883 wxPyEndAllowThreads(__tstate
);
12884 if (PyErr_Occurred()) SWIG_fail
;
12886 Py_INCREF(Py_None
); resultobj
= Py_None
;
12893 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12896 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12898 return Py_BuildValue((char *)"");
12900 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12901 PyObject
*resultobj
;
12902 wxWindow
*arg1
= (wxWindow
*) 0 ;
12903 wxString
*arg2
= 0 ;
12904 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12905 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12906 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12907 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12908 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12909 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12910 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12911 wxTextEntryDialog
*result
;
12912 bool temp2
= False
;
12913 bool temp3
= False
;
12914 bool temp4
= False
;
12916 PyObject
* obj0
= 0 ;
12917 PyObject
* obj1
= 0 ;
12918 PyObject
* obj2
= 0 ;
12919 PyObject
* obj3
= 0 ;
12920 PyObject
* obj4
= 0 ;
12921 PyObject
* obj5
= 0 ;
12922 char *kwnames
[] = {
12923 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12930 arg2
= wxString_in_helper(obj1
);
12931 if (arg2
== NULL
) SWIG_fail
;
12936 arg3
= wxString_in_helper(obj2
);
12937 if (arg3
== NULL
) SWIG_fail
;
12943 arg4
= wxString_in_helper(obj3
);
12944 if (arg4
== NULL
) SWIG_fail
;
12949 arg5
= (long) SWIG_AsLong(obj4
);
12950 if (PyErr_Occurred()) SWIG_fail
;
12955 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12959 if (!wxPyCheckForApp()) SWIG_fail
;
12960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12961 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12963 wxPyEndAllowThreads(__tstate
);
12964 if (PyErr_Occurred()) SWIG_fail
;
12966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12997 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12998 PyObject
*resultobj
;
12999 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13001 PyObject
* obj0
= 0 ;
13002 char *kwnames
[] = {
13003 (char *) "self", NULL
13006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
13007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13011 result
= (arg1
)->GetValue();
13013 wxPyEndAllowThreads(__tstate
);
13014 if (PyErr_Occurred()) SWIG_fail
;
13018 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13020 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13029 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13030 PyObject
*resultobj
;
13031 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13032 wxString
*arg2
= 0 ;
13033 bool temp2
= False
;
13034 PyObject
* obj0
= 0 ;
13035 PyObject
* obj1
= 0 ;
13036 char *kwnames
[] = {
13037 (char *) "self",(char *) "value", NULL
13040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13044 arg2
= wxString_in_helper(obj1
);
13045 if (arg2
== NULL
) SWIG_fail
;
13049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13050 (arg1
)->SetValue((wxString
const &)*arg2
);
13052 wxPyEndAllowThreads(__tstate
);
13053 if (PyErr_Occurred()) SWIG_fail
;
13055 Py_INCREF(Py_None
); resultobj
= Py_None
;
13070 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13073 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
13075 return Py_BuildValue((char *)"");
13077 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13078 PyObject
*resultobj
;
13079 wxFontData
*result
;
13080 char *kwnames
[] = {
13084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
13086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13087 result
= (wxFontData
*)new wxFontData();
13089 wxPyEndAllowThreads(__tstate
);
13090 if (PyErr_Occurred()) SWIG_fail
;
13092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
13099 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13100 PyObject
*resultobj
;
13101 wxFontData
*arg1
= (wxFontData
*) 0 ;
13102 PyObject
* obj0
= 0 ;
13103 char *kwnames
[] = {
13104 (char *) "self", NULL
13107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
13108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13114 wxPyEndAllowThreads(__tstate
);
13115 if (PyErr_Occurred()) SWIG_fail
;
13117 Py_INCREF(Py_None
); resultobj
= Py_None
;
13124 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13125 PyObject
*resultobj
;
13126 wxFontData
*arg1
= (wxFontData
*) 0 ;
13128 PyObject
* obj0
= 0 ;
13129 PyObject
* obj1
= 0 ;
13130 char *kwnames
[] = {
13131 (char *) "self",(char *) "enable", NULL
13134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
13135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13137 arg2
= (bool) SWIG_AsBool(obj1
);
13138 if (PyErr_Occurred()) SWIG_fail
;
13140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13141 (arg1
)->EnableEffects(arg2
);
13143 wxPyEndAllowThreads(__tstate
);
13144 if (PyErr_Occurred()) SWIG_fail
;
13146 Py_INCREF(Py_None
); resultobj
= Py_None
;
13153 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13154 PyObject
*resultobj
;
13155 wxFontData
*arg1
= (wxFontData
*) 0 ;
13157 PyObject
* obj0
= 0 ;
13158 char *kwnames
[] = {
13159 (char *) "self", NULL
13162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
13163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13167 result
= (bool)(arg1
)->GetAllowSymbols();
13169 wxPyEndAllowThreads(__tstate
);
13170 if (PyErr_Occurred()) SWIG_fail
;
13173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13181 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13182 PyObject
*resultobj
;
13183 wxFontData
*arg1
= (wxFontData
*) 0 ;
13185 PyObject
* obj0
= 0 ;
13186 char *kwnames
[] = {
13187 (char *) "self", NULL
13190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
13191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13195 result
= (arg1
)->GetColour();
13197 wxPyEndAllowThreads(__tstate
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13201 wxColour
* resultptr
;
13202 resultptr
= new wxColour((wxColour
&) result
);
13203 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13211 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13212 PyObject
*resultobj
;
13213 wxFontData
*arg1
= (wxFontData
*) 0 ;
13215 PyObject
* obj0
= 0 ;
13216 char *kwnames
[] = {
13217 (char *) "self", NULL
13220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
13221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 result
= (arg1
)->GetChosenFont();
13227 wxPyEndAllowThreads(__tstate
);
13228 if (PyErr_Occurred()) SWIG_fail
;
13231 wxFont
* resultptr
;
13232 resultptr
= new wxFont((wxFont
&) result
);
13233 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13241 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13242 PyObject
*resultobj
;
13243 wxFontData
*arg1
= (wxFontData
*) 0 ;
13245 PyObject
* obj0
= 0 ;
13246 char *kwnames
[] = {
13247 (char *) "self", NULL
13250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
13251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13255 result
= (bool)(arg1
)->GetEnableEffects();
13257 wxPyEndAllowThreads(__tstate
);
13258 if (PyErr_Occurred()) SWIG_fail
;
13261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13269 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13270 PyObject
*resultobj
;
13271 wxFontData
*arg1
= (wxFontData
*) 0 ;
13273 PyObject
* obj0
= 0 ;
13274 char *kwnames
[] = {
13275 (char *) "self", NULL
13278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13283 result
= (arg1
)->GetInitialFont();
13285 wxPyEndAllowThreads(__tstate
);
13286 if (PyErr_Occurred()) SWIG_fail
;
13289 wxFont
* resultptr
;
13290 resultptr
= new wxFont((wxFont
&) result
);
13291 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13299 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13300 PyObject
*resultobj
;
13301 wxFontData
*arg1
= (wxFontData
*) 0 ;
13303 PyObject
* obj0
= 0 ;
13304 char *kwnames
[] = {
13305 (char *) "self", NULL
13308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13313 result
= (bool)(arg1
)->GetShowHelp();
13315 wxPyEndAllowThreads(__tstate
);
13316 if (PyErr_Occurred()) SWIG_fail
;
13319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13327 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13328 PyObject
*resultobj
;
13329 wxFontData
*arg1
= (wxFontData
*) 0 ;
13331 PyObject
* obj0
= 0 ;
13332 PyObject
* obj1
= 0 ;
13333 char *kwnames
[] = {
13334 (char *) "self",(char *) "allowSymbols", NULL
13337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13340 arg2
= (bool) SWIG_AsBool(obj1
);
13341 if (PyErr_Occurred()) SWIG_fail
;
13343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13344 (arg1
)->SetAllowSymbols(arg2
);
13346 wxPyEndAllowThreads(__tstate
);
13347 if (PyErr_Occurred()) SWIG_fail
;
13349 Py_INCREF(Py_None
); resultobj
= Py_None
;
13356 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13357 PyObject
*resultobj
;
13358 wxFontData
*arg1
= (wxFontData
*) 0 ;
13360 PyObject
* obj0
= 0 ;
13361 PyObject
* obj1
= 0 ;
13362 char *kwnames
[] = {
13363 (char *) "self",(char *) "font", NULL
13366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13369 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13370 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13372 if (arg2
== NULL
) {
13373 PyErr_SetString(PyExc_TypeError
,"null reference");
13377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13378 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13383 Py_INCREF(Py_None
); resultobj
= Py_None
;
13390 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13391 PyObject
*resultobj
;
13392 wxFontData
*arg1
= (wxFontData
*) 0 ;
13393 wxColour
*arg2
= 0 ;
13395 PyObject
* obj0
= 0 ;
13396 PyObject
* obj1
= 0 ;
13397 char *kwnames
[] = {
13398 (char *) "self",(char *) "colour", NULL
13401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13406 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13410 (arg1
)->SetColour((wxColour
const &)*arg2
);
13412 wxPyEndAllowThreads(__tstate
);
13413 if (PyErr_Occurred()) SWIG_fail
;
13415 Py_INCREF(Py_None
); resultobj
= Py_None
;
13422 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13423 PyObject
*resultobj
;
13424 wxFontData
*arg1
= (wxFontData
*) 0 ;
13426 PyObject
* obj0
= 0 ;
13427 PyObject
* obj1
= 0 ;
13428 char *kwnames
[] = {
13429 (char *) "self",(char *) "font", NULL
13432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13435 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13436 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13438 if (arg2
== NULL
) {
13439 PyErr_SetString(PyExc_TypeError
,"null reference");
13443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13444 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13446 wxPyEndAllowThreads(__tstate
);
13447 if (PyErr_Occurred()) SWIG_fail
;
13449 Py_INCREF(Py_None
); resultobj
= Py_None
;
13456 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13457 PyObject
*resultobj
;
13458 wxFontData
*arg1
= (wxFontData
*) 0 ;
13461 PyObject
* obj0
= 0 ;
13462 PyObject
* obj1
= 0 ;
13463 PyObject
* obj2
= 0 ;
13464 char *kwnames
[] = {
13465 (char *) "self",(char *) "min",(char *) "max", NULL
13468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13471 arg2
= (int) SWIG_AsInt(obj1
);
13472 if (PyErr_Occurred()) SWIG_fail
;
13473 arg3
= (int) SWIG_AsInt(obj2
);
13474 if (PyErr_Occurred()) SWIG_fail
;
13476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13477 (arg1
)->SetRange(arg2
,arg3
);
13479 wxPyEndAllowThreads(__tstate
);
13480 if (PyErr_Occurred()) SWIG_fail
;
13482 Py_INCREF(Py_None
); resultobj
= Py_None
;
13489 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13490 PyObject
*resultobj
;
13491 wxFontData
*arg1
= (wxFontData
*) 0 ;
13493 PyObject
* obj0
= 0 ;
13494 PyObject
* obj1
= 0 ;
13495 char *kwnames
[] = {
13496 (char *) "self",(char *) "showHelp", NULL
13499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13502 arg2
= (bool) SWIG_AsBool(obj1
);
13503 if (PyErr_Occurred()) SWIG_fail
;
13505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13506 (arg1
)->SetShowHelp(arg2
);
13508 wxPyEndAllowThreads(__tstate
);
13509 if (PyErr_Occurred()) SWIG_fail
;
13511 Py_INCREF(Py_None
); resultobj
= Py_None
;
13518 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
13520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13521 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13523 return Py_BuildValue((char *)"");
13525 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13526 PyObject
*resultobj
;
13527 wxWindow
*arg1
= (wxWindow
*) 0 ;
13528 wxFontData
*arg2
= 0 ;
13529 wxFontDialog
*result
;
13530 PyObject
* obj0
= 0 ;
13531 PyObject
* obj1
= 0 ;
13532 char *kwnames
[] = {
13533 (char *) "parent",(char *) "data", NULL
13536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13539 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13540 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13542 if (arg2
== NULL
) {
13543 PyErr_SetString(PyExc_TypeError
,"null reference");
13547 if (!wxPyCheckForApp()) SWIG_fail
;
13548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13549 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13551 wxPyEndAllowThreads(__tstate
);
13552 if (PyErr_Occurred()) SWIG_fail
;
13554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13561 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13562 PyObject
*resultobj
;
13563 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13564 wxFontData
*result
;
13565 PyObject
* obj0
= 0 ;
13566 char *kwnames
[] = {
13567 (char *) "self", NULL
13570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13576 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13577 result
= (wxFontData
*) &_result_ref
;
13580 wxPyEndAllowThreads(__tstate
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13590 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13593 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13595 return Py_BuildValue((char *)"");
13597 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13598 PyObject
*resultobj
;
13599 wxWindow
*arg1
= (wxWindow
*) 0 ;
13600 wxString
*arg2
= 0 ;
13601 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13602 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13603 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13604 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13605 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13606 wxMessageDialog
*result
;
13607 bool temp2
= False
;
13608 bool temp3
= False
;
13610 PyObject
* obj0
= 0 ;
13611 PyObject
* obj1
= 0 ;
13612 PyObject
* obj2
= 0 ;
13613 PyObject
* obj3
= 0 ;
13614 PyObject
* obj4
= 0 ;
13615 char *kwnames
[] = {
13616 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13623 arg2
= wxString_in_helper(obj1
);
13624 if (arg2
== NULL
) SWIG_fail
;
13629 arg3
= wxString_in_helper(obj2
);
13630 if (arg3
== NULL
) SWIG_fail
;
13635 arg4
= (long) SWIG_AsLong(obj3
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13641 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13645 if (!wxPyCheckForApp()) SWIG_fail
;
13646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13647 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13649 wxPyEndAllowThreads(__tstate
);
13650 if (PyErr_Occurred()) SWIG_fail
;
13652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13675 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13678 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13680 return Py_BuildValue((char *)"");
13682 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13683 PyObject
*resultobj
;
13684 wxString
*arg1
= 0 ;
13685 wxString
*arg2
= 0 ;
13686 int arg3
= (int) 100 ;
13687 wxWindow
*arg4
= (wxWindow
*) NULL
;
13688 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13689 wxProgressDialog
*result
;
13690 bool temp1
= False
;
13691 bool temp2
= False
;
13692 PyObject
* obj0
= 0 ;
13693 PyObject
* obj1
= 0 ;
13694 PyObject
* obj2
= 0 ;
13695 PyObject
* obj3
= 0 ;
13696 PyObject
* obj4
= 0 ;
13697 char *kwnames
[] = {
13698 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13703 arg1
= wxString_in_helper(obj0
);
13704 if (arg1
== NULL
) SWIG_fail
;
13708 arg2
= wxString_in_helper(obj1
);
13709 if (arg2
== NULL
) SWIG_fail
;
13713 arg3
= (int) SWIG_AsInt(obj2
);
13714 if (PyErr_Occurred()) SWIG_fail
;
13717 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13721 arg5
= (int) SWIG_AsInt(obj4
);
13722 if (PyErr_Occurred()) SWIG_fail
;
13725 if (!wxPyCheckForApp()) SWIG_fail
;
13726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13727 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13729 wxPyEndAllowThreads(__tstate
);
13730 if (PyErr_Occurred()) SWIG_fail
;
13732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13755 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13756 PyObject
*resultobj
;
13757 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13759 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13760 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13762 bool temp3
= False
;
13763 PyObject
* obj0
= 0 ;
13764 PyObject
* obj1
= 0 ;
13765 PyObject
* obj2
= 0 ;
13766 char *kwnames
[] = {
13767 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13773 arg2
= (int) SWIG_AsInt(obj1
);
13774 if (PyErr_Occurred()) SWIG_fail
;
13777 arg3
= wxString_in_helper(obj2
);
13778 if (arg3
== NULL
) SWIG_fail
;
13783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13784 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13786 wxPyEndAllowThreads(__tstate
);
13787 if (PyErr_Occurred()) SWIG_fail
;
13790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13806 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13807 PyObject
*resultobj
;
13808 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13809 PyObject
* obj0
= 0 ;
13810 char *kwnames
[] = {
13811 (char *) "self", NULL
13814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13821 wxPyEndAllowThreads(__tstate
);
13822 if (PyErr_Occurred()) SWIG_fail
;
13824 Py_INCREF(Py_None
); resultobj
= Py_None
;
13831 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13834 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13836 return Py_BuildValue((char *)"");
13838 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13839 PyObject
*resultobj
;
13840 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13841 int arg2
= (int) 0 ;
13842 wxFindDialogEvent
*result
;
13843 PyObject
* obj0
= 0 ;
13844 PyObject
* obj1
= 0 ;
13845 char *kwnames
[] = {
13846 (char *) "commandType",(char *) "id", NULL
13849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13851 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13855 arg2
= (int) SWIG_AsInt(obj1
);
13856 if (PyErr_Occurred()) SWIG_fail
;
13859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13860 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13862 wxPyEndAllowThreads(__tstate
);
13863 if (PyErr_Occurred()) SWIG_fail
;
13865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13872 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13873 PyObject
*resultobj
;
13874 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13876 PyObject
* obj0
= 0 ;
13877 char *kwnames
[] = {
13878 (char *) "self", NULL
13881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13886 result
= (int)(arg1
)->GetFlags();
13888 wxPyEndAllowThreads(__tstate
);
13889 if (PyErr_Occurred()) SWIG_fail
;
13891 resultobj
= SWIG_FromInt((int)result
);
13898 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13899 PyObject
*resultobj
;
13900 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13902 PyObject
* obj0
= 0 ;
13903 char *kwnames
[] = {
13904 (char *) "self", NULL
13907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13913 wxString
const &_result_ref
= (arg1
)->GetFindString();
13914 result
= (wxString
*) &_result_ref
;
13917 wxPyEndAllowThreads(__tstate
);
13918 if (PyErr_Occurred()) SWIG_fail
;
13922 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13924 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13933 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13934 PyObject
*resultobj
;
13935 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13937 PyObject
* obj0
= 0 ;
13938 char *kwnames
[] = {
13939 (char *) "self", NULL
13942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13948 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13949 result
= (wxString
*) &_result_ref
;
13952 wxPyEndAllowThreads(__tstate
);
13953 if (PyErr_Occurred()) SWIG_fail
;
13957 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13959 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13968 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13969 PyObject
*resultobj
;
13970 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13971 wxFindReplaceDialog
*result
;
13972 PyObject
* obj0
= 0 ;
13973 char *kwnames
[] = {
13974 (char *) "self", NULL
13977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13982 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13984 wxPyEndAllowThreads(__tstate
);
13985 if (PyErr_Occurred()) SWIG_fail
;
13987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13994 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13995 PyObject
*resultobj
;
13996 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13998 PyObject
* obj0
= 0 ;
13999 PyObject
* obj1
= 0 ;
14000 char *kwnames
[] = {
14001 (char *) "self",(char *) "flags", NULL
14004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14007 arg2
= (int) SWIG_AsInt(obj1
);
14008 if (PyErr_Occurred()) SWIG_fail
;
14010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14011 (arg1
)->SetFlags(arg2
);
14013 wxPyEndAllowThreads(__tstate
);
14014 if (PyErr_Occurred()) SWIG_fail
;
14016 Py_INCREF(Py_None
); resultobj
= Py_None
;
14023 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14024 PyObject
*resultobj
;
14025 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14026 wxString
*arg2
= 0 ;
14027 bool temp2
= False
;
14028 PyObject
* obj0
= 0 ;
14029 PyObject
* obj1
= 0 ;
14030 char *kwnames
[] = {
14031 (char *) "self",(char *) "str", NULL
14034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14038 arg2
= wxString_in_helper(obj1
);
14039 if (arg2
== NULL
) SWIG_fail
;
14043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14044 (arg1
)->SetFindString((wxString
const &)*arg2
);
14046 wxPyEndAllowThreads(__tstate
);
14047 if (PyErr_Occurred()) SWIG_fail
;
14049 Py_INCREF(Py_None
); resultobj
= Py_None
;
14064 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14065 PyObject
*resultobj
;
14066 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14067 wxString
*arg2
= 0 ;
14068 bool temp2
= False
;
14069 PyObject
* obj0
= 0 ;
14070 PyObject
* obj1
= 0 ;
14071 char *kwnames
[] = {
14072 (char *) "self",(char *) "str", NULL
14075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14079 arg2
= wxString_in_helper(obj1
);
14080 if (arg2
== NULL
) SWIG_fail
;
14084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14085 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14087 wxPyEndAllowThreads(__tstate
);
14088 if (PyErr_Occurred()) SWIG_fail
;
14090 Py_INCREF(Py_None
); resultobj
= Py_None
;
14105 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14108 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
14110 return Py_BuildValue((char *)"");
14112 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14113 PyObject
*resultobj
;
14114 int arg1
= (int) 0 ;
14115 wxFindReplaceData
*result
;
14116 PyObject
* obj0
= 0 ;
14117 char *kwnames
[] = {
14118 (char *) "flags", NULL
14121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14123 arg1
= (int) SWIG_AsInt(obj0
);
14124 if (PyErr_Occurred()) SWIG_fail
;
14127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14128 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
14130 wxPyEndAllowThreads(__tstate
);
14131 if (PyErr_Occurred()) SWIG_fail
;
14133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
14140 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14141 PyObject
*resultobj
;
14142 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14143 PyObject
* obj0
= 0 ;
14144 char *kwnames
[] = {
14145 (char *) "self", NULL
14148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14155 wxPyEndAllowThreads(__tstate
);
14156 if (PyErr_Occurred()) SWIG_fail
;
14158 Py_INCREF(Py_None
); resultobj
= Py_None
;
14165 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14166 PyObject
*resultobj
;
14167 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14169 PyObject
* obj0
= 0 ;
14170 char *kwnames
[] = {
14171 (char *) "self", NULL
14174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
14175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14180 wxString
const &_result_ref
= (arg1
)->GetFindString();
14181 result
= (wxString
*) &_result_ref
;
14184 wxPyEndAllowThreads(__tstate
);
14185 if (PyErr_Occurred()) SWIG_fail
;
14189 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14191 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14200 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14201 PyObject
*resultobj
;
14202 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14204 PyObject
* obj0
= 0 ;
14205 char *kwnames
[] = {
14206 (char *) "self", NULL
14209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14215 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14216 result
= (wxString
*) &_result_ref
;
14219 wxPyEndAllowThreads(__tstate
);
14220 if (PyErr_Occurred()) SWIG_fail
;
14224 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14226 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14235 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14236 PyObject
*resultobj
;
14237 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14239 PyObject
* obj0
= 0 ;
14240 char *kwnames
[] = {
14241 (char *) "self", NULL
14244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
14245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14249 result
= (int)(arg1
)->GetFlags();
14251 wxPyEndAllowThreads(__tstate
);
14252 if (PyErr_Occurred()) SWIG_fail
;
14254 resultobj
= SWIG_FromInt((int)result
);
14261 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14262 PyObject
*resultobj
;
14263 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14265 PyObject
* obj0
= 0 ;
14266 PyObject
* obj1
= 0 ;
14267 char *kwnames
[] = {
14268 (char *) "self",(char *) "flags", NULL
14271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14274 arg2
= (int) SWIG_AsInt(obj1
);
14275 if (PyErr_Occurred()) SWIG_fail
;
14277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14278 (arg1
)->SetFlags(arg2
);
14280 wxPyEndAllowThreads(__tstate
);
14281 if (PyErr_Occurred()) SWIG_fail
;
14283 Py_INCREF(Py_None
); resultobj
= Py_None
;
14290 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14291 PyObject
*resultobj
;
14292 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14293 wxString
*arg2
= 0 ;
14294 bool temp2
= False
;
14295 PyObject
* obj0
= 0 ;
14296 PyObject
* obj1
= 0 ;
14297 char *kwnames
[] = {
14298 (char *) "self",(char *) "str", NULL
14301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14305 arg2
= wxString_in_helper(obj1
);
14306 if (arg2
== NULL
) SWIG_fail
;
14310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14311 (arg1
)->SetFindString((wxString
const &)*arg2
);
14313 wxPyEndAllowThreads(__tstate
);
14314 if (PyErr_Occurred()) SWIG_fail
;
14316 Py_INCREF(Py_None
); resultobj
= Py_None
;
14331 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14332 PyObject
*resultobj
;
14333 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14334 wxString
*arg2
= 0 ;
14335 bool temp2
= False
;
14336 PyObject
* obj0
= 0 ;
14337 PyObject
* obj1
= 0 ;
14338 char *kwnames
[] = {
14339 (char *) "self",(char *) "str", NULL
14342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14346 arg2
= wxString_in_helper(obj1
);
14347 if (arg2
== NULL
) SWIG_fail
;
14351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14352 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14354 wxPyEndAllowThreads(__tstate
);
14355 if (PyErr_Occurred()) SWIG_fail
;
14357 Py_INCREF(Py_None
); resultobj
= Py_None
;
14372 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
14374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14375 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14377 return Py_BuildValue((char *)"");
14379 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14380 PyObject
*resultobj
;
14381 wxWindow
*arg1
= (wxWindow
*) 0 ;
14382 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14383 wxString
*arg3
= 0 ;
14384 int arg4
= (int) 0 ;
14385 wxFindReplaceDialog
*result
;
14386 bool temp3
= False
;
14387 PyObject
* obj0
= 0 ;
14388 PyObject
* obj1
= 0 ;
14389 PyObject
* obj2
= 0 ;
14390 PyObject
* obj3
= 0 ;
14391 char *kwnames
[] = {
14392 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14398 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14401 arg3
= wxString_in_helper(obj2
);
14402 if (arg3
== NULL
) SWIG_fail
;
14406 arg4
= (int) SWIG_AsInt(obj3
);
14407 if (PyErr_Occurred()) SWIG_fail
;
14410 if (!wxPyCheckForApp()) SWIG_fail
;
14411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14412 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14414 wxPyEndAllowThreads(__tstate
);
14415 if (PyErr_Occurred()) SWIG_fail
;
14417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14432 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14433 PyObject
*resultobj
;
14434 wxFindReplaceDialog
*result
;
14435 char *kwnames
[] = {
14439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14441 if (!wxPyCheckForApp()) SWIG_fail
;
14442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14443 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14445 wxPyEndAllowThreads(__tstate
);
14446 if (PyErr_Occurred()) SWIG_fail
;
14448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14455 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14456 PyObject
*resultobj
;
14457 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14458 wxWindow
*arg2
= (wxWindow
*) 0 ;
14459 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14460 wxString
*arg4
= 0 ;
14461 int arg5
= (int) 0 ;
14463 bool temp4
= False
;
14464 PyObject
* obj0
= 0 ;
14465 PyObject
* obj1
= 0 ;
14466 PyObject
* obj2
= 0 ;
14467 PyObject
* obj3
= 0 ;
14468 PyObject
* obj4
= 0 ;
14469 char *kwnames
[] = {
14470 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14476 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14478 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14481 arg4
= wxString_in_helper(obj3
);
14482 if (arg4
== NULL
) SWIG_fail
;
14486 arg5
= (int) SWIG_AsInt(obj4
);
14487 if (PyErr_Occurred()) SWIG_fail
;
14490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14491 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14493 wxPyEndAllowThreads(__tstate
);
14494 if (PyErr_Occurred()) SWIG_fail
;
14497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14513 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14514 PyObject
*resultobj
;
14515 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14516 wxFindReplaceData
*result
;
14517 PyObject
* obj0
= 0 ;
14518 char *kwnames
[] = {
14519 (char *) "self", NULL
14522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14527 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14529 wxPyEndAllowThreads(__tstate
);
14530 if (PyErr_Occurred()) SWIG_fail
;
14532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14539 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14540 PyObject
*resultobj
;
14541 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14542 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14543 PyObject
* obj0
= 0 ;
14544 PyObject
* obj1
= 0 ;
14545 char *kwnames
[] = {
14546 (char *) "self",(char *) "data", NULL
14549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14556 (arg1
)->SetData(arg2
);
14558 wxPyEndAllowThreads(__tstate
);
14559 if (PyErr_Occurred()) SWIG_fail
;
14561 Py_INCREF(Py_None
); resultobj
= Py_None
;
14568 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14571 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14573 return Py_BuildValue((char *)"");
14575 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14576 PyObject
*resultobj
;
14577 wxWindow
*arg1
= (wxWindow
*) 0 ;
14578 int arg2
= (int) (int)-1 ;
14579 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14580 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14581 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14582 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14583 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14584 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14585 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14586 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14587 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14588 wxMDIParentFrame
*result
;
14589 bool temp3
= False
;
14592 bool temp7
= False
;
14593 PyObject
* obj0
= 0 ;
14594 PyObject
* obj1
= 0 ;
14595 PyObject
* obj2
= 0 ;
14596 PyObject
* obj3
= 0 ;
14597 PyObject
* obj4
= 0 ;
14598 PyObject
* obj5
= 0 ;
14599 PyObject
* obj6
= 0 ;
14600 char *kwnames
[] = {
14601 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14608 arg2
= (int const) SWIG_AsInt(obj1
);
14609 if (PyErr_Occurred()) SWIG_fail
;
14613 arg3
= wxString_in_helper(obj2
);
14614 if (arg3
== NULL
) SWIG_fail
;
14621 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14627 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14631 arg6
= (long) SWIG_AsLong(obj5
);
14632 if (PyErr_Occurred()) SWIG_fail
;
14636 arg7
= wxString_in_helper(obj6
);
14637 if (arg7
== NULL
) SWIG_fail
;
14642 if (!wxPyCheckForApp()) SWIG_fail
;
14643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14644 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14646 wxPyEndAllowThreads(__tstate
);
14647 if (PyErr_Occurred()) SWIG_fail
;
14649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14672 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14673 PyObject
*resultobj
;
14674 wxMDIParentFrame
*result
;
14675 char *kwnames
[] = {
14679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14681 if (!wxPyCheckForApp()) SWIG_fail
;
14682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14683 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14685 wxPyEndAllowThreads(__tstate
);
14686 if (PyErr_Occurred()) SWIG_fail
;
14688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14695 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14696 PyObject
*resultobj
;
14697 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14698 wxWindow
*arg2
= (wxWindow
*) 0 ;
14699 int arg3
= (int) (int)-1 ;
14700 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14701 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14702 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14703 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14704 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14705 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14706 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14707 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14708 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14710 bool temp4
= False
;
14713 bool temp8
= False
;
14714 PyObject
* obj0
= 0 ;
14715 PyObject
* obj1
= 0 ;
14716 PyObject
* obj2
= 0 ;
14717 PyObject
* obj3
= 0 ;
14718 PyObject
* obj4
= 0 ;
14719 PyObject
* obj5
= 0 ;
14720 PyObject
* obj6
= 0 ;
14721 PyObject
* obj7
= 0 ;
14722 char *kwnames
[] = {
14723 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14729 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14732 arg3
= (int const) SWIG_AsInt(obj2
);
14733 if (PyErr_Occurred()) SWIG_fail
;
14737 arg4
= wxString_in_helper(obj3
);
14738 if (arg4
== NULL
) SWIG_fail
;
14745 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14751 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14755 arg7
= (long) SWIG_AsLong(obj6
);
14756 if (PyErr_Occurred()) SWIG_fail
;
14760 arg8
= wxString_in_helper(obj7
);
14761 if (arg8
== NULL
) SWIG_fail
;
14766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14767 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14769 wxPyEndAllowThreads(__tstate
);
14770 if (PyErr_Occurred()) SWIG_fail
;
14773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14797 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14798 PyObject
*resultobj
;
14799 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14800 PyObject
* obj0
= 0 ;
14801 char *kwnames
[] = {
14802 (char *) "self", NULL
14805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14810 (arg1
)->ActivateNext();
14812 wxPyEndAllowThreads(__tstate
);
14813 if (PyErr_Occurred()) SWIG_fail
;
14815 Py_INCREF(Py_None
); resultobj
= Py_None
;
14822 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14823 PyObject
*resultobj
;
14824 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14825 PyObject
* obj0
= 0 ;
14826 char *kwnames
[] = {
14827 (char *) "self", NULL
14830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14835 (arg1
)->ActivatePrevious();
14837 wxPyEndAllowThreads(__tstate
);
14838 if (PyErr_Occurred()) SWIG_fail
;
14840 Py_INCREF(Py_None
); resultobj
= Py_None
;
14847 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14848 PyObject
*resultobj
;
14849 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14850 PyObject
* obj0
= 0 ;
14851 char *kwnames
[] = {
14852 (char *) "self", NULL
14855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14860 (arg1
)->ArrangeIcons();
14862 wxPyEndAllowThreads(__tstate
);
14863 if (PyErr_Occurred()) SWIG_fail
;
14865 Py_INCREF(Py_None
); resultobj
= Py_None
;
14872 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14873 PyObject
*resultobj
;
14874 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14875 PyObject
* obj0
= 0 ;
14876 char *kwnames
[] = {
14877 (char *) "self", NULL
14880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14887 wxPyEndAllowThreads(__tstate
);
14888 if (PyErr_Occurred()) SWIG_fail
;
14890 Py_INCREF(Py_None
); resultobj
= Py_None
;
14897 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14898 PyObject
*resultobj
;
14899 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14900 wxMDIChildFrame
*result
;
14901 PyObject
* obj0
= 0 ;
14902 char *kwnames
[] = {
14903 (char *) "self", NULL
14906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14911 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14913 wxPyEndAllowThreads(__tstate
);
14914 if (PyErr_Occurred()) SWIG_fail
;
14917 resultobj
= wxPyMake_wxObject(result
);
14925 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14926 PyObject
*resultobj
;
14927 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14928 wxMDIClientWindow
*result
;
14929 PyObject
* obj0
= 0 ;
14930 char *kwnames
[] = {
14931 (char *) "self", NULL
14934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14939 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14941 wxPyEndAllowThreads(__tstate
);
14942 if (PyErr_Occurred()) SWIG_fail
;
14945 resultobj
= wxPyMake_wxObject(result
);
14953 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14954 PyObject
*resultobj
;
14955 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14957 PyObject
* obj0
= 0 ;
14958 char *kwnames
[] = {
14959 (char *) "self", NULL
14962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14967 result
= (wxWindow
*)(arg1
)->GetToolBar();
14969 wxPyEndAllowThreads(__tstate
);
14970 if (PyErr_Occurred()) SWIG_fail
;
14973 resultobj
= wxPyMake_wxObject(result
);
14981 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14982 PyObject
*resultobj
;
14983 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14984 PyObject
* obj0
= 0 ;
14985 char *kwnames
[] = {
14986 (char *) "self", NULL
14989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14996 wxPyEndAllowThreads(__tstate
);
14997 if (PyErr_Occurred()) SWIG_fail
;
14999 Py_INCREF(Py_None
); resultobj
= Py_None
;
15006 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
15008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15009 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
15011 return Py_BuildValue((char *)"");
15013 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15014 PyObject
*resultobj
;
15015 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15016 int arg2
= (int) (int)-1 ;
15017 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15018 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15019 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15020 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15021 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15022 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15023 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
15024 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
15025 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15026 wxMDIChildFrame
*result
;
15027 bool temp3
= False
;
15030 bool temp7
= False
;
15031 PyObject
* obj0
= 0 ;
15032 PyObject
* obj1
= 0 ;
15033 PyObject
* obj2
= 0 ;
15034 PyObject
* obj3
= 0 ;
15035 PyObject
* obj4
= 0 ;
15036 PyObject
* obj5
= 0 ;
15037 PyObject
* obj6
= 0 ;
15038 char *kwnames
[] = {
15039 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15046 arg2
= (int const) SWIG_AsInt(obj1
);
15047 if (PyErr_Occurred()) SWIG_fail
;
15051 arg3
= wxString_in_helper(obj2
);
15052 if (arg3
== NULL
) SWIG_fail
;
15059 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15065 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15069 arg6
= (long) SWIG_AsLong(obj5
);
15070 if (PyErr_Occurred()) SWIG_fail
;
15074 arg7
= wxString_in_helper(obj6
);
15075 if (arg7
== NULL
) SWIG_fail
;
15080 if (!wxPyCheckForApp()) SWIG_fail
;
15081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15082 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15084 wxPyEndAllowThreads(__tstate
);
15085 if (PyErr_Occurred()) SWIG_fail
;
15088 resultobj
= wxPyMake_wxObject(result
);
15112 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15113 PyObject
*resultobj
;
15114 wxMDIChildFrame
*result
;
15115 char *kwnames
[] = {
15119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
15121 if (!wxPyCheckForApp()) SWIG_fail
;
15122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15123 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
15125 wxPyEndAllowThreads(__tstate
);
15126 if (PyErr_Occurred()) SWIG_fail
;
15129 resultobj
= wxPyMake_wxObject(result
);
15137 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15138 PyObject
*resultobj
;
15139 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15140 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15141 int arg3
= (int) (int)-1 ;
15142 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15143 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15144 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15145 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15146 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15147 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15148 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
15149 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15150 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15152 bool temp4
= False
;
15155 bool temp8
= False
;
15156 PyObject
* obj0
= 0 ;
15157 PyObject
* obj1
= 0 ;
15158 PyObject
* obj2
= 0 ;
15159 PyObject
* obj3
= 0 ;
15160 PyObject
* obj4
= 0 ;
15161 PyObject
* obj5
= 0 ;
15162 PyObject
* obj6
= 0 ;
15163 PyObject
* obj7
= 0 ;
15164 char *kwnames
[] = {
15165 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15171 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15174 arg3
= (int const) SWIG_AsInt(obj2
);
15175 if (PyErr_Occurred()) SWIG_fail
;
15179 arg4
= wxString_in_helper(obj3
);
15180 if (arg4
== NULL
) SWIG_fail
;
15187 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15193 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15197 arg7
= (long) SWIG_AsLong(obj6
);
15198 if (PyErr_Occurred()) SWIG_fail
;
15202 arg8
= wxString_in_helper(obj7
);
15203 if (arg8
== NULL
) SWIG_fail
;
15208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15209 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15211 wxPyEndAllowThreads(__tstate
);
15212 if (PyErr_Occurred()) SWIG_fail
;
15215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15239 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15240 PyObject
*resultobj
;
15241 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15242 PyObject
* obj0
= 0 ;
15243 char *kwnames
[] = {
15244 (char *) "self", NULL
15247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15252 (arg1
)->Activate();
15254 wxPyEndAllowThreads(__tstate
);
15255 if (PyErr_Occurred()) SWIG_fail
;
15257 Py_INCREF(Py_None
); resultobj
= Py_None
;
15264 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15265 PyObject
*resultobj
;
15266 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15268 PyObject
* obj0
= 0 ;
15269 PyObject
* obj1
= 0 ;
15270 char *kwnames
[] = {
15271 (char *) "self",(char *) "maximize", NULL
15274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15277 arg2
= (bool) SWIG_AsBool(obj1
);
15278 if (PyErr_Occurred()) SWIG_fail
;
15280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15281 (arg1
)->Maximize(arg2
);
15283 wxPyEndAllowThreads(__tstate
);
15284 if (PyErr_Occurred()) SWIG_fail
;
15286 Py_INCREF(Py_None
); resultobj
= Py_None
;
15293 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15294 PyObject
*resultobj
;
15295 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15296 PyObject
* obj0
= 0 ;
15297 char *kwnames
[] = {
15298 (char *) "self", NULL
15301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15308 wxPyEndAllowThreads(__tstate
);
15309 if (PyErr_Occurred()) SWIG_fail
;
15311 Py_INCREF(Py_None
); resultobj
= Py_None
;
15318 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
15320 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15321 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15323 return Py_BuildValue((char *)"");
15325 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15326 PyObject
*resultobj
;
15327 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15328 long arg2
= (long) 0 ;
15329 wxMDIClientWindow
*result
;
15330 PyObject
* obj0
= 0 ;
15331 PyObject
* obj1
= 0 ;
15332 char *kwnames
[] = {
15333 (char *) "parent",(char *) "style", NULL
15336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15340 arg2
= (long) SWIG_AsLong(obj1
);
15341 if (PyErr_Occurred()) SWIG_fail
;
15344 if (!wxPyCheckForApp()) SWIG_fail
;
15345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15346 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15348 wxPyEndAllowThreads(__tstate
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15352 resultobj
= wxPyMake_wxObject(result
);
15360 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15361 PyObject
*resultobj
;
15362 wxMDIClientWindow
*result
;
15363 char *kwnames
[] = {
15367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15369 if (!wxPyCheckForApp()) SWIG_fail
;
15370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15371 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15373 wxPyEndAllowThreads(__tstate
);
15374 if (PyErr_Occurred()) SWIG_fail
;
15377 resultobj
= wxPyMake_wxObject(result
);
15385 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15386 PyObject
*resultobj
;
15387 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15388 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15389 long arg3
= (long) 0 ;
15391 PyObject
* obj0
= 0 ;
15392 PyObject
* obj1
= 0 ;
15393 PyObject
* obj2
= 0 ;
15394 char *kwnames
[] = {
15395 (char *) "self",(char *) "parent",(char *) "style", NULL
15398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15401 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15404 arg3
= (long) SWIG_AsLong(obj2
);
15405 if (PyErr_Occurred()) SWIG_fail
;
15408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15409 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15411 wxPyEndAllowThreads(__tstate
);
15412 if (PyErr_Occurred()) SWIG_fail
;
15415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15423 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15426 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15428 return Py_BuildValue((char *)"");
15430 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15431 PyObject
*resultobj
;
15432 wxWindow
*arg1
= (wxWindow
*) 0 ;
15433 int arg2
= (int) (int)-1 ;
15434 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15435 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15436 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15437 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15438 long arg5
= (long) 0 ;
15439 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15440 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15441 wxPyWindow
*result
;
15444 bool temp6
= False
;
15445 PyObject
* obj0
= 0 ;
15446 PyObject
* obj1
= 0 ;
15447 PyObject
* obj2
= 0 ;
15448 PyObject
* obj3
= 0 ;
15449 PyObject
* obj4
= 0 ;
15450 PyObject
* obj5
= 0 ;
15451 char *kwnames
[] = {
15452 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15459 arg2
= (int const) SWIG_AsInt(obj1
);
15460 if (PyErr_Occurred()) SWIG_fail
;
15465 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15471 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15475 arg5
= (long) SWIG_AsLong(obj4
);
15476 if (PyErr_Occurred()) SWIG_fail
;
15480 arg6
= wxString_in_helper(obj5
);
15481 if (arg6
== NULL
) SWIG_fail
;
15486 if (!wxPyCheckForApp()) SWIG_fail
;
15487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15488 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15490 wxPyEndAllowThreads(__tstate
);
15491 if (PyErr_Occurred()) SWIG_fail
;
15493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15508 static PyObject
*_wrap_new_PrePyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15509 PyObject
*resultobj
;
15510 wxPyWindow
*result
;
15511 char *kwnames
[] = {
15515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15517 if (!wxPyCheckForApp()) SWIG_fail
;
15518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15519 result
= (wxPyWindow
*)new wxPyWindow();
15521 wxPyEndAllowThreads(__tstate
);
15522 if (PyErr_Occurred()) SWIG_fail
;
15524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15531 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15532 PyObject
*resultobj
;
15533 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15534 PyObject
*arg2
= (PyObject
*) 0 ;
15535 PyObject
*arg3
= (PyObject
*) 0 ;
15536 PyObject
* obj0
= 0 ;
15537 PyObject
* obj1
= 0 ;
15538 PyObject
* obj2
= 0 ;
15539 char *kwnames
[] = {
15540 (char *) "self",(char *) "self",(char *) "_class", NULL
15543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15550 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15552 wxPyEndAllowThreads(__tstate
);
15553 if (PyErr_Occurred()) SWIG_fail
;
15555 Py_INCREF(Py_None
); resultobj
= Py_None
;
15562 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15563 PyObject
*resultobj
;
15564 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15567 PyObject
* obj0
= 0 ;
15568 PyObject
* obj1
= 0 ;
15569 char *kwnames
[] = {
15570 (char *) "self",(char *) "size", NULL
15573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15578 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15582 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
15584 wxPyEndAllowThreads(__tstate
);
15585 if (PyErr_Occurred()) SWIG_fail
;
15587 Py_INCREF(Py_None
); resultobj
= Py_None
;
15594 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15595 PyObject
*resultobj
;
15596 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15601 PyObject
* obj0
= 0 ;
15602 PyObject
* obj1
= 0 ;
15603 PyObject
* obj2
= 0 ;
15604 PyObject
* obj3
= 0 ;
15605 PyObject
* obj4
= 0 ;
15606 char *kwnames
[] = {
15607 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15613 arg2
= (int) SWIG_AsInt(obj1
);
15614 if (PyErr_Occurred()) SWIG_fail
;
15615 arg3
= (int) SWIG_AsInt(obj2
);
15616 if (PyErr_Occurred()) SWIG_fail
;
15617 arg4
= (int) SWIG_AsInt(obj3
);
15618 if (PyErr_Occurred()) SWIG_fail
;
15619 arg5
= (int) SWIG_AsInt(obj4
);
15620 if (PyErr_Occurred()) SWIG_fail
;
15622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15623 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15625 wxPyEndAllowThreads(__tstate
);
15626 if (PyErr_Occurred()) SWIG_fail
;
15628 Py_INCREF(Py_None
); resultobj
= Py_None
;
15635 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15636 PyObject
*resultobj
;
15637 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15642 int arg6
= (int) wxSIZE_AUTO
;
15643 PyObject
* obj0
= 0 ;
15644 PyObject
* obj1
= 0 ;
15645 PyObject
* obj2
= 0 ;
15646 PyObject
* obj3
= 0 ;
15647 PyObject
* obj4
= 0 ;
15648 PyObject
* obj5
= 0 ;
15649 char *kwnames
[] = {
15650 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15656 arg2
= (int) SWIG_AsInt(obj1
);
15657 if (PyErr_Occurred()) SWIG_fail
;
15658 arg3
= (int) SWIG_AsInt(obj2
);
15659 if (PyErr_Occurred()) SWIG_fail
;
15660 arg4
= (int) SWIG_AsInt(obj3
);
15661 if (PyErr_Occurred()) SWIG_fail
;
15662 arg5
= (int) SWIG_AsInt(obj4
);
15663 if (PyErr_Occurred()) SWIG_fail
;
15665 arg6
= (int) SWIG_AsInt(obj5
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15670 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15672 wxPyEndAllowThreads(__tstate
);
15673 if (PyErr_Occurred()) SWIG_fail
;
15675 Py_INCREF(Py_None
); resultobj
= Py_None
;
15682 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15683 PyObject
*resultobj
;
15684 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15687 PyObject
* obj0
= 0 ;
15688 PyObject
* obj1
= 0 ;
15689 PyObject
* obj2
= 0 ;
15690 char *kwnames
[] = {
15691 (char *) "self",(char *) "width",(char *) "height", NULL
15694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15697 arg2
= (int) SWIG_AsInt(obj1
);
15698 if (PyErr_Occurred()) SWIG_fail
;
15699 arg3
= (int) SWIG_AsInt(obj2
);
15700 if (PyErr_Occurred()) SWIG_fail
;
15702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15703 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15705 wxPyEndAllowThreads(__tstate
);
15706 if (PyErr_Occurred()) SWIG_fail
;
15708 Py_INCREF(Py_None
); resultobj
= Py_None
;
15715 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15716 PyObject
*resultobj
;
15717 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15720 PyObject
* obj0
= 0 ;
15721 PyObject
* obj1
= 0 ;
15722 PyObject
* obj2
= 0 ;
15723 char *kwnames
[] = {
15724 (char *) "self",(char *) "x",(char *) "y", NULL
15727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15730 arg2
= (int) SWIG_AsInt(obj1
);
15731 if (PyErr_Occurred()) SWIG_fail
;
15732 arg3
= (int) SWIG_AsInt(obj2
);
15733 if (PyErr_Occurred()) SWIG_fail
;
15735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15736 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15738 wxPyEndAllowThreads(__tstate
);
15739 if (PyErr_Occurred()) SWIG_fail
;
15741 Py_INCREF(Py_None
); resultobj
= Py_None
;
15748 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15749 PyObject
*resultobj
;
15750 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15751 int *arg2
= (int *) 0 ;
15752 int *arg3
= (int *) 0 ;
15755 PyObject
* obj0
= 0 ;
15756 char *kwnames
[] = {
15757 (char *) "self", NULL
15762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15767 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15769 wxPyEndAllowThreads(__tstate
);
15770 if (PyErr_Occurred()) SWIG_fail
;
15772 Py_INCREF(Py_None
); resultobj
= Py_None
;
15774 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15775 resultobj
= t_output_helper(resultobj
,o
);
15778 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15779 resultobj
= t_output_helper(resultobj
,o
);
15787 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15788 PyObject
*resultobj
;
15789 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15790 int *arg2
= (int *) 0 ;
15791 int *arg3
= (int *) 0 ;
15794 PyObject
* obj0
= 0 ;
15795 char *kwnames
[] = {
15796 (char *) "self", NULL
15801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15806 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15808 wxPyEndAllowThreads(__tstate
);
15809 if (PyErr_Occurred()) SWIG_fail
;
15811 Py_INCREF(Py_None
); resultobj
= Py_None
;
15813 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15814 resultobj
= t_output_helper(resultobj
,o
);
15817 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15818 resultobj
= t_output_helper(resultobj
,o
);
15826 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15827 PyObject
*resultobj
;
15828 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15829 int *arg2
= (int *) 0 ;
15830 int *arg3
= (int *) 0 ;
15833 PyObject
* obj0
= 0 ;
15834 char *kwnames
[] = {
15835 (char *) "self", NULL
15840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15845 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15847 wxPyEndAllowThreads(__tstate
);
15848 if (PyErr_Occurred()) SWIG_fail
;
15850 Py_INCREF(Py_None
); resultobj
= Py_None
;
15852 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15853 resultobj
= t_output_helper(resultobj
,o
);
15856 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15857 resultobj
= t_output_helper(resultobj
,o
);
15865 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15866 PyObject
*resultobj
;
15867 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15869 PyObject
* obj0
= 0 ;
15870 char *kwnames
[] = {
15871 (char *) "self", NULL
15874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15879 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15881 wxPyEndAllowThreads(__tstate
);
15882 if (PyErr_Occurred()) SWIG_fail
;
15885 wxSize
* resultptr
;
15886 resultptr
= new wxSize((wxSize
&) result
);
15887 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15895 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15896 PyObject
*resultobj
;
15897 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15899 PyObject
* obj0
= 0 ;
15900 char *kwnames
[] = {
15901 (char *) "self", NULL
15904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15909 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15911 wxPyEndAllowThreads(__tstate
);
15912 if (PyErr_Occurred()) SWIG_fail
;
15915 wxSize
* resultptr
;
15916 resultptr
= new wxSize((wxSize
&) result
);
15917 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15925 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15926 PyObject
*resultobj
;
15927 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15928 PyObject
* obj0
= 0 ;
15929 char *kwnames
[] = {
15930 (char *) "self", NULL
15933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15938 (arg1
)->base_InitDialog();
15940 wxPyEndAllowThreads(__tstate
);
15941 if (PyErr_Occurred()) SWIG_fail
;
15943 Py_INCREF(Py_None
); resultobj
= Py_None
;
15950 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15951 PyObject
*resultobj
;
15952 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15954 PyObject
* obj0
= 0 ;
15955 char *kwnames
[] = {
15956 (char *) "self", NULL
15959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15964 result
= (bool)(arg1
)->base_TransferDataToWindow();
15966 wxPyEndAllowThreads(__tstate
);
15967 if (PyErr_Occurred()) SWIG_fail
;
15970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15978 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15979 PyObject
*resultobj
;
15980 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15982 PyObject
* obj0
= 0 ;
15983 char *kwnames
[] = {
15984 (char *) "self", NULL
15987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15992 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15994 wxPyEndAllowThreads(__tstate
);
15995 if (PyErr_Occurred()) SWIG_fail
;
15998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16006 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16007 PyObject
*resultobj
;
16008 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16010 PyObject
* obj0
= 0 ;
16011 char *kwnames
[] = {
16012 (char *) "self", NULL
16015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
16016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16020 result
= (bool)(arg1
)->base_Validate();
16022 wxPyEndAllowThreads(__tstate
);
16023 if (PyErr_Occurred()) SWIG_fail
;
16026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16034 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16035 PyObject
*resultobj
;
16036 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16038 PyObject
* obj0
= 0 ;
16039 char *kwnames
[] = {
16040 (char *) "self", NULL
16043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16048 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
16050 wxPyEndAllowThreads(__tstate
);
16051 if (PyErr_Occurred()) SWIG_fail
;
16054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16062 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16063 PyObject
*resultobj
;
16064 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16066 PyObject
* obj0
= 0 ;
16067 char *kwnames
[] = {
16068 (char *) "self", NULL
16071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16076 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16078 wxPyEndAllowThreads(__tstate
);
16079 if (PyErr_Occurred()) SWIG_fail
;
16082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16090 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16091 PyObject
*resultobj
;
16092 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16094 PyObject
* obj0
= 0 ;
16095 char *kwnames
[] = {
16096 (char *) "self", NULL
16099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16104 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
16106 wxPyEndAllowThreads(__tstate
);
16107 if (PyErr_Occurred()) SWIG_fail
;
16110 wxSize
* resultptr
;
16111 resultptr
= new wxSize((wxSize
&) result
);
16112 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16120 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16121 PyObject
*resultobj
;
16122 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16123 wxWindow
*arg2
= (wxWindow
*) 0 ;
16124 PyObject
* obj0
= 0 ;
16125 PyObject
* obj1
= 0 ;
16126 char *kwnames
[] = {
16127 (char *) "self",(char *) "child", NULL
16130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16133 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16137 (arg1
)->base_AddChild(arg2
);
16139 wxPyEndAllowThreads(__tstate
);
16140 if (PyErr_Occurred()) SWIG_fail
;
16142 Py_INCREF(Py_None
); resultobj
= Py_None
;
16149 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16150 PyObject
*resultobj
;
16151 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16152 wxWindow
*arg2
= (wxWindow
*) 0 ;
16153 PyObject
* obj0
= 0 ;
16154 PyObject
* obj1
= 0 ;
16155 char *kwnames
[] = {
16156 (char *) "self",(char *) "child", NULL
16159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16162 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16166 (arg1
)->base_RemoveChild(arg2
);
16168 wxPyEndAllowThreads(__tstate
);
16169 if (PyErr_Occurred()) SWIG_fail
;
16171 Py_INCREF(Py_None
); resultobj
= Py_None
;
16178 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16179 PyObject
*resultobj
;
16180 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16182 PyObject
* obj0
= 0 ;
16183 char *kwnames
[] = {
16184 (char *) "self", NULL
16187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16192 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
16194 wxPyEndAllowThreads(__tstate
);
16195 if (PyErr_Occurred()) SWIG_fail
;
16198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16206 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16207 PyObject
*resultobj
;
16208 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16209 wxColour
*arg2
= 0 ;
16211 PyObject
* obj0
= 0 ;
16212 PyObject
* obj1
= 0 ;
16213 char *kwnames
[] = {
16214 (char *) "self",(char *) "c", NULL
16217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16222 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16226 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16228 wxPyEndAllowThreads(__tstate
);
16229 if (PyErr_Occurred()) SWIG_fail
;
16231 Py_INCREF(Py_None
); resultobj
= Py_None
;
16238 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16239 PyObject
*resultobj
;
16240 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16241 wxVisualAttributes result
;
16242 PyObject
* obj0
= 0 ;
16243 char *kwnames
[] = {
16244 (char *) "self", NULL
16247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16252 result
= (arg1
)->base_GetDefaultAttributes();
16254 wxPyEndAllowThreads(__tstate
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16258 wxVisualAttributes
* resultptr
;
16259 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16260 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16268 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
16270 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16271 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
16273 return Py_BuildValue((char *)"");
16275 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16276 PyObject
*resultobj
;
16277 wxWindow
*arg1
= (wxWindow
*) 0 ;
16278 int arg2
= (int) (int)-1 ;
16279 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16280 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16281 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16282 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16283 long arg5
= (long) 0 ;
16284 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16285 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16289 bool temp6
= False
;
16290 PyObject
* obj0
= 0 ;
16291 PyObject
* obj1
= 0 ;
16292 PyObject
* obj2
= 0 ;
16293 PyObject
* obj3
= 0 ;
16294 PyObject
* obj4
= 0 ;
16295 PyObject
* obj5
= 0 ;
16296 char *kwnames
[] = {
16297 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16304 arg2
= (int const) SWIG_AsInt(obj1
);
16305 if (PyErr_Occurred()) SWIG_fail
;
16310 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16316 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16320 arg5
= (long) SWIG_AsLong(obj4
);
16321 if (PyErr_Occurred()) SWIG_fail
;
16325 arg6
= wxString_in_helper(obj5
);
16326 if (arg6
== NULL
) SWIG_fail
;
16331 if (!wxPyCheckForApp()) SWIG_fail
;
16332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16333 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16335 wxPyEndAllowThreads(__tstate
);
16336 if (PyErr_Occurred()) SWIG_fail
;
16338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16353 static PyObject
*_wrap_new_PrePyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16354 PyObject
*resultobj
;
16356 char *kwnames
[] = {
16360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16362 if (!wxPyCheckForApp()) SWIG_fail
;
16363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16364 result
= (wxPyPanel
*)new wxPyPanel();
16366 wxPyEndAllowThreads(__tstate
);
16367 if (PyErr_Occurred()) SWIG_fail
;
16369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16376 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16377 PyObject
*resultobj
;
16378 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16379 PyObject
*arg2
= (PyObject
*) 0 ;
16380 PyObject
*arg3
= (PyObject
*) 0 ;
16381 PyObject
* obj0
= 0 ;
16382 PyObject
* obj1
= 0 ;
16383 PyObject
* obj2
= 0 ;
16384 char *kwnames
[] = {
16385 (char *) "self",(char *) "self",(char *) "_class", NULL
16388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16395 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16397 wxPyEndAllowThreads(__tstate
);
16398 if (PyErr_Occurred()) SWIG_fail
;
16400 Py_INCREF(Py_None
); resultobj
= Py_None
;
16407 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16408 PyObject
*resultobj
;
16409 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16412 PyObject
* obj0
= 0 ;
16413 PyObject
* obj1
= 0 ;
16414 char *kwnames
[] = {
16415 (char *) "self",(char *) "size", NULL
16418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16423 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16427 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16429 wxPyEndAllowThreads(__tstate
);
16430 if (PyErr_Occurred()) SWIG_fail
;
16432 Py_INCREF(Py_None
); resultobj
= Py_None
;
16439 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16440 PyObject
*resultobj
;
16441 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16446 PyObject
* obj0
= 0 ;
16447 PyObject
* obj1
= 0 ;
16448 PyObject
* obj2
= 0 ;
16449 PyObject
* obj3
= 0 ;
16450 PyObject
* obj4
= 0 ;
16451 char *kwnames
[] = {
16452 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16458 arg2
= (int) SWIG_AsInt(obj1
);
16459 if (PyErr_Occurred()) SWIG_fail
;
16460 arg3
= (int) SWIG_AsInt(obj2
);
16461 if (PyErr_Occurred()) SWIG_fail
;
16462 arg4
= (int) SWIG_AsInt(obj3
);
16463 if (PyErr_Occurred()) SWIG_fail
;
16464 arg5
= (int) SWIG_AsInt(obj4
);
16465 if (PyErr_Occurred()) SWIG_fail
;
16467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16468 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16470 wxPyEndAllowThreads(__tstate
);
16471 if (PyErr_Occurred()) SWIG_fail
;
16473 Py_INCREF(Py_None
); resultobj
= Py_None
;
16480 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16481 PyObject
*resultobj
;
16482 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16487 int arg6
= (int) wxSIZE_AUTO
;
16488 PyObject
* obj0
= 0 ;
16489 PyObject
* obj1
= 0 ;
16490 PyObject
* obj2
= 0 ;
16491 PyObject
* obj3
= 0 ;
16492 PyObject
* obj4
= 0 ;
16493 PyObject
* obj5
= 0 ;
16494 char *kwnames
[] = {
16495 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16501 arg2
= (int) SWIG_AsInt(obj1
);
16502 if (PyErr_Occurred()) SWIG_fail
;
16503 arg3
= (int) SWIG_AsInt(obj2
);
16504 if (PyErr_Occurred()) SWIG_fail
;
16505 arg4
= (int) SWIG_AsInt(obj3
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16507 arg5
= (int) SWIG_AsInt(obj4
);
16508 if (PyErr_Occurred()) SWIG_fail
;
16510 arg6
= (int) SWIG_AsInt(obj5
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16515 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16517 wxPyEndAllowThreads(__tstate
);
16518 if (PyErr_Occurred()) SWIG_fail
;
16520 Py_INCREF(Py_None
); resultobj
= Py_None
;
16527 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16528 PyObject
*resultobj
;
16529 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16532 PyObject
* obj0
= 0 ;
16533 PyObject
* obj1
= 0 ;
16534 PyObject
* obj2
= 0 ;
16535 char *kwnames
[] = {
16536 (char *) "self",(char *) "width",(char *) "height", NULL
16539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16542 arg2
= (int) SWIG_AsInt(obj1
);
16543 if (PyErr_Occurred()) SWIG_fail
;
16544 arg3
= (int) SWIG_AsInt(obj2
);
16545 if (PyErr_Occurred()) SWIG_fail
;
16547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16548 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16550 wxPyEndAllowThreads(__tstate
);
16551 if (PyErr_Occurred()) SWIG_fail
;
16553 Py_INCREF(Py_None
); resultobj
= Py_None
;
16560 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16561 PyObject
*resultobj
;
16562 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16565 PyObject
* obj0
= 0 ;
16566 PyObject
* obj1
= 0 ;
16567 PyObject
* obj2
= 0 ;
16568 char *kwnames
[] = {
16569 (char *) "self",(char *) "x",(char *) "y", NULL
16572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16575 arg2
= (int) SWIG_AsInt(obj1
);
16576 if (PyErr_Occurred()) SWIG_fail
;
16577 arg3
= (int) SWIG_AsInt(obj2
);
16578 if (PyErr_Occurred()) SWIG_fail
;
16580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16581 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16583 wxPyEndAllowThreads(__tstate
);
16584 if (PyErr_Occurred()) SWIG_fail
;
16586 Py_INCREF(Py_None
); resultobj
= Py_None
;
16593 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16594 PyObject
*resultobj
;
16595 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16596 int *arg2
= (int *) 0 ;
16597 int *arg3
= (int *) 0 ;
16600 PyObject
* obj0
= 0 ;
16601 char *kwnames
[] = {
16602 (char *) "self", NULL
16607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16612 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16614 wxPyEndAllowThreads(__tstate
);
16615 if (PyErr_Occurred()) SWIG_fail
;
16617 Py_INCREF(Py_None
); resultobj
= Py_None
;
16619 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16620 resultobj
= t_output_helper(resultobj
,o
);
16623 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16624 resultobj
= t_output_helper(resultobj
,o
);
16632 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16633 PyObject
*resultobj
;
16634 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16635 int *arg2
= (int *) 0 ;
16636 int *arg3
= (int *) 0 ;
16639 PyObject
* obj0
= 0 ;
16640 char *kwnames
[] = {
16641 (char *) "self", NULL
16646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16651 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16653 wxPyEndAllowThreads(__tstate
);
16654 if (PyErr_Occurred()) SWIG_fail
;
16656 Py_INCREF(Py_None
); resultobj
= Py_None
;
16658 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16659 resultobj
= t_output_helper(resultobj
,o
);
16662 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16663 resultobj
= t_output_helper(resultobj
,o
);
16671 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16672 PyObject
*resultobj
;
16673 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16674 int *arg2
= (int *) 0 ;
16675 int *arg3
= (int *) 0 ;
16678 PyObject
* obj0
= 0 ;
16679 char *kwnames
[] = {
16680 (char *) "self", NULL
16685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16690 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16692 wxPyEndAllowThreads(__tstate
);
16693 if (PyErr_Occurred()) SWIG_fail
;
16695 Py_INCREF(Py_None
); resultobj
= Py_None
;
16697 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16698 resultobj
= t_output_helper(resultobj
,o
);
16701 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16702 resultobj
= t_output_helper(resultobj
,o
);
16710 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16711 PyObject
*resultobj
;
16712 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16714 PyObject
* obj0
= 0 ;
16715 char *kwnames
[] = {
16716 (char *) "self", NULL
16719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16724 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16726 wxPyEndAllowThreads(__tstate
);
16727 if (PyErr_Occurred()) SWIG_fail
;
16730 wxSize
* resultptr
;
16731 resultptr
= new wxSize((wxSize
&) result
);
16732 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16740 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16741 PyObject
*resultobj
;
16742 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16744 PyObject
* obj0
= 0 ;
16745 char *kwnames
[] = {
16746 (char *) "self", NULL
16749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16754 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16756 wxPyEndAllowThreads(__tstate
);
16757 if (PyErr_Occurred()) SWIG_fail
;
16760 wxSize
* resultptr
;
16761 resultptr
= new wxSize((wxSize
&) result
);
16762 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16770 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16771 PyObject
*resultobj
;
16772 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16773 PyObject
* obj0
= 0 ;
16774 char *kwnames
[] = {
16775 (char *) "self", NULL
16778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16783 (arg1
)->base_InitDialog();
16785 wxPyEndAllowThreads(__tstate
);
16786 if (PyErr_Occurred()) SWIG_fail
;
16788 Py_INCREF(Py_None
); resultobj
= Py_None
;
16795 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16796 PyObject
*resultobj
;
16797 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16799 PyObject
* obj0
= 0 ;
16800 char *kwnames
[] = {
16801 (char *) "self", NULL
16804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16809 result
= (bool)(arg1
)->base_TransferDataToWindow();
16811 wxPyEndAllowThreads(__tstate
);
16812 if (PyErr_Occurred()) SWIG_fail
;
16815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16823 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16824 PyObject
*resultobj
;
16825 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16827 PyObject
* obj0
= 0 ;
16828 char *kwnames
[] = {
16829 (char *) "self", NULL
16832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16837 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16839 wxPyEndAllowThreads(__tstate
);
16840 if (PyErr_Occurred()) SWIG_fail
;
16843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16851 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16852 PyObject
*resultobj
;
16853 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16855 PyObject
* obj0
= 0 ;
16856 char *kwnames
[] = {
16857 (char *) "self", NULL
16860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16865 result
= (bool)(arg1
)->base_Validate();
16867 wxPyEndAllowThreads(__tstate
);
16868 if (PyErr_Occurred()) SWIG_fail
;
16871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16879 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16880 PyObject
*resultobj
;
16881 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16883 PyObject
* obj0
= 0 ;
16884 char *kwnames
[] = {
16885 (char *) "self", NULL
16888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16893 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16895 wxPyEndAllowThreads(__tstate
);
16896 if (PyErr_Occurred()) SWIG_fail
;
16899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16907 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16908 PyObject
*resultobj
;
16909 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16911 PyObject
* obj0
= 0 ;
16912 char *kwnames
[] = {
16913 (char *) "self", NULL
16916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16921 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16923 wxPyEndAllowThreads(__tstate
);
16924 if (PyErr_Occurred()) SWIG_fail
;
16927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16935 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16936 PyObject
*resultobj
;
16937 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16939 PyObject
* obj0
= 0 ;
16940 char *kwnames
[] = {
16941 (char *) "self", NULL
16944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16949 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16951 wxPyEndAllowThreads(__tstate
);
16952 if (PyErr_Occurred()) SWIG_fail
;
16955 wxSize
* resultptr
;
16956 resultptr
= new wxSize((wxSize
&) result
);
16957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16965 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16966 PyObject
*resultobj
;
16967 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16968 wxWindow
*arg2
= (wxWindow
*) 0 ;
16969 PyObject
* obj0
= 0 ;
16970 PyObject
* obj1
= 0 ;
16971 char *kwnames
[] = {
16972 (char *) "self",(char *) "child", NULL
16975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16978 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16982 (arg1
)->base_AddChild(arg2
);
16984 wxPyEndAllowThreads(__tstate
);
16985 if (PyErr_Occurred()) SWIG_fail
;
16987 Py_INCREF(Py_None
); resultobj
= Py_None
;
16994 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16995 PyObject
*resultobj
;
16996 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16997 wxWindow
*arg2
= (wxWindow
*) 0 ;
16998 PyObject
* obj0
= 0 ;
16999 PyObject
* obj1
= 0 ;
17000 char *kwnames
[] = {
17001 (char *) "self",(char *) "child", NULL
17004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17007 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17011 (arg1
)->base_RemoveChild(arg2
);
17013 wxPyEndAllowThreads(__tstate
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17016 Py_INCREF(Py_None
); resultobj
= Py_None
;
17023 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17024 PyObject
*resultobj
;
17025 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17027 PyObject
* obj0
= 0 ;
17028 char *kwnames
[] = {
17029 (char *) "self", NULL
17032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17037 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
17039 wxPyEndAllowThreads(__tstate
);
17040 if (PyErr_Occurred()) SWIG_fail
;
17043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17051 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17052 PyObject
*resultobj
;
17053 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17054 wxColour
*arg2
= 0 ;
17056 PyObject
* obj0
= 0 ;
17057 PyObject
* obj1
= 0 ;
17058 char *kwnames
[] = {
17059 (char *) "self",(char *) "c", NULL
17062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17067 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17071 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17073 wxPyEndAllowThreads(__tstate
);
17074 if (PyErr_Occurred()) SWIG_fail
;
17076 Py_INCREF(Py_None
); resultobj
= Py_None
;
17083 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17084 PyObject
*resultobj
;
17085 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17086 wxVisualAttributes result
;
17087 PyObject
* obj0
= 0 ;
17088 char *kwnames
[] = {
17089 (char *) "self", NULL
17092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17097 result
= (arg1
)->base_GetDefaultAttributes();
17099 wxPyEndAllowThreads(__tstate
);
17100 if (PyErr_Occurred()) SWIG_fail
;
17103 wxVisualAttributes
* resultptr
;
17104 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17105 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17113 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
17115 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17116 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
17118 return Py_BuildValue((char *)"");
17120 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17121 PyObject
*resultobj
;
17122 wxWindow
*arg1
= (wxWindow
*) 0 ;
17123 int arg2
= (int) (int)-1 ;
17124 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17125 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17126 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17127 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17128 long arg5
= (long) 0 ;
17129 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17130 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17131 wxPyScrolledWindow
*result
;
17134 bool temp6
= False
;
17135 PyObject
* obj0
= 0 ;
17136 PyObject
* obj1
= 0 ;
17137 PyObject
* obj2
= 0 ;
17138 PyObject
* obj3
= 0 ;
17139 PyObject
* obj4
= 0 ;
17140 PyObject
* obj5
= 0 ;
17141 char *kwnames
[] = {
17142 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17149 arg2
= (int const) SWIG_AsInt(obj1
);
17150 if (PyErr_Occurred()) SWIG_fail
;
17155 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17161 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17165 arg5
= (long) SWIG_AsLong(obj4
);
17166 if (PyErr_Occurred()) SWIG_fail
;
17170 arg6
= wxString_in_helper(obj5
);
17171 if (arg6
== NULL
) SWIG_fail
;
17176 if (!wxPyCheckForApp()) SWIG_fail
;
17177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17178 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17180 wxPyEndAllowThreads(__tstate
);
17181 if (PyErr_Occurred()) SWIG_fail
;
17183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17198 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17199 PyObject
*resultobj
;
17200 wxPyScrolledWindow
*result
;
17201 char *kwnames
[] = {
17205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
17207 if (!wxPyCheckForApp()) SWIG_fail
;
17208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17209 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
17211 wxPyEndAllowThreads(__tstate
);
17212 if (PyErr_Occurred()) SWIG_fail
;
17214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17221 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17222 PyObject
*resultobj
;
17223 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17224 PyObject
*arg2
= (PyObject
*) 0 ;
17225 PyObject
*arg3
= (PyObject
*) 0 ;
17226 PyObject
* obj0
= 0 ;
17227 PyObject
* obj1
= 0 ;
17228 PyObject
* obj2
= 0 ;
17229 char *kwnames
[] = {
17230 (char *) "self",(char *) "self",(char *) "_class", NULL
17233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17240 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17242 wxPyEndAllowThreads(__tstate
);
17243 if (PyErr_Occurred()) SWIG_fail
;
17245 Py_INCREF(Py_None
); resultobj
= Py_None
;
17252 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17253 PyObject
*resultobj
;
17254 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17257 PyObject
* obj0
= 0 ;
17258 PyObject
* obj1
= 0 ;
17259 char *kwnames
[] = {
17260 (char *) "self",(char *) "size", NULL
17263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17268 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17272 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17274 wxPyEndAllowThreads(__tstate
);
17275 if (PyErr_Occurred()) SWIG_fail
;
17277 Py_INCREF(Py_None
); resultobj
= Py_None
;
17284 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17285 PyObject
*resultobj
;
17286 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17291 PyObject
* obj0
= 0 ;
17292 PyObject
* obj1
= 0 ;
17293 PyObject
* obj2
= 0 ;
17294 PyObject
* obj3
= 0 ;
17295 PyObject
* obj4
= 0 ;
17296 char *kwnames
[] = {
17297 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17303 arg2
= (int) SWIG_AsInt(obj1
);
17304 if (PyErr_Occurred()) SWIG_fail
;
17305 arg3
= (int) SWIG_AsInt(obj2
);
17306 if (PyErr_Occurred()) SWIG_fail
;
17307 arg4
= (int) SWIG_AsInt(obj3
);
17308 if (PyErr_Occurred()) SWIG_fail
;
17309 arg5
= (int) SWIG_AsInt(obj4
);
17310 if (PyErr_Occurred()) SWIG_fail
;
17312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17313 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17315 wxPyEndAllowThreads(__tstate
);
17316 if (PyErr_Occurred()) SWIG_fail
;
17318 Py_INCREF(Py_None
); resultobj
= Py_None
;
17325 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17326 PyObject
*resultobj
;
17327 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17332 int arg6
= (int) wxSIZE_AUTO
;
17333 PyObject
* obj0
= 0 ;
17334 PyObject
* obj1
= 0 ;
17335 PyObject
* obj2
= 0 ;
17336 PyObject
* obj3
= 0 ;
17337 PyObject
* obj4
= 0 ;
17338 PyObject
* obj5
= 0 ;
17339 char *kwnames
[] = {
17340 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17346 arg2
= (int) SWIG_AsInt(obj1
);
17347 if (PyErr_Occurred()) SWIG_fail
;
17348 arg3
= (int) SWIG_AsInt(obj2
);
17349 if (PyErr_Occurred()) SWIG_fail
;
17350 arg4
= (int) SWIG_AsInt(obj3
);
17351 if (PyErr_Occurred()) SWIG_fail
;
17352 arg5
= (int) SWIG_AsInt(obj4
);
17353 if (PyErr_Occurred()) SWIG_fail
;
17355 arg6
= (int) SWIG_AsInt(obj5
);
17356 if (PyErr_Occurred()) SWIG_fail
;
17359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17360 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17362 wxPyEndAllowThreads(__tstate
);
17363 if (PyErr_Occurred()) SWIG_fail
;
17365 Py_INCREF(Py_None
); resultobj
= Py_None
;
17372 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17373 PyObject
*resultobj
;
17374 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17377 PyObject
* obj0
= 0 ;
17378 PyObject
* obj1
= 0 ;
17379 PyObject
* obj2
= 0 ;
17380 char *kwnames
[] = {
17381 (char *) "self",(char *) "width",(char *) "height", NULL
17384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17387 arg2
= (int) SWIG_AsInt(obj1
);
17388 if (PyErr_Occurred()) SWIG_fail
;
17389 arg3
= (int) SWIG_AsInt(obj2
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17393 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17395 wxPyEndAllowThreads(__tstate
);
17396 if (PyErr_Occurred()) SWIG_fail
;
17398 Py_INCREF(Py_None
); resultobj
= Py_None
;
17405 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17406 PyObject
*resultobj
;
17407 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17410 PyObject
* obj0
= 0 ;
17411 PyObject
* obj1
= 0 ;
17412 PyObject
* obj2
= 0 ;
17413 char *kwnames
[] = {
17414 (char *) "self",(char *) "x",(char *) "y", NULL
17417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17420 arg2
= (int) SWIG_AsInt(obj1
);
17421 if (PyErr_Occurred()) SWIG_fail
;
17422 arg3
= (int) SWIG_AsInt(obj2
);
17423 if (PyErr_Occurred()) SWIG_fail
;
17425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17426 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17428 wxPyEndAllowThreads(__tstate
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17431 Py_INCREF(Py_None
); resultobj
= Py_None
;
17438 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17439 PyObject
*resultobj
;
17440 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17441 int *arg2
= (int *) 0 ;
17442 int *arg3
= (int *) 0 ;
17445 PyObject
* obj0
= 0 ;
17446 char *kwnames
[] = {
17447 (char *) "self", NULL
17452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17457 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17459 wxPyEndAllowThreads(__tstate
);
17460 if (PyErr_Occurred()) SWIG_fail
;
17462 Py_INCREF(Py_None
); resultobj
= Py_None
;
17464 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17465 resultobj
= t_output_helper(resultobj
,o
);
17468 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17469 resultobj
= t_output_helper(resultobj
,o
);
17477 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17478 PyObject
*resultobj
;
17479 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17480 int *arg2
= (int *) 0 ;
17481 int *arg3
= (int *) 0 ;
17484 PyObject
* obj0
= 0 ;
17485 char *kwnames
[] = {
17486 (char *) "self", NULL
17491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17496 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17498 wxPyEndAllowThreads(__tstate
);
17499 if (PyErr_Occurred()) SWIG_fail
;
17501 Py_INCREF(Py_None
); resultobj
= Py_None
;
17503 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17504 resultobj
= t_output_helper(resultobj
,o
);
17507 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17508 resultobj
= t_output_helper(resultobj
,o
);
17516 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17517 PyObject
*resultobj
;
17518 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17519 int *arg2
= (int *) 0 ;
17520 int *arg3
= (int *) 0 ;
17523 PyObject
* obj0
= 0 ;
17524 char *kwnames
[] = {
17525 (char *) "self", NULL
17530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17535 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17537 wxPyEndAllowThreads(__tstate
);
17538 if (PyErr_Occurred()) SWIG_fail
;
17540 Py_INCREF(Py_None
); resultobj
= Py_None
;
17542 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17543 resultobj
= t_output_helper(resultobj
,o
);
17546 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17547 resultobj
= t_output_helper(resultobj
,o
);
17555 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17556 PyObject
*resultobj
;
17557 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17559 PyObject
* obj0
= 0 ;
17560 char *kwnames
[] = {
17561 (char *) "self", NULL
17564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17569 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17571 wxPyEndAllowThreads(__tstate
);
17572 if (PyErr_Occurred()) SWIG_fail
;
17575 wxSize
* resultptr
;
17576 resultptr
= new wxSize((wxSize
&) result
);
17577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17585 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17586 PyObject
*resultobj
;
17587 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17589 PyObject
* obj0
= 0 ;
17590 char *kwnames
[] = {
17591 (char *) "self", NULL
17594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17599 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17601 wxPyEndAllowThreads(__tstate
);
17602 if (PyErr_Occurred()) SWIG_fail
;
17605 wxSize
* resultptr
;
17606 resultptr
= new wxSize((wxSize
&) result
);
17607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17615 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17616 PyObject
*resultobj
;
17617 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17618 PyObject
* obj0
= 0 ;
17619 char *kwnames
[] = {
17620 (char *) "self", NULL
17623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17628 (arg1
)->base_InitDialog();
17630 wxPyEndAllowThreads(__tstate
);
17631 if (PyErr_Occurred()) SWIG_fail
;
17633 Py_INCREF(Py_None
); resultobj
= Py_None
;
17640 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17641 PyObject
*resultobj
;
17642 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17644 PyObject
* obj0
= 0 ;
17645 char *kwnames
[] = {
17646 (char *) "self", NULL
17649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17654 result
= (bool)(arg1
)->base_TransferDataToWindow();
17656 wxPyEndAllowThreads(__tstate
);
17657 if (PyErr_Occurred()) SWIG_fail
;
17660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17668 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17669 PyObject
*resultobj
;
17670 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17672 PyObject
* obj0
= 0 ;
17673 char *kwnames
[] = {
17674 (char *) "self", NULL
17677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17682 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17684 wxPyEndAllowThreads(__tstate
);
17685 if (PyErr_Occurred()) SWIG_fail
;
17688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17696 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17697 PyObject
*resultobj
;
17698 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17700 PyObject
* obj0
= 0 ;
17701 char *kwnames
[] = {
17702 (char *) "self", NULL
17705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
17706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17710 result
= (bool)(arg1
)->base_Validate();
17712 wxPyEndAllowThreads(__tstate
);
17713 if (PyErr_Occurred()) SWIG_fail
;
17716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17724 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17725 PyObject
*resultobj
;
17726 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17728 PyObject
* obj0
= 0 ;
17729 char *kwnames
[] = {
17730 (char *) "self", NULL
17733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17738 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
17740 wxPyEndAllowThreads(__tstate
);
17741 if (PyErr_Occurred()) SWIG_fail
;
17744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17752 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17753 PyObject
*resultobj
;
17754 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17756 PyObject
* obj0
= 0 ;
17757 char *kwnames
[] = {
17758 (char *) "self", NULL
17761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17766 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17768 wxPyEndAllowThreads(__tstate
);
17769 if (PyErr_Occurred()) SWIG_fail
;
17772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17780 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17781 PyObject
*resultobj
;
17782 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17784 PyObject
* obj0
= 0 ;
17785 char *kwnames
[] = {
17786 (char *) "self", NULL
17789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17794 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
17796 wxPyEndAllowThreads(__tstate
);
17797 if (PyErr_Occurred()) SWIG_fail
;
17800 wxSize
* resultptr
;
17801 resultptr
= new wxSize((wxSize
&) result
);
17802 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17810 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17811 PyObject
*resultobj
;
17812 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17813 wxWindow
*arg2
= (wxWindow
*) 0 ;
17814 PyObject
* obj0
= 0 ;
17815 PyObject
* obj1
= 0 ;
17816 char *kwnames
[] = {
17817 (char *) "self",(char *) "child", NULL
17820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17823 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17827 (arg1
)->base_AddChild(arg2
);
17829 wxPyEndAllowThreads(__tstate
);
17830 if (PyErr_Occurred()) SWIG_fail
;
17832 Py_INCREF(Py_None
); resultobj
= Py_None
;
17839 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17840 PyObject
*resultobj
;
17841 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17842 wxWindow
*arg2
= (wxWindow
*) 0 ;
17843 PyObject
* obj0
= 0 ;
17844 PyObject
* obj1
= 0 ;
17845 char *kwnames
[] = {
17846 (char *) "self",(char *) "child", NULL
17849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17856 (arg1
)->base_RemoveChild(arg2
);
17858 wxPyEndAllowThreads(__tstate
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17861 Py_INCREF(Py_None
); resultobj
= Py_None
;
17868 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17869 PyObject
*resultobj
;
17870 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17872 PyObject
* obj0
= 0 ;
17873 char *kwnames
[] = {
17874 (char *) "self", NULL
17877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17882 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
17884 wxPyEndAllowThreads(__tstate
);
17885 if (PyErr_Occurred()) SWIG_fail
;
17888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17896 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17897 PyObject
*resultobj
;
17898 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17899 wxColour
*arg2
= 0 ;
17901 PyObject
* obj0
= 0 ;
17902 PyObject
* obj1
= 0 ;
17903 char *kwnames
[] = {
17904 (char *) "self",(char *) "c", NULL
17907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17912 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17916 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17918 wxPyEndAllowThreads(__tstate
);
17919 if (PyErr_Occurred()) SWIG_fail
;
17921 Py_INCREF(Py_None
); resultobj
= Py_None
;
17928 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17929 PyObject
*resultobj
;
17930 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17931 wxVisualAttributes result
;
17932 PyObject
* obj0
= 0 ;
17933 char *kwnames
[] = {
17934 (char *) "self", NULL
17937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17942 result
= (arg1
)->base_GetDefaultAttributes();
17944 wxPyEndAllowThreads(__tstate
);
17945 if (PyErr_Occurred()) SWIG_fail
;
17948 wxVisualAttributes
* resultptr
;
17949 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17950 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17958 static PyObject
* PyScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
17960 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17961 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
17963 return Py_BuildValue((char *)"");
17965 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
17966 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
17971 static PyObject
*_wrap_PrintoutTitleStr_get() {
17976 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17978 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17985 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
17986 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
17991 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
17996 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17998 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18005 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*self
, PyObject
*args
) {
18006 PyObject
*resultobj
;
18007 wxPrintData
*result
;
18009 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
18011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18012 result
= (wxPrintData
*)new wxPrintData();
18014 wxPyEndAllowThreads(__tstate
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18024 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*self
, PyObject
*args
) {
18025 PyObject
*resultobj
;
18026 wxPrintData
*arg1
= 0 ;
18027 wxPrintData
*result
;
18028 PyObject
* obj0
= 0 ;
18030 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
18031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18032 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18034 if (arg1
== NULL
) {
18035 PyErr_SetString(PyExc_TypeError
,"null reference");
18039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18040 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
18042 wxPyEndAllowThreads(__tstate
);
18043 if (PyErr_Occurred()) SWIG_fail
;
18045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18052 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
18057 argc
= PyObject_Length(args
);
18058 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
18059 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18062 return _wrap_new_PrintData__SWIG_0(self
,args
);
18068 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
18076 return _wrap_new_PrintData__SWIG_1(self
,args
);
18080 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintData'");
18085 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18086 PyObject
*resultobj
;
18087 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18088 PyObject
* obj0
= 0 ;
18089 char *kwnames
[] = {
18090 (char *) "self", NULL
18093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
18094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18100 wxPyEndAllowThreads(__tstate
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18103 Py_INCREF(Py_None
); resultobj
= Py_None
;
18110 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18111 PyObject
*resultobj
;
18112 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18114 PyObject
* obj0
= 0 ;
18115 char *kwnames
[] = {
18116 (char *) "self", NULL
18119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18124 result
= (int)(arg1
)->GetNoCopies();
18126 wxPyEndAllowThreads(__tstate
);
18127 if (PyErr_Occurred()) SWIG_fail
;
18129 resultobj
= SWIG_FromInt((int)result
);
18136 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18137 PyObject
*resultobj
;
18138 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18140 PyObject
* obj0
= 0 ;
18141 char *kwnames
[] = {
18142 (char *) "self", NULL
18145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
18146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18150 result
= (bool)(arg1
)->GetCollate();
18152 wxPyEndAllowThreads(__tstate
);
18153 if (PyErr_Occurred()) SWIG_fail
;
18156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18164 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18165 PyObject
*resultobj
;
18166 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18168 PyObject
* obj0
= 0 ;
18169 char *kwnames
[] = {
18170 (char *) "self", NULL
18173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
18174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18178 result
= (int)(arg1
)->GetOrientation();
18180 wxPyEndAllowThreads(__tstate
);
18181 if (PyErr_Occurred()) SWIG_fail
;
18183 resultobj
= SWIG_FromInt((int)result
);
18190 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18191 PyObject
*resultobj
;
18192 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18194 PyObject
* obj0
= 0 ;
18195 char *kwnames
[] = {
18196 (char *) "self", NULL
18199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
18200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18204 result
= (bool)(arg1
)->Ok();
18206 wxPyEndAllowThreads(__tstate
);
18207 if (PyErr_Occurred()) SWIG_fail
;
18210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18218 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18219 PyObject
*resultobj
;
18220 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18222 PyObject
* obj0
= 0 ;
18223 char *kwnames
[] = {
18224 (char *) "self", NULL
18227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
18228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18233 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
18234 result
= (wxString
*) &_result_ref
;
18237 wxPyEndAllowThreads(__tstate
);
18238 if (PyErr_Occurred()) SWIG_fail
;
18242 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18244 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18253 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18254 PyObject
*resultobj
;
18255 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18257 PyObject
* obj0
= 0 ;
18258 char *kwnames
[] = {
18259 (char *) "self", NULL
18262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
18263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18267 result
= (bool)(arg1
)->GetColour();
18269 wxPyEndAllowThreads(__tstate
);
18270 if (PyErr_Occurred()) SWIG_fail
;
18273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18281 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18282 PyObject
*resultobj
;
18283 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18285 PyObject
* obj0
= 0 ;
18286 char *kwnames
[] = {
18287 (char *) "self", NULL
18290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
18291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18295 result
= (int)(arg1
)->GetDuplex();
18297 wxPyEndAllowThreads(__tstate
);
18298 if (PyErr_Occurred()) SWIG_fail
;
18300 resultobj
= SWIG_FromInt((int)result
);
18307 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18308 PyObject
*resultobj
;
18309 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18311 PyObject
* obj0
= 0 ;
18312 char *kwnames
[] = {
18313 (char *) "self", NULL
18316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18321 result
= (int)(arg1
)->GetPaperId();
18323 wxPyEndAllowThreads(__tstate
);
18324 if (PyErr_Occurred()) SWIG_fail
;
18326 resultobj
= SWIG_FromInt((int)result
);
18333 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18334 PyObject
*resultobj
;
18335 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18337 PyObject
* obj0
= 0 ;
18338 char *kwnames
[] = {
18339 (char *) "self", NULL
18342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18348 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
18349 result
= (wxSize
*) &_result_ref
;
18352 wxPyEndAllowThreads(__tstate
);
18353 if (PyErr_Occurred()) SWIG_fail
;
18355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18362 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18363 PyObject
*resultobj
;
18364 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18366 PyObject
* obj0
= 0 ;
18367 char *kwnames
[] = {
18368 (char *) "self", NULL
18371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
18372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18376 result
= (int)(arg1
)->GetQuality();
18378 wxPyEndAllowThreads(__tstate
);
18379 if (PyErr_Occurred()) SWIG_fail
;
18381 resultobj
= SWIG_FromInt((int)result
);
18388 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18389 PyObject
*resultobj
;
18390 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18392 PyObject
* obj0
= 0 ;
18393 PyObject
* obj1
= 0 ;
18394 char *kwnames
[] = {
18395 (char *) "self",(char *) "v", NULL
18398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18401 arg2
= (int) SWIG_AsInt(obj1
);
18402 if (PyErr_Occurred()) SWIG_fail
;
18404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18405 (arg1
)->SetNoCopies(arg2
);
18407 wxPyEndAllowThreads(__tstate
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18410 Py_INCREF(Py_None
); resultobj
= Py_None
;
18417 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18418 PyObject
*resultobj
;
18419 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18421 PyObject
* obj0
= 0 ;
18422 PyObject
* obj1
= 0 ;
18423 char *kwnames
[] = {
18424 (char *) "self",(char *) "flag", NULL
18427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18430 arg2
= (bool) SWIG_AsBool(obj1
);
18431 if (PyErr_Occurred()) SWIG_fail
;
18433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18434 (arg1
)->SetCollate(arg2
);
18436 wxPyEndAllowThreads(__tstate
);
18437 if (PyErr_Occurred()) SWIG_fail
;
18439 Py_INCREF(Py_None
); resultobj
= Py_None
;
18446 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18447 PyObject
*resultobj
;
18448 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18450 PyObject
* obj0
= 0 ;
18451 PyObject
* obj1
= 0 ;
18452 char *kwnames
[] = {
18453 (char *) "self",(char *) "orient", NULL
18456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18459 arg2
= (int) SWIG_AsInt(obj1
);
18460 if (PyErr_Occurred()) SWIG_fail
;
18462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18463 (arg1
)->SetOrientation(arg2
);
18465 wxPyEndAllowThreads(__tstate
);
18466 if (PyErr_Occurred()) SWIG_fail
;
18468 Py_INCREF(Py_None
); resultobj
= Py_None
;
18475 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18476 PyObject
*resultobj
;
18477 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18478 wxString
*arg2
= 0 ;
18479 bool temp2
= False
;
18480 PyObject
* obj0
= 0 ;
18481 PyObject
* obj1
= 0 ;
18482 char *kwnames
[] = {
18483 (char *) "self",(char *) "name", NULL
18486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18490 arg2
= wxString_in_helper(obj1
);
18491 if (arg2
== NULL
) SWIG_fail
;
18495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18496 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18498 wxPyEndAllowThreads(__tstate
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18501 Py_INCREF(Py_None
); resultobj
= Py_None
;
18516 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18517 PyObject
*resultobj
;
18518 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18520 PyObject
* obj0
= 0 ;
18521 PyObject
* obj1
= 0 ;
18522 char *kwnames
[] = {
18523 (char *) "self",(char *) "colour", NULL
18526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18529 arg2
= (bool) SWIG_AsBool(obj1
);
18530 if (PyErr_Occurred()) SWIG_fail
;
18532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18533 (arg1
)->SetColour(arg2
);
18535 wxPyEndAllowThreads(__tstate
);
18536 if (PyErr_Occurred()) SWIG_fail
;
18538 Py_INCREF(Py_None
); resultobj
= Py_None
;
18545 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18546 PyObject
*resultobj
;
18547 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18549 PyObject
* obj0
= 0 ;
18550 PyObject
* obj1
= 0 ;
18551 char *kwnames
[] = {
18552 (char *) "self",(char *) "duplex", NULL
18555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18558 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
18559 if (PyErr_Occurred()) SWIG_fail
;
18561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18562 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
18564 wxPyEndAllowThreads(__tstate
);
18565 if (PyErr_Occurred()) SWIG_fail
;
18567 Py_INCREF(Py_None
); resultobj
= Py_None
;
18574 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18575 PyObject
*resultobj
;
18576 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18578 PyObject
* obj0
= 0 ;
18579 PyObject
* obj1
= 0 ;
18580 char *kwnames
[] = {
18581 (char *) "self",(char *) "sizeId", NULL
18584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18587 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
18588 if (PyErr_Occurred()) SWIG_fail
;
18590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18591 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18593 wxPyEndAllowThreads(__tstate
);
18594 if (PyErr_Occurred()) SWIG_fail
;
18596 Py_INCREF(Py_None
); resultobj
= Py_None
;
18603 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18604 PyObject
*resultobj
;
18605 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18608 PyObject
* obj0
= 0 ;
18609 PyObject
* obj1
= 0 ;
18610 char *kwnames
[] = {
18611 (char *) "self",(char *) "sz", NULL
18614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18619 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18623 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18625 wxPyEndAllowThreads(__tstate
);
18626 if (PyErr_Occurred()) SWIG_fail
;
18628 Py_INCREF(Py_None
); resultobj
= Py_None
;
18635 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18636 PyObject
*resultobj
;
18637 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18639 PyObject
* obj0
= 0 ;
18640 PyObject
* obj1
= 0 ;
18641 char *kwnames
[] = {
18642 (char *) "self",(char *) "quality", NULL
18645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18648 arg2
= (int) SWIG_AsInt(obj1
);
18649 if (PyErr_Occurred()) SWIG_fail
;
18651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18652 (arg1
)->SetQuality(arg2
);
18654 wxPyEndAllowThreads(__tstate
);
18655 if (PyErr_Occurred()) SWIG_fail
;
18657 Py_INCREF(Py_None
); resultobj
= Py_None
;
18664 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18665 PyObject
*resultobj
;
18666 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18668 PyObject
* obj0
= 0 ;
18669 char *kwnames
[] = {
18670 (char *) "self", NULL
18673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18679 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18680 result
= (wxString
*) &_result_ref
;
18683 wxPyEndAllowThreads(__tstate
);
18684 if (PyErr_Occurred()) SWIG_fail
;
18688 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18690 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18699 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18700 PyObject
*resultobj
;
18701 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18703 PyObject
* obj0
= 0 ;
18704 char *kwnames
[] = {
18705 (char *) "self", NULL
18708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
18709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18714 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
18715 result
= (wxString
*) &_result_ref
;
18718 wxPyEndAllowThreads(__tstate
);
18719 if (PyErr_Occurred()) SWIG_fail
;
18723 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18725 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18734 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18735 PyObject
*resultobj
;
18736 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18738 PyObject
* obj0
= 0 ;
18739 char *kwnames
[] = {
18740 (char *) "self", NULL
18743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
18744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18749 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
18750 result
= (wxString
*) &_result_ref
;
18753 wxPyEndAllowThreads(__tstate
);
18754 if (PyErr_Occurred()) SWIG_fail
;
18758 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18760 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18769 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18770 PyObject
*resultobj
;
18771 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18773 PyObject
* obj0
= 0 ;
18774 char *kwnames
[] = {
18775 (char *) "self", NULL
18778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
18779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18784 wxString
const &_result_ref
= (arg1
)->GetFilename();
18785 result
= (wxString
*) &_result_ref
;
18788 wxPyEndAllowThreads(__tstate
);
18789 if (PyErr_Occurred()) SWIG_fail
;
18793 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18795 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18804 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18805 PyObject
*resultobj
;
18806 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18808 PyObject
* obj0
= 0 ;
18809 char *kwnames
[] = {
18810 (char *) "self", NULL
18813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
18814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18819 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
18820 result
= (wxString
*) &_result_ref
;
18823 wxPyEndAllowThreads(__tstate
);
18824 if (PyErr_Occurred()) SWIG_fail
;
18828 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18830 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18839 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18840 PyObject
*resultobj
;
18841 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18843 PyObject
* obj0
= 0 ;
18844 char *kwnames
[] = {
18845 (char *) "self", NULL
18848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
18849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18853 result
= (double)(arg1
)->GetPrinterScaleX();
18855 wxPyEndAllowThreads(__tstate
);
18856 if (PyErr_Occurred()) SWIG_fail
;
18858 resultobj
= SWIG_FromDouble((double)result
);
18865 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18866 PyObject
*resultobj
;
18867 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18869 PyObject
* obj0
= 0 ;
18870 char *kwnames
[] = {
18871 (char *) "self", NULL
18874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
18875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18879 result
= (double)(arg1
)->GetPrinterScaleY();
18881 wxPyEndAllowThreads(__tstate
);
18882 if (PyErr_Occurred()) SWIG_fail
;
18884 resultobj
= SWIG_FromDouble((double)result
);
18891 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18892 PyObject
*resultobj
;
18893 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18895 PyObject
* obj0
= 0 ;
18896 char *kwnames
[] = {
18897 (char *) "self", NULL
18900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
18901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18905 result
= (long)(arg1
)->GetPrinterTranslateX();
18907 wxPyEndAllowThreads(__tstate
);
18908 if (PyErr_Occurred()) SWIG_fail
;
18910 resultobj
= SWIG_FromLong((long)result
);
18917 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18918 PyObject
*resultobj
;
18919 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18921 PyObject
* obj0
= 0 ;
18922 char *kwnames
[] = {
18923 (char *) "self", NULL
18926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
18927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18931 result
= (long)(arg1
)->GetPrinterTranslateY();
18933 wxPyEndAllowThreads(__tstate
);
18934 if (PyErr_Occurred()) SWIG_fail
;
18936 resultobj
= SWIG_FromLong((long)result
);
18943 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18944 PyObject
*resultobj
;
18945 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18947 PyObject
* obj0
= 0 ;
18948 char *kwnames
[] = {
18949 (char *) "self", NULL
18952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18957 result
= (int)(arg1
)->GetPrintMode();
18959 wxPyEndAllowThreads(__tstate
);
18960 if (PyErr_Occurred()) SWIG_fail
;
18962 resultobj
= SWIG_FromInt((int)result
);
18969 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18970 PyObject
*resultobj
;
18971 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18972 wxString
*arg2
= 0 ;
18973 bool temp2
= False
;
18974 PyObject
* obj0
= 0 ;
18975 PyObject
* obj1
= 0 ;
18976 char *kwnames
[] = {
18977 (char *) "self",(char *) "command", NULL
18980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18984 arg2
= wxString_in_helper(obj1
);
18985 if (arg2
== NULL
) SWIG_fail
;
18989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18990 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
18992 wxPyEndAllowThreads(__tstate
);
18993 if (PyErr_Occurred()) SWIG_fail
;
18995 Py_INCREF(Py_None
); resultobj
= Py_None
;
19010 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19011 PyObject
*resultobj
;
19012 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19013 wxString
*arg2
= 0 ;
19014 bool temp2
= False
;
19015 PyObject
* obj0
= 0 ;
19016 PyObject
* obj1
= 0 ;
19017 char *kwnames
[] = {
19018 (char *) "self",(char *) "options", NULL
19021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
19022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19025 arg2
= wxString_in_helper(obj1
);
19026 if (arg2
== NULL
) SWIG_fail
;
19030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19031 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
19033 wxPyEndAllowThreads(__tstate
);
19034 if (PyErr_Occurred()) SWIG_fail
;
19036 Py_INCREF(Py_None
); resultobj
= Py_None
;
19051 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19052 PyObject
*resultobj
;
19053 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19054 wxString
*arg2
= 0 ;
19055 bool temp2
= False
;
19056 PyObject
* obj0
= 0 ;
19057 PyObject
* obj1
= 0 ;
19058 char *kwnames
[] = {
19059 (char *) "self",(char *) "command", NULL
19062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19066 arg2
= wxString_in_helper(obj1
);
19067 if (arg2
== NULL
) SWIG_fail
;
19071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19072 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
19074 wxPyEndAllowThreads(__tstate
);
19075 if (PyErr_Occurred()) SWIG_fail
;
19077 Py_INCREF(Py_None
); resultobj
= Py_None
;
19092 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19093 PyObject
*resultobj
;
19094 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19095 wxString
*arg2
= 0 ;
19096 bool temp2
= False
;
19097 PyObject
* obj0
= 0 ;
19098 PyObject
* obj1
= 0 ;
19099 char *kwnames
[] = {
19100 (char *) "self",(char *) "filename", NULL
19103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
19104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19107 arg2
= wxString_in_helper(obj1
);
19108 if (arg2
== NULL
) SWIG_fail
;
19112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19113 (arg1
)->SetFilename((wxString
const &)*arg2
);
19115 wxPyEndAllowThreads(__tstate
);
19116 if (PyErr_Occurred()) SWIG_fail
;
19118 Py_INCREF(Py_None
); resultobj
= Py_None
;
19133 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19134 PyObject
*resultobj
;
19135 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19136 wxString
*arg2
= 0 ;
19137 bool temp2
= False
;
19138 PyObject
* obj0
= 0 ;
19139 PyObject
* obj1
= 0 ;
19140 char *kwnames
[] = {
19141 (char *) "self",(char *) "path", NULL
19144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
19145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19148 arg2
= wxString_in_helper(obj1
);
19149 if (arg2
== NULL
) SWIG_fail
;
19153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19154 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
19156 wxPyEndAllowThreads(__tstate
);
19157 if (PyErr_Occurred()) SWIG_fail
;
19159 Py_INCREF(Py_None
); resultobj
= Py_None
;
19174 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19175 PyObject
*resultobj
;
19176 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19178 PyObject
* obj0
= 0 ;
19179 PyObject
* obj1
= 0 ;
19180 char *kwnames
[] = {
19181 (char *) "self",(char *) "x", NULL
19184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
19185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19187 arg2
= (double) SWIG_AsDouble(obj1
);
19188 if (PyErr_Occurred()) SWIG_fail
;
19190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19191 (arg1
)->SetPrinterScaleX(arg2
);
19193 wxPyEndAllowThreads(__tstate
);
19194 if (PyErr_Occurred()) SWIG_fail
;
19196 Py_INCREF(Py_None
); resultobj
= Py_None
;
19203 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19204 PyObject
*resultobj
;
19205 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19207 PyObject
* obj0
= 0 ;
19208 PyObject
* obj1
= 0 ;
19209 char *kwnames
[] = {
19210 (char *) "self",(char *) "y", NULL
19213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
19214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19216 arg2
= (double) SWIG_AsDouble(obj1
);
19217 if (PyErr_Occurred()) SWIG_fail
;
19219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19220 (arg1
)->SetPrinterScaleY(arg2
);
19222 wxPyEndAllowThreads(__tstate
);
19223 if (PyErr_Occurred()) SWIG_fail
;
19225 Py_INCREF(Py_None
); resultobj
= Py_None
;
19232 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19233 PyObject
*resultobj
;
19234 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19237 PyObject
* obj0
= 0 ;
19238 PyObject
* obj1
= 0 ;
19239 PyObject
* obj2
= 0 ;
19240 char *kwnames
[] = {
19241 (char *) "self",(char *) "x",(char *) "y", NULL
19244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19247 arg2
= (double) SWIG_AsDouble(obj1
);
19248 if (PyErr_Occurred()) SWIG_fail
;
19249 arg3
= (double) SWIG_AsDouble(obj2
);
19250 if (PyErr_Occurred()) SWIG_fail
;
19252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19253 (arg1
)->SetPrinterScaling(arg2
,arg3
);
19255 wxPyEndAllowThreads(__tstate
);
19256 if (PyErr_Occurred()) SWIG_fail
;
19258 Py_INCREF(Py_None
); resultobj
= Py_None
;
19265 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19266 PyObject
*resultobj
;
19267 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19269 PyObject
* obj0
= 0 ;
19270 PyObject
* obj1
= 0 ;
19271 char *kwnames
[] = {
19272 (char *) "self",(char *) "x", NULL
19275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
19276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19278 arg2
= (long) SWIG_AsLong(obj1
);
19279 if (PyErr_Occurred()) SWIG_fail
;
19281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19282 (arg1
)->SetPrinterTranslateX(arg2
);
19284 wxPyEndAllowThreads(__tstate
);
19285 if (PyErr_Occurred()) SWIG_fail
;
19287 Py_INCREF(Py_None
); resultobj
= Py_None
;
19294 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19295 PyObject
*resultobj
;
19296 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19298 PyObject
* obj0
= 0 ;
19299 PyObject
* obj1
= 0 ;
19300 char *kwnames
[] = {
19301 (char *) "self",(char *) "y", NULL
19304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
19305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19307 arg2
= (long) SWIG_AsLong(obj1
);
19308 if (PyErr_Occurred()) SWIG_fail
;
19310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19311 (arg1
)->SetPrinterTranslateY(arg2
);
19313 wxPyEndAllowThreads(__tstate
);
19314 if (PyErr_Occurred()) SWIG_fail
;
19316 Py_INCREF(Py_None
); resultobj
= Py_None
;
19323 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19324 PyObject
*resultobj
;
19325 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19328 PyObject
* obj0
= 0 ;
19329 PyObject
* obj1
= 0 ;
19330 PyObject
* obj2
= 0 ;
19331 char *kwnames
[] = {
19332 (char *) "self",(char *) "x",(char *) "y", NULL
19335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19338 arg2
= (long) SWIG_AsLong(obj1
);
19339 if (PyErr_Occurred()) SWIG_fail
;
19340 arg3
= (long) SWIG_AsLong(obj2
);
19341 if (PyErr_Occurred()) SWIG_fail
;
19343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19344 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
19346 wxPyEndAllowThreads(__tstate
);
19347 if (PyErr_Occurred()) SWIG_fail
;
19349 Py_INCREF(Py_None
); resultobj
= Py_None
;
19356 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19357 PyObject
*resultobj
;
19358 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19360 PyObject
* obj0
= 0 ;
19361 PyObject
* obj1
= 0 ;
19362 char *kwnames
[] = {
19363 (char *) "self",(char *) "printMode", NULL
19366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19369 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
19370 if (PyErr_Occurred()) SWIG_fail
;
19372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19373 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
19375 wxPyEndAllowThreads(__tstate
);
19376 if (PyErr_Occurred()) SWIG_fail
;
19378 Py_INCREF(Py_None
); resultobj
= Py_None
;
19385 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19386 PyObject
*resultobj
;
19387 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19388 wxOutputStream
*result
;
19389 PyObject
* obj0
= 0 ;
19390 char *kwnames
[] = {
19391 (char *) "self", NULL
19394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
19395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19399 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
19401 wxPyEndAllowThreads(__tstate
);
19402 if (PyErr_Occurred()) SWIG_fail
;
19404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
19411 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19412 PyObject
*resultobj
;
19413 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19414 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
19415 PyObject
* obj0
= 0 ;
19416 PyObject
* obj1
= 0 ;
19417 char *kwnames
[] = {
19418 (char *) "self",(char *) "outputstream", NULL
19421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
19422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
19425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19428 (arg1
)->SetOutputStream(arg2
);
19430 wxPyEndAllowThreads(__tstate
);
19431 if (PyErr_Occurred()) SWIG_fail
;
19433 Py_INCREF(Py_None
); resultobj
= Py_None
;
19440 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
19442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19443 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19445 return Py_BuildValue((char *)"");
19447 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
19448 PyObject
*resultobj
;
19449 wxPageSetupDialogData
*result
;
19451 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
19453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19454 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19456 wxPyEndAllowThreads(__tstate
);
19457 if (PyErr_Occurred()) SWIG_fail
;
19459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19466 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
19467 PyObject
*resultobj
;
19468 wxPageSetupDialogData
*arg1
= 0 ;
19469 wxPageSetupDialogData
*result
;
19470 PyObject
* obj0
= 0 ;
19472 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
19473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19474 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19476 if (arg1
== NULL
) {
19477 PyErr_SetString(PyExc_TypeError
,"null reference");
19481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19482 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
19484 wxPyEndAllowThreads(__tstate
);
19485 if (PyErr_Occurred()) SWIG_fail
;
19487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19494 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
19499 argc
= PyObject_Length(args
);
19500 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19501 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19504 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
19510 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
19518 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
19522 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PageSetupDialogData'");
19527 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19528 PyObject
*resultobj
;
19529 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19530 PyObject
* obj0
= 0 ;
19531 char *kwnames
[] = {
19532 (char *) "self", NULL
19535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
19536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19542 wxPyEndAllowThreads(__tstate
);
19543 if (PyErr_Occurred()) SWIG_fail
;
19545 Py_INCREF(Py_None
); resultobj
= Py_None
;
19552 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19553 PyObject
*resultobj
;
19554 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19556 PyObject
* obj0
= 0 ;
19557 PyObject
* obj1
= 0 ;
19558 char *kwnames
[] = {
19559 (char *) "self",(char *) "flag", NULL
19562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19565 arg2
= (bool) SWIG_AsBool(obj1
);
19566 if (PyErr_Occurred()) SWIG_fail
;
19568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19569 (arg1
)->EnableHelp(arg2
);
19571 wxPyEndAllowThreads(__tstate
);
19572 if (PyErr_Occurred()) SWIG_fail
;
19574 Py_INCREF(Py_None
); resultobj
= Py_None
;
19581 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19582 PyObject
*resultobj
;
19583 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19585 PyObject
* obj0
= 0 ;
19586 PyObject
* obj1
= 0 ;
19587 char *kwnames
[] = {
19588 (char *) "self",(char *) "flag", NULL
19591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19594 arg2
= (bool) SWIG_AsBool(obj1
);
19595 if (PyErr_Occurred()) SWIG_fail
;
19597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19598 (arg1
)->EnableMargins(arg2
);
19600 wxPyEndAllowThreads(__tstate
);
19601 if (PyErr_Occurred()) SWIG_fail
;
19603 Py_INCREF(Py_None
); resultobj
= Py_None
;
19610 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19611 PyObject
*resultobj
;
19612 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19614 PyObject
* obj0
= 0 ;
19615 PyObject
* obj1
= 0 ;
19616 char *kwnames
[] = {
19617 (char *) "self",(char *) "flag", NULL
19620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
19621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19623 arg2
= (bool) SWIG_AsBool(obj1
);
19624 if (PyErr_Occurred()) SWIG_fail
;
19626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19627 (arg1
)->EnableOrientation(arg2
);
19629 wxPyEndAllowThreads(__tstate
);
19630 if (PyErr_Occurred()) SWIG_fail
;
19632 Py_INCREF(Py_None
); resultobj
= Py_None
;
19639 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19640 PyObject
*resultobj
;
19641 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19643 PyObject
* obj0
= 0 ;
19644 PyObject
* obj1
= 0 ;
19645 char *kwnames
[] = {
19646 (char *) "self",(char *) "flag", NULL
19649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
19650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19652 arg2
= (bool) SWIG_AsBool(obj1
);
19653 if (PyErr_Occurred()) SWIG_fail
;
19655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19656 (arg1
)->EnablePaper(arg2
);
19658 wxPyEndAllowThreads(__tstate
);
19659 if (PyErr_Occurred()) SWIG_fail
;
19661 Py_INCREF(Py_None
); resultobj
= Py_None
;
19668 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19669 PyObject
*resultobj
;
19670 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19672 PyObject
* obj0
= 0 ;
19673 PyObject
* obj1
= 0 ;
19674 char *kwnames
[] = {
19675 (char *) "self",(char *) "flag", NULL
19678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
19679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19681 arg2
= (bool) SWIG_AsBool(obj1
);
19682 if (PyErr_Occurred()) SWIG_fail
;
19684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19685 (arg1
)->EnablePrinter(arg2
);
19687 wxPyEndAllowThreads(__tstate
);
19688 if (PyErr_Occurred()) SWIG_fail
;
19690 Py_INCREF(Py_None
); resultobj
= Py_None
;
19697 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19698 PyObject
*resultobj
;
19699 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19701 PyObject
* obj0
= 0 ;
19702 char *kwnames
[] = {
19703 (char *) "self", NULL
19706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
19707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19711 result
= (bool)(arg1
)->GetDefaultMinMargins();
19713 wxPyEndAllowThreads(__tstate
);
19714 if (PyErr_Occurred()) SWIG_fail
;
19717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19725 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19726 PyObject
*resultobj
;
19727 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19729 PyObject
* obj0
= 0 ;
19730 char *kwnames
[] = {
19731 (char *) "self", NULL
19734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
19735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19739 result
= (bool)(arg1
)->GetEnableMargins();
19741 wxPyEndAllowThreads(__tstate
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19753 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19754 PyObject
*resultobj
;
19755 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19757 PyObject
* obj0
= 0 ;
19758 char *kwnames
[] = {
19759 (char *) "self", NULL
19762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
19763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19767 result
= (bool)(arg1
)->GetEnableOrientation();
19769 wxPyEndAllowThreads(__tstate
);
19770 if (PyErr_Occurred()) SWIG_fail
;
19773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19781 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19782 PyObject
*resultobj
;
19783 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19785 PyObject
* obj0
= 0 ;
19786 char *kwnames
[] = {
19787 (char *) "self", NULL
19790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
19791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19795 result
= (bool)(arg1
)->GetEnablePaper();
19797 wxPyEndAllowThreads(__tstate
);
19798 if (PyErr_Occurred()) SWIG_fail
;
19801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19809 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19810 PyObject
*resultobj
;
19811 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19813 PyObject
* obj0
= 0 ;
19814 char *kwnames
[] = {
19815 (char *) "self", NULL
19818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
19819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19823 result
= (bool)(arg1
)->GetEnablePrinter();
19825 wxPyEndAllowThreads(__tstate
);
19826 if (PyErr_Occurred()) SWIG_fail
;
19829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19837 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19838 PyObject
*resultobj
;
19839 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19841 PyObject
* obj0
= 0 ;
19842 char *kwnames
[] = {
19843 (char *) "self", NULL
19846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19851 result
= (bool)(arg1
)->GetEnableHelp();
19853 wxPyEndAllowThreads(__tstate
);
19854 if (PyErr_Occurred()) SWIG_fail
;
19857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19865 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19866 PyObject
*resultobj
;
19867 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19869 PyObject
* obj0
= 0 ;
19870 char *kwnames
[] = {
19871 (char *) "self", NULL
19874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
19875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19879 result
= (bool)(arg1
)->GetDefaultInfo();
19881 wxPyEndAllowThreads(__tstate
);
19882 if (PyErr_Occurred()) SWIG_fail
;
19885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19893 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19894 PyObject
*resultobj
;
19895 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19897 PyObject
* obj0
= 0 ;
19898 char *kwnames
[] = {
19899 (char *) "self", NULL
19902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19907 result
= (arg1
)->GetMarginTopLeft();
19909 wxPyEndAllowThreads(__tstate
);
19910 if (PyErr_Occurred()) SWIG_fail
;
19913 wxPoint
* resultptr
;
19914 resultptr
= new wxPoint((wxPoint
&) result
);
19915 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19923 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19924 PyObject
*resultobj
;
19925 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19927 PyObject
* obj0
= 0 ;
19928 char *kwnames
[] = {
19929 (char *) "self", NULL
19932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19937 result
= (arg1
)->GetMarginBottomRight();
19939 wxPyEndAllowThreads(__tstate
);
19940 if (PyErr_Occurred()) SWIG_fail
;
19943 wxPoint
* resultptr
;
19944 resultptr
= new wxPoint((wxPoint
&) result
);
19945 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19953 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19954 PyObject
*resultobj
;
19955 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19957 PyObject
* obj0
= 0 ;
19958 char *kwnames
[] = {
19959 (char *) "self", NULL
19962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19967 result
= (arg1
)->GetMinMarginTopLeft();
19969 wxPyEndAllowThreads(__tstate
);
19970 if (PyErr_Occurred()) SWIG_fail
;
19973 wxPoint
* resultptr
;
19974 resultptr
= new wxPoint((wxPoint
&) result
);
19975 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19983 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19984 PyObject
*resultobj
;
19985 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19987 PyObject
* obj0
= 0 ;
19988 char *kwnames
[] = {
19989 (char *) "self", NULL
19992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19997 result
= (arg1
)->GetMinMarginBottomRight();
19999 wxPyEndAllowThreads(__tstate
);
20000 if (PyErr_Occurred()) SWIG_fail
;
20003 wxPoint
* resultptr
;
20004 resultptr
= new wxPoint((wxPoint
&) result
);
20005 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20013 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20014 PyObject
*resultobj
;
20015 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20017 PyObject
* obj0
= 0 ;
20018 char *kwnames
[] = {
20019 (char *) "self", NULL
20022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20027 result
= (int)(arg1
)->GetPaperId();
20029 wxPyEndAllowThreads(__tstate
);
20030 if (PyErr_Occurred()) SWIG_fail
;
20032 resultobj
= SWIG_FromInt((int)result
);
20039 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20040 PyObject
*resultobj
;
20041 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20043 PyObject
* obj0
= 0 ;
20044 char *kwnames
[] = {
20045 (char *) "self", NULL
20048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20053 result
= (arg1
)->GetPaperSize();
20055 wxPyEndAllowThreads(__tstate
);
20056 if (PyErr_Occurred()) SWIG_fail
;
20059 wxSize
* resultptr
;
20060 resultptr
= new wxSize((wxSize
&) result
);
20061 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20069 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20070 PyObject
*resultobj
;
20071 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20072 wxPrintData
*result
;
20073 PyObject
* obj0
= 0 ;
20074 char *kwnames
[] = {
20075 (char *) "self", NULL
20078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20084 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20085 result
= (wxPrintData
*) &_result_ref
;
20088 wxPyEndAllowThreads(__tstate
);
20089 if (PyErr_Occurred()) SWIG_fail
;
20091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20098 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20099 PyObject
*resultobj
;
20100 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20102 PyObject
* obj0
= 0 ;
20103 char *kwnames
[] = {
20104 (char *) "self", NULL
20107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20112 result
= (bool)(arg1
)->Ok();
20114 wxPyEndAllowThreads(__tstate
);
20115 if (PyErr_Occurred()) SWIG_fail
;
20118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20126 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20127 PyObject
*resultobj
;
20128 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20130 PyObject
* obj0
= 0 ;
20131 PyObject
* obj1
= 0 ;
20132 char *kwnames
[] = {
20133 (char *) "self",(char *) "flag", NULL
20136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
20137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20139 arg2
= (bool) SWIG_AsBool(obj1
);
20140 if (PyErr_Occurred()) SWIG_fail
;
20142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20143 (arg1
)->SetDefaultInfo(arg2
);
20145 wxPyEndAllowThreads(__tstate
);
20146 if (PyErr_Occurred()) SWIG_fail
;
20148 Py_INCREF(Py_None
); resultobj
= Py_None
;
20155 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20156 PyObject
*resultobj
;
20157 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20159 PyObject
* obj0
= 0 ;
20160 PyObject
* obj1
= 0 ;
20161 char *kwnames
[] = {
20162 (char *) "self",(char *) "flag", NULL
20165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20168 arg2
= (bool) SWIG_AsBool(obj1
);
20169 if (PyErr_Occurred()) SWIG_fail
;
20171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20172 (arg1
)->SetDefaultMinMargins(arg2
);
20174 wxPyEndAllowThreads(__tstate
);
20175 if (PyErr_Occurred()) SWIG_fail
;
20177 Py_INCREF(Py_None
); resultobj
= Py_None
;
20184 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20185 PyObject
*resultobj
;
20186 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20187 wxPoint
*arg2
= 0 ;
20189 PyObject
* obj0
= 0 ;
20190 PyObject
* obj1
= 0 ;
20191 char *kwnames
[] = {
20192 (char *) "self",(char *) "pt", NULL
20195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20200 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20204 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
20206 wxPyEndAllowThreads(__tstate
);
20207 if (PyErr_Occurred()) SWIG_fail
;
20209 Py_INCREF(Py_None
); resultobj
= Py_None
;
20216 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20217 PyObject
*resultobj
;
20218 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20219 wxPoint
*arg2
= 0 ;
20221 PyObject
* obj0
= 0 ;
20222 PyObject
* obj1
= 0 ;
20223 char *kwnames
[] = {
20224 (char *) "self",(char *) "pt", NULL
20227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20232 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20236 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
20238 wxPyEndAllowThreads(__tstate
);
20239 if (PyErr_Occurred()) SWIG_fail
;
20241 Py_INCREF(Py_None
); resultobj
= Py_None
;
20248 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20249 PyObject
*resultobj
;
20250 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20251 wxPoint
*arg2
= 0 ;
20253 PyObject
* obj0
= 0 ;
20254 PyObject
* obj1
= 0 ;
20255 char *kwnames
[] = {
20256 (char *) "self",(char *) "pt", NULL
20259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20264 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20268 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
20270 wxPyEndAllowThreads(__tstate
);
20271 if (PyErr_Occurred()) SWIG_fail
;
20273 Py_INCREF(Py_None
); resultobj
= Py_None
;
20280 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20281 PyObject
*resultobj
;
20282 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20283 wxPoint
*arg2
= 0 ;
20285 PyObject
* obj0
= 0 ;
20286 PyObject
* obj1
= 0 ;
20287 char *kwnames
[] = {
20288 (char *) "self",(char *) "pt", NULL
20291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20296 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20300 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
20302 wxPyEndAllowThreads(__tstate
);
20303 if (PyErr_Occurred()) SWIG_fail
;
20305 Py_INCREF(Py_None
); resultobj
= Py_None
;
20312 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20313 PyObject
*resultobj
;
20314 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20316 PyObject
* obj0
= 0 ;
20317 PyObject
* obj1
= 0 ;
20318 char *kwnames
[] = {
20319 (char *) "self",(char *) "id", NULL
20322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20325 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
20326 if (PyErr_Occurred()) SWIG_fail
;
20328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20329 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20331 wxPyEndAllowThreads(__tstate
);
20332 if (PyErr_Occurred()) SWIG_fail
;
20334 Py_INCREF(Py_None
); resultobj
= Py_None
;
20341 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20342 PyObject
*resultobj
;
20343 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20346 PyObject
* obj0
= 0 ;
20347 PyObject
* obj1
= 0 ;
20348 char *kwnames
[] = {
20349 (char *) "self",(char *) "size", NULL
20352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20357 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20361 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20363 wxPyEndAllowThreads(__tstate
);
20364 if (PyErr_Occurred()) SWIG_fail
;
20366 Py_INCREF(Py_None
); resultobj
= Py_None
;
20373 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20374 PyObject
*resultobj
;
20375 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20376 wxPrintData
*arg2
= 0 ;
20377 PyObject
* obj0
= 0 ;
20378 PyObject
* obj1
= 0 ;
20379 char *kwnames
[] = {
20380 (char *) "self",(char *) "printData", NULL
20383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20387 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20389 if (arg2
== NULL
) {
20390 PyErr_SetString(PyExc_TypeError
,"null reference");
20394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20395 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20397 wxPyEndAllowThreads(__tstate
);
20398 if (PyErr_Occurred()) SWIG_fail
;
20400 Py_INCREF(Py_None
); resultobj
= Py_None
;
20407 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
20409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20410 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
20412 return Py_BuildValue((char *)"");
20414 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20415 PyObject
*resultobj
;
20416 wxWindow
*arg1
= (wxWindow
*) 0 ;
20417 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
20418 wxPageSetupDialog
*result
;
20419 PyObject
* obj0
= 0 ;
20420 PyObject
* obj1
= 0 ;
20421 char *kwnames
[] = {
20422 (char *) "parent",(char *) "data", NULL
20425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20429 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
20430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20433 if (!wxPyCheckForApp()) SWIG_fail
;
20434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20435 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
20437 wxPyEndAllowThreads(__tstate
);
20438 if (PyErr_Occurred()) SWIG_fail
;
20440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
20447 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20448 PyObject
*resultobj
;
20449 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20450 wxPageSetupDialogData
*result
;
20451 PyObject
* obj0
= 0 ;
20452 char *kwnames
[] = {
20453 (char *) "self", NULL
20456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20462 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20463 result
= (wxPageSetupDialogData
*) &_result_ref
;
20466 wxPyEndAllowThreads(__tstate
);
20467 if (PyErr_Occurred()) SWIG_fail
;
20469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20476 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20477 PyObject
*resultobj
;
20478 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20480 PyObject
* obj0
= 0 ;
20481 char *kwnames
[] = {
20482 (char *) "self", NULL
20485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20490 result
= (int)(arg1
)->ShowModal();
20492 wxPyEndAllowThreads(__tstate
);
20493 if (PyErr_Occurred()) SWIG_fail
;
20495 resultobj
= SWIG_FromInt((int)result
);
20502 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
20504 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20505 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
20507 return Py_BuildValue((char *)"");
20509 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
20510 PyObject
*resultobj
;
20511 wxPrintDialogData
*result
;
20513 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
20515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20516 result
= (wxPrintDialogData
*)new wxPrintDialogData();
20518 wxPyEndAllowThreads(__tstate
);
20519 if (PyErr_Occurred()) SWIG_fail
;
20521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20528 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
20529 PyObject
*resultobj
;
20530 wxPrintData
*arg1
= 0 ;
20531 wxPrintDialogData
*result
;
20532 PyObject
* obj0
= 0 ;
20534 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
20535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
20536 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20538 if (arg1
== NULL
) {
20539 PyErr_SetString(PyExc_TypeError
,"null reference");
20543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20544 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
20546 wxPyEndAllowThreads(__tstate
);
20547 if (PyErr_Occurred()) SWIG_fail
;
20549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20556 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
20561 argc
= PyObject_Length(args
);
20562 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20563 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20566 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
20572 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20580 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
20584 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
20589 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20590 PyObject
*resultobj
;
20591 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20592 PyObject
* obj0
= 0 ;
20593 char *kwnames
[] = {
20594 (char *) "self", NULL
20597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
20598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20604 wxPyEndAllowThreads(__tstate
);
20605 if (PyErr_Occurred()) SWIG_fail
;
20607 Py_INCREF(Py_None
); resultobj
= Py_None
;
20614 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20615 PyObject
*resultobj
;
20616 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20618 PyObject
* obj0
= 0 ;
20619 char *kwnames
[] = {
20620 (char *) "self", NULL
20623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
20624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20628 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
20630 wxPyEndAllowThreads(__tstate
);
20631 if (PyErr_Occurred()) SWIG_fail
;
20633 resultobj
= SWIG_FromInt((int)result
);
20640 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20641 PyObject
*resultobj
;
20642 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20644 PyObject
* obj0
= 0 ;
20645 char *kwnames
[] = {
20646 (char *) "self", NULL
20649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
20650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20654 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
20656 wxPyEndAllowThreads(__tstate
);
20657 if (PyErr_Occurred()) SWIG_fail
;
20659 resultobj
= SWIG_FromInt((int)result
);
20666 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20667 PyObject
*resultobj
;
20668 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20670 PyObject
* obj0
= 0 ;
20671 char *kwnames
[] = {
20672 (char *) "self", NULL
20675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
20676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20680 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
20682 wxPyEndAllowThreads(__tstate
);
20683 if (PyErr_Occurred()) SWIG_fail
;
20685 resultobj
= SWIG_FromInt((int)result
);
20692 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20693 PyObject
*resultobj
;
20694 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20696 PyObject
* obj0
= 0 ;
20697 char *kwnames
[] = {
20698 (char *) "self", NULL
20701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20706 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
20708 wxPyEndAllowThreads(__tstate
);
20709 if (PyErr_Occurred()) SWIG_fail
;
20711 resultobj
= SWIG_FromInt((int)result
);
20718 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20719 PyObject
*resultobj
;
20720 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20722 PyObject
* obj0
= 0 ;
20723 char *kwnames
[] = {
20724 (char *) "self", NULL
20727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20732 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
20734 wxPyEndAllowThreads(__tstate
);
20735 if (PyErr_Occurred()) SWIG_fail
;
20737 resultobj
= SWIG_FromInt((int)result
);
20744 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20745 PyObject
*resultobj
;
20746 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20748 PyObject
* obj0
= 0 ;
20749 char *kwnames
[] = {
20750 (char *) "self", NULL
20753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
20754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20758 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
20760 wxPyEndAllowThreads(__tstate
);
20761 if (PyErr_Occurred()) SWIG_fail
;
20764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20772 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20773 PyObject
*resultobj
;
20774 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20776 PyObject
* obj0
= 0 ;
20777 char *kwnames
[] = {
20778 (char *) "self", NULL
20781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
20782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20786 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
20788 wxPyEndAllowThreads(__tstate
);
20789 if (PyErr_Occurred()) SWIG_fail
;
20792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20800 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20801 PyObject
*resultobj
;
20802 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20804 PyObject
* obj0
= 0 ;
20805 char *kwnames
[] = {
20806 (char *) "self", NULL
20809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
20810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20814 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
20816 wxPyEndAllowThreads(__tstate
);
20817 if (PyErr_Occurred()) SWIG_fail
;
20820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20828 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20829 PyObject
*resultobj
;
20830 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20832 PyObject
* obj0
= 0 ;
20833 char *kwnames
[] = {
20834 (char *) "self", NULL
20837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
20838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20842 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
20844 wxPyEndAllowThreads(__tstate
);
20845 if (PyErr_Occurred()) SWIG_fail
;
20848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20856 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20857 PyObject
*resultobj
;
20858 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20860 PyObject
* obj0
= 0 ;
20861 char *kwnames
[] = {
20862 (char *) "self", NULL
20865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
20866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20870 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
20872 wxPyEndAllowThreads(__tstate
);
20873 if (PyErr_Occurred()) SWIG_fail
;
20876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20884 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20885 PyObject
*resultobj
;
20886 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20888 PyObject
* obj0
= 0 ;
20889 PyObject
* obj1
= 0 ;
20890 char *kwnames
[] = {
20891 (char *) "self",(char *) "v", NULL
20894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20897 arg2
= (int) SWIG_AsInt(obj1
);
20898 if (PyErr_Occurred()) SWIG_fail
;
20900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20901 (arg1
)->SetFromPage(arg2
);
20903 wxPyEndAllowThreads(__tstate
);
20904 if (PyErr_Occurred()) SWIG_fail
;
20906 Py_INCREF(Py_None
); resultobj
= Py_None
;
20913 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20914 PyObject
*resultobj
;
20915 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20917 PyObject
* obj0
= 0 ;
20918 PyObject
* obj1
= 0 ;
20919 char *kwnames
[] = {
20920 (char *) "self",(char *) "v", NULL
20923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20926 arg2
= (int) SWIG_AsInt(obj1
);
20927 if (PyErr_Occurred()) SWIG_fail
;
20929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20930 (arg1
)->SetToPage(arg2
);
20932 wxPyEndAllowThreads(__tstate
);
20933 if (PyErr_Occurred()) SWIG_fail
;
20935 Py_INCREF(Py_None
); resultobj
= Py_None
;
20942 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20943 PyObject
*resultobj
;
20944 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20946 PyObject
* obj0
= 0 ;
20947 PyObject
* obj1
= 0 ;
20948 char *kwnames
[] = {
20949 (char *) "self",(char *) "v", NULL
20952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20955 arg2
= (int) SWIG_AsInt(obj1
);
20956 if (PyErr_Occurred()) SWIG_fail
;
20958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20959 (arg1
)->SetMinPage(arg2
);
20961 wxPyEndAllowThreads(__tstate
);
20962 if (PyErr_Occurred()) SWIG_fail
;
20964 Py_INCREF(Py_None
); resultobj
= Py_None
;
20971 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20972 PyObject
*resultobj
;
20973 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20975 PyObject
* obj0
= 0 ;
20976 PyObject
* obj1
= 0 ;
20977 char *kwnames
[] = {
20978 (char *) "self",(char *) "v", NULL
20981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20984 arg2
= (int) SWIG_AsInt(obj1
);
20985 if (PyErr_Occurred()) SWIG_fail
;
20987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20988 (arg1
)->SetMaxPage(arg2
);
20990 wxPyEndAllowThreads(__tstate
);
20991 if (PyErr_Occurred()) SWIG_fail
;
20993 Py_INCREF(Py_None
); resultobj
= Py_None
;
21000 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21001 PyObject
*resultobj
;
21002 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21004 PyObject
* obj0
= 0 ;
21005 PyObject
* obj1
= 0 ;
21006 char *kwnames
[] = {
21007 (char *) "self",(char *) "v", NULL
21010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
21011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21013 arg2
= (int) SWIG_AsInt(obj1
);
21014 if (PyErr_Occurred()) SWIG_fail
;
21016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21017 (arg1
)->SetNoCopies(arg2
);
21019 wxPyEndAllowThreads(__tstate
);
21020 if (PyErr_Occurred()) SWIG_fail
;
21022 Py_INCREF(Py_None
); resultobj
= Py_None
;
21029 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21030 PyObject
*resultobj
;
21031 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21033 PyObject
* obj0
= 0 ;
21034 PyObject
* obj1
= 0 ;
21035 char *kwnames
[] = {
21036 (char *) "self",(char *) "flag", NULL
21039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
21040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21042 arg2
= (bool) SWIG_AsBool(obj1
);
21043 if (PyErr_Occurred()) SWIG_fail
;
21045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21046 (arg1
)->SetAllPages(arg2
);
21048 wxPyEndAllowThreads(__tstate
);
21049 if (PyErr_Occurred()) SWIG_fail
;
21051 Py_INCREF(Py_None
); resultobj
= Py_None
;
21058 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21059 PyObject
*resultobj
;
21060 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21062 PyObject
* obj0
= 0 ;
21063 PyObject
* obj1
= 0 ;
21064 char *kwnames
[] = {
21065 (char *) "self",(char *) "flag", NULL
21068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21071 arg2
= (bool) SWIG_AsBool(obj1
);
21072 if (PyErr_Occurred()) SWIG_fail
;
21074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21075 (arg1
)->SetSelection(arg2
);
21077 wxPyEndAllowThreads(__tstate
);
21078 if (PyErr_Occurred()) SWIG_fail
;
21080 Py_INCREF(Py_None
); resultobj
= Py_None
;
21087 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21088 PyObject
*resultobj
;
21089 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21091 PyObject
* obj0
= 0 ;
21092 PyObject
* obj1
= 0 ;
21093 char *kwnames
[] = {
21094 (char *) "self",(char *) "flag", NULL
21097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
21098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21100 arg2
= (bool) SWIG_AsBool(obj1
);
21101 if (PyErr_Occurred()) SWIG_fail
;
21103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21104 (arg1
)->SetCollate(arg2
);
21106 wxPyEndAllowThreads(__tstate
);
21107 if (PyErr_Occurred()) SWIG_fail
;
21109 Py_INCREF(Py_None
); resultobj
= Py_None
;
21116 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21117 PyObject
*resultobj
;
21118 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21120 PyObject
* obj0
= 0 ;
21121 PyObject
* obj1
= 0 ;
21122 char *kwnames
[] = {
21123 (char *) "self",(char *) "flag", NULL
21126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21129 arg2
= (bool) SWIG_AsBool(obj1
);
21130 if (PyErr_Occurred()) SWIG_fail
;
21132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21133 (arg1
)->SetPrintToFile(arg2
);
21135 wxPyEndAllowThreads(__tstate
);
21136 if (PyErr_Occurred()) SWIG_fail
;
21138 Py_INCREF(Py_None
); resultobj
= Py_None
;
21145 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21146 PyObject
*resultobj
;
21147 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21149 PyObject
* obj0
= 0 ;
21150 PyObject
* obj1
= 0 ;
21151 char *kwnames
[] = {
21152 (char *) "self",(char *) "flag", NULL
21155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21158 arg2
= (bool) SWIG_AsBool(obj1
);
21159 if (PyErr_Occurred()) SWIG_fail
;
21161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21162 (arg1
)->SetSetupDialog(arg2
);
21164 wxPyEndAllowThreads(__tstate
);
21165 if (PyErr_Occurred()) SWIG_fail
;
21167 Py_INCREF(Py_None
); resultobj
= Py_None
;
21174 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21175 PyObject
*resultobj
;
21176 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21178 PyObject
* obj0
= 0 ;
21179 PyObject
* obj1
= 0 ;
21180 char *kwnames
[] = {
21181 (char *) "self",(char *) "flag", NULL
21184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21187 arg2
= (bool) SWIG_AsBool(obj1
);
21188 if (PyErr_Occurred()) SWIG_fail
;
21190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21191 (arg1
)->EnablePrintToFile(arg2
);
21193 wxPyEndAllowThreads(__tstate
);
21194 if (PyErr_Occurred()) SWIG_fail
;
21196 Py_INCREF(Py_None
); resultobj
= Py_None
;
21203 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21204 PyObject
*resultobj
;
21205 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21207 PyObject
* obj0
= 0 ;
21208 PyObject
* obj1
= 0 ;
21209 char *kwnames
[] = {
21210 (char *) "self",(char *) "flag", NULL
21213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21216 arg2
= (bool) SWIG_AsBool(obj1
);
21217 if (PyErr_Occurred()) SWIG_fail
;
21219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21220 (arg1
)->EnableSelection(arg2
);
21222 wxPyEndAllowThreads(__tstate
);
21223 if (PyErr_Occurred()) SWIG_fail
;
21225 Py_INCREF(Py_None
); resultobj
= Py_None
;
21232 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21233 PyObject
*resultobj
;
21234 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21236 PyObject
* obj0
= 0 ;
21237 PyObject
* obj1
= 0 ;
21238 char *kwnames
[] = {
21239 (char *) "self",(char *) "flag", NULL
21242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
21243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21245 arg2
= (bool) SWIG_AsBool(obj1
);
21246 if (PyErr_Occurred()) SWIG_fail
;
21248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21249 (arg1
)->EnablePageNumbers(arg2
);
21251 wxPyEndAllowThreads(__tstate
);
21252 if (PyErr_Occurred()) SWIG_fail
;
21254 Py_INCREF(Py_None
); resultobj
= Py_None
;
21261 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21262 PyObject
*resultobj
;
21263 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21265 PyObject
* obj0
= 0 ;
21266 PyObject
* obj1
= 0 ;
21267 char *kwnames
[] = {
21268 (char *) "self",(char *) "flag", NULL
21271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21274 arg2
= (bool) SWIG_AsBool(obj1
);
21275 if (PyErr_Occurred()) SWIG_fail
;
21277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21278 (arg1
)->EnableHelp(arg2
);
21280 wxPyEndAllowThreads(__tstate
);
21281 if (PyErr_Occurred()) SWIG_fail
;
21283 Py_INCREF(Py_None
); resultobj
= Py_None
;
21290 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21291 PyObject
*resultobj
;
21292 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21294 PyObject
* obj0
= 0 ;
21295 char *kwnames
[] = {
21296 (char *) "self", NULL
21299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
21300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21304 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
21306 wxPyEndAllowThreads(__tstate
);
21307 if (PyErr_Occurred()) SWIG_fail
;
21310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21318 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21319 PyObject
*resultobj
;
21320 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21322 PyObject
* obj0
= 0 ;
21323 char *kwnames
[] = {
21324 (char *) "self", NULL
21327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
21328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21332 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
21334 wxPyEndAllowThreads(__tstate
);
21335 if (PyErr_Occurred()) SWIG_fail
;
21338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21346 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21347 PyObject
*resultobj
;
21348 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21350 PyObject
* obj0
= 0 ;
21351 char *kwnames
[] = {
21352 (char *) "self", NULL
21355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
21356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21360 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
21362 wxPyEndAllowThreads(__tstate
);
21363 if (PyErr_Occurred()) SWIG_fail
;
21366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21374 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21375 PyObject
*resultobj
;
21376 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21378 PyObject
* obj0
= 0 ;
21379 char *kwnames
[] = {
21380 (char *) "self", NULL
21383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21388 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
21390 wxPyEndAllowThreads(__tstate
);
21391 if (PyErr_Occurred()) SWIG_fail
;
21394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21402 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21403 PyObject
*resultobj
;
21404 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21406 PyObject
* obj0
= 0 ;
21407 char *kwnames
[] = {
21408 (char *) "self", NULL
21411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
21412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21416 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
21418 wxPyEndAllowThreads(__tstate
);
21419 if (PyErr_Occurred()) SWIG_fail
;
21422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21430 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21431 PyObject
*resultobj
;
21432 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21433 wxPrintData
*result
;
21434 PyObject
* obj0
= 0 ;
21435 char *kwnames
[] = {
21436 (char *) "self", NULL
21439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
21440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21445 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21446 result
= (wxPrintData
*) &_result_ref
;
21449 wxPyEndAllowThreads(__tstate
);
21450 if (PyErr_Occurred()) SWIG_fail
;
21452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21459 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21460 PyObject
*resultobj
;
21461 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21462 wxPrintData
*arg2
= 0 ;
21463 PyObject
* obj0
= 0 ;
21464 PyObject
* obj1
= 0 ;
21465 char *kwnames
[] = {
21466 (char *) "self",(char *) "printData", NULL
21469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
21470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
21473 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21475 if (arg2
== NULL
) {
21476 PyErr_SetString(PyExc_TypeError
,"null reference");
21480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21481 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21483 wxPyEndAllowThreads(__tstate
);
21484 if (PyErr_Occurred()) SWIG_fail
;
21486 Py_INCREF(Py_None
); resultobj
= Py_None
;
21493 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
21495 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21496 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
21498 return Py_BuildValue((char *)"");
21500 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21501 PyObject
*resultobj
;
21502 wxWindow
*arg1
= (wxWindow
*) 0 ;
21503 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
21504 wxPrintDialog
*result
;
21505 PyObject
* obj0
= 0 ;
21506 PyObject
* obj1
= 0 ;
21507 char *kwnames
[] = {
21508 (char *) "parent",(char *) "data", NULL
21511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21515 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
21516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21519 if (!wxPyCheckForApp()) SWIG_fail
;
21520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21521 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
21523 wxPyEndAllowThreads(__tstate
);
21524 if (PyErr_Occurred()) SWIG_fail
;
21526 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
21533 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21534 PyObject
*resultobj
;
21535 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21536 wxPrintDialogData
*result
;
21537 PyObject
* obj0
= 0 ;
21538 char *kwnames
[] = {
21539 (char *) "self", NULL
21542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21548 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21549 result
= (wxPrintDialogData
*) &_result_ref
;
21552 wxPyEndAllowThreads(__tstate
);
21553 if (PyErr_Occurred()) SWIG_fail
;
21555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21562 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21563 PyObject
*resultobj
;
21564 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21566 PyObject
* obj0
= 0 ;
21567 char *kwnames
[] = {
21568 (char *) "self", NULL
21571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
21572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21576 result
= (wxDC
*)(arg1
)->GetPrintDC();
21578 wxPyEndAllowThreads(__tstate
);
21579 if (PyErr_Occurred()) SWIG_fail
;
21582 resultobj
= wxPyMake_wxObject(result
);
21590 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21591 PyObject
*resultobj
;
21592 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21594 PyObject
* obj0
= 0 ;
21595 char *kwnames
[] = {
21596 (char *) "self", NULL
21599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21604 result
= (int)(arg1
)->ShowModal();
21606 wxPyEndAllowThreads(__tstate
);
21607 if (PyErr_Occurred()) SWIG_fail
;
21609 resultobj
= SWIG_FromInt((int)result
);
21616 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
21618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21619 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
21621 return Py_BuildValue((char *)"");
21623 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21624 PyObject
*resultobj
;
21625 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
21627 PyObject
* obj0
= 0 ;
21628 char *kwnames
[] = {
21629 (char *) "data", NULL
21632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
21634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21638 if (!wxPyCheckForApp()) SWIG_fail
;
21639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21640 result
= (wxPrinter
*)new wxPrinter(arg1
);
21642 wxPyEndAllowThreads(__tstate
);
21643 if (PyErr_Occurred()) SWIG_fail
;
21645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
21652 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21653 PyObject
*resultobj
;
21654 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21655 PyObject
* obj0
= 0 ;
21656 char *kwnames
[] = {
21657 (char *) "self", NULL
21660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
21661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21667 wxPyEndAllowThreads(__tstate
);
21668 if (PyErr_Occurred()) SWIG_fail
;
21670 Py_INCREF(Py_None
); resultobj
= Py_None
;
21677 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21678 PyObject
*resultobj
;
21679 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21680 wxWindow
*arg2
= (wxWindow
*) 0 ;
21681 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21682 PyObject
* obj0
= 0 ;
21683 PyObject
* obj1
= 0 ;
21684 PyObject
* obj2
= 0 ;
21685 char *kwnames
[] = {
21686 (char *) "self",(char *) "parent",(char *) "printout", NULL
21689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21694 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21698 (arg1
)->CreateAbortWindow(arg2
,arg3
);
21700 wxPyEndAllowThreads(__tstate
);
21701 if (PyErr_Occurred()) SWIG_fail
;
21703 Py_INCREF(Py_None
); resultobj
= Py_None
;
21710 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21711 PyObject
*resultobj
;
21712 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21713 wxPrintDialogData
*result
;
21714 PyObject
* obj0
= 0 ;
21715 char *kwnames
[] = {
21716 (char *) "self", NULL
21719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21725 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21726 result
= (wxPrintDialogData
*) &_result_ref
;
21729 wxPyEndAllowThreads(__tstate
);
21730 if (PyErr_Occurred()) SWIG_fail
;
21732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21739 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21740 PyObject
*resultobj
;
21741 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21742 wxWindow
*arg2
= (wxWindow
*) 0 ;
21743 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21744 int arg4
= (int) True
;
21746 PyObject
* obj0
= 0 ;
21747 PyObject
* obj1
= 0 ;
21748 PyObject
* obj2
= 0 ;
21749 PyObject
* obj3
= 0 ;
21750 char *kwnames
[] = {
21751 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21759 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21762 arg4
= (int) SWIG_AsInt(obj3
);
21763 if (PyErr_Occurred()) SWIG_fail
;
21766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21767 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
21769 wxPyEndAllowThreads(__tstate
);
21770 if (PyErr_Occurred()) SWIG_fail
;
21773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21781 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21782 PyObject
*resultobj
;
21783 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21784 wxWindow
*arg2
= (wxWindow
*) 0 ;
21786 PyObject
* obj0
= 0 ;
21787 PyObject
* obj1
= 0 ;
21788 char *kwnames
[] = {
21789 (char *) "self",(char *) "parent", NULL
21792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21795 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21799 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
21801 wxPyEndAllowThreads(__tstate
);
21802 if (PyErr_Occurred()) SWIG_fail
;
21805 resultobj
= wxPyMake_wxObject(result
);
21813 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21814 PyObject
*resultobj
;
21815 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21816 wxWindow
*arg2
= (wxWindow
*) 0 ;
21817 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21818 wxString
*arg4
= 0 ;
21819 bool temp4
= False
;
21820 PyObject
* obj0
= 0 ;
21821 PyObject
* obj1
= 0 ;
21822 PyObject
* obj2
= 0 ;
21823 PyObject
* obj3
= 0 ;
21824 char *kwnames
[] = {
21825 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21831 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21833 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21836 arg4
= wxString_in_helper(obj3
);
21837 if (arg4
== NULL
) SWIG_fail
;
21841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21842 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
21844 wxPyEndAllowThreads(__tstate
);
21845 if (PyErr_Occurred()) SWIG_fail
;
21847 Py_INCREF(Py_None
); resultobj
= Py_None
;
21862 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21863 PyObject
*resultobj
;
21864 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21865 wxWindow
*arg2
= (wxWindow
*) 0 ;
21867 PyObject
* obj0
= 0 ;
21868 PyObject
* obj1
= 0 ;
21869 char *kwnames
[] = {
21870 (char *) "self",(char *) "parent", NULL
21873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
21874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21876 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21880 result
= (bool)(arg1
)->Setup(arg2
);
21882 wxPyEndAllowThreads(__tstate
);
21883 if (PyErr_Occurred()) SWIG_fail
;
21886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21894 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21895 PyObject
*resultobj
;
21896 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21898 PyObject
* obj0
= 0 ;
21899 char *kwnames
[] = {
21900 (char *) "self", NULL
21903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
21904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21908 result
= (bool)(arg1
)->GetAbort();
21910 wxPyEndAllowThreads(__tstate
);
21911 if (PyErr_Occurred()) SWIG_fail
;
21914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21922 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21923 PyObject
*resultobj
;
21925 char *kwnames
[] = {
21929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
21931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21932 result
= (int)wxPrinter::GetLastError();
21934 wxPyEndAllowThreads(__tstate
);
21935 if (PyErr_Occurred()) SWIG_fail
;
21937 resultobj
= SWIG_FromInt((int)result
);
21944 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
21946 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21947 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
21949 return Py_BuildValue((char *)"");
21951 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21952 PyObject
*resultobj
;
21953 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
21954 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21955 wxPyPrintout
*result
;
21956 bool temp1
= False
;
21957 PyObject
* obj0
= 0 ;
21958 char *kwnames
[] = {
21959 (char *) "title", NULL
21962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
21965 arg1
= wxString_in_helper(obj0
);
21966 if (arg1
== NULL
) SWIG_fail
;
21971 if (!wxPyCheckForApp()) SWIG_fail
;
21972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21973 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
21975 wxPyEndAllowThreads(__tstate
);
21976 if (PyErr_Occurred()) SWIG_fail
;
21979 resultobj
= wxPyMake_wxObject(result
);
21995 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21996 PyObject
*resultobj
;
21997 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21998 PyObject
*arg2
= (PyObject
*) 0 ;
21999 PyObject
*arg3
= (PyObject
*) 0 ;
22000 PyObject
* obj0
= 0 ;
22001 PyObject
* obj1
= 0 ;
22002 PyObject
* obj2
= 0 ;
22003 char *kwnames
[] = {
22004 (char *) "self",(char *) "self",(char *) "_class", NULL
22007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22014 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22016 wxPyEndAllowThreads(__tstate
);
22017 if (PyErr_Occurred()) SWIG_fail
;
22019 Py_INCREF(Py_None
); resultobj
= Py_None
;
22026 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22027 PyObject
*resultobj
;
22028 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22030 PyObject
* obj0
= 0 ;
22031 char *kwnames
[] = {
22032 (char *) "self", NULL
22035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
22036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22040 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
22042 wxPyEndAllowThreads(__tstate
);
22043 if (PyErr_Occurred()) SWIG_fail
;
22047 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22049 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22058 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22059 PyObject
*resultobj
;
22060 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22062 PyObject
* obj0
= 0 ;
22063 char *kwnames
[] = {
22064 (char *) "self", NULL
22067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
22068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22072 result
= (wxDC
*)(arg1
)->GetDC();
22074 wxPyEndAllowThreads(__tstate
);
22075 if (PyErr_Occurred()) SWIG_fail
;
22078 resultobj
= wxPyMake_wxObject(result
);
22086 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22087 PyObject
*resultobj
;
22088 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22089 wxDC
*arg2
= (wxDC
*) 0 ;
22090 PyObject
* obj0
= 0 ;
22091 PyObject
* obj1
= 0 ;
22092 char *kwnames
[] = {
22093 (char *) "self",(char *) "dc", NULL
22096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
22097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22099 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22103 (arg1
)->SetDC(arg2
);
22105 wxPyEndAllowThreads(__tstate
);
22106 if (PyErr_Occurred()) SWIG_fail
;
22108 Py_INCREF(Py_None
); resultobj
= Py_None
;
22115 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22116 PyObject
*resultobj
;
22117 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22120 PyObject
* obj0
= 0 ;
22121 PyObject
* obj1
= 0 ;
22122 PyObject
* obj2
= 0 ;
22123 char *kwnames
[] = {
22124 (char *) "self",(char *) "w",(char *) "h", NULL
22127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22130 arg2
= (int) SWIG_AsInt(obj1
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22132 arg3
= (int) SWIG_AsInt(obj2
);
22133 if (PyErr_Occurred()) SWIG_fail
;
22135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22136 (arg1
)->SetPageSizePixels(arg2
,arg3
);
22138 wxPyEndAllowThreads(__tstate
);
22139 if (PyErr_Occurred()) SWIG_fail
;
22141 Py_INCREF(Py_None
); resultobj
= Py_None
;
22148 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22149 PyObject
*resultobj
;
22150 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22151 int *arg2
= (int *) 0 ;
22152 int *arg3
= (int *) 0 ;
22155 PyObject
* obj0
= 0 ;
22156 char *kwnames
[] = {
22157 (char *) "self", NULL
22162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
22163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22167 (arg1
)->GetPageSizePixels(arg2
,arg3
);
22169 wxPyEndAllowThreads(__tstate
);
22170 if (PyErr_Occurred()) SWIG_fail
;
22172 Py_INCREF(Py_None
); resultobj
= Py_None
;
22174 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22175 resultobj
= t_output_helper(resultobj
,o
);
22178 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22179 resultobj
= t_output_helper(resultobj
,o
);
22187 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22188 PyObject
*resultobj
;
22189 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22192 PyObject
* obj0
= 0 ;
22193 PyObject
* obj1
= 0 ;
22194 PyObject
* obj2
= 0 ;
22195 char *kwnames
[] = {
22196 (char *) "self",(char *) "w",(char *) "h", NULL
22199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22202 arg2
= (int) SWIG_AsInt(obj1
);
22203 if (PyErr_Occurred()) SWIG_fail
;
22204 arg3
= (int) SWIG_AsInt(obj2
);
22205 if (PyErr_Occurred()) SWIG_fail
;
22207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22208 (arg1
)->SetPageSizeMM(arg2
,arg3
);
22210 wxPyEndAllowThreads(__tstate
);
22211 if (PyErr_Occurred()) SWIG_fail
;
22213 Py_INCREF(Py_None
); resultobj
= Py_None
;
22220 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22221 PyObject
*resultobj
;
22222 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22223 int *arg2
= (int *) 0 ;
22224 int *arg3
= (int *) 0 ;
22227 PyObject
* obj0
= 0 ;
22228 char *kwnames
[] = {
22229 (char *) "self", NULL
22234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
22235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22239 (arg1
)->GetPageSizeMM(arg2
,arg3
);
22241 wxPyEndAllowThreads(__tstate
);
22242 if (PyErr_Occurred()) SWIG_fail
;
22244 Py_INCREF(Py_None
); resultobj
= Py_None
;
22246 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22247 resultobj
= t_output_helper(resultobj
,o
);
22250 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22251 resultobj
= t_output_helper(resultobj
,o
);
22259 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22260 PyObject
*resultobj
;
22261 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22264 PyObject
* obj0
= 0 ;
22265 PyObject
* obj1
= 0 ;
22266 PyObject
* obj2
= 0 ;
22267 char *kwnames
[] = {
22268 (char *) "self",(char *) "x",(char *) "y", NULL
22271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22274 arg2
= (int) SWIG_AsInt(obj1
);
22275 if (PyErr_Occurred()) SWIG_fail
;
22276 arg3
= (int) SWIG_AsInt(obj2
);
22277 if (PyErr_Occurred()) SWIG_fail
;
22279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22280 (arg1
)->SetPPIScreen(arg2
,arg3
);
22282 wxPyEndAllowThreads(__tstate
);
22283 if (PyErr_Occurred()) SWIG_fail
;
22285 Py_INCREF(Py_None
); resultobj
= Py_None
;
22292 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22293 PyObject
*resultobj
;
22294 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22295 int *arg2
= (int *) 0 ;
22296 int *arg3
= (int *) 0 ;
22299 PyObject
* obj0
= 0 ;
22300 char *kwnames
[] = {
22301 (char *) "self", NULL
22306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
22307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22311 (arg1
)->GetPPIScreen(arg2
,arg3
);
22313 wxPyEndAllowThreads(__tstate
);
22314 if (PyErr_Occurred()) SWIG_fail
;
22316 Py_INCREF(Py_None
); resultobj
= Py_None
;
22318 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22319 resultobj
= t_output_helper(resultobj
,o
);
22322 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22323 resultobj
= t_output_helper(resultobj
,o
);
22331 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22332 PyObject
*resultobj
;
22333 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22336 PyObject
* obj0
= 0 ;
22337 PyObject
* obj1
= 0 ;
22338 PyObject
* obj2
= 0 ;
22339 char *kwnames
[] = {
22340 (char *) "self",(char *) "x",(char *) "y", NULL
22343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22346 arg2
= (int) SWIG_AsInt(obj1
);
22347 if (PyErr_Occurred()) SWIG_fail
;
22348 arg3
= (int) SWIG_AsInt(obj2
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22352 (arg1
)->SetPPIPrinter(arg2
,arg3
);
22354 wxPyEndAllowThreads(__tstate
);
22355 if (PyErr_Occurred()) SWIG_fail
;
22357 Py_INCREF(Py_None
); resultobj
= Py_None
;
22364 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22365 PyObject
*resultobj
;
22366 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22367 int *arg2
= (int *) 0 ;
22368 int *arg3
= (int *) 0 ;
22371 PyObject
* obj0
= 0 ;
22372 char *kwnames
[] = {
22373 (char *) "self", NULL
22378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
22379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22383 (arg1
)->GetPPIPrinter(arg2
,arg3
);
22385 wxPyEndAllowThreads(__tstate
);
22386 if (PyErr_Occurred()) SWIG_fail
;
22388 Py_INCREF(Py_None
); resultobj
= Py_None
;
22390 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22391 resultobj
= t_output_helper(resultobj
,o
);
22394 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22395 resultobj
= t_output_helper(resultobj
,o
);
22403 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22404 PyObject
*resultobj
;
22405 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22407 PyObject
* obj0
= 0 ;
22408 char *kwnames
[] = {
22409 (char *) "self", NULL
22412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
22413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22417 result
= (bool)(arg1
)->IsPreview();
22419 wxPyEndAllowThreads(__tstate
);
22420 if (PyErr_Occurred()) SWIG_fail
;
22423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22431 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22432 PyObject
*resultobj
;
22433 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22435 PyObject
* obj0
= 0 ;
22436 PyObject
* obj1
= 0 ;
22437 char *kwnames
[] = {
22438 (char *) "self",(char *) "p", NULL
22441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22444 arg2
= (bool) SWIG_AsBool(obj1
);
22445 if (PyErr_Occurred()) SWIG_fail
;
22447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22448 (arg1
)->SetIsPreview(arg2
);
22450 wxPyEndAllowThreads(__tstate
);
22451 if (PyErr_Occurred()) SWIG_fail
;
22453 Py_INCREF(Py_None
); resultobj
= Py_None
;
22460 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22461 PyObject
*resultobj
;
22462 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22466 PyObject
* obj0
= 0 ;
22467 PyObject
* obj1
= 0 ;
22468 PyObject
* obj2
= 0 ;
22469 char *kwnames
[] = {
22470 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22476 arg2
= (int) SWIG_AsInt(obj1
);
22477 if (PyErr_Occurred()) SWIG_fail
;
22478 arg3
= (int) SWIG_AsInt(obj2
);
22479 if (PyErr_Occurred()) SWIG_fail
;
22481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22482 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
22484 wxPyEndAllowThreads(__tstate
);
22485 if (PyErr_Occurred()) SWIG_fail
;
22488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22496 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22497 PyObject
*resultobj
;
22498 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22499 PyObject
* obj0
= 0 ;
22500 char *kwnames
[] = {
22501 (char *) "self", NULL
22504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
22505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22509 (arg1
)->base_OnEndDocument();
22511 wxPyEndAllowThreads(__tstate
);
22512 if (PyErr_Occurred()) SWIG_fail
;
22514 Py_INCREF(Py_None
); resultobj
= Py_None
;
22521 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22522 PyObject
*resultobj
;
22523 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22524 PyObject
* obj0
= 0 ;
22525 char *kwnames
[] = {
22526 (char *) "self", NULL
22529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
22530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22534 (arg1
)->base_OnBeginPrinting();
22536 wxPyEndAllowThreads(__tstate
);
22537 if (PyErr_Occurred()) SWIG_fail
;
22539 Py_INCREF(Py_None
); resultobj
= Py_None
;
22546 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22547 PyObject
*resultobj
;
22548 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22549 PyObject
* obj0
= 0 ;
22550 char *kwnames
[] = {
22551 (char *) "self", NULL
22554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
22555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22559 (arg1
)->base_OnEndPrinting();
22561 wxPyEndAllowThreads(__tstate
);
22562 if (PyErr_Occurred()) SWIG_fail
;
22564 Py_INCREF(Py_None
); resultobj
= Py_None
;
22571 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22572 PyObject
*resultobj
;
22573 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22574 PyObject
* obj0
= 0 ;
22575 char *kwnames
[] = {
22576 (char *) "self", NULL
22579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
22580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22584 (arg1
)->base_OnPreparePrinting();
22586 wxPyEndAllowThreads(__tstate
);
22587 if (PyErr_Occurred()) SWIG_fail
;
22589 Py_INCREF(Py_None
); resultobj
= Py_None
;
22596 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22597 PyObject
*resultobj
;
22598 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22601 PyObject
* obj0
= 0 ;
22602 PyObject
* obj1
= 0 ;
22603 char *kwnames
[] = {
22604 (char *) "self",(char *) "page", NULL
22607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22610 arg2
= (int) SWIG_AsInt(obj1
);
22611 if (PyErr_Occurred()) SWIG_fail
;
22613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22614 result
= (bool)(arg1
)->base_HasPage(arg2
);
22616 wxPyEndAllowThreads(__tstate
);
22617 if (PyErr_Occurred()) SWIG_fail
;
22620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22628 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22629 PyObject
*resultobj
;
22630 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22631 int *arg2
= (int *) 0 ;
22632 int *arg3
= (int *) 0 ;
22633 int *arg4
= (int *) 0 ;
22634 int *arg5
= (int *) 0 ;
22639 PyObject
* obj0
= 0 ;
22640 char *kwnames
[] = {
22641 (char *) "self", NULL
22648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
22649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22653 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
22655 wxPyEndAllowThreads(__tstate
);
22656 if (PyErr_Occurred()) SWIG_fail
;
22658 Py_INCREF(Py_None
); resultobj
= Py_None
;
22660 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22661 resultobj
= t_output_helper(resultobj
,o
);
22664 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22665 resultobj
= t_output_helper(resultobj
,o
);
22668 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
22669 resultobj
= t_output_helper(resultobj
,o
);
22672 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
22673 resultobj
= t_output_helper(resultobj
,o
);
22681 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
22683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22684 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
22686 return Py_BuildValue((char *)"");
22688 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22689 PyObject
*resultobj
;
22690 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22691 wxWindow
*arg2
= (wxWindow
*) 0 ;
22692 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22693 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22694 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22695 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22696 long arg5
= (long) 0 ;
22697 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
22698 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22699 wxPreviewCanvas
*result
;
22702 bool temp6
= False
;
22703 PyObject
* obj0
= 0 ;
22704 PyObject
* obj1
= 0 ;
22705 PyObject
* obj2
= 0 ;
22706 PyObject
* obj3
= 0 ;
22707 PyObject
* obj4
= 0 ;
22708 PyObject
* obj5
= 0 ;
22709 char *kwnames
[] = {
22710 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22716 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22721 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22727 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22731 arg5
= (long) SWIG_AsLong(obj4
);
22732 if (PyErr_Occurred()) SWIG_fail
;
22736 arg6
= wxString_in_helper(obj5
);
22737 if (arg6
== NULL
) SWIG_fail
;
22742 if (!wxPyCheckForApp()) SWIG_fail
;
22743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22744 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22746 wxPyEndAllowThreads(__tstate
);
22747 if (PyErr_Occurred()) SWIG_fail
;
22749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
22764 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
22766 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22767 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
22769 return Py_BuildValue((char *)"");
22771 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22772 PyObject
*resultobj
;
22773 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22774 wxFrame
*arg2
= (wxFrame
*) 0 ;
22775 wxString
*arg3
= 0 ;
22776 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22777 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22778 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22779 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22780 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22781 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22782 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22783 wxPreviewFrame
*result
;
22784 bool temp3
= False
;
22787 bool temp7
= False
;
22788 PyObject
* obj0
= 0 ;
22789 PyObject
* obj1
= 0 ;
22790 PyObject
* obj2
= 0 ;
22791 PyObject
* obj3
= 0 ;
22792 PyObject
* obj4
= 0 ;
22793 PyObject
* obj5
= 0 ;
22794 PyObject
* obj6
= 0 ;
22795 char *kwnames
[] = {
22796 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22802 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22805 arg3
= wxString_in_helper(obj2
);
22806 if (arg3
== NULL
) SWIG_fail
;
22812 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22818 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22822 arg6
= (long) SWIG_AsLong(obj5
);
22823 if (PyErr_Occurred()) SWIG_fail
;
22827 arg7
= wxString_in_helper(obj6
);
22828 if (arg7
== NULL
) SWIG_fail
;
22833 if (!wxPyCheckForApp()) SWIG_fail
;
22834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22835 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22837 wxPyEndAllowThreads(__tstate
);
22838 if (PyErr_Occurred()) SWIG_fail
;
22840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
22863 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22864 PyObject
*resultobj
;
22865 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22866 PyObject
* obj0
= 0 ;
22867 char *kwnames
[] = {
22868 (char *) "self", NULL
22871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
22872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22876 (arg1
)->Initialize();
22878 wxPyEndAllowThreads(__tstate
);
22879 if (PyErr_Occurred()) SWIG_fail
;
22881 Py_INCREF(Py_None
); resultobj
= Py_None
;
22888 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22889 PyObject
*resultobj
;
22890 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22891 PyObject
* obj0
= 0 ;
22892 char *kwnames
[] = {
22893 (char *) "self", NULL
22896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22901 (arg1
)->CreateControlBar();
22903 wxPyEndAllowThreads(__tstate
);
22904 if (PyErr_Occurred()) SWIG_fail
;
22906 Py_INCREF(Py_None
); resultobj
= Py_None
;
22913 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22914 PyObject
*resultobj
;
22915 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22916 PyObject
* obj0
= 0 ;
22917 char *kwnames
[] = {
22918 (char *) "self", NULL
22921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22926 (arg1
)->CreateCanvas();
22928 wxPyEndAllowThreads(__tstate
);
22929 if (PyErr_Occurred()) SWIG_fail
;
22931 Py_INCREF(Py_None
); resultobj
= Py_None
;
22938 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22939 PyObject
*resultobj
;
22940 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22941 wxPreviewControlBar
*result
;
22942 PyObject
* obj0
= 0 ;
22943 char *kwnames
[] = {
22944 (char *) "self", NULL
22947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
22948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22952 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
22954 wxPyEndAllowThreads(__tstate
);
22955 if (PyErr_Occurred()) SWIG_fail
;
22957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
22964 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22966 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22967 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
22969 return Py_BuildValue((char *)"");
22971 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22972 PyObject
*resultobj
;
22973 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22975 wxWindow
*arg3
= (wxWindow
*) 0 ;
22976 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22977 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22978 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22979 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22980 long arg6
= (long) wxTAB_TRAVERSAL
;
22981 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22982 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22983 wxPreviewControlBar
*result
;
22986 bool temp7
= False
;
22987 PyObject
* obj0
= 0 ;
22988 PyObject
* obj1
= 0 ;
22989 PyObject
* obj2
= 0 ;
22990 PyObject
* obj3
= 0 ;
22991 PyObject
* obj4
= 0 ;
22992 PyObject
* obj5
= 0 ;
22993 PyObject
* obj6
= 0 ;
22994 char *kwnames
[] = {
22995 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23001 arg2
= (long) SWIG_AsLong(obj1
);
23002 if (PyErr_Occurred()) SWIG_fail
;
23003 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
23004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23008 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23014 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23018 arg6
= (long) SWIG_AsLong(obj5
);
23019 if (PyErr_Occurred()) SWIG_fail
;
23023 arg7
= wxString_in_helper(obj6
);
23024 if (arg7
== NULL
) SWIG_fail
;
23029 if (!wxPyCheckForApp()) SWIG_fail
;
23030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23031 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23033 wxPyEndAllowThreads(__tstate
);
23034 if (PyErr_Occurred()) SWIG_fail
;
23036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
23051 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23052 PyObject
*resultobj
;
23053 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23055 PyObject
* obj0
= 0 ;
23056 char *kwnames
[] = {
23057 (char *) "self", NULL
23060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
23061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23065 result
= (int)(arg1
)->GetZoomControl();
23067 wxPyEndAllowThreads(__tstate
);
23068 if (PyErr_Occurred()) SWIG_fail
;
23070 resultobj
= SWIG_FromInt((int)result
);
23077 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23078 PyObject
*resultobj
;
23079 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23081 PyObject
* obj0
= 0 ;
23082 PyObject
* obj1
= 0 ;
23083 char *kwnames
[] = {
23084 (char *) "self",(char *) "zoom", NULL
23087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
23088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23090 arg2
= (int) SWIG_AsInt(obj1
);
23091 if (PyErr_Occurred()) SWIG_fail
;
23093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23094 (arg1
)->SetZoomControl(arg2
);
23096 wxPyEndAllowThreads(__tstate
);
23097 if (PyErr_Occurred()) SWIG_fail
;
23099 Py_INCREF(Py_None
); resultobj
= Py_None
;
23106 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23107 PyObject
*resultobj
;
23108 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23109 wxPrintPreview
*result
;
23110 PyObject
* obj0
= 0 ;
23111 char *kwnames
[] = {
23112 (char *) "self", NULL
23115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
23116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23120 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
23122 wxPyEndAllowThreads(__tstate
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
23132 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23133 PyObject
*resultobj
;
23134 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23135 PyObject
* obj0
= 0 ;
23136 char *kwnames
[] = {
23137 (char *) "self", NULL
23140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
23141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23147 wxPyEndAllowThreads(__tstate
);
23148 if (PyErr_Occurred()) SWIG_fail
;
23150 Py_INCREF(Py_None
); resultobj
= Py_None
;
23157 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23158 PyObject
*resultobj
;
23159 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23160 PyObject
* obj0
= 0 ;
23161 char *kwnames
[] = {
23162 (char *) "self", NULL
23165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
23166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23170 (arg1
)->OnPrevious();
23172 wxPyEndAllowThreads(__tstate
);
23173 if (PyErr_Occurred()) SWIG_fail
;
23175 Py_INCREF(Py_None
); resultobj
= Py_None
;
23182 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23183 PyObject
*resultobj
;
23184 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23185 PyObject
* obj0
= 0 ;
23186 char *kwnames
[] = {
23187 (char *) "self", NULL
23190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
23191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23197 wxPyEndAllowThreads(__tstate
);
23198 if (PyErr_Occurred()) SWIG_fail
;
23200 Py_INCREF(Py_None
); resultobj
= Py_None
;
23207 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23208 PyObject
*resultobj
;
23209 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23210 PyObject
* obj0
= 0 ;
23211 char *kwnames
[] = {
23212 (char *) "self", NULL
23215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
23216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23222 wxPyEndAllowThreads(__tstate
);
23223 if (PyErr_Occurred()) SWIG_fail
;
23225 Py_INCREF(Py_None
); resultobj
= Py_None
;
23232 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23233 PyObject
*resultobj
;
23234 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23235 PyObject
* obj0
= 0 ;
23236 char *kwnames
[] = {
23237 (char *) "self", NULL
23240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
23241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23247 wxPyEndAllowThreads(__tstate
);
23248 if (PyErr_Occurred()) SWIG_fail
;
23250 Py_INCREF(Py_None
); resultobj
= Py_None
;
23257 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
23259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23260 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
23262 return Py_BuildValue((char *)"");
23264 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23265 PyObject
*resultobj
;
23266 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23267 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23268 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23269 wxPrintPreview
*result
;
23270 PyObject
* obj0
= 0 ;
23271 PyObject
* obj1
= 0 ;
23272 PyObject
* obj2
= 0 ;
23274 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23277 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23280 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23284 if (!wxPyCheckForApp()) SWIG_fail
;
23285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23286 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23288 wxPyEndAllowThreads(__tstate
);
23289 if (PyErr_Occurred()) SWIG_fail
;
23291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23298 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23299 PyObject
*resultobj
;
23300 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23301 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23302 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23303 wxPrintPreview
*result
;
23304 PyObject
* obj0
= 0 ;
23305 PyObject
* obj1
= 0 ;
23306 PyObject
* obj2
= 0 ;
23308 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23311 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23313 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23316 if (!wxPyCheckForApp()) SWIG_fail
;
23317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23318 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23320 wxPyEndAllowThreads(__tstate
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23330 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
23335 argc
= PyObject_Length(args
);
23336 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23337 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23339 if ((argc
>= 2) && (argc
<= 3)) {
23343 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23353 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23362 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23366 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23374 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23383 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23393 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23403 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23411 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
23417 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
23422 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23423 PyObject
*resultobj
;
23424 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23427 PyObject
* obj0
= 0 ;
23428 PyObject
* obj1
= 0 ;
23429 char *kwnames
[] = {
23430 (char *) "self",(char *) "pageNum", NULL
23433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23436 arg2
= (int) SWIG_AsInt(obj1
);
23437 if (PyErr_Occurred()) SWIG_fail
;
23439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23440 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
23442 wxPyEndAllowThreads(__tstate
);
23443 if (PyErr_Occurred()) SWIG_fail
;
23446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23454 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23455 PyObject
*resultobj
;
23456 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23458 PyObject
* obj0
= 0 ;
23459 char *kwnames
[] = {
23460 (char *) "self", NULL
23463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
23464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23468 result
= (int)(arg1
)->GetCurrentPage();
23470 wxPyEndAllowThreads(__tstate
);
23471 if (PyErr_Occurred()) SWIG_fail
;
23473 resultobj
= SWIG_FromInt((int)result
);
23480 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23481 PyObject
*resultobj
;
23482 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23483 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23484 PyObject
* obj0
= 0 ;
23485 PyObject
* obj1
= 0 ;
23486 char *kwnames
[] = {
23487 (char *) "self",(char *) "printout", NULL
23490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
23491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23493 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23497 (arg1
)->SetPrintout(arg2
);
23499 wxPyEndAllowThreads(__tstate
);
23500 if (PyErr_Occurred()) SWIG_fail
;
23502 Py_INCREF(Py_None
); resultobj
= Py_None
;
23509 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23510 PyObject
*resultobj
;
23511 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23512 wxPyPrintout
*result
;
23513 PyObject
* obj0
= 0 ;
23514 char *kwnames
[] = {
23515 (char *) "self", NULL
23518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
23519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23523 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
23525 wxPyEndAllowThreads(__tstate
);
23526 if (PyErr_Occurred()) SWIG_fail
;
23529 resultobj
= wxPyMake_wxObject(result
);
23537 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23538 PyObject
*resultobj
;
23539 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23540 wxPyPrintout
*result
;
23541 PyObject
* obj0
= 0 ;
23542 char *kwnames
[] = {
23543 (char *) "self", NULL
23546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
23547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23551 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
23553 wxPyEndAllowThreads(__tstate
);
23554 if (PyErr_Occurred()) SWIG_fail
;
23557 resultobj
= wxPyMake_wxObject(result
);
23565 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23566 PyObject
*resultobj
;
23567 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23568 wxFrame
*arg2
= (wxFrame
*) 0 ;
23569 PyObject
* obj0
= 0 ;
23570 PyObject
* obj1
= 0 ;
23571 char *kwnames
[] = {
23572 (char *) "self",(char *) "frame", NULL
23575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
23576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23582 (arg1
)->SetFrame(arg2
);
23584 wxPyEndAllowThreads(__tstate
);
23585 if (PyErr_Occurred()) SWIG_fail
;
23587 Py_INCREF(Py_None
); resultobj
= Py_None
;
23594 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23595 PyObject
*resultobj
;
23596 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23597 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23598 PyObject
* obj0
= 0 ;
23599 PyObject
* obj1
= 0 ;
23600 char *kwnames
[] = {
23601 (char *) "self",(char *) "canvas", NULL
23604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23607 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23611 (arg1
)->SetCanvas(arg2
);
23613 wxPyEndAllowThreads(__tstate
);
23614 if (PyErr_Occurred()) SWIG_fail
;
23616 Py_INCREF(Py_None
); resultobj
= Py_None
;
23623 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23624 PyObject
*resultobj
;
23625 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23627 PyObject
* obj0
= 0 ;
23628 char *kwnames
[] = {
23629 (char *) "self", NULL
23632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
23633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23637 result
= (wxFrame
*)(arg1
)->GetFrame();
23639 wxPyEndAllowThreads(__tstate
);
23640 if (PyErr_Occurred()) SWIG_fail
;
23643 resultobj
= wxPyMake_wxObject(result
);
23651 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23652 PyObject
*resultobj
;
23653 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23654 wxPreviewCanvas
*result
;
23655 PyObject
* obj0
= 0 ;
23656 char *kwnames
[] = {
23657 (char *) "self", NULL
23660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
23661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23665 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
23667 wxPyEndAllowThreads(__tstate
);
23668 if (PyErr_Occurred()) SWIG_fail
;
23670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
23677 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23678 PyObject
*resultobj
;
23679 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23680 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23683 PyObject
* obj0
= 0 ;
23684 PyObject
* obj1
= 0 ;
23685 PyObject
* obj2
= 0 ;
23686 char *kwnames
[] = {
23687 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23693 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23695 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23696 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23698 if (arg3
== NULL
) {
23699 PyErr_SetString(PyExc_TypeError
,"null reference");
23703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23704 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
23706 wxPyEndAllowThreads(__tstate
);
23707 if (PyErr_Occurred()) SWIG_fail
;
23710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23718 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23719 PyObject
*resultobj
;
23720 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23721 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23724 PyObject
* obj0
= 0 ;
23725 PyObject
* obj1
= 0 ;
23726 PyObject
* obj2
= 0 ;
23727 char *kwnames
[] = {
23728 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23736 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23737 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23739 if (arg3
== NULL
) {
23740 PyErr_SetString(PyExc_TypeError
,"null reference");
23744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23745 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
23747 wxPyEndAllowThreads(__tstate
);
23748 if (PyErr_Occurred()) SWIG_fail
;
23751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23759 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23760 PyObject
*resultobj
;
23761 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23764 PyObject
* obj0
= 0 ;
23765 PyObject
* obj1
= 0 ;
23766 char *kwnames
[] = {
23767 (char *) "self",(char *) "pageNum", NULL
23770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23773 arg2
= (int) SWIG_AsInt(obj1
);
23774 if (PyErr_Occurred()) SWIG_fail
;
23776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23777 result
= (bool)(arg1
)->RenderPage(arg2
);
23779 wxPyEndAllowThreads(__tstate
);
23780 if (PyErr_Occurred()) SWIG_fail
;
23783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23791 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23792 PyObject
*resultobj
;
23793 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23794 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23795 PyObject
* obj0
= 0 ;
23796 PyObject
* obj1
= 0 ;
23797 char *kwnames
[] = {
23798 (char *) "self",(char *) "canvas", NULL
23801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
23802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23804 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23808 (arg1
)->AdjustScrollbars(arg2
);
23810 wxPyEndAllowThreads(__tstate
);
23811 if (PyErr_Occurred()) SWIG_fail
;
23813 Py_INCREF(Py_None
); resultobj
= Py_None
;
23820 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23821 PyObject
*resultobj
;
23822 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23823 wxPrintDialogData
*result
;
23824 PyObject
* obj0
= 0 ;
23825 char *kwnames
[] = {
23826 (char *) "self", NULL
23829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23835 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23836 result
= (wxPrintDialogData
*) &_result_ref
;
23839 wxPyEndAllowThreads(__tstate
);
23840 if (PyErr_Occurred()) SWIG_fail
;
23842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23849 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23850 PyObject
*resultobj
;
23851 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23853 PyObject
* obj0
= 0 ;
23854 PyObject
* obj1
= 0 ;
23855 char *kwnames
[] = {
23856 (char *) "self",(char *) "percent", NULL
23859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23862 arg2
= (int) SWIG_AsInt(obj1
);
23863 if (PyErr_Occurred()) SWIG_fail
;
23865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23866 (arg1
)->SetZoom(arg2
);
23868 wxPyEndAllowThreads(__tstate
);
23869 if (PyErr_Occurred()) SWIG_fail
;
23871 Py_INCREF(Py_None
); resultobj
= Py_None
;
23878 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23879 PyObject
*resultobj
;
23880 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23882 PyObject
* obj0
= 0 ;
23883 char *kwnames
[] = {
23884 (char *) "self", NULL
23887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
23888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23892 result
= (int)(arg1
)->GetZoom();
23894 wxPyEndAllowThreads(__tstate
);
23895 if (PyErr_Occurred()) SWIG_fail
;
23897 resultobj
= SWIG_FromInt((int)result
);
23904 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23905 PyObject
*resultobj
;
23906 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23908 PyObject
* obj0
= 0 ;
23909 char *kwnames
[] = {
23910 (char *) "self", NULL
23913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23918 result
= (int)(arg1
)->GetMaxPage();
23920 wxPyEndAllowThreads(__tstate
);
23921 if (PyErr_Occurred()) SWIG_fail
;
23923 resultobj
= SWIG_FromInt((int)result
);
23930 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23931 PyObject
*resultobj
;
23932 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23934 PyObject
* obj0
= 0 ;
23935 char *kwnames
[] = {
23936 (char *) "self", NULL
23939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
23940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23944 result
= (int)(arg1
)->GetMinPage();
23946 wxPyEndAllowThreads(__tstate
);
23947 if (PyErr_Occurred()) SWIG_fail
;
23949 resultobj
= SWIG_FromInt((int)result
);
23956 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23957 PyObject
*resultobj
;
23958 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23960 PyObject
* obj0
= 0 ;
23961 char *kwnames
[] = {
23962 (char *) "self", NULL
23965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
23966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23970 result
= (bool)(arg1
)->Ok();
23972 wxPyEndAllowThreads(__tstate
);
23973 if (PyErr_Occurred()) SWIG_fail
;
23976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23984 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23985 PyObject
*resultobj
;
23986 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23988 PyObject
* obj0
= 0 ;
23989 PyObject
* obj1
= 0 ;
23990 char *kwnames
[] = {
23991 (char *) "self",(char *) "ok", NULL
23994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
23995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23997 arg2
= (bool) SWIG_AsBool(obj1
);
23998 if (PyErr_Occurred()) SWIG_fail
;
24000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24001 (arg1
)->SetOk(arg2
);
24003 wxPyEndAllowThreads(__tstate
);
24004 if (PyErr_Occurred()) SWIG_fail
;
24006 Py_INCREF(Py_None
); resultobj
= Py_None
;
24013 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24014 PyObject
*resultobj
;
24015 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24018 PyObject
* obj0
= 0 ;
24019 PyObject
* obj1
= 0 ;
24020 char *kwnames
[] = {
24021 (char *) "self",(char *) "interactive", NULL
24024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24027 arg2
= (bool) SWIG_AsBool(obj1
);
24028 if (PyErr_Occurred()) SWIG_fail
;
24030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24031 result
= (bool)(arg1
)->Print(arg2
);
24033 wxPyEndAllowThreads(__tstate
);
24034 if (PyErr_Occurred()) SWIG_fail
;
24037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24045 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24046 PyObject
*resultobj
;
24047 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24048 PyObject
* obj0
= 0 ;
24049 char *kwnames
[] = {
24050 (char *) "self", NULL
24053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24058 (arg1
)->DetermineScaling();
24060 wxPyEndAllowThreads(__tstate
);
24061 if (PyErr_Occurred()) SWIG_fail
;
24063 Py_INCREF(Py_None
); resultobj
= Py_None
;
24070 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
24072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24073 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
24075 return Py_BuildValue((char *)"");
24077 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
24078 PyObject
*resultobj
;
24079 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24080 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24081 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
24082 wxPyPrintPreview
*result
;
24083 PyObject
* obj0
= 0 ;
24084 PyObject
* obj1
= 0 ;
24085 PyObject
* obj2
= 0 ;
24087 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24090 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24093 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
24094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24097 if (!wxPyCheckForApp()) SWIG_fail
;
24098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24099 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24101 wxPyEndAllowThreads(__tstate
);
24102 if (PyErr_Occurred()) SWIG_fail
;
24104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24111 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
24112 PyObject
*resultobj
;
24113 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24114 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24115 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
24116 wxPyPrintPreview
*result
;
24117 PyObject
* obj0
= 0 ;
24118 PyObject
* obj1
= 0 ;
24119 PyObject
* obj2
= 0 ;
24121 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24124 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24126 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
24127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24129 if (!wxPyCheckForApp()) SWIG_fail
;
24130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24131 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24133 wxPyEndAllowThreads(__tstate
);
24134 if (PyErr_Occurred()) SWIG_fail
;
24136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24143 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
24148 argc
= PyObject_Length(args
);
24149 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
24150 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24152 if ((argc
>= 2) && (argc
<= 3)) {
24156 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24166 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24175 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24179 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
24187 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24196 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24206 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24216 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
24224 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
24230 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
24235 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24236 PyObject
*resultobj
;
24237 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24238 PyObject
*arg2
= (PyObject
*) 0 ;
24239 PyObject
*arg3
= (PyObject
*) 0 ;
24240 PyObject
* obj0
= 0 ;
24241 PyObject
* obj1
= 0 ;
24242 PyObject
* obj2
= 0 ;
24243 char *kwnames
[] = {
24244 (char *) "self",(char *) "self",(char *) "_class", NULL
24247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24254 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24256 wxPyEndAllowThreads(__tstate
);
24257 if (PyErr_Occurred()) SWIG_fail
;
24259 Py_INCREF(Py_None
); resultobj
= Py_None
;
24266 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24267 PyObject
*resultobj
;
24268 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24271 PyObject
* obj0
= 0 ;
24272 PyObject
* obj1
= 0 ;
24273 char *kwnames
[] = {
24274 (char *) "self",(char *) "pageNum", NULL
24277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24280 arg2
= (int) SWIG_AsInt(obj1
);
24281 if (PyErr_Occurred()) SWIG_fail
;
24283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24284 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
24286 wxPyEndAllowThreads(__tstate
);
24287 if (PyErr_Occurred()) SWIG_fail
;
24290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24298 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24299 PyObject
*resultobj
;
24300 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24301 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24304 PyObject
* obj0
= 0 ;
24305 PyObject
* obj1
= 0 ;
24306 PyObject
* obj2
= 0 ;
24307 char *kwnames
[] = {
24308 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24314 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24316 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24317 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24319 if (arg3
== NULL
) {
24320 PyErr_SetString(PyExc_TypeError
,"null reference");
24324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24325 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
24327 wxPyEndAllowThreads(__tstate
);
24328 if (PyErr_Occurred()) SWIG_fail
;
24331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24339 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24340 PyObject
*resultobj
;
24341 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24342 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24345 PyObject
* obj0
= 0 ;
24346 PyObject
* obj1
= 0 ;
24347 PyObject
* obj2
= 0 ;
24348 char *kwnames
[] = {
24349 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24355 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24357 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24358 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24360 if (arg3
== NULL
) {
24361 PyErr_SetString(PyExc_TypeError
,"null reference");
24365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24366 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
24368 wxPyEndAllowThreads(__tstate
);
24369 if (PyErr_Occurred()) SWIG_fail
;
24372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24380 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24381 PyObject
*resultobj
;
24382 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24385 PyObject
* obj0
= 0 ;
24386 PyObject
* obj1
= 0 ;
24387 char *kwnames
[] = {
24388 (char *) "self",(char *) "pageNum", NULL
24391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24394 arg2
= (int) SWIG_AsInt(obj1
);
24395 if (PyErr_Occurred()) SWIG_fail
;
24397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24398 result
= (bool)(arg1
)->base_RenderPage(arg2
);
24400 wxPyEndAllowThreads(__tstate
);
24401 if (PyErr_Occurred()) SWIG_fail
;
24404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24412 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24413 PyObject
*resultobj
;
24414 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24416 PyObject
* obj0
= 0 ;
24417 PyObject
* obj1
= 0 ;
24418 char *kwnames
[] = {
24419 (char *) "self",(char *) "percent", NULL
24422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24425 arg2
= (int) SWIG_AsInt(obj1
);
24426 if (PyErr_Occurred()) SWIG_fail
;
24428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24429 (arg1
)->base_SetZoom(arg2
);
24431 wxPyEndAllowThreads(__tstate
);
24432 if (PyErr_Occurred()) SWIG_fail
;
24434 Py_INCREF(Py_None
); resultobj
= Py_None
;
24441 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24442 PyObject
*resultobj
;
24443 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24446 PyObject
* obj0
= 0 ;
24447 PyObject
* obj1
= 0 ;
24448 char *kwnames
[] = {
24449 (char *) "self",(char *) "interactive", NULL
24452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24455 arg2
= (bool) SWIG_AsBool(obj1
);
24456 if (PyErr_Occurred()) SWIG_fail
;
24458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24459 result
= (bool)(arg1
)->base_Print(arg2
);
24461 wxPyEndAllowThreads(__tstate
);
24462 if (PyErr_Occurred()) SWIG_fail
;
24465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24473 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24474 PyObject
*resultobj
;
24475 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24476 PyObject
* obj0
= 0 ;
24477 char *kwnames
[] = {
24478 (char *) "self", NULL
24481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24486 (arg1
)->base_DetermineScaling();
24488 wxPyEndAllowThreads(__tstate
);
24489 if (PyErr_Occurred()) SWIG_fail
;
24491 Py_INCREF(Py_None
); resultobj
= Py_None
;
24498 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
24500 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24501 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
24503 return Py_BuildValue((char *)"");
24505 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24506 PyObject
*resultobj
;
24507 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24508 wxFrame
*arg2
= (wxFrame
*) 0 ;
24509 wxString
*arg3
= 0 ;
24510 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24511 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24512 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24513 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24514 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
24515 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
24516 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24517 wxPyPreviewFrame
*result
;
24518 bool temp3
= False
;
24521 bool temp7
= False
;
24522 PyObject
* obj0
= 0 ;
24523 PyObject
* obj1
= 0 ;
24524 PyObject
* obj2
= 0 ;
24525 PyObject
* obj3
= 0 ;
24526 PyObject
* obj4
= 0 ;
24527 PyObject
* obj5
= 0 ;
24528 PyObject
* obj6
= 0 ;
24529 char *kwnames
[] = {
24530 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24536 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24539 arg3
= wxString_in_helper(obj2
);
24540 if (arg3
== NULL
) SWIG_fail
;
24546 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24552 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24556 arg6
= (long) SWIG_AsLong(obj5
);
24557 if (PyErr_Occurred()) SWIG_fail
;
24561 arg7
= wxString_in_helper(obj6
);
24562 if (arg7
== NULL
) SWIG_fail
;
24567 if (!wxPyCheckForApp()) SWIG_fail
;
24568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24569 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24571 wxPyEndAllowThreads(__tstate
);
24572 if (PyErr_Occurred()) SWIG_fail
;
24574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
24597 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24598 PyObject
*resultobj
;
24599 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24600 PyObject
*arg2
= (PyObject
*) 0 ;
24601 PyObject
*arg3
= (PyObject
*) 0 ;
24602 PyObject
* obj0
= 0 ;
24603 PyObject
* obj1
= 0 ;
24604 PyObject
* obj2
= 0 ;
24605 char *kwnames
[] = {
24606 (char *) "self",(char *) "self",(char *) "_class", NULL
24609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24616 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24618 wxPyEndAllowThreads(__tstate
);
24619 if (PyErr_Occurred()) SWIG_fail
;
24621 Py_INCREF(Py_None
); resultobj
= Py_None
;
24628 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24629 PyObject
*resultobj
;
24630 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24631 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24632 PyObject
* obj0
= 0 ;
24633 PyObject
* obj1
= 0 ;
24634 char *kwnames
[] = {
24635 (char *) "self",(char *) "canvas", NULL
24638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24645 (arg1
)->SetPreviewCanvas(arg2
);
24647 wxPyEndAllowThreads(__tstate
);
24648 if (PyErr_Occurred()) SWIG_fail
;
24650 Py_INCREF(Py_None
); resultobj
= Py_None
;
24657 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24658 PyObject
*resultobj
;
24659 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24660 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
24661 PyObject
* obj0
= 0 ;
24662 PyObject
* obj1
= 0 ;
24663 char *kwnames
[] = {
24664 (char *) "self",(char *) "bar", NULL
24667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
24668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24670 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
24671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24674 (arg1
)->SetControlBar(arg2
);
24676 wxPyEndAllowThreads(__tstate
);
24677 if (PyErr_Occurred()) SWIG_fail
;
24679 Py_INCREF(Py_None
); resultobj
= Py_None
;
24686 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24687 PyObject
*resultobj
;
24688 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24689 PyObject
* obj0
= 0 ;
24690 char *kwnames
[] = {
24691 (char *) "self", NULL
24694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
24695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24699 (arg1
)->base_Initialize();
24701 wxPyEndAllowThreads(__tstate
);
24702 if (PyErr_Occurred()) SWIG_fail
;
24704 Py_INCREF(Py_None
); resultobj
= Py_None
;
24711 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24712 PyObject
*resultobj
;
24713 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24714 PyObject
* obj0
= 0 ;
24715 char *kwnames
[] = {
24716 (char *) "self", NULL
24719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
24720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24724 (arg1
)->base_CreateCanvas();
24726 wxPyEndAllowThreads(__tstate
);
24727 if (PyErr_Occurred()) SWIG_fail
;
24729 Py_INCREF(Py_None
); resultobj
= Py_None
;
24736 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24737 PyObject
*resultobj
;
24738 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24739 PyObject
* obj0
= 0 ;
24740 char *kwnames
[] = {
24741 (char *) "self", NULL
24744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
24745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24749 (arg1
)->base_CreateControlBar();
24751 wxPyEndAllowThreads(__tstate
);
24752 if (PyErr_Occurred()) SWIG_fail
;
24754 Py_INCREF(Py_None
); resultobj
= Py_None
;
24761 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
24763 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24764 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
24766 return Py_BuildValue((char *)"");
24768 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24769 PyObject
*resultobj
;
24770 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24772 wxWindow
*arg3
= (wxWindow
*) 0 ;
24773 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24774 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24775 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24776 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24777 long arg6
= (long) 0 ;
24778 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24779 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24780 wxPyPreviewControlBar
*result
;
24783 bool temp7
= False
;
24784 PyObject
* obj0
= 0 ;
24785 PyObject
* obj1
= 0 ;
24786 PyObject
* obj2
= 0 ;
24787 PyObject
* obj3
= 0 ;
24788 PyObject
* obj4
= 0 ;
24789 PyObject
* obj5
= 0 ;
24790 PyObject
* obj6
= 0 ;
24791 char *kwnames
[] = {
24792 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24798 arg2
= (long) SWIG_AsLong(obj1
);
24799 if (PyErr_Occurred()) SWIG_fail
;
24800 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
24801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24805 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24811 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24815 arg6
= (long) SWIG_AsLong(obj5
);
24816 if (PyErr_Occurred()) SWIG_fail
;
24820 arg7
= wxString_in_helper(obj6
);
24821 if (arg7
== NULL
) SWIG_fail
;
24826 if (!wxPyCheckForApp()) SWIG_fail
;
24827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24828 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24830 wxPyEndAllowThreads(__tstate
);
24831 if (PyErr_Occurred()) SWIG_fail
;
24833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
24848 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24849 PyObject
*resultobj
;
24850 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24851 PyObject
*arg2
= (PyObject
*) 0 ;
24852 PyObject
*arg3
= (PyObject
*) 0 ;
24853 PyObject
* obj0
= 0 ;
24854 PyObject
* obj1
= 0 ;
24855 PyObject
* obj2
= 0 ;
24856 char *kwnames
[] = {
24857 (char *) "self",(char *) "self",(char *) "_class", NULL
24860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24867 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24869 wxPyEndAllowThreads(__tstate
);
24870 if (PyErr_Occurred()) SWIG_fail
;
24872 Py_INCREF(Py_None
); resultobj
= Py_None
;
24879 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24880 PyObject
*resultobj
;
24881 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24882 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
24883 PyObject
* obj0
= 0 ;
24884 PyObject
* obj1
= 0 ;
24885 char *kwnames
[] = {
24886 (char *) "self",(char *) "preview", NULL
24889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
24893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24896 (arg1
)->SetPrintPreview(arg2
);
24898 wxPyEndAllowThreads(__tstate
);
24899 if (PyErr_Occurred()) SWIG_fail
;
24901 Py_INCREF(Py_None
); resultobj
= Py_None
;
24908 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24909 PyObject
*resultobj
;
24910 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24911 PyObject
* obj0
= 0 ;
24912 char *kwnames
[] = {
24913 (char *) "self", NULL
24916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
24917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24921 (arg1
)->base_CreateButtons();
24923 wxPyEndAllowThreads(__tstate
);
24924 if (PyErr_Occurred()) SWIG_fail
;
24926 Py_INCREF(Py_None
); resultobj
= Py_None
;
24933 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24934 PyObject
*resultobj
;
24935 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24937 PyObject
* obj0
= 0 ;
24938 PyObject
* obj1
= 0 ;
24939 char *kwnames
[] = {
24940 (char *) "self",(char *) "zoom", NULL
24943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
24944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24946 arg2
= (int) SWIG_AsInt(obj1
);
24947 if (PyErr_Occurred()) SWIG_fail
;
24949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24950 (arg1
)->base_SetZoomControl(arg2
);
24952 wxPyEndAllowThreads(__tstate
);
24953 if (PyErr_Occurred()) SWIG_fail
;
24955 Py_INCREF(Py_None
); resultobj
= Py_None
;
24962 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
24964 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24965 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
24967 return Py_BuildValue((char *)"");
24969 static PyMethodDef SwigMethods
[] = {
24970 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
24971 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
24972 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
24973 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24974 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24975 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
24976 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24977 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24978 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24979 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24980 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
24981 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24982 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24983 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
24984 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
24985 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
24986 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
24987 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
24988 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24989 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24990 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
24991 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
24992 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24993 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
24994 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24995 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24996 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24997 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
24998 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24999 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
25000 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
25001 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
25002 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
25003 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
25004 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
25005 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
25006 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
25007 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
25008 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
25009 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
25010 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
25011 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
25012 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
25013 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
25014 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25015 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
25016 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
25017 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
25018 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
25019 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
25020 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
25021 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
25022 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
25023 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25024 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
25025 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25026 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25027 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
25028 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
25029 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25030 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25031 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25032 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
25033 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
25034 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25035 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
25036 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
25037 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
25038 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
25039 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
25040 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
25041 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
25042 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
25043 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
25044 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25045 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
25046 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25047 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
25048 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
25049 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
25050 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25051 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
25052 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
25053 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25054 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25055 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
25056 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
25057 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
25058 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
25059 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
25060 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
25061 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
25062 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
25063 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
25064 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
25065 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
25066 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25067 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25068 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25069 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25070 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
25071 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
25072 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
25073 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
25074 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
25075 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25076 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
25077 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
25078 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
25079 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25080 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
25081 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
25082 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
25083 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
25084 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25085 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
25086 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
25087 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
25088 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
25089 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
},
25090 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
25091 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
25092 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25093 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
25094 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25095 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
25096 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
25097 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
25098 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
25099 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
25100 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
25101 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
25102 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
25103 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25104 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
25105 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
25106 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
25107 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
25108 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
25109 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
25110 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
25111 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
25112 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
25113 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
25114 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25115 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
25116 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
25117 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
25118 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
25119 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
25120 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25121 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25122 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25123 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25124 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
25125 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
25126 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
25127 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
25128 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
25129 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
25130 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
25131 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
25132 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
25133 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
25134 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
25135 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
25136 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
25137 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
25138 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
25139 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
25140 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
25141 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
25142 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
25143 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
25144 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
25145 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
25146 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25147 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25148 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
25149 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
25150 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25151 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25152 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25153 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25154 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
25155 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
25156 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25157 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25158 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
25159 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
25160 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
25161 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
25162 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
25163 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25164 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25165 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25166 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25167 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
25168 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25169 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
25170 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
25171 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
25172 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
25173 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
25174 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
25175 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
25176 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
25177 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
25178 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25179 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
25180 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
25181 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25182 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25183 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25184 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
25185 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
25186 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
25187 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
25188 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
25189 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
25190 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
25191 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25192 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25193 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25194 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25195 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
25196 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
25197 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
25198 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
25199 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
25200 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
25201 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
25202 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
25203 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
25204 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
25205 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
25206 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
25207 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
25208 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
25209 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
25210 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
25211 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25212 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25213 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25214 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
25215 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25216 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
25217 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
25218 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
25219 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
25220 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
25221 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
25222 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
25223 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25224 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
25225 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25226 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
25227 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
25228 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
25229 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
25230 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
25231 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
25232 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
25233 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
25234 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
25235 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
25236 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
25237 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25238 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25239 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
25240 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25241 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
},
25242 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
25243 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
25244 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
25245 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
25246 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
25247 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
25248 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
25249 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
25250 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
25251 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
25252 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
25253 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
25254 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
25255 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
25256 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
25257 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25258 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
25259 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
25260 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25261 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
25262 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
25263 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
25264 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
25265 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
25266 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
25267 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
25268 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25269 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25270 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25271 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
25272 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
25273 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
25274 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25275 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
25276 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
25277 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25278 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
25279 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25280 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
25281 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25282 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
25283 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
25284 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25285 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
25286 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25287 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
25288 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
25289 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
25290 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
25291 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25292 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
25293 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
25294 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
25295 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25296 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25297 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
25298 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25299 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
25300 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
25301 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25302 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25303 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
25304 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
25305 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
25306 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
25307 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
25308 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25309 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
25310 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
25311 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
25312 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
25313 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
25314 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
25315 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25316 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
25317 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
25318 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
25319 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
25320 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
25321 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
25322 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
25323 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
25324 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
25325 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
25326 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
25327 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
25328 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
25329 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
25330 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25331 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25332 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25333 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
25334 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25335 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25336 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25337 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
25338 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
25339 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
25340 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25341 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25342 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25343 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25344 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25345 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25346 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
25347 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25348 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25349 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
25350 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25351 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25352 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
25353 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
25354 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
25355 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25356 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
25357 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
25358 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
25359 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
25360 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
25361 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25362 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25363 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
25364 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
25365 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
25366 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
25367 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25368 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
25369 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
25370 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
25371 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
25372 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25373 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25374 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25375 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
25376 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
25377 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
},
25378 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25379 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25380 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25381 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25382 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25383 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25384 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25385 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25386 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25387 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25388 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25389 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25390 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25391 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25392 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25393 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25394 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25395 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25396 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25397 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25398 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25399 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25400 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25401 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
25402 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
25403 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
},
25404 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25405 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25406 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25407 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25408 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25409 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25410 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25411 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25412 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25413 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25414 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25415 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25416 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25417 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25418 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25419 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25420 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25421 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25422 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25423 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25424 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25425 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25426 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25427 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
25428 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25429 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25430 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25431 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25432 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25433 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25434 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25435 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25436 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25437 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25438 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25439 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25440 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25441 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25442 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25443 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25444 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25445 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25446 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25447 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25448 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25449 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25450 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25451 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25452 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25453 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
},
25454 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
},
25455 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
25456 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25457 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25458 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25459 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25460 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
25461 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25462 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
25463 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25464 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25465 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
25466 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25467 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25468 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25469 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
25470 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25471 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
25472 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25473 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25474 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
25475 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
25476 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
25477 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
25478 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25479 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
25480 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25481 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25482 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
25483 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
25484 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
25485 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
25486 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
25487 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
25488 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25489 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
25490 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25491 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25492 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
25493 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
25494 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
25495 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
25496 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
25497 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
25498 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
25499 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
25500 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
},
25501 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25502 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25503 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25504 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25505 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25506 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25507 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25508 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25509 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25510 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25511 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25512 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25513 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25514 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25515 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25516 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25517 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25518 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25519 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25520 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25521 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25522 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25523 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25524 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25525 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25526 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25527 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25528 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25529 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25530 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25531 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
25532 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25533 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
25534 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25535 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
25536 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
},
25537 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25538 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25539 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25540 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25541 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25542 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25543 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25544 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25545 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25546 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25547 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25548 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25549 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25550 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25551 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25552 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25553 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25554 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25555 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25556 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25557 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25558 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25559 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25560 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25561 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25562 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25563 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25564 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25565 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25566 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25567 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25568 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25569 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
25570 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25571 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25572 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
25573 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25574 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
25575 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25576 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25577 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
25578 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25579 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
25580 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25581 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
25582 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
25583 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
25584 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
25585 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
25586 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
25587 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25588 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
25589 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
25590 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
25591 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25592 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25593 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25594 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25595 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25596 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25597 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25598 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25599 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25600 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25601 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
25602 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
25603 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25604 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25605 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
25606 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
25607 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
25608 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
25609 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25610 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
25611 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25612 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25613 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25614 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25615 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25616 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
25617 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25618 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25619 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25620 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25621 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
25622 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
25623 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
25624 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
25625 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
25626 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
25627 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
},
25628 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25629 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25630 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25631 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25632 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25633 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25634 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25635 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25636 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25637 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25638 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25639 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25640 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
25641 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25642 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25643 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25644 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25645 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25646 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25647 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
25648 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
25649 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25650 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
25651 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
},
25652 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25653 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25654 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25655 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25656 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25657 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25658 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
25659 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25660 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
25661 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25662 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25663 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25664 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25665 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25666 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25667 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25668 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
25669 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25670 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25671 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25672 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
25673 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25674 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
25679 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25681 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
25682 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25684 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25685 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25687 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25688 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25690 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25691 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25693 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25694 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25696 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25697 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25699 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25700 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25702 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
25703 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25705 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25706 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25708 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25709 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25711 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
25712 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25714 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25715 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25717 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25718 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25720 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
25721 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25723 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25724 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25726 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25727 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25729 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25730 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25732 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25733 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25735 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25736 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25738 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25739 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25741 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25742 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25744 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25745 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25747 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25748 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25750 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25751 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25753 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25754 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25756 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25757 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25759 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25760 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25762 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25763 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25765 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25766 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25768 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25769 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25771 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25772 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25774 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25775 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25777 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
25778 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
25780 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
25781 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25783 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25784 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25786 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25787 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25789 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25790 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25792 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25793 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25795 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25796 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25798 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25799 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25801 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25802 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25804 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
25805 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25807 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
25808 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25810 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
25811 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25813 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
25814 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25816 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
25817 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25819 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25820 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25822 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25823 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25825 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25826 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25828 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25829 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25831 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
25832 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25834 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
25835 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25837 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
25838 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25840 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
25841 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25843 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
25844 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25846 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
25847 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25849 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
25850 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25852 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
25853 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
25855 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
25856 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
25858 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
25859 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25861 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
25862 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25864 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
25865 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25867 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
25868 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
25870 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
25871 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25873 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
25874 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
25876 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
25877 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
25879 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
25880 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
25882 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25883 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25885 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
25886 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25888 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
25889 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
25891 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
25892 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
25894 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
25895 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25897 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25898 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25900 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
25901 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25903 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
25904 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25906 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
25907 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25909 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25910 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25912 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25913 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25915 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
25916 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
25918 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
25919 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25921 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
25922 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25924 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
25925 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25927 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25928 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25930 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25931 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25933 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
25934 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25936 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
25937 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25939 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
25940 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25942 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
25943 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25945 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
25946 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25948 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
25949 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25951 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
25952 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25954 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
25955 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25957 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
25958 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25960 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
25961 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25963 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
25964 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
25966 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
25967 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
25969 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
25970 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
25972 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
25973 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25975 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
25976 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
25978 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
25979 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
25981 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
25982 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
25984 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25985 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25987 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
25988 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25990 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
25991 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25993 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
25994 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25996 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25997 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25999 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
26000 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
26002 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
26003 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
26005 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
26006 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
26008 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
26009 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26011 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
26012 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
26014 static void *_p_wxSizerTo_p_wxObject(void *x
) {
26015 return (void *)((wxObject
*) ((wxSizer
*) x
));
26017 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
26018 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26020 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
26021 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26023 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
26024 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26026 static void *_p_wxEventTo_p_wxObject(void *x
) {
26027 return (void *)((wxObject
*) ((wxEvent
*) x
));
26029 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
26030 return (void *)((wxObject
*) ((wxFontData
*) x
));
26032 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
26033 return (void *)((wxObject
*) ((wxPrintData
*) x
));
26035 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
26036 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26038 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
26039 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
26041 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
26042 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
26044 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
26045 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
26047 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
26048 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
26050 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
26051 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26053 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
26054 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
26056 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
26057 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
26059 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
26060 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26062 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
26063 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26065 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
26066 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26068 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
26069 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26071 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
26072 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26074 static void *_p_wxControlTo_p_wxObject(void *x
) {
26075 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26077 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26078 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26080 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
26081 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26083 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26084 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26086 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
26087 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
26089 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26090 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26092 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
26093 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26095 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
26096 return (void *)((wxObject
*) ((wxColourData
*) x
));
26098 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
26099 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
26101 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
26102 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26104 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
26105 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
26107 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
26108 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26110 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
26111 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26113 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
26114 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26116 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
26117 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26119 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
26120 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26122 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
26123 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26125 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
26126 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26128 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
26129 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26131 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
26132 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
26134 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
26135 return (void *)((wxObject
*) ((wxPrinter
*) x
));
26137 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
26138 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
26140 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
26141 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
26143 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
26144 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26146 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
26147 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26149 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
26150 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
26152 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
26153 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
26155 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
26156 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
26158 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
26159 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
26161 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
26162 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
26164 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
26165 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
26167 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
26168 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
26170 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
26171 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
26173 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
26174 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
26176 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
26177 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26179 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26180 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26182 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26183 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26185 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26186 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26188 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26189 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26191 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26192 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26194 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26195 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26197 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26198 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26200 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26201 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26203 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
26204 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26206 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
26207 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26209 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
26210 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26212 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
26213 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
26215 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
26216 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26218 static void *_p_wxImageTo_p_wxObject(void *x
) {
26219 return (void *)((wxObject
*) ((wxImage
*) x
));
26221 static void *_p_wxFrameTo_p_wxObject(void *x
) {
26222 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26224 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
26225 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
26227 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26228 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26230 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
26231 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26233 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
26234 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
26236 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
26237 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26239 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26240 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26242 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26243 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26245 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26246 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26248 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26249 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26251 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26252 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26254 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26255 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26257 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
26258 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26260 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
26261 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
26263 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
26264 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
26266 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
26267 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
26269 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
26270 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
26272 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
26273 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26275 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
26276 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
26278 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
26279 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26281 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
26282 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26284 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
26285 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26287 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
26288 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
26290 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
26291 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26293 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
26294 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
26296 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
26297 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
26299 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
26300 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26302 static void *_p_wxPanelTo_p_wxObject(void *x
) {
26303 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
26305 static void *_p_wxDialogTo_p_wxObject(void *x
) {
26306 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26308 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
26309 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26311 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
26312 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26314 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
26315 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26317 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
26318 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26320 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
26321 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26323 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26324 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26326 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26327 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26329 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26330 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26332 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26333 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26335 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26336 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26338 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26339 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26341 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26342 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26344 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26345 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26347 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26348 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26350 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
26351 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26353 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
26354 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26356 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26357 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26359 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26360 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26362 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26363 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26365 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26366 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26368 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
26369 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
26371 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
26372 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
26374 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26375 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26377 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26378 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26380 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26381 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26383 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26384 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26386 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
26387 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26389 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
26390 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26392 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
26393 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26395 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
26396 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26398 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
26399 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
26401 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
26402 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
26404 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
26405 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
26407 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
26408 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
26410 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
26411 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
26413 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
26414 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
26416 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
26417 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
26419 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
26420 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
26422 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
26423 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
26425 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
26426 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
26428 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
26429 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
26431 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
26432 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
26434 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
26435 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
26437 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
26438 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
26440 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26441 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
26443 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26444 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26446 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26447 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26449 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
26450 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
26452 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26453 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
26455 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26456 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26458 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26459 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26461 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26462 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26464 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26465 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26467 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26468 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26470 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26471 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26473 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26474 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26476 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26477 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26479 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26480 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26482 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26483 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26485 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26486 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26488 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26489 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26491 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26492 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26494 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26495 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26497 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26498 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26500 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26501 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26503 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26504 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26506 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26507 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26509 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26510 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26512 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26513 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26515 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26516 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26518 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26519 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26521 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26522 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26524 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26525 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26527 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26528 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26530 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
26531 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26533 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26534 return (void *)((wxWindow
*) ((wxControl
*) x
));
26536 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26537 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26539 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26540 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26542 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26543 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26545 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26546 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26548 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26549 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26551 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26552 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26554 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26555 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26557 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26558 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26560 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26561 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26563 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26564 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26566 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26567 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26569 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26570 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26572 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26573 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26575 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26576 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26578 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26579 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26581 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26582 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26584 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
26585 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26587 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26588 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26590 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
26591 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26593 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26594 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26596 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
26597 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26599 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
26600 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
26602 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
26603 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
26605 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
26606 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
26608 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
26609 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
26611 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
26612 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
26614 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
26615 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
26617 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
26618 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26620 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
26621 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26623 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
26624 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
26626 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
26627 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
26629 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
26630 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
26632 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
26633 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
26635 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
26636 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26638 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
26639 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26641 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
26642 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26644 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
26645 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26647 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
26648 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
26650 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
26651 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26653 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
26654 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
26656 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
26657 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26659 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
26660 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26662 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
26663 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
26665 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
26666 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26668 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
26669 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26671 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
26672 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26674 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
26675 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26677 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
26678 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26680 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
26681 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26683 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
26684 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26686 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
26687 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26689 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
26690 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
26692 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
26693 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26695 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}};
26696 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}};
26697 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}};
26698 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}};
26699 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}};
26700 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}};
26701 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}};
26702 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}};
26703 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}};
26704 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}};
26705 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}};
26706 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}};
26707 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}};
26708 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}};
26709 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}};
26710 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}};
26711 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}};
26712 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}};
26713 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}};
26714 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}};
26715 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}};
26716 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}};
26717 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}};
26718 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}};
26719 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}};
26720 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}};
26721 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}};
26722 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}};
26723 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}};
26724 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}};
26725 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}};
26726 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}};
26727 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}};
26728 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}};
26729 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}};
26730 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}};
26731 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}};
26732 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}};
26733 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}};
26734 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}};
26735 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}};
26736 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}};
26737 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}};
26738 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}};
26739 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}};
26740 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}};
26741 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}};
26742 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}};
26743 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}};
26744 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}};
26745 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}};
26746 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}};
26747 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}};
26748 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}};
26749 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}};
26750 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}};
26751 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}};
26752 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}};
26753 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}};
26754 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}};
26755 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}};
26756 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}};
26757 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}};
26758 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}};
26759 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}};
26760 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}};
26761 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}};
26762 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}};
26763 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}};
26764 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}};
26765 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}};
26766 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}};
26767 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}};
26768 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}};
26769 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}};
26770 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}};
26771 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}};
26772 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}};
26773 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}};
26774 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}};
26775 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}};
26776 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}};
26777 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}};
26778 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}};
26779 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}};
26780 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}};
26782 static swig_type_info
*swig_types_initial
[] = {
26783 _swigt__p_wxQueryLayoutInfoEvent
,
26784 _swigt__p_wxPreviewFrame
,
26785 _swigt__p_wxPyPreviewFrame
,
26786 _swigt__p_wxPyPanel
,
26788 _swigt__p_wxPrintData
,
26789 _swigt__p_wxFontData
,
26791 _swigt__p_wxTaskBarIcon
,
26792 _swigt__p_wxIconBundle
,
26793 _swigt__p_wxLayoutAlgorithm
,
26794 _swigt__p_wxFindDialogEvent
,
26795 _swigt__p_wxPreviewCanvas
,
26797 _swigt__p_wxSplitterEvent
,
26798 _swigt__p_wxRegion
,
26799 _swigt__p_wxFindReplaceData
,
26804 _swigt__p_wxVisualAttributes
,
26805 _swigt__p_wxMDIChildFrame
,
26806 _swigt__p_wxColourData
,
26807 _swigt__p_wxNotifyEvent
,
26808 _swigt__p_wxPyWindow
,
26809 _swigt__p_wxSplashScreen
,
26810 _swigt__p_wxFindReplaceDialog
,
26811 _swigt__p_wxProgressDialog
,
26812 _swigt__p_wxMessageDialog
,
26813 _swigt__p_wxTextEntryDialog
,
26814 _swigt__p_wxSingleChoiceDialog
,
26815 _swigt__p_wxMultiChoiceDialog
,
26816 _swigt__p_wxFileDialog
,
26817 _swigt__p_wxPrinter
,
26818 _swigt__p_wxArrayInt
,
26819 _swigt__p_wxEvtHandler
,
26820 _swigt__p_wxCalculateLayoutEvent
,
26821 _swigt__p_wxPyHtmlListBox
,
26822 _swigt__p_wxPyVListBox
,
26825 _swigt__p_wxMiniFrame
,
26827 _swigt__p_wxPyPrintout
,
26828 _swigt__p_wxTaskBarIconEvent
,
26829 _swigt__p_wxScrollWinEvent
,
26830 _swigt__p_wxStatusBar
,
26831 _swigt__p_wxMDIParentFrame
,
26833 _swigt__p_wxObject
,
26834 _swigt__p_wxOutputStream
,
26835 _swigt__p_wxPyScrolledWindow
,
26836 _swigt__p_wxMDIClientWindow
,
26837 _swigt__p_wxTipWindow
,
26838 _swigt__p_wxSashLayoutWindow
,
26839 _swigt__p_wxSplitterWindow
,
26840 _swigt__p_wxPyVScrolledWindow
,
26841 _swigt__p_wxPyPopupTransientWindow
,
26842 _swigt__p_wxPopupWindow
,
26843 _swigt__p_wxSashWindow
,
26844 _swigt__p_wxTopLevelWindow
,
26845 _swigt__p_wxWindow
,
26846 _swigt__p_wxScrolledWindow
,
26847 _swigt__p_wxSplashScreenWindow
,
26848 _swigt__p_wxMenuBar
,
26849 _swigt__p_wxPrintPreview
,
26850 _swigt__p_wxSashEvent
,
26851 _swigt__p_wxString
,
26852 _swigt__p_wxPyPrintPreview
,
26853 _swigt__p_wxFontDialog
,
26854 _swigt__p_wxDirDialog
,
26855 _swigt__p_wxColourDialog
,
26856 _swigt__p_wxDialog
,
26858 _swigt__p_wxPageSetupDialog
,
26859 _swigt__p_wxPrintDialog
,
26860 _swigt__p_wxFileSystem
,
26861 _swigt__p_wxBitmap
,
26862 _swigt__p_wxCommandEvent
,
26863 _swigt__p_wxPreviewControlBar
,
26864 _swigt__p_wxPyPreviewControlBar
,
26865 _swigt__p_wxColour
,
26866 _swigt__p_wxToolBar
,
26867 _swigt__p_wxPageSetupDialogData
,
26868 _swigt__p_wxPrintDialogData
,
26873 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26875 static swig_const_info swig_const_table
[] = {
26885 SWIGEXPORT(void) SWIG_init(void) {
26886 static PyObject
*SWIG_globals
= 0;
26887 static int typeinit
= 0;
26890 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26891 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26892 d
= PyModule_GetDict(m
);
26895 for (i
= 0; swig_types_initial
[i
]; i
++) {
26896 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26900 SWIG_InstallConstants(d
,swig_const_table
);
26902 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26903 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
26904 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
26905 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
26906 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
26907 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
26908 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
26909 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
26910 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
26911 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
26912 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
26913 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
26914 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
26915 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
26916 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
26917 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
26918 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
26919 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
26920 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
26921 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
26922 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
26923 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
26924 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
26925 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
26926 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
26927 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
26928 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL
));
26929 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS
));
26930 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS
));
26931 PyDict_SetItemString(d
,"NO_3D", SWIG_FromInt((int)wxNO_3D
));
26932 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
26933 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
26934 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
26935 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
26936 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
26937 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
26938 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
26939 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
26940 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
26941 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
26942 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
26943 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
26944 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
26945 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
26946 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
26947 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
26948 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
26949 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
26950 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
26951 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
26952 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
26953 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
26954 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
26955 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
26956 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
26957 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
26958 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
26959 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
26960 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
26961 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
26962 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
26963 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
26964 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
26965 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
26966 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
26967 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
26968 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
26969 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
26970 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
26971 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
26972 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
26973 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
26974 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
26975 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
26976 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
26977 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
26978 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
26979 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
26980 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
26981 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
26982 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
26983 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
26984 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
26985 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
26986 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
26987 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
26988 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
26989 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
26990 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
26991 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
26992 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
26993 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
26994 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
26996 // Map renamed classes back to their common name for OOR
26997 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26998 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26999 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27001 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
27002 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
27003 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
27004 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
27005 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
27006 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
27007 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
27008 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
27009 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
27010 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
27011 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
27012 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
27013 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
27014 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
27015 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
27016 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
27017 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
27018 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
27019 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
27020 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
27021 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
27022 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
27023 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
27024 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
27025 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
27026 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
27027 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
27028 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
27029 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
27030 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
27031 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
27032 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
27033 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
27034 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
27035 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
27036 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
27037 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
27038 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
27039 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
27040 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
27041 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
27042 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
27043 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
27044 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
27045 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
27046 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
27047 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
27048 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
27049 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
27050 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
27051 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
27052 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
27053 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
27054 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
27055 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
27056 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
27057 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
27058 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
27059 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
27060 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
27062 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");