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_wxSplashScreenWindow swig_types[57]
267 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58]
268 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[59]
269 #define SWIGTYPE_p_wxPopupWindow swig_types[60]
270 #define SWIGTYPE_p_wxSashWindow swig_types[61]
271 #define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
272 #define SWIGTYPE_p_wxWindow swig_types[63]
273 #define SWIGTYPE_p_wxScrolledWindow swig_types[64]
274 #define SWIGTYPE_p_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_SetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2546 PyObject
*resultobj
;
2547 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2550 PyObject
* obj0
= 0 ;
2551 PyObject
* obj1
= 0 ;
2553 (char *) "self",(char *) "rect", NULL
2556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2561 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2565 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2567 wxPyEndAllowThreads(__tstate
);
2568 if (PyErr_Occurred()) SWIG_fail
;
2570 Py_INCREF(Py_None
); resultobj
= Py_None
;
2577 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2578 PyObject
*resultobj
;
2579 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2581 PyObject
* obj0
= 0 ;
2583 (char *) "self", NULL
2586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2591 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2593 wxPyEndAllowThreads(__tstate
);
2594 if (PyErr_Occurred()) SWIG_fail
;
2598 resultptr
= new wxRect((wxRect
&) result
);
2599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
2607 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2608 PyObject
*resultobj
;
2609 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2610 wxVisualAttributes result
;
2611 PyObject
* obj0
= 0 ;
2613 (char *) "variant", NULL
2616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2618 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2619 if (PyErr_Occurred()) SWIG_fail
;
2622 if (!wxPyCheckForApp()) SWIG_fail
;
2623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2624 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2626 wxPyEndAllowThreads(__tstate
);
2627 if (PyErr_Occurred()) SWIG_fail
;
2630 wxVisualAttributes
* resultptr
;
2631 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2632 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2640 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2643 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2645 return Py_BuildValue((char *)"");
2647 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2648 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2653 static PyObject
*_wrap_FrameNameStr_get() {
2658 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2660 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2667 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2668 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2673 static PyObject
*_wrap_DialogNameStr_get() {
2678 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2680 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2687 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2688 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2693 static PyObject
*_wrap_StatusLineNameStr_get() {
2698 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2700 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2707 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2708 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2713 static PyObject
*_wrap_ToolBarNameStr_get() {
2718 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2720 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2727 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2728 PyObject
*resultobj
;
2729 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2730 bool arg2
= (bool) True
;
2731 PyObject
* obj0
= 0 ;
2732 PyObject
* obj1
= 0 ;
2734 (char *) "self",(char *) "maximize", NULL
2737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2741 arg2
= (bool) SWIG_AsBool(obj1
);
2742 if (PyErr_Occurred()) SWIG_fail
;
2745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2746 (arg1
)->Maximize(arg2
);
2748 wxPyEndAllowThreads(__tstate
);
2749 if (PyErr_Occurred()) SWIG_fail
;
2751 Py_INCREF(Py_None
); resultobj
= Py_None
;
2758 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2759 PyObject
*resultobj
;
2760 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2761 PyObject
* obj0
= 0 ;
2763 (char *) "self", NULL
2766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2773 wxPyEndAllowThreads(__tstate
);
2774 if (PyErr_Occurred()) SWIG_fail
;
2776 Py_INCREF(Py_None
); resultobj
= Py_None
;
2783 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2784 PyObject
*resultobj
;
2785 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2786 bool arg2
= (bool) True
;
2787 PyObject
* obj0
= 0 ;
2788 PyObject
* obj1
= 0 ;
2790 (char *) "self",(char *) "iconize", NULL
2793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2797 arg2
= (bool) SWIG_AsBool(obj1
);
2798 if (PyErr_Occurred()) SWIG_fail
;
2801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2802 (arg1
)->Iconize(arg2
);
2804 wxPyEndAllowThreads(__tstate
);
2805 if (PyErr_Occurred()) SWIG_fail
;
2807 Py_INCREF(Py_None
); resultobj
= Py_None
;
2814 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2815 PyObject
*resultobj
;
2816 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2818 PyObject
* obj0
= 0 ;
2820 (char *) "self", NULL
2823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2828 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2830 wxPyEndAllowThreads(__tstate
);
2831 if (PyErr_Occurred()) SWIG_fail
;
2834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2842 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2843 PyObject
*resultobj
;
2844 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2846 PyObject
* obj0
= 0 ;
2848 (char *) "self", NULL
2851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2856 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2858 wxPyEndAllowThreads(__tstate
);
2859 if (PyErr_Occurred()) SWIG_fail
;
2862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2870 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2871 PyObject
*resultobj
;
2872 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2874 PyObject
* obj0
= 0 ;
2876 (char *) "self", NULL
2879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2884 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2886 wxPyEndAllowThreads(__tstate
);
2887 if (PyErr_Occurred()) SWIG_fail
;
2891 resultptr
= new wxIcon((wxIcon
&) result
);
2892 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2900 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2901 PyObject
*resultobj
;
2902 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2904 PyObject
* obj0
= 0 ;
2905 PyObject
* obj1
= 0 ;
2907 (char *) "self",(char *) "icon", NULL
2910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2913 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2914 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2917 PyErr_SetString(PyExc_TypeError
,"null reference");
2921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2922 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2924 wxPyEndAllowThreads(__tstate
);
2925 if (PyErr_Occurred()) SWIG_fail
;
2927 Py_INCREF(Py_None
); resultobj
= Py_None
;
2934 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2935 PyObject
*resultobj
;
2936 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2937 wxIconBundle
*arg2
= 0 ;
2938 PyObject
* obj0
= 0 ;
2939 PyObject
* obj1
= 0 ;
2941 (char *) "self",(char *) "icons", NULL
2944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2947 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2948 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2951 PyErr_SetString(PyExc_TypeError
,"null reference");
2955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2956 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2958 wxPyEndAllowThreads(__tstate
);
2959 if (PyErr_Occurred()) SWIG_fail
;
2961 Py_INCREF(Py_None
); resultobj
= Py_None
;
2968 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
*resultobj
;
2970 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2972 long arg3
= (long) wxFULLSCREEN_ALL
;
2974 PyObject
* obj0
= 0 ;
2975 PyObject
* obj1
= 0 ;
2976 PyObject
* obj2
= 0 ;
2978 (char *) "self",(char *) "show",(char *) "style", NULL
2981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2984 arg2
= (bool) SWIG_AsBool(obj1
);
2985 if (PyErr_Occurred()) SWIG_fail
;
2987 arg3
= (long) SWIG_AsLong(obj2
);
2988 if (PyErr_Occurred()) SWIG_fail
;
2991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2992 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2994 wxPyEndAllowThreads(__tstate
);
2995 if (PyErr_Occurred()) SWIG_fail
;
2998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3006 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3007 PyObject
*resultobj
;
3008 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3010 PyObject
* obj0
= 0 ;
3012 (char *) "self", NULL
3015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
3016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3020 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
3022 wxPyEndAllowThreads(__tstate
);
3023 if (PyErr_Occurred()) SWIG_fail
;
3026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3034 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3035 PyObject
*resultobj
;
3036 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3037 wxString
*arg2
= 0 ;
3038 bool temp2
= False
;
3039 PyObject
* obj0
= 0 ;
3040 PyObject
* obj1
= 0 ;
3042 (char *) "self",(char *) "title", NULL
3045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
3046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3049 arg2
= wxString_in_helper(obj1
);
3050 if (arg2
== NULL
) SWIG_fail
;
3054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3055 (arg1
)->SetTitle((wxString
const &)*arg2
);
3057 wxPyEndAllowThreads(__tstate
);
3058 if (PyErr_Occurred()) SWIG_fail
;
3060 Py_INCREF(Py_None
); resultobj
= Py_None
;
3075 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3076 PyObject
*resultobj
;
3077 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3079 PyObject
* obj0
= 0 ;
3081 (char *) "self", NULL
3084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
3085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3089 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
3091 wxPyEndAllowThreads(__tstate
);
3092 if (PyErr_Occurred()) SWIG_fail
;
3096 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3098 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3107 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3108 PyObject
*resultobj
;
3109 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3110 wxRegion
*arg2
= 0 ;
3112 PyObject
* obj0
= 0 ;
3113 PyObject
* obj1
= 0 ;
3115 (char *) "self",(char *) "region", NULL
3118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3121 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
3122 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3125 PyErr_SetString(PyExc_TypeError
,"null reference");
3129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3130 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
3132 wxPyEndAllowThreads(__tstate
);
3133 if (PyErr_Occurred()) SWIG_fail
;
3136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3144 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
3146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3147 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3149 return Py_BuildValue((char *)"");
3151 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3152 PyObject
*resultobj
;
3153 wxWindow
*arg1
= (wxWindow
*) 0 ;
3154 int arg2
= (int) (int)-1 ;
3155 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3156 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3157 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3158 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3159 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3160 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3161 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3162 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3163 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3165 bool temp3
= False
;
3168 bool temp7
= False
;
3169 PyObject
* obj0
= 0 ;
3170 PyObject
* obj1
= 0 ;
3171 PyObject
* obj2
= 0 ;
3172 PyObject
* obj3
= 0 ;
3173 PyObject
* obj4
= 0 ;
3174 PyObject
* obj5
= 0 ;
3175 PyObject
* obj6
= 0 ;
3177 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3184 arg2
= (int const) SWIG_AsInt(obj1
);
3185 if (PyErr_Occurred()) SWIG_fail
;
3189 arg3
= wxString_in_helper(obj2
);
3190 if (arg3
== NULL
) SWIG_fail
;
3197 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3203 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3207 arg6
= (long) SWIG_AsLong(obj5
);
3208 if (PyErr_Occurred()) SWIG_fail
;
3212 arg7
= wxString_in_helper(obj6
);
3213 if (arg7
== NULL
) SWIG_fail
;
3218 if (!wxPyCheckForApp()) SWIG_fail
;
3219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3220 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3222 wxPyEndAllowThreads(__tstate
);
3223 if (PyErr_Occurred()) SWIG_fail
;
3226 resultobj
= wxPyMake_wxObject(result
);
3250 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3251 PyObject
*resultobj
;
3257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3259 if (!wxPyCheckForApp()) SWIG_fail
;
3260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3261 result
= (wxFrame
*)new wxFrame();
3263 wxPyEndAllowThreads(__tstate
);
3264 if (PyErr_Occurred()) SWIG_fail
;
3267 resultobj
= wxPyMake_wxObject(result
);
3275 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3276 PyObject
*resultobj
;
3277 wxFrame
*arg1
= (wxFrame
*) 0 ;
3278 wxWindow
*arg2
= (wxWindow
*) 0 ;
3279 int arg3
= (int) (int)-1 ;
3280 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3281 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3282 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3283 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3284 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3285 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3286 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3287 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3288 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3290 bool temp4
= False
;
3293 bool temp8
= False
;
3294 PyObject
* obj0
= 0 ;
3295 PyObject
* obj1
= 0 ;
3296 PyObject
* obj2
= 0 ;
3297 PyObject
* obj3
= 0 ;
3298 PyObject
* obj4
= 0 ;
3299 PyObject
* obj5
= 0 ;
3300 PyObject
* obj6
= 0 ;
3301 PyObject
* obj7
= 0 ;
3303 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3309 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3312 arg3
= (int const) SWIG_AsInt(obj2
);
3313 if (PyErr_Occurred()) SWIG_fail
;
3317 arg4
= wxString_in_helper(obj3
);
3318 if (arg4
== NULL
) SWIG_fail
;
3325 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3331 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3335 arg7
= (long) SWIG_AsLong(obj6
);
3336 if (PyErr_Occurred()) SWIG_fail
;
3340 arg8
= wxString_in_helper(obj7
);
3341 if (arg8
== NULL
) SWIG_fail
;
3346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3347 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3349 wxPyEndAllowThreads(__tstate
);
3350 if (PyErr_Occurred()) SWIG_fail
;
3353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3377 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3378 PyObject
*resultobj
;
3379 wxFrame
*arg1
= (wxFrame
*) 0 ;
3381 PyObject
* obj0
= 0 ;
3383 (char *) "self", NULL
3386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3391 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3393 wxPyEndAllowThreads(__tstate
);
3394 if (PyErr_Occurred()) SWIG_fail
;
3397 wxPoint
* resultptr
;
3398 resultptr
= new wxPoint((wxPoint
&) result
);
3399 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3407 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3408 PyObject
*resultobj
;
3409 wxFrame
*arg1
= (wxFrame
*) 0 ;
3410 PyObject
* obj0
= 0 ;
3412 (char *) "self", NULL
3415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3420 (arg1
)->SendSizeEvent();
3422 wxPyEndAllowThreads(__tstate
);
3423 if (PyErr_Occurred()) SWIG_fail
;
3425 Py_INCREF(Py_None
); resultobj
= Py_None
;
3432 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3433 PyObject
*resultobj
;
3434 wxFrame
*arg1
= (wxFrame
*) 0 ;
3435 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3436 PyObject
* obj0
= 0 ;
3437 PyObject
* obj1
= 0 ;
3439 (char *) "self",(char *) "menubar", NULL
3442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3449 (arg1
)->SetMenuBar(arg2
);
3451 wxPyEndAllowThreads(__tstate
);
3452 if (PyErr_Occurred()) SWIG_fail
;
3454 Py_INCREF(Py_None
); resultobj
= Py_None
;
3461 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3462 PyObject
*resultobj
;
3463 wxFrame
*arg1
= (wxFrame
*) 0 ;
3465 PyObject
* obj0
= 0 ;
3467 (char *) "self", NULL
3470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3475 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3477 wxPyEndAllowThreads(__tstate
);
3478 if (PyErr_Occurred()) SWIG_fail
;
3481 resultobj
= wxPyMake_wxObject(result
);
3489 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3490 PyObject
*resultobj
;
3491 wxFrame
*arg1
= (wxFrame
*) 0 ;
3494 PyObject
* obj0
= 0 ;
3495 PyObject
* obj1
= 0 ;
3497 (char *) "self",(char *) "winid", NULL
3500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3503 arg2
= (int) SWIG_AsInt(obj1
);
3504 if (PyErr_Occurred()) SWIG_fail
;
3506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3507 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3509 wxPyEndAllowThreads(__tstate
);
3510 if (PyErr_Occurred()) SWIG_fail
;
3513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3521 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3522 PyObject
*resultobj
;
3523 wxFrame
*arg1
= (wxFrame
*) 0 ;
3524 int arg2
= (int) 1 ;
3525 long arg3
= (long) wxST_SIZEGRIP
;
3526 int arg4
= (int) 0 ;
3527 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3528 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3529 wxStatusBar
*result
;
3530 bool temp5
= False
;
3531 PyObject
* obj0
= 0 ;
3532 PyObject
* obj1
= 0 ;
3533 PyObject
* obj2
= 0 ;
3534 PyObject
* obj3
= 0 ;
3535 PyObject
* obj4
= 0 ;
3537 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3544 arg2
= (int) SWIG_AsInt(obj1
);
3545 if (PyErr_Occurred()) SWIG_fail
;
3548 arg3
= (long) SWIG_AsLong(obj2
);
3549 if (PyErr_Occurred()) SWIG_fail
;
3552 arg4
= (int) SWIG_AsInt(obj3
);
3553 if (PyErr_Occurred()) SWIG_fail
;
3557 arg5
= wxString_in_helper(obj4
);
3558 if (arg5
== NULL
) SWIG_fail
;
3563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3564 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3566 wxPyEndAllowThreads(__tstate
);
3567 if (PyErr_Occurred()) SWIG_fail
;
3570 resultobj
= wxPyMake_wxObject(result
);
3586 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3587 PyObject
*resultobj
;
3588 wxFrame
*arg1
= (wxFrame
*) 0 ;
3589 wxStatusBar
*result
;
3590 PyObject
* obj0
= 0 ;
3592 (char *) "self", NULL
3595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3600 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3602 wxPyEndAllowThreads(__tstate
);
3603 if (PyErr_Occurred()) SWIG_fail
;
3606 resultobj
= wxPyMake_wxObject(result
);
3614 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3615 PyObject
*resultobj
;
3616 wxFrame
*arg1
= (wxFrame
*) 0 ;
3617 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3618 PyObject
* obj0
= 0 ;
3619 PyObject
* obj1
= 0 ;
3621 (char *) "self",(char *) "statBar", NULL
3624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3627 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3631 (arg1
)->SetStatusBar(arg2
);
3633 wxPyEndAllowThreads(__tstate
);
3634 if (PyErr_Occurred()) SWIG_fail
;
3636 Py_INCREF(Py_None
); resultobj
= Py_None
;
3643 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3644 PyObject
*resultobj
;
3645 wxFrame
*arg1
= (wxFrame
*) 0 ;
3646 wxString
*arg2
= 0 ;
3647 int arg3
= (int) 0 ;
3648 bool temp2
= False
;
3649 PyObject
* obj0
= 0 ;
3650 PyObject
* obj1
= 0 ;
3651 PyObject
* obj2
= 0 ;
3653 (char *) "self",(char *) "text",(char *) "number", NULL
3656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3660 arg2
= wxString_in_helper(obj1
);
3661 if (arg2
== NULL
) SWIG_fail
;
3665 arg3
= (int) SWIG_AsInt(obj2
);
3666 if (PyErr_Occurred()) SWIG_fail
;
3669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3670 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3672 wxPyEndAllowThreads(__tstate
);
3673 if (PyErr_Occurred()) SWIG_fail
;
3675 Py_INCREF(Py_None
); resultobj
= Py_None
;
3690 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3691 PyObject
*resultobj
;
3692 wxFrame
*arg1
= (wxFrame
*) 0 ;
3694 int *arg3
= (int *) 0 ;
3695 PyObject
* obj0
= 0 ;
3696 PyObject
* obj1
= 0 ;
3698 (char *) "self",(char *) "widths", NULL
3701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3705 arg2
= PyList_Size(obj1
);
3706 arg3
= int_LIST_helper(obj1
);
3707 if (arg3
== NULL
) SWIG_fail
;
3710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3711 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3713 wxPyEndAllowThreads(__tstate
);
3714 if (PyErr_Occurred()) SWIG_fail
;
3716 Py_INCREF(Py_None
); resultobj
= Py_None
;
3718 if (arg3
) delete [] arg3
;
3723 if (arg3
) delete [] arg3
;
3729 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3730 PyObject
*resultobj
;
3731 wxFrame
*arg1
= (wxFrame
*) 0 ;
3732 wxString
*arg2
= 0 ;
3733 int arg3
= (int) 0 ;
3734 bool temp2
= False
;
3735 PyObject
* obj0
= 0 ;
3736 PyObject
* obj1
= 0 ;
3737 PyObject
* obj2
= 0 ;
3739 (char *) "self",(char *) "text",(char *) "number", NULL
3742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3746 arg2
= wxString_in_helper(obj1
);
3747 if (arg2
== NULL
) SWIG_fail
;
3751 arg3
= (int) SWIG_AsInt(obj2
);
3752 if (PyErr_Occurred()) SWIG_fail
;
3755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3756 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3758 wxPyEndAllowThreads(__tstate
);
3759 if (PyErr_Occurred()) SWIG_fail
;
3761 Py_INCREF(Py_None
); resultobj
= Py_None
;
3776 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3777 PyObject
*resultobj
;
3778 wxFrame
*arg1
= (wxFrame
*) 0 ;
3779 int arg2
= (int) 0 ;
3780 PyObject
* obj0
= 0 ;
3781 PyObject
* obj1
= 0 ;
3783 (char *) "self",(char *) "number", NULL
3786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3790 arg2
= (int) SWIG_AsInt(obj1
);
3791 if (PyErr_Occurred()) SWIG_fail
;
3794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3795 (arg1
)->PopStatusText(arg2
);
3797 wxPyEndAllowThreads(__tstate
);
3798 if (PyErr_Occurred()) SWIG_fail
;
3800 Py_INCREF(Py_None
); resultobj
= Py_None
;
3807 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3808 PyObject
*resultobj
;
3809 wxFrame
*arg1
= (wxFrame
*) 0 ;
3811 PyObject
* obj0
= 0 ;
3812 PyObject
* obj1
= 0 ;
3814 (char *) "self",(char *) "n", NULL
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3820 arg2
= (int) SWIG_AsInt(obj1
);
3821 if (PyErr_Occurred()) SWIG_fail
;
3823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3824 (arg1
)->SetStatusBarPane(arg2
);
3826 wxPyEndAllowThreads(__tstate
);
3827 if (PyErr_Occurred()) SWIG_fail
;
3829 Py_INCREF(Py_None
); resultobj
= Py_None
;
3836 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3837 PyObject
*resultobj
;
3838 wxFrame
*arg1
= (wxFrame
*) 0 ;
3840 PyObject
* obj0
= 0 ;
3842 (char *) "self", NULL
3845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3850 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) SWIG_fail
;
3855 resultobj
= SWIG_FromInt((int)result
);
3862 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3863 PyObject
*resultobj
;
3864 wxFrame
*arg1
= (wxFrame
*) 0 ;
3865 long arg2
= (long) -1 ;
3866 int arg3
= (int) -1 ;
3867 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3868 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3870 bool temp4
= False
;
3871 PyObject
* obj0
= 0 ;
3872 PyObject
* obj1
= 0 ;
3873 PyObject
* obj2
= 0 ;
3874 PyObject
* obj3
= 0 ;
3876 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3883 arg2
= (long) SWIG_AsLong(obj1
);
3884 if (PyErr_Occurred()) SWIG_fail
;
3887 arg3
= (int) SWIG_AsInt(obj2
);
3888 if (PyErr_Occurred()) SWIG_fail
;
3892 arg4
= wxString_in_helper(obj3
);
3893 if (arg4
== NULL
) SWIG_fail
;
3898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3899 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3901 wxPyEndAllowThreads(__tstate
);
3902 if (PyErr_Occurred()) SWIG_fail
;
3905 resultobj
= wxPyMake_wxObject(result
);
3921 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3922 PyObject
*resultobj
;
3923 wxFrame
*arg1
= (wxFrame
*) 0 ;
3925 PyObject
* obj0
= 0 ;
3927 (char *) "self", NULL
3930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3935 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3937 wxPyEndAllowThreads(__tstate
);
3938 if (PyErr_Occurred()) SWIG_fail
;
3941 resultobj
= wxPyMake_wxObject(result
);
3949 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3950 PyObject
*resultobj
;
3951 wxFrame
*arg1
= (wxFrame
*) 0 ;
3952 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3953 PyObject
* obj0
= 0 ;
3954 PyObject
* obj1
= 0 ;
3956 (char *) "self",(char *) "toolbar", NULL
3959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3962 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
3963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3966 (arg1
)->SetToolBar(arg2
);
3968 wxPyEndAllowThreads(__tstate
);
3969 if (PyErr_Occurred()) SWIG_fail
;
3971 Py_INCREF(Py_None
); resultobj
= Py_None
;
3978 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3979 PyObject
*resultobj
;
3980 wxFrame
*arg1
= (wxFrame
*) 0 ;
3981 wxString
*arg2
= 0 ;
3983 bool temp2
= False
;
3984 PyObject
* obj0
= 0 ;
3985 PyObject
* obj1
= 0 ;
3986 PyObject
* obj2
= 0 ;
3988 (char *) "self",(char *) "text",(char *) "show", NULL
3991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3995 arg2
= wxString_in_helper(obj1
);
3996 if (arg2
== NULL
) SWIG_fail
;
3999 arg3
= (bool) SWIG_AsBool(obj2
);
4000 if (PyErr_Occurred()) SWIG_fail
;
4002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4003 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
4005 wxPyEndAllowThreads(__tstate
);
4006 if (PyErr_Occurred()) SWIG_fail
;
4008 Py_INCREF(Py_None
); resultobj
= Py_None
;
4023 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4024 PyObject
*resultobj
;
4025 wxFrame
*arg1
= (wxFrame
*) 0 ;
4026 wxMenu
*arg2
= (wxMenu
*) NULL
;
4027 PyObject
* obj0
= 0 ;
4028 PyObject
* obj1
= 0 ;
4030 (char *) "self",(char *) "menu", NULL
4033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
4034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
4038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4042 (arg1
)->DoMenuUpdates(arg2
);
4044 wxPyEndAllowThreads(__tstate
);
4045 if (PyErr_Occurred()) SWIG_fail
;
4047 Py_INCREF(Py_None
); resultobj
= Py_None
;
4054 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4055 PyObject
*resultobj
;
4056 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4057 wxVisualAttributes result
;
4058 PyObject
* obj0
= 0 ;
4060 (char *) "variant", NULL
4063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4065 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4066 if (PyErr_Occurred()) SWIG_fail
;
4069 if (!wxPyCheckForApp()) SWIG_fail
;
4070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4071 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4073 wxPyEndAllowThreads(__tstate
);
4074 if (PyErr_Occurred()) SWIG_fail
;
4077 wxVisualAttributes
* resultptr
;
4078 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4079 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4087 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
4089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4090 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
4092 return Py_BuildValue((char *)"");
4094 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4095 PyObject
*resultobj
;
4096 wxWindow
*arg1
= (wxWindow
*) 0 ;
4097 int arg2
= (int) (int)-1 ;
4098 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4099 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4100 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4101 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4102 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4103 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4104 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
4105 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
4106 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4108 bool temp3
= False
;
4111 bool temp7
= False
;
4112 PyObject
* obj0
= 0 ;
4113 PyObject
* obj1
= 0 ;
4114 PyObject
* obj2
= 0 ;
4115 PyObject
* obj3
= 0 ;
4116 PyObject
* obj4
= 0 ;
4117 PyObject
* obj5
= 0 ;
4118 PyObject
* obj6
= 0 ;
4120 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4127 arg2
= (int const) SWIG_AsInt(obj1
);
4128 if (PyErr_Occurred()) SWIG_fail
;
4132 arg3
= wxString_in_helper(obj2
);
4133 if (arg3
== NULL
) SWIG_fail
;
4140 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4146 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4150 arg6
= (long) SWIG_AsLong(obj5
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4155 arg7
= wxString_in_helper(obj6
);
4156 if (arg7
== NULL
) SWIG_fail
;
4161 if (!wxPyCheckForApp()) SWIG_fail
;
4162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4163 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4165 wxPyEndAllowThreads(__tstate
);
4166 if (PyErr_Occurred()) SWIG_fail
;
4169 resultobj
= wxPyMake_wxObject(result
);
4193 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4194 PyObject
*resultobj
;
4200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4202 if (!wxPyCheckForApp()) SWIG_fail
;
4203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4204 result
= (wxDialog
*)new wxDialog();
4206 wxPyEndAllowThreads(__tstate
);
4207 if (PyErr_Occurred()) SWIG_fail
;
4210 resultobj
= wxPyMake_wxObject(result
);
4218 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4219 PyObject
*resultobj
;
4220 wxDialog
*arg1
= (wxDialog
*) 0 ;
4221 wxWindow
*arg2
= (wxWindow
*) 0 ;
4222 int arg3
= (int) (int)-1 ;
4223 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4224 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4225 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4226 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4227 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4228 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4229 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4230 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4231 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4233 bool temp4
= False
;
4236 bool temp8
= False
;
4237 PyObject
* obj0
= 0 ;
4238 PyObject
* obj1
= 0 ;
4239 PyObject
* obj2
= 0 ;
4240 PyObject
* obj3
= 0 ;
4241 PyObject
* obj4
= 0 ;
4242 PyObject
* obj5
= 0 ;
4243 PyObject
* obj6
= 0 ;
4244 PyObject
* obj7
= 0 ;
4246 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4252 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4255 arg3
= (int const) SWIG_AsInt(obj2
);
4256 if (PyErr_Occurred()) SWIG_fail
;
4260 arg4
= wxString_in_helper(obj3
);
4261 if (arg4
== NULL
) SWIG_fail
;
4268 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4274 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4278 arg7
= (long) SWIG_AsLong(obj6
);
4279 if (PyErr_Occurred()) SWIG_fail
;
4283 arg8
= wxString_in_helper(obj7
);
4284 if (arg8
== NULL
) SWIG_fail
;
4289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4290 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4292 wxPyEndAllowThreads(__tstate
);
4293 if (PyErr_Occurred()) SWIG_fail
;
4296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4320 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4321 PyObject
*resultobj
;
4322 wxDialog
*arg1
= (wxDialog
*) 0 ;
4324 PyObject
* obj0
= 0 ;
4325 PyObject
* obj1
= 0 ;
4327 (char *) "self",(char *) "returnCode", NULL
4330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4333 arg2
= (int) SWIG_AsInt(obj1
);
4334 if (PyErr_Occurred()) SWIG_fail
;
4336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4337 (arg1
)->SetReturnCode(arg2
);
4339 wxPyEndAllowThreads(__tstate
);
4340 if (PyErr_Occurred()) SWIG_fail
;
4342 Py_INCREF(Py_None
); resultobj
= Py_None
;
4349 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
*resultobj
;
4351 wxDialog
*arg1
= (wxDialog
*) 0 ;
4353 PyObject
* obj0
= 0 ;
4355 (char *) "self", NULL
4358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4363 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4365 wxPyEndAllowThreads(__tstate
);
4366 if (PyErr_Occurred()) SWIG_fail
;
4368 resultobj
= SWIG_FromInt((int)result
);
4375 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4376 PyObject
*resultobj
;
4377 wxDialog
*arg1
= (wxDialog
*) 0 ;
4378 wxString
*arg2
= 0 ;
4380 bool temp2
= False
;
4381 PyObject
* obj0
= 0 ;
4382 PyObject
* obj1
= 0 ;
4384 (char *) "self",(char *) "message", NULL
4387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4391 arg2
= wxString_in_helper(obj1
);
4392 if (arg2
== NULL
) SWIG_fail
;
4396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4397 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4399 wxPyEndAllowThreads(__tstate
);
4400 if (PyErr_Occurred()) SWIG_fail
;
4403 resultobj
= wxPyMake_wxSizer(result
);
4419 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4420 PyObject
*resultobj
;
4421 wxDialog
*arg1
= (wxDialog
*) 0 ;
4424 PyObject
* obj0
= 0 ;
4425 PyObject
* obj1
= 0 ;
4427 (char *) "self",(char *) "flags", NULL
4430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4433 arg2
= (long) SWIG_AsLong(obj1
);
4434 if (PyErr_Occurred()) SWIG_fail
;
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4437 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4439 wxPyEndAllowThreads(__tstate
);
4440 if (PyErr_Occurred()) SWIG_fail
;
4443 resultobj
= wxPyMake_wxSizer(result
);
4451 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4452 PyObject
*resultobj
;
4453 wxDialog
*arg1
= (wxDialog
*) 0 ;
4455 PyObject
* obj0
= 0 ;
4457 (char *) "self", NULL
4460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4465 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4467 wxPyEndAllowThreads(__tstate
);
4468 if (PyErr_Occurred()) SWIG_fail
;
4471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4479 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
*resultobj
;
4481 wxDialog
*arg1
= (wxDialog
*) 0 ;
4483 PyObject
* obj0
= 0 ;
4485 (char *) "self", NULL
4488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4493 result
= (int)(arg1
)->ShowModal();
4495 wxPyEndAllowThreads(__tstate
);
4496 if (PyErr_Occurred()) SWIG_fail
;
4498 resultobj
= SWIG_FromInt((int)result
);
4505 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4506 PyObject
*resultobj
;
4507 wxDialog
*arg1
= (wxDialog
*) 0 ;
4509 PyObject
* obj0
= 0 ;
4510 PyObject
* obj1
= 0 ;
4512 (char *) "self",(char *) "retCode", NULL
4515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4518 arg2
= (int) SWIG_AsInt(obj1
);
4519 if (PyErr_Occurred()) SWIG_fail
;
4521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4522 (arg1
)->EndModal(arg2
);
4524 wxPyEndAllowThreads(__tstate
);
4525 if (PyErr_Occurred()) SWIG_fail
;
4527 Py_INCREF(Py_None
); resultobj
= Py_None
;
4534 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4535 PyObject
*resultobj
;
4536 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4537 wxVisualAttributes result
;
4538 PyObject
* obj0
= 0 ;
4540 (char *) "variant", NULL
4543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4545 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4546 if (PyErr_Occurred()) SWIG_fail
;
4549 if (!wxPyCheckForApp()) SWIG_fail
;
4550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4551 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4553 wxPyEndAllowThreads(__tstate
);
4554 if (PyErr_Occurred()) SWIG_fail
;
4557 wxVisualAttributes
* resultptr
;
4558 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4567 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4569 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4570 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4572 return Py_BuildValue((char *)"");
4574 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4575 PyObject
*resultobj
;
4576 wxWindow
*arg1
= (wxWindow
*) 0 ;
4577 int arg2
= (int) (int)-1 ;
4578 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4579 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4580 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4581 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4582 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4583 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4584 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4585 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4586 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4587 wxMiniFrame
*result
;
4588 bool temp3
= False
;
4591 bool temp7
= False
;
4592 PyObject
* obj0
= 0 ;
4593 PyObject
* obj1
= 0 ;
4594 PyObject
* obj2
= 0 ;
4595 PyObject
* obj3
= 0 ;
4596 PyObject
* obj4
= 0 ;
4597 PyObject
* obj5
= 0 ;
4598 PyObject
* obj6
= 0 ;
4600 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4607 arg2
= (int const) SWIG_AsInt(obj1
);
4608 if (PyErr_Occurred()) SWIG_fail
;
4612 arg3
= wxString_in_helper(obj2
);
4613 if (arg3
== NULL
) SWIG_fail
;
4620 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4626 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4630 arg6
= (long) SWIG_AsLong(obj5
);
4631 if (PyErr_Occurred()) SWIG_fail
;
4635 arg7
= wxString_in_helper(obj6
);
4636 if (arg7
== NULL
) SWIG_fail
;
4641 if (!wxPyCheckForApp()) SWIG_fail
;
4642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4643 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4645 wxPyEndAllowThreads(__tstate
);
4646 if (PyErr_Occurred()) SWIG_fail
;
4648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4671 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4672 PyObject
*resultobj
;
4673 wxMiniFrame
*result
;
4678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4680 if (!wxPyCheckForApp()) SWIG_fail
;
4681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4682 result
= (wxMiniFrame
*)new wxMiniFrame();
4684 wxPyEndAllowThreads(__tstate
);
4685 if (PyErr_Occurred()) SWIG_fail
;
4687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4694 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
*resultobj
;
4696 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4697 wxWindow
*arg2
= (wxWindow
*) 0 ;
4698 int arg3
= (int) (int)-1 ;
4699 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4700 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4701 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4702 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4703 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4704 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4705 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4706 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4707 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4709 bool temp4
= False
;
4712 bool temp8
= False
;
4713 PyObject
* obj0
= 0 ;
4714 PyObject
* obj1
= 0 ;
4715 PyObject
* obj2
= 0 ;
4716 PyObject
* obj3
= 0 ;
4717 PyObject
* obj4
= 0 ;
4718 PyObject
* obj5
= 0 ;
4719 PyObject
* obj6
= 0 ;
4720 PyObject
* obj7
= 0 ;
4722 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4731 arg3
= (int const) SWIG_AsInt(obj2
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4736 arg4
= wxString_in_helper(obj3
);
4737 if (arg4
== NULL
) SWIG_fail
;
4744 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4750 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4754 arg7
= (long) SWIG_AsLong(obj6
);
4755 if (PyErr_Occurred()) SWIG_fail
;
4759 arg8
= wxString_in_helper(obj7
);
4760 if (arg8
== NULL
) SWIG_fail
;
4765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4766 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4768 wxPyEndAllowThreads(__tstate
);
4769 if (PyErr_Occurred()) SWIG_fail
;
4772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4796 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4798 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4799 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4801 return Py_BuildValue((char *)"");
4803 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4804 PyObject
*resultobj
;
4805 wxBitmap
*arg1
= 0 ;
4806 wxWindow
*arg2
= (wxWindow
*) 0 ;
4808 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4809 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4810 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4811 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4812 long arg6
= (long) wxNO_BORDER
;
4813 wxSplashScreenWindow
*result
;
4816 PyObject
* obj0
= 0 ;
4817 PyObject
* obj1
= 0 ;
4818 PyObject
* obj2
= 0 ;
4819 PyObject
* obj3
= 0 ;
4820 PyObject
* obj4
= 0 ;
4821 PyObject
* obj5
= 0 ;
4823 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4828 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4831 PyErr_SetString(PyExc_TypeError
,"null reference");
4834 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4836 arg3
= (int) SWIG_AsInt(obj2
);
4837 if (PyErr_Occurred()) SWIG_fail
;
4841 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4847 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4851 arg6
= (long) SWIG_AsLong(obj5
);
4852 if (PyErr_Occurred()) SWIG_fail
;
4855 if (!wxPyCheckForApp()) SWIG_fail
;
4856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4857 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4859 wxPyEndAllowThreads(__tstate
);
4860 if (PyErr_Occurred()) SWIG_fail
;
4862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4869 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4870 PyObject
*resultobj
;
4871 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4872 wxBitmap
*arg2
= 0 ;
4873 PyObject
* obj0
= 0 ;
4874 PyObject
* obj1
= 0 ;
4876 (char *) "self",(char *) "bitmap", NULL
4879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4882 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4883 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4886 PyErr_SetString(PyExc_TypeError
,"null reference");
4890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4891 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4893 wxPyEndAllowThreads(__tstate
);
4894 if (PyErr_Occurred()) SWIG_fail
;
4896 Py_INCREF(Py_None
); resultobj
= Py_None
;
4903 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4904 PyObject
*resultobj
;
4905 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4907 PyObject
* obj0
= 0 ;
4909 (char *) "self", NULL
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4918 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4919 result
= (wxBitmap
*) &_result_ref
;
4922 wxPyEndAllowThreads(__tstate
);
4923 if (PyErr_Occurred()) SWIG_fail
;
4926 wxBitmap
* resultptr
= new wxBitmap(*result
);
4927 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4935 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4938 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4940 return Py_BuildValue((char *)"");
4942 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4943 PyObject
*resultobj
;
4944 wxBitmap
*arg1
= 0 ;
4947 wxWindow
*arg4
= (wxWindow
*) 0 ;
4948 int arg5
= (int) -1 ;
4949 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4950 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4951 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4952 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4953 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4954 wxSplashScreen
*result
;
4957 PyObject
* obj0
= 0 ;
4958 PyObject
* obj1
= 0 ;
4959 PyObject
* obj2
= 0 ;
4960 PyObject
* obj3
= 0 ;
4961 PyObject
* obj4
= 0 ;
4962 PyObject
* obj5
= 0 ;
4963 PyObject
* obj6
= 0 ;
4964 PyObject
* obj7
= 0 ;
4966 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4971 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4974 PyErr_SetString(PyExc_TypeError
,"null reference");
4977 arg2
= (long) SWIG_AsLong(obj1
);
4978 if (PyErr_Occurred()) SWIG_fail
;
4979 arg3
= (int) SWIG_AsInt(obj2
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4981 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4984 arg5
= (int) SWIG_AsInt(obj4
);
4985 if (PyErr_Occurred()) SWIG_fail
;
4990 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4996 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
5000 arg8
= (long) SWIG_AsLong(obj7
);
5001 if (PyErr_Occurred()) SWIG_fail
;
5004 if (!wxPyCheckForApp()) SWIG_fail
;
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
5018 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
*resultobj
;
5020 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5022 PyObject
* obj0
= 0 ;
5024 (char *) "self", NULL
5027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
5028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5032 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
5034 wxPyEndAllowThreads(__tstate
);
5035 if (PyErr_Occurred()) SWIG_fail
;
5037 resultobj
= SWIG_FromLong((long)result
);
5044 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5045 PyObject
*resultobj
;
5046 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5047 wxSplashScreenWindow
*result
;
5048 PyObject
* obj0
= 0 ;
5050 (char *) "self", NULL
5053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
5054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5058 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
5060 wxPyEndAllowThreads(__tstate
);
5061 if (PyErr_Occurred()) SWIG_fail
;
5063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
5070 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5071 PyObject
*resultobj
;
5072 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5074 PyObject
* obj0
= 0 ;
5076 (char *) "self", NULL
5079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
5080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5084 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
5086 wxPyEndAllowThreads(__tstate
);
5087 if (PyErr_Occurred()) SWIG_fail
;
5089 resultobj
= SWIG_FromInt((int)result
);
5096 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
5098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5099 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
5101 return Py_BuildValue((char *)"");
5103 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5104 PyObject
*resultobj
;
5105 wxWindow
*arg1
= (wxWindow
*) 0 ;
5106 int arg2
= (int) -1 ;
5107 long arg3
= (long) wxST_SIZEGRIP
;
5108 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
5109 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5110 wxStatusBar
*result
;
5111 bool temp4
= False
;
5112 PyObject
* obj0
= 0 ;
5113 PyObject
* obj1
= 0 ;
5114 PyObject
* obj2
= 0 ;
5115 PyObject
* obj3
= 0 ;
5117 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5124 arg2
= (int) SWIG_AsInt(obj1
);
5125 if (PyErr_Occurred()) SWIG_fail
;
5128 arg3
= (long) SWIG_AsLong(obj2
);
5129 if (PyErr_Occurred()) SWIG_fail
;
5133 arg4
= wxString_in_helper(obj3
);
5134 if (arg4
== NULL
) SWIG_fail
;
5139 if (!wxPyCheckForApp()) SWIG_fail
;
5140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5141 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
5143 wxPyEndAllowThreads(__tstate
);
5144 if (PyErr_Occurred()) SWIG_fail
;
5147 resultobj
= wxPyMake_wxObject(result
);
5163 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5164 PyObject
*resultobj
;
5165 wxStatusBar
*result
;
5170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5172 if (!wxPyCheckForApp()) SWIG_fail
;
5173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 result
= (wxStatusBar
*)new wxStatusBar();
5176 wxPyEndAllowThreads(__tstate
);
5177 if (PyErr_Occurred()) SWIG_fail
;
5180 resultobj
= wxPyMake_wxObject(result
);
5188 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
*resultobj
;
5190 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5191 wxWindow
*arg2
= (wxWindow
*) 0 ;
5192 int arg3
= (int) -1 ;
5193 long arg4
= (long) wxST_SIZEGRIP
;
5194 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5195 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5197 bool temp5
= False
;
5198 PyObject
* obj0
= 0 ;
5199 PyObject
* obj1
= 0 ;
5200 PyObject
* obj2
= 0 ;
5201 PyObject
* obj3
= 0 ;
5202 PyObject
* obj4
= 0 ;
5204 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5210 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5213 arg3
= (int) SWIG_AsInt(obj2
);
5214 if (PyErr_Occurred()) SWIG_fail
;
5217 arg4
= (long) SWIG_AsLong(obj3
);
5218 if (PyErr_Occurred()) SWIG_fail
;
5222 arg5
= wxString_in_helper(obj4
);
5223 if (arg5
== NULL
) SWIG_fail
;
5228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5229 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5231 wxPyEndAllowThreads(__tstate
);
5232 if (PyErr_Occurred()) SWIG_fail
;
5235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5251 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5252 PyObject
*resultobj
;
5253 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5254 int arg2
= (int) 1 ;
5255 PyObject
* obj0
= 0 ;
5256 PyObject
* obj1
= 0 ;
5258 (char *) "self",(char *) "number", NULL
5261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5265 arg2
= (int) SWIG_AsInt(obj1
);
5266 if (PyErr_Occurred()) SWIG_fail
;
5269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5270 (arg1
)->SetFieldsCount(arg2
);
5272 wxPyEndAllowThreads(__tstate
);
5273 if (PyErr_Occurred()) SWIG_fail
;
5275 Py_INCREF(Py_None
); resultobj
= Py_None
;
5282 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5283 PyObject
*resultobj
;
5284 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5286 PyObject
* obj0
= 0 ;
5288 (char *) "self", NULL
5291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5296 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5298 wxPyEndAllowThreads(__tstate
);
5299 if (PyErr_Occurred()) SWIG_fail
;
5301 resultobj
= SWIG_FromInt((int)result
);
5308 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5309 PyObject
*resultobj
;
5310 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5311 wxString
*arg2
= 0 ;
5312 int arg3
= (int) 0 ;
5313 bool temp2
= False
;
5314 PyObject
* obj0
= 0 ;
5315 PyObject
* obj1
= 0 ;
5316 PyObject
* obj2
= 0 ;
5318 (char *) "self",(char *) "text",(char *) "number", NULL
5321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5325 arg2
= wxString_in_helper(obj1
);
5326 if (arg2
== NULL
) SWIG_fail
;
5330 arg3
= (int) SWIG_AsInt(obj2
);
5331 if (PyErr_Occurred()) SWIG_fail
;
5334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5335 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5337 wxPyEndAllowThreads(__tstate
);
5338 if (PyErr_Occurred()) SWIG_fail
;
5340 Py_INCREF(Py_None
); resultobj
= Py_None
;
5355 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5356 PyObject
*resultobj
;
5357 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5358 int arg2
= (int) 0 ;
5360 PyObject
* obj0
= 0 ;
5361 PyObject
* obj1
= 0 ;
5363 (char *) "self",(char *) "number", NULL
5366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5370 arg2
= (int) SWIG_AsInt(obj1
);
5371 if (PyErr_Occurred()) SWIG_fail
;
5374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5375 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5377 wxPyEndAllowThreads(__tstate
);
5378 if (PyErr_Occurred()) SWIG_fail
;
5382 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5384 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5393 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5394 PyObject
*resultobj
;
5395 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5396 wxString
*arg2
= 0 ;
5397 int arg3
= (int) 0 ;
5398 bool temp2
= False
;
5399 PyObject
* obj0
= 0 ;
5400 PyObject
* obj1
= 0 ;
5401 PyObject
* obj2
= 0 ;
5403 (char *) "self",(char *) "text",(char *) "number", NULL
5406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5410 arg2
= wxString_in_helper(obj1
);
5411 if (arg2
== NULL
) SWIG_fail
;
5415 arg3
= (int) SWIG_AsInt(obj2
);
5416 if (PyErr_Occurred()) SWIG_fail
;
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5420 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5422 wxPyEndAllowThreads(__tstate
);
5423 if (PyErr_Occurred()) SWIG_fail
;
5425 Py_INCREF(Py_None
); resultobj
= Py_None
;
5440 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5441 PyObject
*resultobj
;
5442 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5443 int arg2
= (int) 0 ;
5444 PyObject
* obj0
= 0 ;
5445 PyObject
* obj1
= 0 ;
5447 (char *) "self",(char *) "number", NULL
5450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5454 arg2
= (int) SWIG_AsInt(obj1
);
5455 if (PyErr_Occurred()) SWIG_fail
;
5458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5459 (arg1
)->PopStatusText(arg2
);
5461 wxPyEndAllowThreads(__tstate
);
5462 if (PyErr_Occurred()) SWIG_fail
;
5464 Py_INCREF(Py_None
); resultobj
= Py_None
;
5471 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5472 PyObject
*resultobj
;
5473 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5475 int *arg3
= (int *) 0 ;
5476 PyObject
* obj0
= 0 ;
5477 PyObject
* obj1
= 0 ;
5479 (char *) "self",(char *) "widths", NULL
5482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5486 arg2
= PyList_Size(obj1
);
5487 arg3
= int_LIST_helper(obj1
);
5488 if (arg3
== NULL
) SWIG_fail
;
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5497 Py_INCREF(Py_None
); resultobj
= Py_None
;
5499 if (arg3
) delete [] arg3
;
5504 if (arg3
) delete [] arg3
;
5510 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5511 PyObject
*resultobj
;
5512 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5515 PyObject
* obj0
= 0 ;
5516 PyObject
* obj1
= 0 ;
5518 (char *) "self",(char *) "i", NULL
5521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5524 arg2
= (int) SWIG_AsInt(obj1
);
5525 if (PyErr_Occurred()) SWIG_fail
;
5527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5528 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5530 wxPyEndAllowThreads(__tstate
);
5531 if (PyErr_Occurred()) SWIG_fail
;
5535 resultptr
= new wxRect((wxRect
&) result
);
5536 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5544 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5545 PyObject
*resultobj
;
5546 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5548 PyObject
* obj0
= 0 ;
5549 PyObject
* obj1
= 0 ;
5551 (char *) "self",(char *) "height", NULL
5554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5557 arg2
= (int) SWIG_AsInt(obj1
);
5558 if (PyErr_Occurred()) SWIG_fail
;
5560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5561 (arg1
)->SetMinHeight(arg2
);
5563 wxPyEndAllowThreads(__tstate
);
5564 if (PyErr_Occurred()) SWIG_fail
;
5566 Py_INCREF(Py_None
); resultobj
= Py_None
;
5573 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5574 PyObject
*resultobj
;
5575 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5577 PyObject
* obj0
= 0 ;
5579 (char *) "self", NULL
5582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5587 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5589 wxPyEndAllowThreads(__tstate
);
5590 if (PyErr_Occurred()) SWIG_fail
;
5592 resultobj
= SWIG_FromInt((int)result
);
5599 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5600 PyObject
*resultobj
;
5601 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5603 PyObject
* obj0
= 0 ;
5605 (char *) "self", NULL
5608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5613 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5615 wxPyEndAllowThreads(__tstate
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5618 resultobj
= SWIG_FromInt((int)result
);
5625 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
*resultobj
;
5627 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5628 wxVisualAttributes result
;
5629 PyObject
* obj0
= 0 ;
5631 (char *) "variant", NULL
5634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5636 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5637 if (PyErr_Occurred()) SWIG_fail
;
5640 if (!wxPyCheckForApp()) SWIG_fail
;
5641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5642 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5644 wxPyEndAllowThreads(__tstate
);
5645 if (PyErr_Occurred()) SWIG_fail
;
5648 wxVisualAttributes
* resultptr
;
5649 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5650 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5658 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5661 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5663 return Py_BuildValue((char *)"");
5665 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5666 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5671 static PyObject
*_wrap_SplitterNameStr_get() {
5676 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5678 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5685 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5686 PyObject
*resultobj
;
5687 wxWindow
*arg1
= (wxWindow
*) 0 ;
5688 int arg2
= (int) -1 ;
5689 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5690 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5691 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5692 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5693 long arg5
= (long) wxSP_3D
;
5694 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5695 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5696 wxSplitterWindow
*result
;
5699 bool temp6
= False
;
5700 PyObject
* obj0
= 0 ;
5701 PyObject
* obj1
= 0 ;
5702 PyObject
* obj2
= 0 ;
5703 PyObject
* obj3
= 0 ;
5704 PyObject
* obj4
= 0 ;
5705 PyObject
* obj5
= 0 ;
5707 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5714 arg2
= (int) SWIG_AsInt(obj1
);
5715 if (PyErr_Occurred()) SWIG_fail
;
5720 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5726 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5730 arg5
= (long) SWIG_AsLong(obj4
);
5731 if (PyErr_Occurred()) SWIG_fail
;
5735 arg6
= wxString_in_helper(obj5
);
5736 if (arg6
== NULL
) SWIG_fail
;
5741 if (!wxPyCheckForApp()) SWIG_fail
;
5742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5743 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5745 wxPyEndAllowThreads(__tstate
);
5746 if (PyErr_Occurred()) SWIG_fail
;
5748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5763 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5764 PyObject
*resultobj
;
5765 wxSplitterWindow
*result
;
5770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5772 if (!wxPyCheckForApp()) SWIG_fail
;
5773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5774 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5776 wxPyEndAllowThreads(__tstate
);
5777 if (PyErr_Occurred()) SWIG_fail
;
5779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5786 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5787 PyObject
*resultobj
;
5788 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5789 wxWindow
*arg2
= (wxWindow
*) 0 ;
5790 int arg3
= (int) -1 ;
5791 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5792 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5793 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5794 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5795 long arg6
= (long) wxSP_3D
;
5796 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5797 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5801 bool temp7
= False
;
5802 PyObject
* obj0
= 0 ;
5803 PyObject
* obj1
= 0 ;
5804 PyObject
* obj2
= 0 ;
5805 PyObject
* obj3
= 0 ;
5806 PyObject
* obj4
= 0 ;
5807 PyObject
* obj5
= 0 ;
5808 PyObject
* obj6
= 0 ;
5810 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5816 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5819 arg3
= (int) SWIG_AsInt(obj2
);
5820 if (PyErr_Occurred()) SWIG_fail
;
5825 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5831 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5835 arg6
= (long) SWIG_AsLong(obj5
);
5836 if (PyErr_Occurred()) SWIG_fail
;
5840 arg7
= wxString_in_helper(obj6
);
5841 if (arg7
== NULL
) SWIG_fail
;
5846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5847 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5849 wxPyEndAllowThreads(__tstate
);
5850 if (PyErr_Occurred()) SWIG_fail
;
5853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5869 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5870 PyObject
*resultobj
;
5871 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5873 PyObject
* obj0
= 0 ;
5875 (char *) "self", NULL
5878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5883 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5885 wxPyEndAllowThreads(__tstate
);
5886 if (PyErr_Occurred()) SWIG_fail
;
5889 resultobj
= wxPyMake_wxObject(result
);
5897 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5898 PyObject
*resultobj
;
5899 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5901 PyObject
* obj0
= 0 ;
5903 (char *) "self", NULL
5906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5911 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5917 resultobj
= wxPyMake_wxObject(result
);
5925 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5926 PyObject
*resultobj
;
5927 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5929 PyObject
* obj0
= 0 ;
5930 PyObject
* obj1
= 0 ;
5932 (char *) "self",(char *) "mode", NULL
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5938 arg2
= (int) SWIG_AsInt(obj1
);
5939 if (PyErr_Occurred()) SWIG_fail
;
5941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5942 (arg1
)->SetSplitMode(arg2
);
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 Py_INCREF(Py_None
); resultobj
= Py_None
;
5954 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5955 PyObject
*resultobj
;
5956 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5958 PyObject
* obj0
= 0 ;
5960 (char *) "self", NULL
5963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5968 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5973 resultobj
= SWIG_FromInt((int)result
);
5980 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
*resultobj
;
5982 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5983 wxWindow
*arg2
= (wxWindow
*) 0 ;
5984 PyObject
* obj0
= 0 ;
5985 PyObject
* obj1
= 0 ;
5987 (char *) "self",(char *) "window", NULL
5990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5993 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5997 (arg1
)->Initialize(arg2
);
5999 wxPyEndAllowThreads(__tstate
);
6000 if (PyErr_Occurred()) SWIG_fail
;
6002 Py_INCREF(Py_None
); resultobj
= Py_None
;
6009 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6010 PyObject
*resultobj
;
6011 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6012 wxWindow
*arg2
= (wxWindow
*) 0 ;
6013 wxWindow
*arg3
= (wxWindow
*) 0 ;
6014 int arg4
= (int) 0 ;
6016 PyObject
* obj0
= 0 ;
6017 PyObject
* obj1
= 0 ;
6018 PyObject
* obj2
= 0 ;
6019 PyObject
* obj3
= 0 ;
6021 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6027 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6029 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6032 arg4
= (int) SWIG_AsInt(obj3
);
6033 if (PyErr_Occurred()) SWIG_fail
;
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
6039 wxPyEndAllowThreads(__tstate
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6051 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6052 PyObject
*resultobj
;
6053 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6054 wxWindow
*arg2
= (wxWindow
*) 0 ;
6055 wxWindow
*arg3
= (wxWindow
*) 0 ;
6056 int arg4
= (int) 0 ;
6058 PyObject
* obj0
= 0 ;
6059 PyObject
* obj1
= 0 ;
6060 PyObject
* obj2
= 0 ;
6061 PyObject
* obj3
= 0 ;
6063 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6069 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6071 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6074 arg4
= (int) SWIG_AsInt(obj3
);
6075 if (PyErr_Occurred()) SWIG_fail
;
6078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6079 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
6081 wxPyEndAllowThreads(__tstate
);
6082 if (PyErr_Occurred()) SWIG_fail
;
6085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6093 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6094 PyObject
*resultobj
;
6095 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6096 wxWindow
*arg2
= (wxWindow
*) NULL
;
6098 PyObject
* obj0
= 0 ;
6099 PyObject
* obj1
= 0 ;
6101 (char *) "self",(char *) "toRemove", NULL
6104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
6105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6108 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6113 result
= (bool)(arg1
)->Unsplit(arg2
);
6115 wxPyEndAllowThreads(__tstate
);
6116 if (PyErr_Occurred()) SWIG_fail
;
6119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6127 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6128 PyObject
*resultobj
;
6129 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6130 wxWindow
*arg2
= (wxWindow
*) 0 ;
6131 wxWindow
*arg3
= (wxWindow
*) 0 ;
6133 PyObject
* obj0
= 0 ;
6134 PyObject
* obj1
= 0 ;
6135 PyObject
* obj2
= 0 ;
6137 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6143 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6145 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6149 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6151 wxPyEndAllowThreads(__tstate
);
6152 if (PyErr_Occurred()) SWIG_fail
;
6155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6163 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6164 PyObject
*resultobj
;
6165 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6166 PyObject
* obj0
= 0 ;
6168 (char *) "self", NULL
6171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6176 (arg1
)->UpdateSize();
6178 wxPyEndAllowThreads(__tstate
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6181 Py_INCREF(Py_None
); resultobj
= Py_None
;
6188 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6189 PyObject
*resultobj
;
6190 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6192 PyObject
* obj0
= 0 ;
6194 (char *) "self", NULL
6197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6202 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6204 wxPyEndAllowThreads(__tstate
);
6205 if (PyErr_Occurred()) SWIG_fail
;
6208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6216 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
*resultobj
;
6218 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6220 PyObject
* obj0
= 0 ;
6221 PyObject
* obj1
= 0 ;
6223 (char *) "self",(char *) "width", NULL
6226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6229 arg2
= (int) SWIG_AsInt(obj1
);
6230 if (PyErr_Occurred()) SWIG_fail
;
6232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6233 (arg1
)->SetSashSize(arg2
);
6235 wxPyEndAllowThreads(__tstate
);
6236 if (PyErr_Occurred()) SWIG_fail
;
6238 Py_INCREF(Py_None
); resultobj
= Py_None
;
6245 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6246 PyObject
*resultobj
;
6247 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6249 PyObject
* obj0
= 0 ;
6250 PyObject
* obj1
= 0 ;
6252 (char *) "self",(char *) "width", NULL
6255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6258 arg2
= (int) SWIG_AsInt(obj1
);
6259 if (PyErr_Occurred()) SWIG_fail
;
6261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6262 (arg1
)->SetBorderSize(arg2
);
6264 wxPyEndAllowThreads(__tstate
);
6265 if (PyErr_Occurred()) SWIG_fail
;
6267 Py_INCREF(Py_None
); resultobj
= Py_None
;
6274 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6275 PyObject
*resultobj
;
6276 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6278 PyObject
* obj0
= 0 ;
6280 (char *) "self", NULL
6283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6288 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6290 wxPyEndAllowThreads(__tstate
);
6291 if (PyErr_Occurred()) SWIG_fail
;
6293 resultobj
= SWIG_FromInt((int)result
);
6300 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6301 PyObject
*resultobj
;
6302 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6304 PyObject
* obj0
= 0 ;
6306 (char *) "self", NULL
6309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6314 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6316 wxPyEndAllowThreads(__tstate
);
6317 if (PyErr_Occurred()) SWIG_fail
;
6319 resultobj
= SWIG_FromInt((int)result
);
6326 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6327 PyObject
*resultobj
;
6328 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6330 bool arg3
= (bool) True
;
6331 PyObject
* obj0
= 0 ;
6332 PyObject
* obj1
= 0 ;
6333 PyObject
* obj2
= 0 ;
6335 (char *) "self",(char *) "position",(char *) "redraw", NULL
6338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6341 arg2
= (int) SWIG_AsInt(obj1
);
6342 if (PyErr_Occurred()) SWIG_fail
;
6344 arg3
= (bool) SWIG_AsBool(obj2
);
6345 if (PyErr_Occurred()) SWIG_fail
;
6348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6349 (arg1
)->SetSashPosition(arg2
,arg3
);
6351 wxPyEndAllowThreads(__tstate
);
6352 if (PyErr_Occurred()) SWIG_fail
;
6354 Py_INCREF(Py_None
); resultobj
= Py_None
;
6361 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
*resultobj
;
6363 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6365 PyObject
* obj0
= 0 ;
6367 (char *) "self", NULL
6370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6375 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6377 wxPyEndAllowThreads(__tstate
);
6378 if (PyErr_Occurred()) SWIG_fail
;
6380 resultobj
= SWIG_FromInt((int)result
);
6387 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6388 PyObject
*resultobj
;
6389 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6391 PyObject
* obj0
= 0 ;
6392 PyObject
* obj1
= 0 ;
6394 (char *) "self",(char *) "min", NULL
6397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6400 arg2
= (int) SWIG_AsInt(obj1
);
6401 if (PyErr_Occurred()) SWIG_fail
;
6403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6404 (arg1
)->SetMinimumPaneSize(arg2
);
6406 wxPyEndAllowThreads(__tstate
);
6407 if (PyErr_Occurred()) SWIG_fail
;
6409 Py_INCREF(Py_None
); resultobj
= Py_None
;
6416 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6417 PyObject
*resultobj
;
6418 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6420 PyObject
* obj0
= 0 ;
6422 (char *) "self", NULL
6425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6430 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6432 wxPyEndAllowThreads(__tstate
);
6433 if (PyErr_Occurred()) SWIG_fail
;
6435 resultobj
= SWIG_FromInt((int)result
);
6442 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6443 PyObject
*resultobj
;
6444 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6447 int arg4
= (int) 5 ;
6449 PyObject
* obj0
= 0 ;
6450 PyObject
* obj1
= 0 ;
6451 PyObject
* obj2
= 0 ;
6452 PyObject
* obj3
= 0 ;
6454 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6460 arg2
= (int) SWIG_AsInt(obj1
);
6461 if (PyErr_Occurred()) SWIG_fail
;
6462 arg3
= (int) SWIG_AsInt(obj2
);
6463 if (PyErr_Occurred()) SWIG_fail
;
6465 arg4
= (int) SWIG_AsInt(obj3
);
6466 if (PyErr_Occurred()) SWIG_fail
;
6469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6470 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6472 wxPyEndAllowThreads(__tstate
);
6473 if (PyErr_Occurred()) SWIG_fail
;
6476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6484 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6485 PyObject
*resultobj
;
6486 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6487 PyObject
* obj0
= 0 ;
6489 (char *) "self", NULL
6492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6497 (arg1
)->SizeWindows();
6499 wxPyEndAllowThreads(__tstate
);
6500 if (PyErr_Occurred()) SWIG_fail
;
6502 Py_INCREF(Py_None
); resultobj
= Py_None
;
6509 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6510 PyObject
*resultobj
;
6511 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6513 PyObject
* obj0
= 0 ;
6514 PyObject
* obj1
= 0 ;
6516 (char *) "self",(char *) "needUpdating", NULL
6519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6522 arg2
= (bool) SWIG_AsBool(obj1
);
6523 if (PyErr_Occurred()) SWIG_fail
;
6525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6526 (arg1
)->SetNeedUpdating(arg2
);
6528 wxPyEndAllowThreads(__tstate
);
6529 if (PyErr_Occurred()) SWIG_fail
;
6531 Py_INCREF(Py_None
); resultobj
= Py_None
;
6538 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6539 PyObject
*resultobj
;
6540 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6542 PyObject
* obj0
= 0 ;
6544 (char *) "self", NULL
6547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6552 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6554 wxPyEndAllowThreads(__tstate
);
6555 if (PyErr_Occurred()) SWIG_fail
;
6558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6566 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6567 PyObject
*resultobj
;
6568 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6569 wxVisualAttributes result
;
6570 PyObject
* obj0
= 0 ;
6572 (char *) "variant", NULL
6575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6577 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6578 if (PyErr_Occurred()) SWIG_fail
;
6581 if (!wxPyCheckForApp()) SWIG_fail
;
6582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6583 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6585 wxPyEndAllowThreads(__tstate
);
6586 if (PyErr_Occurred()) SWIG_fail
;
6589 wxVisualAttributes
* resultptr
;
6590 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6591 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6599 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6601 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6602 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6604 return Py_BuildValue((char *)"");
6606 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6607 PyObject
*resultobj
;
6608 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6609 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6610 wxSplitterEvent
*result
;
6611 PyObject
* obj0
= 0 ;
6612 PyObject
* obj1
= 0 ;
6614 (char *) "type",(char *) "splitter", NULL
6617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6619 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6620 if (PyErr_Occurred()) SWIG_fail
;
6623 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6628 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6630 wxPyEndAllowThreads(__tstate
);
6631 if (PyErr_Occurred()) SWIG_fail
;
6633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6640 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
*resultobj
;
6642 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6644 PyObject
* obj0
= 0 ;
6645 PyObject
* obj1
= 0 ;
6647 (char *) "self",(char *) "pos", NULL
6650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6653 arg2
= (int) SWIG_AsInt(obj1
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6657 (arg1
)->SetSashPosition(arg2
);
6659 wxPyEndAllowThreads(__tstate
);
6660 if (PyErr_Occurred()) SWIG_fail
;
6662 Py_INCREF(Py_None
); resultobj
= Py_None
;
6669 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6670 PyObject
*resultobj
;
6671 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6673 PyObject
* obj0
= 0 ;
6675 (char *) "self", NULL
6678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6683 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6685 wxPyEndAllowThreads(__tstate
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6688 resultobj
= SWIG_FromInt((int)result
);
6695 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6696 PyObject
*resultobj
;
6697 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6699 PyObject
* obj0
= 0 ;
6701 (char *) "self", NULL
6704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6709 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6711 wxPyEndAllowThreads(__tstate
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6715 resultobj
= wxPyMake_wxObject(result
);
6723 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6724 PyObject
*resultobj
;
6725 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6727 PyObject
* obj0
= 0 ;
6729 (char *) "self", NULL
6732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6737 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6739 wxPyEndAllowThreads(__tstate
);
6740 if (PyErr_Occurred()) SWIG_fail
;
6742 resultobj
= SWIG_FromInt((int)result
);
6749 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6750 PyObject
*resultobj
;
6751 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6753 PyObject
* obj0
= 0 ;
6755 (char *) "self", NULL
6758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6763 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6765 wxPyEndAllowThreads(__tstate
);
6766 if (PyErr_Occurred()) SWIG_fail
;
6768 resultobj
= SWIG_FromInt((int)result
);
6775 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6778 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6780 return Py_BuildValue((char *)"");
6782 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6783 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6788 static PyObject
*_wrap_SashNameStr_get() {
6793 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6795 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6802 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6803 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6808 static PyObject
*_wrap_SashLayoutNameStr_get() {
6813 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6815 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6822 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6823 PyObject
*resultobj
;
6824 wxWindow
*arg1
= (wxWindow
*) 0 ;
6825 int arg2
= (int) -1 ;
6826 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6827 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6828 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6829 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6830 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6831 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6832 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6833 wxSashWindow
*result
;
6836 bool temp6
= False
;
6837 PyObject
* obj0
= 0 ;
6838 PyObject
* obj1
= 0 ;
6839 PyObject
* obj2
= 0 ;
6840 PyObject
* obj3
= 0 ;
6841 PyObject
* obj4
= 0 ;
6842 PyObject
* obj5
= 0 ;
6844 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6851 arg2
= (int) SWIG_AsInt(obj1
);
6852 if (PyErr_Occurred()) SWIG_fail
;
6857 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6863 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6867 arg5
= (long) SWIG_AsLong(obj4
);
6868 if (PyErr_Occurred()) SWIG_fail
;
6872 arg6
= wxString_in_helper(obj5
);
6873 if (arg6
== NULL
) SWIG_fail
;
6878 if (!wxPyCheckForApp()) SWIG_fail
;
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6900 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6901 PyObject
*resultobj
;
6902 wxSashWindow
*result
;
6907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6909 if (!wxPyCheckForApp()) SWIG_fail
;
6910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6911 result
= (wxSashWindow
*)new wxSashWindow();
6913 wxPyEndAllowThreads(__tstate
);
6914 if (PyErr_Occurred()) SWIG_fail
;
6916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6923 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6924 PyObject
*resultobj
;
6925 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6926 wxWindow
*arg2
= (wxWindow
*) 0 ;
6927 int arg3
= (int) -1 ;
6928 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6929 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6930 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6931 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6932 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6933 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6934 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6938 bool temp7
= False
;
6939 PyObject
* obj0
= 0 ;
6940 PyObject
* obj1
= 0 ;
6941 PyObject
* obj2
= 0 ;
6942 PyObject
* obj3
= 0 ;
6943 PyObject
* obj4
= 0 ;
6944 PyObject
* obj5
= 0 ;
6945 PyObject
* obj6
= 0 ;
6947 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6953 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6956 arg3
= (int) SWIG_AsInt(obj2
);
6957 if (PyErr_Occurred()) SWIG_fail
;
6962 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6968 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6972 arg6
= (long) SWIG_AsLong(obj5
);
6973 if (PyErr_Occurred()) SWIG_fail
;
6977 arg7
= wxString_in_helper(obj6
);
6978 if (arg7
== NULL
) SWIG_fail
;
6983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6984 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6986 wxPyEndAllowThreads(__tstate
);
6987 if (PyErr_Occurred()) SWIG_fail
;
6990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7006 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7007 PyObject
*resultobj
;
7008 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7011 PyObject
* obj0
= 0 ;
7012 PyObject
* obj1
= 0 ;
7013 PyObject
* obj2
= 0 ;
7015 (char *) "self",(char *) "edge",(char *) "sash", NULL
7018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7021 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7022 if (PyErr_Occurred()) SWIG_fail
;
7023 arg3
= (bool) SWIG_AsBool(obj2
);
7024 if (PyErr_Occurred()) SWIG_fail
;
7026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7027 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
7029 wxPyEndAllowThreads(__tstate
);
7030 if (PyErr_Occurred()) SWIG_fail
;
7032 Py_INCREF(Py_None
); resultobj
= Py_None
;
7039 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7040 PyObject
*resultobj
;
7041 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7044 PyObject
* obj0
= 0 ;
7045 PyObject
* obj1
= 0 ;
7047 (char *) "self",(char *) "edge", NULL
7050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7053 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7054 if (PyErr_Occurred()) SWIG_fail
;
7056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7057 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
7059 wxPyEndAllowThreads(__tstate
);
7060 if (PyErr_Occurred()) SWIG_fail
;
7063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7071 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7072 PyObject
*resultobj
;
7073 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7076 PyObject
* obj0
= 0 ;
7077 PyObject
* obj1
= 0 ;
7078 PyObject
* obj2
= 0 ;
7080 (char *) "self",(char *) "edge",(char *) "border", NULL
7083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7086 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7087 if (PyErr_Occurred()) SWIG_fail
;
7088 arg3
= (bool) SWIG_AsBool(obj2
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7092 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
7094 wxPyEndAllowThreads(__tstate
);
7095 if (PyErr_Occurred()) SWIG_fail
;
7097 Py_INCREF(Py_None
); resultobj
= Py_None
;
7104 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
*resultobj
;
7106 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7109 PyObject
* obj0
= 0 ;
7110 PyObject
* obj1
= 0 ;
7112 (char *) "self",(char *) "edge", NULL
7115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
7116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7118 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7119 if (PyErr_Occurred()) SWIG_fail
;
7121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7122 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
7124 wxPyEndAllowThreads(__tstate
);
7125 if (PyErr_Occurred()) SWIG_fail
;
7128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7136 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7137 PyObject
*resultobj
;
7138 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7141 PyObject
* obj0
= 0 ;
7142 PyObject
* obj1
= 0 ;
7144 (char *) "self",(char *) "edge", NULL
7147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
7148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7150 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7151 if (PyErr_Occurred()) SWIG_fail
;
7153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7154 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
7156 wxPyEndAllowThreads(__tstate
);
7157 if (PyErr_Occurred()) SWIG_fail
;
7159 resultobj
= SWIG_FromInt((int)result
);
7166 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7167 PyObject
*resultobj
;
7168 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7170 PyObject
* obj0
= 0 ;
7171 PyObject
* obj1
= 0 ;
7173 (char *) "self",(char *) "width", NULL
7176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7179 arg2
= (int) SWIG_AsInt(obj1
);
7180 if (PyErr_Occurred()) SWIG_fail
;
7182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7183 (arg1
)->SetDefaultBorderSize(arg2
);
7185 wxPyEndAllowThreads(__tstate
);
7186 if (PyErr_Occurred()) SWIG_fail
;
7188 Py_INCREF(Py_None
); resultobj
= Py_None
;
7195 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7196 PyObject
*resultobj
;
7197 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7199 PyObject
* obj0
= 0 ;
7201 (char *) "self", NULL
7204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7209 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7211 wxPyEndAllowThreads(__tstate
);
7212 if (PyErr_Occurred()) SWIG_fail
;
7214 resultobj
= SWIG_FromInt((int)result
);
7221 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7222 PyObject
*resultobj
;
7223 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7225 PyObject
* obj0
= 0 ;
7226 PyObject
* obj1
= 0 ;
7228 (char *) "self",(char *) "width", NULL
7231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7234 arg2
= (int) SWIG_AsInt(obj1
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7238 (arg1
)->SetExtraBorderSize(arg2
);
7240 wxPyEndAllowThreads(__tstate
);
7241 if (PyErr_Occurred()) SWIG_fail
;
7243 Py_INCREF(Py_None
); resultobj
= Py_None
;
7250 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7251 PyObject
*resultobj
;
7252 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7254 PyObject
* obj0
= 0 ;
7256 (char *) "self", NULL
7259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7264 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7266 wxPyEndAllowThreads(__tstate
);
7267 if (PyErr_Occurred()) SWIG_fail
;
7269 resultobj
= SWIG_FromInt((int)result
);
7276 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7277 PyObject
*resultobj
;
7278 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7280 PyObject
* obj0
= 0 ;
7281 PyObject
* obj1
= 0 ;
7283 (char *) "self",(char *) "min", NULL
7286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7289 arg2
= (int) SWIG_AsInt(obj1
);
7290 if (PyErr_Occurred()) SWIG_fail
;
7292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7293 (arg1
)->SetMinimumSizeX(arg2
);
7295 wxPyEndAllowThreads(__tstate
);
7296 if (PyErr_Occurred()) SWIG_fail
;
7298 Py_INCREF(Py_None
); resultobj
= Py_None
;
7305 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7306 PyObject
*resultobj
;
7307 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7309 PyObject
* obj0
= 0 ;
7310 PyObject
* obj1
= 0 ;
7312 (char *) "self",(char *) "min", NULL
7315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7318 arg2
= (int) SWIG_AsInt(obj1
);
7319 if (PyErr_Occurred()) SWIG_fail
;
7321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7322 (arg1
)->SetMinimumSizeY(arg2
);
7324 wxPyEndAllowThreads(__tstate
);
7325 if (PyErr_Occurred()) SWIG_fail
;
7327 Py_INCREF(Py_None
); resultobj
= Py_None
;
7334 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7335 PyObject
*resultobj
;
7336 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7338 PyObject
* obj0
= 0 ;
7340 (char *) "self", NULL
7343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7348 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7350 wxPyEndAllowThreads(__tstate
);
7351 if (PyErr_Occurred()) SWIG_fail
;
7353 resultobj
= SWIG_FromInt((int)result
);
7360 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7361 PyObject
*resultobj
;
7362 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7364 PyObject
* obj0
= 0 ;
7366 (char *) "self", NULL
7369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7376 wxPyEndAllowThreads(__tstate
);
7377 if (PyErr_Occurred()) SWIG_fail
;
7379 resultobj
= SWIG_FromInt((int)result
);
7386 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7387 PyObject
*resultobj
;
7388 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7390 PyObject
* obj0
= 0 ;
7391 PyObject
* obj1
= 0 ;
7393 (char *) "self",(char *) "max", NULL
7396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7399 arg2
= (int) SWIG_AsInt(obj1
);
7400 if (PyErr_Occurred()) SWIG_fail
;
7402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7403 (arg1
)->SetMaximumSizeX(arg2
);
7405 wxPyEndAllowThreads(__tstate
);
7406 if (PyErr_Occurred()) SWIG_fail
;
7408 Py_INCREF(Py_None
); resultobj
= Py_None
;
7415 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7416 PyObject
*resultobj
;
7417 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7419 PyObject
* obj0
= 0 ;
7420 PyObject
* obj1
= 0 ;
7422 (char *) "self",(char *) "max", NULL
7425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7428 arg2
= (int) SWIG_AsInt(obj1
);
7429 if (PyErr_Occurred()) SWIG_fail
;
7431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7432 (arg1
)->SetMaximumSizeY(arg2
);
7434 wxPyEndAllowThreads(__tstate
);
7435 if (PyErr_Occurred()) SWIG_fail
;
7437 Py_INCREF(Py_None
); resultobj
= Py_None
;
7444 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7445 PyObject
*resultobj
;
7446 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7448 PyObject
* obj0
= 0 ;
7450 (char *) "self", NULL
7453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7458 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7460 wxPyEndAllowThreads(__tstate
);
7461 if (PyErr_Occurred()) SWIG_fail
;
7463 resultobj
= SWIG_FromInt((int)result
);
7470 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7471 PyObject
*resultobj
;
7472 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7474 PyObject
* obj0
= 0 ;
7476 (char *) "self", NULL
7479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7484 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7486 wxPyEndAllowThreads(__tstate
);
7487 if (PyErr_Occurred()) SWIG_fail
;
7489 resultobj
= SWIG_FromInt((int)result
);
7496 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7497 PyObject
*resultobj
;
7498 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7501 int arg4
= (int) 2 ;
7503 PyObject
* obj0
= 0 ;
7504 PyObject
* obj1
= 0 ;
7505 PyObject
* obj2
= 0 ;
7506 PyObject
* obj3
= 0 ;
7508 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7514 arg2
= (int) SWIG_AsInt(obj1
);
7515 if (PyErr_Occurred()) SWIG_fail
;
7516 arg3
= (int) SWIG_AsInt(obj2
);
7517 if (PyErr_Occurred()) SWIG_fail
;
7519 arg4
= (int) SWIG_AsInt(obj3
);
7520 if (PyErr_Occurred()) SWIG_fail
;
7523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7524 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7526 wxPyEndAllowThreads(__tstate
);
7527 if (PyErr_Occurred()) SWIG_fail
;
7529 resultobj
= SWIG_FromInt((int)result
);
7536 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7537 PyObject
*resultobj
;
7538 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7539 PyObject
* obj0
= 0 ;
7541 (char *) "self", NULL
7544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7549 (arg1
)->SizeWindows();
7551 wxPyEndAllowThreads(__tstate
);
7552 if (PyErr_Occurred()) SWIG_fail
;
7554 Py_INCREF(Py_None
); resultobj
= Py_None
;
7561 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7563 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7564 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7566 return Py_BuildValue((char *)"");
7568 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
*resultobj
;
7570 int arg1
= (int) 0 ;
7571 int arg2
= (int) wxSASH_NONE
;
7572 wxSashEvent
*result
;
7573 PyObject
* obj0
= 0 ;
7574 PyObject
* obj1
= 0 ;
7576 (char *) "id",(char *) "edge", NULL
7579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7581 arg1
= (int) SWIG_AsInt(obj0
);
7582 if (PyErr_Occurred()) SWIG_fail
;
7585 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7586 if (PyErr_Occurred()) SWIG_fail
;
7589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7590 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7592 wxPyEndAllowThreads(__tstate
);
7593 if (PyErr_Occurred()) SWIG_fail
;
7595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7602 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7603 PyObject
*resultobj
;
7604 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7606 PyObject
* obj0
= 0 ;
7607 PyObject
* obj1
= 0 ;
7609 (char *) "self",(char *) "edge", NULL
7612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7615 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7616 if (PyErr_Occurred()) SWIG_fail
;
7618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7619 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7621 wxPyEndAllowThreads(__tstate
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7624 Py_INCREF(Py_None
); resultobj
= Py_None
;
7631 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7632 PyObject
*resultobj
;
7633 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7635 PyObject
* obj0
= 0 ;
7637 (char *) "self", NULL
7640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7645 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7647 wxPyEndAllowThreads(__tstate
);
7648 if (PyErr_Occurred()) SWIG_fail
;
7650 resultobj
= SWIG_FromInt((int)result
);
7657 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7658 PyObject
*resultobj
;
7659 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7662 PyObject
* obj0
= 0 ;
7663 PyObject
* obj1
= 0 ;
7665 (char *) "self",(char *) "rect", NULL
7668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7673 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7677 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7679 wxPyEndAllowThreads(__tstate
);
7680 if (PyErr_Occurred()) SWIG_fail
;
7682 Py_INCREF(Py_None
); resultobj
= Py_None
;
7689 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7690 PyObject
*resultobj
;
7691 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7693 PyObject
* obj0
= 0 ;
7695 (char *) "self", NULL
7698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7703 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7705 wxPyEndAllowThreads(__tstate
);
7706 if (PyErr_Occurred()) SWIG_fail
;
7710 resultptr
= new wxRect((wxRect
&) result
);
7711 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7719 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7720 PyObject
*resultobj
;
7721 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7723 PyObject
* obj0
= 0 ;
7724 PyObject
* obj1
= 0 ;
7726 (char *) "self",(char *) "status", NULL
7729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7732 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7736 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7738 wxPyEndAllowThreads(__tstate
);
7739 if (PyErr_Occurred()) SWIG_fail
;
7741 Py_INCREF(Py_None
); resultobj
= Py_None
;
7748 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7749 PyObject
*resultobj
;
7750 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7752 PyObject
* obj0
= 0 ;
7754 (char *) "self", NULL
7757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7762 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7764 wxPyEndAllowThreads(__tstate
);
7765 if (PyErr_Occurred()) SWIG_fail
;
7767 resultobj
= SWIG_FromInt((int)result
);
7774 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7777 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7779 return Py_BuildValue((char *)"");
7781 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7782 PyObject
*resultobj
;
7783 int arg1
= (int) 0 ;
7784 wxQueryLayoutInfoEvent
*result
;
7785 PyObject
* obj0
= 0 ;
7790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7792 arg1
= (int) SWIG_AsInt(obj0
);
7793 if (PyErr_Occurred()) SWIG_fail
;
7796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7797 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7799 wxPyEndAllowThreads(__tstate
);
7800 if (PyErr_Occurred()) SWIG_fail
;
7802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7809 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7810 PyObject
*resultobj
;
7811 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7813 PyObject
* obj0
= 0 ;
7814 PyObject
* obj1
= 0 ;
7816 (char *) "self",(char *) "length", NULL
7819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7822 arg2
= (int) SWIG_AsInt(obj1
);
7823 if (PyErr_Occurred()) SWIG_fail
;
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7826 (arg1
)->SetRequestedLength(arg2
);
7828 wxPyEndAllowThreads(__tstate
);
7829 if (PyErr_Occurred()) SWIG_fail
;
7831 Py_INCREF(Py_None
); resultobj
= Py_None
;
7838 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7839 PyObject
*resultobj
;
7840 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7842 PyObject
* obj0
= 0 ;
7844 (char *) "self", NULL
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7857 resultobj
= SWIG_FromInt((int)result
);
7864 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
*resultobj
;
7866 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7868 PyObject
* obj0
= 0 ;
7869 PyObject
* obj1
= 0 ;
7871 (char *) "self",(char *) "flags", NULL
7874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7877 arg2
= (int) SWIG_AsInt(obj1
);
7878 if (PyErr_Occurred()) SWIG_fail
;
7880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7881 (arg1
)->SetFlags(arg2
);
7883 wxPyEndAllowThreads(__tstate
);
7884 if (PyErr_Occurred()) SWIG_fail
;
7886 Py_INCREF(Py_None
); resultobj
= Py_None
;
7893 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7894 PyObject
*resultobj
;
7895 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7897 PyObject
* obj0
= 0 ;
7899 (char *) "self", NULL
7902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7907 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7909 wxPyEndAllowThreads(__tstate
);
7910 if (PyErr_Occurred()) SWIG_fail
;
7912 resultobj
= SWIG_FromInt((int)result
);
7919 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7920 PyObject
*resultobj
;
7921 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7924 PyObject
* obj0
= 0 ;
7925 PyObject
* obj1
= 0 ;
7927 (char *) "self",(char *) "size", NULL
7930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7935 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7939 (arg1
)->SetSize((wxSize
const &)*arg2
);
7941 wxPyEndAllowThreads(__tstate
);
7942 if (PyErr_Occurred()) SWIG_fail
;
7944 Py_INCREF(Py_None
); resultobj
= Py_None
;
7951 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7952 PyObject
*resultobj
;
7953 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7955 PyObject
* obj0
= 0 ;
7957 (char *) "self", NULL
7960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7965 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7967 wxPyEndAllowThreads(__tstate
);
7968 if (PyErr_Occurred()) SWIG_fail
;
7972 resultptr
= new wxSize((wxSize
&) result
);
7973 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7981 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7982 PyObject
*resultobj
;
7983 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7985 PyObject
* obj0
= 0 ;
7986 PyObject
* obj1
= 0 ;
7988 (char *) "self",(char *) "orient", NULL
7991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7994 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
7995 if (PyErr_Occurred()) SWIG_fail
;
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8000 wxPyEndAllowThreads(__tstate
);
8001 if (PyErr_Occurred()) SWIG_fail
;
8003 Py_INCREF(Py_None
); resultobj
= Py_None
;
8010 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
*resultobj
;
8012 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8014 PyObject
* obj0
= 0 ;
8016 (char *) "self", NULL
8019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
8020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8024 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
8026 wxPyEndAllowThreads(__tstate
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8029 resultobj
= SWIG_FromInt((int)result
);
8036 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8037 PyObject
*resultobj
;
8038 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8040 PyObject
* obj0
= 0 ;
8041 PyObject
* obj1
= 0 ;
8043 (char *) "self",(char *) "align", NULL
8046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8049 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8053 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8055 wxPyEndAllowThreads(__tstate
);
8056 if (PyErr_Occurred()) SWIG_fail
;
8058 Py_INCREF(Py_None
); resultobj
= Py_None
;
8065 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8066 PyObject
*resultobj
;
8067 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8069 PyObject
* obj0
= 0 ;
8071 (char *) "self", NULL
8074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
8075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8079 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
8081 wxPyEndAllowThreads(__tstate
);
8082 if (PyErr_Occurred()) SWIG_fail
;
8084 resultobj
= SWIG_FromInt((int)result
);
8091 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8094 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
8096 return Py_BuildValue((char *)"");
8098 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8099 PyObject
*resultobj
;
8100 int arg1
= (int) 0 ;
8101 wxCalculateLayoutEvent
*result
;
8102 PyObject
* obj0
= 0 ;
8107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
8109 arg1
= (int) SWIG_AsInt(obj0
);
8110 if (PyErr_Occurred()) SWIG_fail
;
8113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8114 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
8116 wxPyEndAllowThreads(__tstate
);
8117 if (PyErr_Occurred()) SWIG_fail
;
8119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
8126 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8127 PyObject
*resultobj
;
8128 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8130 PyObject
* obj0
= 0 ;
8131 PyObject
* obj1
= 0 ;
8133 (char *) "self",(char *) "flags", NULL
8136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8139 arg2
= (int) SWIG_AsInt(obj1
);
8140 if (PyErr_Occurred()) SWIG_fail
;
8142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8143 (arg1
)->SetFlags(arg2
);
8145 wxPyEndAllowThreads(__tstate
);
8146 if (PyErr_Occurred()) SWIG_fail
;
8148 Py_INCREF(Py_None
); resultobj
= Py_None
;
8155 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8156 PyObject
*resultobj
;
8157 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8159 PyObject
* obj0
= 0 ;
8161 (char *) "self", NULL
8164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8169 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
8171 wxPyEndAllowThreads(__tstate
);
8172 if (PyErr_Occurred()) SWIG_fail
;
8174 resultobj
= SWIG_FromInt((int)result
);
8181 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8182 PyObject
*resultobj
;
8183 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8186 PyObject
* obj0
= 0 ;
8187 PyObject
* obj1
= 0 ;
8189 (char *) "self",(char *) "rect", NULL
8192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8197 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8201 (arg1
)->SetRect((wxRect
const &)*arg2
);
8203 wxPyEndAllowThreads(__tstate
);
8204 if (PyErr_Occurred()) SWIG_fail
;
8206 Py_INCREF(Py_None
); resultobj
= Py_None
;
8213 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8214 PyObject
*resultobj
;
8215 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8217 PyObject
* obj0
= 0 ;
8219 (char *) "self", NULL
8222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
8223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8227 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8229 wxPyEndAllowThreads(__tstate
);
8230 if (PyErr_Occurred()) SWIG_fail
;
8234 resultptr
= new wxRect((wxRect
&) result
);
8235 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8243 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8246 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8248 return Py_BuildValue((char *)"");
8250 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8251 PyObject
*resultobj
;
8252 wxWindow
*arg1
= (wxWindow
*) 0 ;
8253 int arg2
= (int) -1 ;
8254 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8255 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8256 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8257 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8258 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8259 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8260 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8261 wxSashLayoutWindow
*result
;
8264 bool temp6
= False
;
8265 PyObject
* obj0
= 0 ;
8266 PyObject
* obj1
= 0 ;
8267 PyObject
* obj2
= 0 ;
8268 PyObject
* obj3
= 0 ;
8269 PyObject
* obj4
= 0 ;
8270 PyObject
* obj5
= 0 ;
8272 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8279 arg2
= (int) SWIG_AsInt(obj1
);
8280 if (PyErr_Occurred()) SWIG_fail
;
8285 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8291 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8295 arg5
= (long) SWIG_AsLong(obj4
);
8296 if (PyErr_Occurred()) SWIG_fail
;
8300 arg6
= wxString_in_helper(obj5
);
8301 if (arg6
== NULL
) SWIG_fail
;
8306 if (!wxPyCheckForApp()) SWIG_fail
;
8307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8308 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8310 wxPyEndAllowThreads(__tstate
);
8311 if (PyErr_Occurred()) SWIG_fail
;
8313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8328 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8329 PyObject
*resultobj
;
8330 wxSashLayoutWindow
*result
;
8335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8337 if (!wxPyCheckForApp()) SWIG_fail
;
8338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8339 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8341 wxPyEndAllowThreads(__tstate
);
8342 if (PyErr_Occurred()) SWIG_fail
;
8344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8351 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8352 PyObject
*resultobj
;
8353 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8354 wxWindow
*arg2
= (wxWindow
*) 0 ;
8355 int arg3
= (int) -1 ;
8356 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8357 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8358 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8359 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8360 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8361 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8362 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8366 bool temp7
= False
;
8367 PyObject
* obj0
= 0 ;
8368 PyObject
* obj1
= 0 ;
8369 PyObject
* obj2
= 0 ;
8370 PyObject
* obj3
= 0 ;
8371 PyObject
* obj4
= 0 ;
8372 PyObject
* obj5
= 0 ;
8373 PyObject
* obj6
= 0 ;
8375 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8381 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8384 arg3
= (int) SWIG_AsInt(obj2
);
8385 if (PyErr_Occurred()) SWIG_fail
;
8390 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8396 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8400 arg6
= (long) SWIG_AsLong(obj5
);
8401 if (PyErr_Occurred()) SWIG_fail
;
8405 arg7
= wxString_in_helper(obj6
);
8406 if (arg7
== NULL
) SWIG_fail
;
8411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8412 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8414 wxPyEndAllowThreads(__tstate
);
8415 if (PyErr_Occurred()) SWIG_fail
;
8418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8434 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8435 PyObject
*resultobj
;
8436 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8438 PyObject
* obj0
= 0 ;
8440 (char *) "self", NULL
8443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 result
= (int)(arg1
)->GetAlignment();
8450 wxPyEndAllowThreads(__tstate
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8453 resultobj
= SWIG_FromInt((int)result
);
8460 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8461 PyObject
*resultobj
;
8462 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8464 PyObject
* obj0
= 0 ;
8466 (char *) "self", NULL
8469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8474 result
= (int)(arg1
)->GetOrientation();
8476 wxPyEndAllowThreads(__tstate
);
8477 if (PyErr_Occurred()) SWIG_fail
;
8479 resultobj
= SWIG_FromInt((int)result
);
8486 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8487 PyObject
*resultobj
;
8488 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8490 PyObject
* obj0
= 0 ;
8491 PyObject
* obj1
= 0 ;
8493 (char *) "self",(char *) "alignment", NULL
8496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8499 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8500 if (PyErr_Occurred()) SWIG_fail
;
8502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8503 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8505 wxPyEndAllowThreads(__tstate
);
8506 if (PyErr_Occurred()) SWIG_fail
;
8508 Py_INCREF(Py_None
); resultobj
= Py_None
;
8515 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8516 PyObject
*resultobj
;
8517 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8520 PyObject
* obj0
= 0 ;
8521 PyObject
* obj1
= 0 ;
8523 (char *) "self",(char *) "size", NULL
8526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8531 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8535 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8537 wxPyEndAllowThreads(__tstate
);
8538 if (PyErr_Occurred()) SWIG_fail
;
8540 Py_INCREF(Py_None
); resultobj
= Py_None
;
8547 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8548 PyObject
*resultobj
;
8549 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8551 PyObject
* obj0
= 0 ;
8552 PyObject
* obj1
= 0 ;
8554 (char *) "self",(char *) "orientation", NULL
8557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8560 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8561 if (PyErr_Occurred()) SWIG_fail
;
8563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8564 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8566 wxPyEndAllowThreads(__tstate
);
8567 if (PyErr_Occurred()) SWIG_fail
;
8569 Py_INCREF(Py_None
); resultobj
= Py_None
;
8576 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8578 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8579 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8581 return Py_BuildValue((char *)"");
8583 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8584 PyObject
*resultobj
;
8585 wxLayoutAlgorithm
*result
;
8590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8593 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8595 wxPyEndAllowThreads(__tstate
);
8596 if (PyErr_Occurred()) SWIG_fail
;
8598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8605 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8606 PyObject
*resultobj
;
8607 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8608 PyObject
* obj0
= 0 ;
8610 (char *) "self", NULL
8613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8620 wxPyEndAllowThreads(__tstate
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8623 Py_INCREF(Py_None
); resultobj
= Py_None
;
8630 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8631 PyObject
*resultobj
;
8632 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8633 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8634 wxRect
*arg3
= (wxRect
*) NULL
;
8636 PyObject
* obj0
= 0 ;
8637 PyObject
* obj1
= 0 ;
8638 PyObject
* obj2
= 0 ;
8640 (char *) "self",(char *) "frame",(char *) "rect", NULL
8643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8646 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8649 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8654 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8656 wxPyEndAllowThreads(__tstate
);
8657 if (PyErr_Occurred()) SWIG_fail
;
8660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8668 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8669 PyObject
*resultobj
;
8670 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8671 wxFrame
*arg2
= (wxFrame
*) 0 ;
8672 wxWindow
*arg3
= (wxWindow
*) NULL
;
8674 PyObject
* obj0
= 0 ;
8675 PyObject
* obj1
= 0 ;
8676 PyObject
* obj2
= 0 ;
8678 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8684 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8687 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8692 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8694 wxPyEndAllowThreads(__tstate
);
8695 if (PyErr_Occurred()) SWIG_fail
;
8698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8706 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8707 PyObject
*resultobj
;
8708 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8709 wxWindow
*arg2
= (wxWindow
*) 0 ;
8710 wxWindow
*arg3
= (wxWindow
*) NULL
;
8712 PyObject
* obj0
= 0 ;
8713 PyObject
* obj1
= 0 ;
8714 PyObject
* obj2
= 0 ;
8716 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8725 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8730 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8732 wxPyEndAllowThreads(__tstate
);
8733 if (PyErr_Occurred()) SWIG_fail
;
8736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8744 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8746 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8747 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8749 return Py_BuildValue((char *)"");
8751 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8752 PyObject
*resultobj
;
8753 wxWindow
*arg1
= (wxWindow
*) 0 ;
8754 int arg2
= (int) wxBORDER_NONE
;
8755 wxPopupWindow
*result
;
8756 PyObject
* obj0
= 0 ;
8757 PyObject
* obj1
= 0 ;
8759 (char *) "parent",(char *) "flags", NULL
8762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8766 arg2
= (int) SWIG_AsInt(obj1
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8770 if (!wxPyCheckForApp()) SWIG_fail
;
8771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8772 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8774 wxPyEndAllowThreads(__tstate
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8784 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8785 PyObject
*resultobj
;
8786 wxPopupWindow
*result
;
8791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8793 if (!wxPyCheckForApp()) SWIG_fail
;
8794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8795 result
= (wxPopupWindow
*)new wxPopupWindow();
8797 wxPyEndAllowThreads(__tstate
);
8798 if (PyErr_Occurred()) SWIG_fail
;
8800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8807 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8808 PyObject
*resultobj
;
8809 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8810 wxWindow
*arg2
= (wxWindow
*) 0 ;
8811 int arg3
= (int) wxBORDER_NONE
;
8813 PyObject
* obj0
= 0 ;
8814 PyObject
* obj1
= 0 ;
8815 PyObject
* obj2
= 0 ;
8817 (char *) "self",(char *) "parent",(char *) "flags", NULL
8820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8823 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8826 arg3
= (int) SWIG_AsInt(obj2
);
8827 if (PyErr_Occurred()) SWIG_fail
;
8830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8831 result
= (bool)(arg1
)->Create(arg2
,arg3
);
8833 wxPyEndAllowThreads(__tstate
);
8834 if (PyErr_Occurred()) SWIG_fail
;
8837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8845 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8846 PyObject
*resultobj
;
8847 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8852 PyObject
* obj0
= 0 ;
8853 PyObject
* obj1
= 0 ;
8854 PyObject
* obj2
= 0 ;
8856 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8864 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8868 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
8871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8872 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8874 wxPyEndAllowThreads(__tstate
);
8875 if (PyErr_Occurred()) SWIG_fail
;
8877 Py_INCREF(Py_None
); resultobj
= Py_None
;
8884 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8886 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8887 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8889 return Py_BuildValue((char *)"");
8891 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8892 PyObject
*resultobj
;
8893 wxWindow
*arg1
= (wxWindow
*) 0 ;
8894 int arg2
= (int) wxBORDER_NONE
;
8895 wxPyPopupTransientWindow
*result
;
8896 PyObject
* obj0
= 0 ;
8897 PyObject
* obj1
= 0 ;
8899 (char *) "parent",(char *) "style", NULL
8902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8906 arg2
= (int) SWIG_AsInt(obj1
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8910 if (!wxPyCheckForApp()) SWIG_fail
;
8911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8912 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8914 wxPyEndAllowThreads(__tstate
);
8915 if (PyErr_Occurred()) SWIG_fail
;
8917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8924 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8925 PyObject
*resultobj
;
8926 wxPyPopupTransientWindow
*result
;
8931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8933 if (!wxPyCheckForApp()) SWIG_fail
;
8934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8935 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8947 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
*resultobj
;
8949 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8950 PyObject
*arg2
= (PyObject
*) 0 ;
8951 PyObject
*arg3
= (PyObject
*) 0 ;
8952 PyObject
* obj0
= 0 ;
8953 PyObject
* obj1
= 0 ;
8954 PyObject
* obj2
= 0 ;
8956 (char *) "self",(char *) "self",(char *) "_class", NULL
8959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8966 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8968 wxPyEndAllowThreads(__tstate
);
8969 if (PyErr_Occurred()) SWIG_fail
;
8971 Py_INCREF(Py_None
); resultobj
= Py_None
;
8978 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8979 PyObject
*resultobj
;
8980 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8981 wxWindow
*arg2
= (wxWindow
*) NULL
;
8982 PyObject
* obj0
= 0 ;
8983 PyObject
* obj1
= 0 ;
8985 (char *) "self",(char *) "focus", NULL
8988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
8989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8992 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8997 (arg1
)->Popup(arg2
);
8999 wxPyEndAllowThreads(__tstate
);
9000 if (PyErr_Occurred()) SWIG_fail
;
9002 Py_INCREF(Py_None
); resultobj
= Py_None
;
9009 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9010 PyObject
*resultobj
;
9011 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9012 PyObject
* obj0
= 0 ;
9014 (char *) "self", NULL
9017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
9018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 wxPyEndAllowThreads(__tstate
);
9025 if (PyErr_Occurred()) SWIG_fail
;
9027 Py_INCREF(Py_None
); resultobj
= Py_None
;
9034 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9036 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9037 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
9039 return Py_BuildValue((char *)"");
9041 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9042 PyObject
*resultobj
;
9043 wxWindow
*arg1
= (wxWindow
*) 0 ;
9044 wxString
*arg2
= 0 ;
9045 int arg3
= (int) 100 ;
9046 wxRect
*arg4
= (wxRect
*) NULL
;
9047 wxTipWindow
*result
;
9048 bool temp2
= False
;
9049 PyObject
* obj0
= 0 ;
9050 PyObject
* obj1
= 0 ;
9051 PyObject
* obj2
= 0 ;
9052 PyObject
* obj3
= 0 ;
9054 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9061 arg2
= wxString_in_helper(obj1
);
9062 if (arg2
== NULL
) SWIG_fail
;
9066 arg3
= (int) SWIG_AsInt(obj2
);
9067 if (PyErr_Occurred()) SWIG_fail
;
9070 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
9071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9074 if (!wxPyCheckForApp()) SWIG_fail
;
9075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9076 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9078 wxPyEndAllowThreads(__tstate
);
9079 if (PyErr_Occurred()) SWIG_fail
;
9081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
9096 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9097 PyObject
*resultobj
;
9098 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9101 PyObject
* obj0
= 0 ;
9102 PyObject
* obj1
= 0 ;
9104 (char *) "self",(char *) "rectBound", NULL
9107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9112 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9116 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
9118 wxPyEndAllowThreads(__tstate
);
9119 if (PyErr_Occurred()) SWIG_fail
;
9121 Py_INCREF(Py_None
); resultobj
= Py_None
;
9128 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9129 PyObject
*resultobj
;
9130 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9131 PyObject
* obj0
= 0 ;
9133 (char *) "self", NULL
9136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
9137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9143 wxPyEndAllowThreads(__tstate
);
9144 if (PyErr_Occurred()) SWIG_fail
;
9146 Py_INCREF(Py_None
); resultobj
= Py_None
;
9153 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9155 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9156 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
9158 return Py_BuildValue((char *)"");
9160 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9161 PyObject
*resultobj
;
9162 wxWindow
*arg1
= (wxWindow
*) 0 ;
9163 int arg2
= (int) wxID_ANY
;
9164 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9165 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9166 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9167 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9168 long arg5
= (long) 0 ;
9169 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9170 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9171 wxPyVScrolledWindow
*result
;
9174 bool temp6
= False
;
9175 PyObject
* obj0
= 0 ;
9176 PyObject
* obj1
= 0 ;
9177 PyObject
* obj2
= 0 ;
9178 PyObject
* obj3
= 0 ;
9179 PyObject
* obj4
= 0 ;
9180 PyObject
* obj5
= 0 ;
9182 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9189 arg2
= (int) SWIG_AsInt(obj1
);
9190 if (PyErr_Occurred()) SWIG_fail
;
9195 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9201 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9205 arg5
= (long) SWIG_AsLong(obj4
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9210 arg6
= wxString_in_helper(obj5
);
9211 if (arg6
== NULL
) SWIG_fail
;
9216 if (!wxPyCheckForApp()) SWIG_fail
;
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9238 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9239 PyObject
*resultobj
;
9240 wxPyVScrolledWindow
*result
;
9245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9247 if (!wxPyCheckForApp()) SWIG_fail
;
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9251 wxPyEndAllowThreads(__tstate
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9261 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9262 PyObject
*resultobj
;
9263 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9264 PyObject
*arg2
= (PyObject
*) 0 ;
9265 PyObject
*arg3
= (PyObject
*) 0 ;
9266 PyObject
* obj0
= 0 ;
9267 PyObject
* obj1
= 0 ;
9268 PyObject
* obj2
= 0 ;
9270 (char *) "self",(char *) "self",(char *) "_class", NULL
9273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9280 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9282 wxPyEndAllowThreads(__tstate
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9285 Py_INCREF(Py_None
); resultobj
= Py_None
;
9292 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9293 PyObject
*resultobj
;
9294 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9295 wxWindow
*arg2
= (wxWindow
*) 0 ;
9296 int arg3
= (int) wxID_ANY
;
9297 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9298 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9299 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9300 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9301 long arg6
= (long) 0 ;
9302 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9303 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9307 bool temp7
= False
;
9308 PyObject
* obj0
= 0 ;
9309 PyObject
* obj1
= 0 ;
9310 PyObject
* obj2
= 0 ;
9311 PyObject
* obj3
= 0 ;
9312 PyObject
* obj4
= 0 ;
9313 PyObject
* obj5
= 0 ;
9314 PyObject
* obj6
= 0 ;
9316 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9322 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9325 arg3
= (int) SWIG_AsInt(obj2
);
9326 if (PyErr_Occurred()) SWIG_fail
;
9331 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9337 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9341 arg6
= (long) SWIG_AsLong(obj5
);
9342 if (PyErr_Occurred()) SWIG_fail
;
9346 arg7
= wxString_in_helper(obj6
);
9347 if (arg7
== NULL
) SWIG_fail
;
9352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9353 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9355 wxPyEndAllowThreads(__tstate
);
9356 if (PyErr_Occurred()) SWIG_fail
;
9359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9375 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9376 PyObject
*resultobj
;
9377 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9379 PyObject
* obj0
= 0 ;
9380 PyObject
* obj1
= 0 ;
9382 (char *) "self",(char *) "count", NULL
9385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",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
= (size_t) SWIG_AsUnsignedLong(obj1
);
9389 if (PyErr_Occurred()) SWIG_fail
;
9391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9392 (arg1
)->SetLineCount(arg2
);
9394 wxPyEndAllowThreads(__tstate
);
9395 if (PyErr_Occurred()) SWIG_fail
;
9397 Py_INCREF(Py_None
); resultobj
= Py_None
;
9404 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9405 PyObject
*resultobj
;
9406 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9409 PyObject
* obj0
= 0 ;
9410 PyObject
* obj1
= 0 ;
9412 (char *) "self",(char *) "line", NULL
9415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9418 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9419 if (PyErr_Occurred()) SWIG_fail
;
9421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9422 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9424 wxPyEndAllowThreads(__tstate
);
9425 if (PyErr_Occurred()) SWIG_fail
;
9428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9436 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9437 PyObject
*resultobj
;
9438 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9441 PyObject
* obj0
= 0 ;
9442 PyObject
* obj1
= 0 ;
9444 (char *) "self",(char *) "lines", NULL
9447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9450 arg2
= (int) SWIG_AsInt(obj1
);
9451 if (PyErr_Occurred()) SWIG_fail
;
9453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9454 result
= (bool)(arg1
)->ScrollLines(arg2
);
9456 wxPyEndAllowThreads(__tstate
);
9457 if (PyErr_Occurred()) SWIG_fail
;
9460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9468 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9469 PyObject
*resultobj
;
9470 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9473 PyObject
* obj0
= 0 ;
9474 PyObject
* obj1
= 0 ;
9476 (char *) "self",(char *) "pages", NULL
9479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9482 arg2
= (int) SWIG_AsInt(obj1
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9486 result
= (bool)(arg1
)->ScrollPages(arg2
);
9488 wxPyEndAllowThreads(__tstate
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9500 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9501 PyObject
*resultobj
;
9502 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9504 PyObject
* obj0
= 0 ;
9505 PyObject
* obj1
= 0 ;
9507 (char *) "self",(char *) "line", NULL
9510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9513 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9514 if (PyErr_Occurred()) SWIG_fail
;
9516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9517 (arg1
)->RefreshLine(arg2
);
9519 wxPyEndAllowThreads(__tstate
);
9520 if (PyErr_Occurred()) SWIG_fail
;
9522 Py_INCREF(Py_None
); resultobj
= Py_None
;
9529 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
*resultobj
;
9531 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9534 PyObject
* obj0
= 0 ;
9535 PyObject
* obj1
= 0 ;
9536 PyObject
* obj2
= 0 ;
9538 (char *) "self",(char *) "from",(char *) "to", NULL
9541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9544 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9545 if (PyErr_Occurred()) SWIG_fail
;
9546 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9547 if (PyErr_Occurred()) SWIG_fail
;
9549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9550 (arg1
)->RefreshLines(arg2
,arg3
);
9552 wxPyEndAllowThreads(__tstate
);
9553 if (PyErr_Occurred()) SWIG_fail
;
9555 Py_INCREF(Py_None
); resultobj
= Py_None
;
9562 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9563 PyObject
*resultobj
;
9564 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9568 PyObject
* obj0
= 0 ;
9569 PyObject
* obj1
= 0 ;
9570 PyObject
* obj2
= 0 ;
9572 (char *) "self",(char *) "x",(char *) "y", NULL
9575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9578 arg2
= (int) SWIG_AsInt(obj1
);
9579 if (PyErr_Occurred()) SWIG_fail
;
9580 arg3
= (int) SWIG_AsInt(obj2
);
9581 if (PyErr_Occurred()) SWIG_fail
;
9583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9584 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9586 wxPyEndAllowThreads(__tstate
);
9587 if (PyErr_Occurred()) SWIG_fail
;
9589 resultobj
= SWIG_FromInt((int)result
);
9596 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9597 PyObject
*resultobj
;
9598 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9602 PyObject
* obj0
= 0 ;
9603 PyObject
* obj1
= 0 ;
9605 (char *) "self",(char *) "pt", NULL
9608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9613 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9617 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9619 wxPyEndAllowThreads(__tstate
);
9620 if (PyErr_Occurred()) SWIG_fail
;
9622 resultobj
= SWIG_FromInt((int)result
);
9629 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9630 PyObject
*resultobj
;
9631 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9632 PyObject
* obj0
= 0 ;
9634 (char *) "self", NULL
9637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9642 (arg1
)->RefreshAll();
9644 wxPyEndAllowThreads(__tstate
);
9645 if (PyErr_Occurred()) SWIG_fail
;
9647 Py_INCREF(Py_None
); resultobj
= Py_None
;
9654 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9655 PyObject
*resultobj
;
9656 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9658 PyObject
* obj0
= 0 ;
9660 (char *) "self", NULL
9663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9668 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9670 wxPyEndAllowThreads(__tstate
);
9671 if (PyErr_Occurred()) SWIG_fail
;
9673 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9680 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9681 PyObject
*resultobj
;
9682 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9684 PyObject
* obj0
= 0 ;
9686 (char *) "self", NULL
9689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9694 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9696 wxPyEndAllowThreads(__tstate
);
9697 if (PyErr_Occurred()) SWIG_fail
;
9699 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9706 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9707 PyObject
*resultobj
;
9708 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9710 PyObject
* obj0
= 0 ;
9712 (char *) "self", NULL
9715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9720 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9722 wxPyEndAllowThreads(__tstate
);
9723 if (PyErr_Occurred()) SWIG_fail
;
9725 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9732 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9733 PyObject
*resultobj
;
9734 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9737 PyObject
* obj0
= 0 ;
9738 PyObject
* obj1
= 0 ;
9740 (char *) "self",(char *) "line", NULL
9743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9746 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9747 if (PyErr_Occurred()) SWIG_fail
;
9749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9750 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9752 wxPyEndAllowThreads(__tstate
);
9753 if (PyErr_Occurred()) SWIG_fail
;
9756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9764 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9766 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9767 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9769 return Py_BuildValue((char *)"");
9771 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9772 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9777 static PyObject
*_wrap_VListBoxNameStr_get() {
9782 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9784 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9791 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9792 PyObject
*resultobj
;
9793 wxWindow
*arg1
= (wxWindow
*) 0 ;
9794 int arg2
= (int) wxID_ANY
;
9795 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9796 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9797 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9798 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9799 long arg5
= (long) 0 ;
9800 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9801 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9802 wxPyVListBox
*result
;
9805 bool temp6
= False
;
9806 PyObject
* obj0
= 0 ;
9807 PyObject
* obj1
= 0 ;
9808 PyObject
* obj2
= 0 ;
9809 PyObject
* obj3
= 0 ;
9810 PyObject
* obj4
= 0 ;
9811 PyObject
* obj5
= 0 ;
9813 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9820 arg2
= (int) SWIG_AsInt(obj1
);
9821 if (PyErr_Occurred()) SWIG_fail
;
9826 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9832 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9836 arg5
= (long) SWIG_AsLong(obj4
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9841 arg6
= wxString_in_helper(obj5
);
9842 if (arg6
== NULL
) SWIG_fail
;
9847 if (!wxPyCheckForApp()) SWIG_fail
;
9848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9849 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9851 wxPyEndAllowThreads(__tstate
);
9852 if (PyErr_Occurred()) SWIG_fail
;
9854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9869 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9870 PyObject
*resultobj
;
9871 wxPyVListBox
*result
;
9876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9878 if (!wxPyCheckForApp()) SWIG_fail
;
9879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9880 result
= (wxPyVListBox
*)new wxPyVListBox();
9882 wxPyEndAllowThreads(__tstate
);
9883 if (PyErr_Occurred()) SWIG_fail
;
9885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9892 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9893 PyObject
*resultobj
;
9894 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9895 PyObject
*arg2
= (PyObject
*) 0 ;
9896 PyObject
*arg3
= (PyObject
*) 0 ;
9897 PyObject
* obj0
= 0 ;
9898 PyObject
* obj1
= 0 ;
9899 PyObject
* obj2
= 0 ;
9901 (char *) "self",(char *) "self",(char *) "_class", NULL
9904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9913 wxPyEndAllowThreads(__tstate
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9916 Py_INCREF(Py_None
); resultobj
= Py_None
;
9923 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9924 PyObject
*resultobj
;
9925 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9926 wxWindow
*arg2
= (wxWindow
*) 0 ;
9927 int arg3
= (int) wxID_ANY
;
9928 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9929 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9930 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9931 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9932 long arg6
= (long) 0 ;
9933 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9934 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9938 bool temp7
= False
;
9939 PyObject
* obj0
= 0 ;
9940 PyObject
* obj1
= 0 ;
9941 PyObject
* obj2
= 0 ;
9942 PyObject
* obj3
= 0 ;
9943 PyObject
* obj4
= 0 ;
9944 PyObject
* obj5
= 0 ;
9945 PyObject
* obj6
= 0 ;
9947 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9953 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9956 arg3
= (int) SWIG_AsInt(obj2
);
9957 if (PyErr_Occurred()) SWIG_fail
;
9962 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9968 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9972 arg6
= (long) SWIG_AsLong(obj5
);
9973 if (PyErr_Occurred()) SWIG_fail
;
9977 arg7
= wxString_in_helper(obj6
);
9978 if (arg7
== NULL
) SWIG_fail
;
9983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9984 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9986 wxPyEndAllowThreads(__tstate
);
9987 if (PyErr_Occurred()) SWIG_fail
;
9990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10006 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10007 PyObject
*resultobj
;
10008 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10010 PyObject
* obj0
= 0 ;
10011 char *kwnames
[] = {
10012 (char *) "self", NULL
10015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
10016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10020 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
10022 wxPyEndAllowThreads(__tstate
);
10023 if (PyErr_Occurred()) SWIG_fail
;
10025 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10032 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10033 PyObject
*resultobj
;
10034 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10036 PyObject
* obj0
= 0 ;
10037 char *kwnames
[] = {
10038 (char *) "self", NULL
10041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
10042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10046 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
10048 wxPyEndAllowThreads(__tstate
);
10049 if (PyErr_Occurred()) SWIG_fail
;
10052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10060 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10061 PyObject
*resultobj
;
10062 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10064 PyObject
* obj0
= 0 ;
10065 char *kwnames
[] = {
10066 (char *) "self", NULL
10069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
10070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10074 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
10076 wxPyEndAllowThreads(__tstate
);
10077 if (PyErr_Occurred()) SWIG_fail
;
10079 resultobj
= SWIG_FromInt((int)result
);
10086 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10087 PyObject
*resultobj
;
10088 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10091 PyObject
* obj0
= 0 ;
10092 PyObject
* obj1
= 0 ;
10093 char *kwnames
[] = {
10094 (char *) "self",(char *) "item", NULL
10097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
10098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10100 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10101 if (PyErr_Occurred()) SWIG_fail
;
10103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10104 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
10106 wxPyEndAllowThreads(__tstate
);
10107 if (PyErr_Occurred()) SWIG_fail
;
10110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10118 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10119 PyObject
*resultobj
;
10120 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10123 PyObject
* obj0
= 0 ;
10124 PyObject
* obj1
= 0 ;
10125 char *kwnames
[] = {
10126 (char *) "self",(char *) "item", NULL
10129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10132 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10136 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
10138 wxPyEndAllowThreads(__tstate
);
10139 if (PyErr_Occurred()) SWIG_fail
;
10142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10150 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10151 PyObject
*resultobj
;
10152 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10154 PyObject
* obj0
= 0 ;
10155 char *kwnames
[] = {
10156 (char *) "self", NULL
10159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
10160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10164 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
10166 wxPyEndAllowThreads(__tstate
);
10167 if (PyErr_Occurred()) SWIG_fail
;
10169 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10176 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10177 PyObject
*resultobj
;
10178 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10180 PyObject
* obj0
= 0 ;
10181 char *kwnames
[] = {
10182 (char *) "self", NULL
10185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
10186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10190 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
10192 wxPyEndAllowThreads(__tstate
);
10193 if (PyErr_Occurred()) SWIG_fail
;
10195 resultobj
= result
;
10202 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10203 PyObject
*resultobj
;
10204 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10205 unsigned long arg2
;
10207 PyObject
* obj0
= 0 ;
10208 PyObject
* obj1
= 0 ;
10209 char *kwnames
[] = {
10210 (char *) "self",(char *) "cookie", NULL
10213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10216 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
10217 if (PyErr_Occurred()) SWIG_fail
;
10219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10220 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
10222 wxPyEndAllowThreads(__tstate
);
10223 if (PyErr_Occurred()) SWIG_fail
;
10225 resultobj
= result
;
10232 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10233 PyObject
*resultobj
;
10234 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10236 PyObject
* obj0
= 0 ;
10237 char *kwnames
[] = {
10238 (char *) "self", NULL
10241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10246 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10248 wxPyEndAllowThreads(__tstate
);
10249 if (PyErr_Occurred()) SWIG_fail
;
10252 wxPoint
* resultptr
;
10253 resultptr
= new wxPoint((wxPoint
&) result
);
10254 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10262 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10263 PyObject
*resultobj
;
10264 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10266 PyObject
* obj0
= 0 ;
10267 char *kwnames
[] = {
10268 (char *) "self", NULL
10271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10277 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10278 result
= (wxColour
*) &_result_ref
;
10281 wxPyEndAllowThreads(__tstate
);
10282 if (PyErr_Occurred()) SWIG_fail
;
10284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10291 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10292 PyObject
*resultobj
;
10293 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10295 PyObject
* obj0
= 0 ;
10296 PyObject
* obj1
= 0 ;
10297 char *kwnames
[] = {
10298 (char *) "self",(char *) "count", NULL
10301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10304 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10305 if (PyErr_Occurred()) SWIG_fail
;
10307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10308 (arg1
)->SetItemCount(arg2
);
10310 wxPyEndAllowThreads(__tstate
);
10311 if (PyErr_Occurred()) SWIG_fail
;
10313 Py_INCREF(Py_None
); resultobj
= Py_None
;
10320 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10321 PyObject
*resultobj
;
10322 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10323 PyObject
* obj0
= 0 ;
10324 char *kwnames
[] = {
10325 (char *) "self", NULL
10328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10335 wxPyEndAllowThreads(__tstate
);
10336 if (PyErr_Occurred()) SWIG_fail
;
10338 Py_INCREF(Py_None
); resultobj
= Py_None
;
10345 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10346 PyObject
*resultobj
;
10347 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10349 PyObject
* obj0
= 0 ;
10350 PyObject
* obj1
= 0 ;
10351 char *kwnames
[] = {
10352 (char *) "self",(char *) "selection", NULL
10355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10358 arg2
= (int) SWIG_AsInt(obj1
);
10359 if (PyErr_Occurred()) SWIG_fail
;
10361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10362 (arg1
)->SetSelection(arg2
);
10364 wxPyEndAllowThreads(__tstate
);
10365 if (PyErr_Occurred()) SWIG_fail
;
10367 Py_INCREF(Py_None
); resultobj
= Py_None
;
10374 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10375 PyObject
*resultobj
;
10376 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10378 bool arg3
= (bool) True
;
10380 PyObject
* obj0
= 0 ;
10381 PyObject
* obj1
= 0 ;
10382 PyObject
* obj2
= 0 ;
10383 char *kwnames
[] = {
10384 (char *) "self",(char *) "item",(char *) "select", NULL
10387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10390 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10393 arg3
= (bool) SWIG_AsBool(obj2
);
10394 if (PyErr_Occurred()) SWIG_fail
;
10397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10398 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10400 wxPyEndAllowThreads(__tstate
);
10401 if (PyErr_Occurred()) SWIG_fail
;
10404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10412 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10413 PyObject
*resultobj
;
10414 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10418 PyObject
* obj0
= 0 ;
10419 PyObject
* obj1
= 0 ;
10420 PyObject
* obj2
= 0 ;
10421 char *kwnames
[] = {
10422 (char *) "self",(char *) "from",(char *) "to", NULL
10425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10428 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10429 if (PyErr_Occurred()) SWIG_fail
;
10430 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10431 if (PyErr_Occurred()) SWIG_fail
;
10433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10434 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10436 wxPyEndAllowThreads(__tstate
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10448 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10449 PyObject
*resultobj
;
10450 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10452 PyObject
* obj0
= 0 ;
10453 PyObject
* obj1
= 0 ;
10454 char *kwnames
[] = {
10455 (char *) "self",(char *) "item", NULL
10458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10461 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10462 if (PyErr_Occurred()) SWIG_fail
;
10464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10465 (arg1
)->Toggle(arg2
);
10467 wxPyEndAllowThreads(__tstate
);
10468 if (PyErr_Occurred()) SWIG_fail
;
10470 Py_INCREF(Py_None
); resultobj
= Py_None
;
10477 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10478 PyObject
*resultobj
;
10479 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10481 PyObject
* obj0
= 0 ;
10482 char *kwnames
[] = {
10483 (char *) "self", NULL
10486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10491 result
= (bool)(arg1
)->SelectAll();
10493 wxPyEndAllowThreads(__tstate
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10505 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10506 PyObject
*resultobj
;
10507 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10509 PyObject
* obj0
= 0 ;
10510 char *kwnames
[] = {
10511 (char *) "self", NULL
10514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10519 result
= (bool)(arg1
)->DeselectAll();
10521 wxPyEndAllowThreads(__tstate
);
10522 if (PyErr_Occurred()) SWIG_fail
;
10525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10533 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10534 PyObject
*resultobj
;
10535 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10536 wxPoint
*arg2
= 0 ;
10538 PyObject
* obj0
= 0 ;
10539 PyObject
* obj1
= 0 ;
10540 char *kwnames
[] = {
10541 (char *) "self",(char *) "pt", NULL
10544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10549 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10553 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10555 wxPyEndAllowThreads(__tstate
);
10556 if (PyErr_Occurred()) SWIG_fail
;
10558 Py_INCREF(Py_None
); resultobj
= Py_None
;
10565 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10566 PyObject
*resultobj
;
10567 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10570 PyObject
* obj0
= 0 ;
10571 PyObject
* obj1
= 0 ;
10572 PyObject
* obj2
= 0 ;
10573 char *kwnames
[] = {
10574 (char *) "self",(char *) "x",(char *) "y", NULL
10577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10580 arg2
= (int) SWIG_AsInt(obj1
);
10581 if (PyErr_Occurred()) SWIG_fail
;
10582 arg3
= (int) SWIG_AsInt(obj2
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10586 (arg1
)->SetMargins(arg2
,arg3
);
10588 wxPyEndAllowThreads(__tstate
);
10589 if (PyErr_Occurred()) SWIG_fail
;
10591 Py_INCREF(Py_None
); resultobj
= Py_None
;
10598 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10599 PyObject
*resultobj
;
10600 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10601 wxColour
*arg2
= 0 ;
10603 PyObject
* obj0
= 0 ;
10604 PyObject
* obj1
= 0 ;
10605 char *kwnames
[] = {
10606 (char *) "self",(char *) "col", NULL
10609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10614 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10618 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10620 wxPyEndAllowThreads(__tstate
);
10621 if (PyErr_Occurred()) SWIG_fail
;
10623 Py_INCREF(Py_None
); resultobj
= Py_None
;
10630 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10633 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10635 return Py_BuildValue((char *)"");
10637 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10638 PyObject
*resultobj
;
10639 wxWindow
*arg1
= (wxWindow
*) 0 ;
10640 int arg2
= (int) wxID_ANY
;
10641 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10642 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10643 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10644 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10645 long arg5
= (long) 0 ;
10646 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10647 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10648 wxPyHtmlListBox
*result
;
10651 bool temp6
= False
;
10652 PyObject
* obj0
= 0 ;
10653 PyObject
* obj1
= 0 ;
10654 PyObject
* obj2
= 0 ;
10655 PyObject
* obj3
= 0 ;
10656 PyObject
* obj4
= 0 ;
10657 PyObject
* obj5
= 0 ;
10658 char *kwnames
[] = {
10659 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10666 arg2
= (int) SWIG_AsInt(obj1
);
10667 if (PyErr_Occurred()) SWIG_fail
;
10672 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10678 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10682 arg5
= (long) SWIG_AsLong(obj4
);
10683 if (PyErr_Occurred()) SWIG_fail
;
10687 arg6
= wxString_in_helper(obj5
);
10688 if (arg6
== NULL
) SWIG_fail
;
10693 if (!wxPyCheckForApp()) SWIG_fail
;
10694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10695 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10697 wxPyEndAllowThreads(__tstate
);
10698 if (PyErr_Occurred()) SWIG_fail
;
10700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10715 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10716 PyObject
*resultobj
;
10717 wxPyHtmlListBox
*result
;
10718 char *kwnames
[] = {
10722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10724 if (!wxPyCheckForApp()) SWIG_fail
;
10725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10726 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10728 wxPyEndAllowThreads(__tstate
);
10729 if (PyErr_Occurred()) SWIG_fail
;
10731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10738 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10739 PyObject
*resultobj
;
10740 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10741 PyObject
*arg2
= (PyObject
*) 0 ;
10742 PyObject
*arg3
= (PyObject
*) 0 ;
10743 PyObject
* obj0
= 0 ;
10744 PyObject
* obj1
= 0 ;
10745 PyObject
* obj2
= 0 ;
10746 char *kwnames
[] = {
10747 (char *) "self",(char *) "self",(char *) "_class", NULL
10750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10757 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10759 wxPyEndAllowThreads(__tstate
);
10760 if (PyErr_Occurred()) SWIG_fail
;
10762 Py_INCREF(Py_None
); resultobj
= Py_None
;
10769 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10770 PyObject
*resultobj
;
10771 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10772 wxWindow
*arg2
= (wxWindow
*) 0 ;
10773 int arg3
= (int) wxID_ANY
;
10774 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10775 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10776 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10777 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10778 long arg6
= (long) 0 ;
10779 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10780 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10784 bool temp7
= False
;
10785 PyObject
* obj0
= 0 ;
10786 PyObject
* obj1
= 0 ;
10787 PyObject
* obj2
= 0 ;
10788 PyObject
* obj3
= 0 ;
10789 PyObject
* obj4
= 0 ;
10790 PyObject
* obj5
= 0 ;
10791 PyObject
* obj6
= 0 ;
10792 char *kwnames
[] = {
10793 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10799 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10802 arg3
= (int) SWIG_AsInt(obj2
);
10803 if (PyErr_Occurred()) SWIG_fail
;
10808 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10814 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10818 arg6
= (long) SWIG_AsLong(obj5
);
10819 if (PyErr_Occurred()) SWIG_fail
;
10823 arg7
= wxString_in_helper(obj6
);
10824 if (arg7
== NULL
) SWIG_fail
;
10829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10830 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10832 wxPyEndAllowThreads(__tstate
);
10833 if (PyErr_Occurred()) SWIG_fail
;
10836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10852 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10853 PyObject
*resultobj
;
10854 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10855 PyObject
* obj0
= 0 ;
10856 char *kwnames
[] = {
10857 (char *) "self", NULL
10860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10865 (arg1
)->RefreshAll();
10867 wxPyEndAllowThreads(__tstate
);
10868 if (PyErr_Occurred()) SWIG_fail
;
10870 Py_INCREF(Py_None
); resultobj
= Py_None
;
10877 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10878 PyObject
*resultobj
;
10879 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10881 PyObject
* obj0
= 0 ;
10882 PyObject
* obj1
= 0 ;
10883 char *kwnames
[] = {
10884 (char *) "self",(char *) "count", NULL
10887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10890 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10891 if (PyErr_Occurred()) SWIG_fail
;
10893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10894 (arg1
)->SetItemCount(arg2
);
10896 wxPyEndAllowThreads(__tstate
);
10897 if (PyErr_Occurred()) SWIG_fail
;
10899 Py_INCREF(Py_None
); resultobj
= Py_None
;
10906 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10907 PyObject
*resultobj
;
10908 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10909 wxFileSystem
*result
;
10910 PyObject
* obj0
= 0 ;
10911 char *kwnames
[] = {
10912 (char *) "self", NULL
10915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
10916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10921 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
10922 result
= (wxFileSystem
*) &_result_ref
;
10925 wxPyEndAllowThreads(__tstate
);
10926 if (PyErr_Occurred()) SWIG_fail
;
10928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
10935 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10938 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10940 return Py_BuildValue((char *)"");
10942 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10943 PyObject
*resultobj
;
10944 wxTaskBarIcon
*result
;
10945 char *kwnames
[] = {
10949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10951 if (!wxPyCheckForApp()) SWIG_fail
;
10952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10953 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10955 wxPyEndAllowThreads(__tstate
);
10956 if (PyErr_Occurred()) SWIG_fail
;
10958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10965 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10966 PyObject
*resultobj
;
10967 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10968 PyObject
* obj0
= 0 ;
10969 char *kwnames
[] = {
10970 (char *) "self", NULL
10973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10980 wxPyEndAllowThreads(__tstate
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10983 Py_INCREF(Py_None
); resultobj
= Py_None
;
10990 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10991 PyObject
*resultobj
;
10992 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10993 PyObject
* obj0
= 0 ;
10994 char *kwnames
[] = {
10995 (char *) "self", NULL
10998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
10999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11003 wxTaskBarIcon_Destroy(arg1
);
11005 wxPyEndAllowThreads(__tstate
);
11006 if (PyErr_Occurred()) SWIG_fail
;
11008 Py_INCREF(Py_None
); resultobj
= Py_None
;
11015 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11016 PyObject
*resultobj
;
11017 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11019 PyObject
* obj0
= 0 ;
11020 char *kwnames
[] = {
11021 (char *) "self", NULL
11024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
11025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11029 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
11031 wxPyEndAllowThreads(__tstate
);
11032 if (PyErr_Occurred()) SWIG_fail
;
11035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11043 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11044 PyObject
*resultobj
;
11045 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11047 PyObject
* obj0
= 0 ;
11048 char *kwnames
[] = {
11049 (char *) "self", NULL
11052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
11053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11057 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
11059 wxPyEndAllowThreads(__tstate
);
11060 if (PyErr_Occurred()) SWIG_fail
;
11063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11071 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11072 PyObject
*resultobj
;
11073 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11075 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11076 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11078 bool temp3
= False
;
11079 PyObject
* obj0
= 0 ;
11080 PyObject
* obj1
= 0 ;
11081 PyObject
* obj2
= 0 ;
11082 char *kwnames
[] = {
11083 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11090 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11092 if (arg2
== NULL
) {
11093 PyErr_SetString(PyExc_TypeError
,"null reference");
11098 arg3
= wxString_in_helper(obj2
);
11099 if (arg3
== NULL
) SWIG_fail
;
11104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11105 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
11107 wxPyEndAllowThreads(__tstate
);
11108 if (PyErr_Occurred()) SWIG_fail
;
11111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11127 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11128 PyObject
*resultobj
;
11129 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11131 PyObject
* obj0
= 0 ;
11132 char *kwnames
[] = {
11133 (char *) "self", NULL
11136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
11137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11141 result
= (bool)(arg1
)->RemoveIcon();
11143 wxPyEndAllowThreads(__tstate
);
11144 if (PyErr_Occurred()) SWIG_fail
;
11147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11155 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11156 PyObject
*resultobj
;
11157 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11158 wxMenu
*arg2
= (wxMenu
*) 0 ;
11160 PyObject
* obj0
= 0 ;
11161 PyObject
* obj1
= 0 ;
11162 char *kwnames
[] = {
11163 (char *) "self",(char *) "menu", NULL
11166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
11167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11169 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
11170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11173 result
= (bool)(arg1
)->PopupMenu(arg2
);
11175 wxPyEndAllowThreads(__tstate
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11187 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
11189 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11190 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
11192 return Py_BuildValue((char *)"");
11194 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11195 PyObject
*resultobj
;
11197 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
11198 wxTaskBarIconEvent
*result
;
11199 PyObject
* obj0
= 0 ;
11200 PyObject
* obj1
= 0 ;
11201 char *kwnames
[] = {
11202 (char *) "evtType",(char *) "tbIcon", NULL
11205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11206 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11207 if (PyErr_Occurred()) SWIG_fail
;
11208 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
11209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11212 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
11214 wxPyEndAllowThreads(__tstate
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
11224 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11227 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
11229 return Py_BuildValue((char *)"");
11231 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
11232 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
11237 static PyObject
*_wrap_FileSelectorPromptStr_get() {
11242 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11244 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11251 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
11252 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
11257 static PyObject
*_wrap_DirSelectorPromptStr_get() {
11262 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11264 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11271 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
11272 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
11277 static PyObject
*_wrap_DirDialogNameStr_get() {
11282 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11284 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11291 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
11292 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
11297 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
11302 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11304 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11311 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
11312 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
11317 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
11322 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11324 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11331 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
11332 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11337 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11342 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11344 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11351 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11352 PyObject
*resultobj
;
11353 wxColourData
*result
;
11354 char *kwnames
[] = {
11358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11361 result
= (wxColourData
*)new wxColourData();
11363 wxPyEndAllowThreads(__tstate
);
11364 if (PyErr_Occurred()) SWIG_fail
;
11366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11373 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11374 PyObject
*resultobj
;
11375 wxColourData
*arg1
= (wxColourData
*) 0 ;
11376 PyObject
* obj0
= 0 ;
11377 char *kwnames
[] = {
11378 (char *) "self", NULL
11381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11388 wxPyEndAllowThreads(__tstate
);
11389 if (PyErr_Occurred()) SWIG_fail
;
11391 Py_INCREF(Py_None
); resultobj
= Py_None
;
11398 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11399 PyObject
*resultobj
;
11400 wxColourData
*arg1
= (wxColourData
*) 0 ;
11402 PyObject
* obj0
= 0 ;
11403 char *kwnames
[] = {
11404 (char *) "self", NULL
11407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11412 result
= (bool)(arg1
)->GetChooseFull();
11414 wxPyEndAllowThreads(__tstate
);
11415 if (PyErr_Occurred()) SWIG_fail
;
11418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11426 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11427 PyObject
*resultobj
;
11428 wxColourData
*arg1
= (wxColourData
*) 0 ;
11430 PyObject
* obj0
= 0 ;
11431 char *kwnames
[] = {
11432 (char *) "self", NULL
11435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11440 result
= (arg1
)->GetColour();
11442 wxPyEndAllowThreads(__tstate
);
11443 if (PyErr_Occurred()) SWIG_fail
;
11446 wxColour
* resultptr
;
11447 resultptr
= new wxColour((wxColour
&) result
);
11448 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11456 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11457 PyObject
*resultobj
;
11458 wxColourData
*arg1
= (wxColourData
*) 0 ;
11461 PyObject
* obj0
= 0 ;
11462 PyObject
* obj1
= 0 ;
11463 char *kwnames
[] = {
11464 (char *) "self",(char *) "i", NULL
11467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11470 arg2
= (int) SWIG_AsInt(obj1
);
11471 if (PyErr_Occurred()) SWIG_fail
;
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 result
= (arg1
)->GetCustomColour(arg2
);
11476 wxPyEndAllowThreads(__tstate
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11480 wxColour
* resultptr
;
11481 resultptr
= new wxColour((wxColour
&) result
);
11482 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11490 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11491 PyObject
*resultobj
;
11492 wxColourData
*arg1
= (wxColourData
*) 0 ;
11494 PyObject
* obj0
= 0 ;
11495 PyObject
* obj1
= 0 ;
11496 char *kwnames
[] = {
11497 (char *) "self",(char *) "flag", NULL
11500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11503 arg2
= (int) SWIG_AsInt(obj1
);
11504 if (PyErr_Occurred()) SWIG_fail
;
11506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11507 (arg1
)->SetChooseFull(arg2
);
11509 wxPyEndAllowThreads(__tstate
);
11510 if (PyErr_Occurred()) SWIG_fail
;
11512 Py_INCREF(Py_None
); resultobj
= Py_None
;
11519 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11520 PyObject
*resultobj
;
11521 wxColourData
*arg1
= (wxColourData
*) 0 ;
11522 wxColour
*arg2
= 0 ;
11524 PyObject
* obj0
= 0 ;
11525 PyObject
* obj1
= 0 ;
11526 char *kwnames
[] = {
11527 (char *) "self",(char *) "colour", NULL
11530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11535 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11539 (arg1
)->SetColour((wxColour
const &)*arg2
);
11541 wxPyEndAllowThreads(__tstate
);
11542 if (PyErr_Occurred()) SWIG_fail
;
11544 Py_INCREF(Py_None
); resultobj
= Py_None
;
11551 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11552 PyObject
*resultobj
;
11553 wxColourData
*arg1
= (wxColourData
*) 0 ;
11555 wxColour
*arg3
= 0 ;
11557 PyObject
* obj0
= 0 ;
11558 PyObject
* obj1
= 0 ;
11559 PyObject
* obj2
= 0 ;
11560 char *kwnames
[] = {
11561 (char *) "self",(char *) "i",(char *) "colour", NULL
11564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11567 arg2
= (int) SWIG_AsInt(obj1
);
11568 if (PyErr_Occurred()) SWIG_fail
;
11571 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11575 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11577 wxPyEndAllowThreads(__tstate
);
11578 if (PyErr_Occurred()) SWIG_fail
;
11580 Py_INCREF(Py_None
); resultobj
= Py_None
;
11587 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
11589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11590 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11592 return Py_BuildValue((char *)"");
11594 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11595 PyObject
*resultobj
;
11596 wxWindow
*arg1
= (wxWindow
*) 0 ;
11597 wxColourData
*arg2
= (wxColourData
*) NULL
;
11598 wxColourDialog
*result
;
11599 PyObject
* obj0
= 0 ;
11600 PyObject
* obj1
= 0 ;
11601 char *kwnames
[] = {
11602 (char *) "parent",(char *) "data", NULL
11605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11609 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11613 if (!wxPyCheckForApp()) SWIG_fail
;
11614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11615 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11617 wxPyEndAllowThreads(__tstate
);
11618 if (PyErr_Occurred()) SWIG_fail
;
11620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11627 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11628 PyObject
*resultobj
;
11629 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11630 wxColourData
*result
;
11631 PyObject
* obj0
= 0 ;
11632 char *kwnames
[] = {
11633 (char *) "self", NULL
11636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11642 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11643 result
= (wxColourData
*) &_result_ref
;
11646 wxPyEndAllowThreads(__tstate
);
11647 if (PyErr_Occurred()) SWIG_fail
;
11649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11656 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11658 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11659 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11661 return Py_BuildValue((char *)"");
11663 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11664 PyObject
*resultobj
;
11665 wxWindow
*arg1
= (wxWindow
*) 0 ;
11666 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11667 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11668 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11669 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11670 long arg4
= (long) 0 ;
11671 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11672 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11673 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11674 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11675 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11676 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11677 wxDirDialog
*result
;
11678 bool temp2
= False
;
11679 bool temp3
= False
;
11682 bool temp7
= False
;
11683 PyObject
* obj0
= 0 ;
11684 PyObject
* obj1
= 0 ;
11685 PyObject
* obj2
= 0 ;
11686 PyObject
* obj3
= 0 ;
11687 PyObject
* obj4
= 0 ;
11688 PyObject
* obj5
= 0 ;
11689 PyObject
* obj6
= 0 ;
11690 char *kwnames
[] = {
11691 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11699 arg2
= wxString_in_helper(obj1
);
11700 if (arg2
== NULL
) SWIG_fail
;
11706 arg3
= wxString_in_helper(obj2
);
11707 if (arg3
== NULL
) SWIG_fail
;
11712 arg4
= (long) SWIG_AsLong(obj3
);
11713 if (PyErr_Occurred()) SWIG_fail
;
11718 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11724 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11729 arg7
= wxString_in_helper(obj6
);
11730 if (arg7
== NULL
) SWIG_fail
;
11735 if (!wxPyCheckForApp()) SWIG_fail
;
11736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11737 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11739 wxPyEndAllowThreads(__tstate
);
11740 if (PyErr_Occurred()) SWIG_fail
;
11742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11773 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11774 PyObject
*resultobj
;
11775 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11777 PyObject
* obj0
= 0 ;
11778 char *kwnames
[] = {
11779 (char *) "self", NULL
11782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11787 result
= (arg1
)->GetPath();
11789 wxPyEndAllowThreads(__tstate
);
11790 if (PyErr_Occurred()) SWIG_fail
;
11794 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11796 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11805 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11806 PyObject
*resultobj
;
11807 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11809 PyObject
* obj0
= 0 ;
11810 char *kwnames
[] = {
11811 (char *) "self", NULL
11814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11819 result
= (arg1
)->GetMessage();
11821 wxPyEndAllowThreads(__tstate
);
11822 if (PyErr_Occurred()) SWIG_fail
;
11826 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11828 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11837 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11838 PyObject
*resultobj
;
11839 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11841 PyObject
* obj0
= 0 ;
11842 char *kwnames
[] = {
11843 (char *) "self", NULL
11846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11851 result
= (long)(arg1
)->GetStyle();
11853 wxPyEndAllowThreads(__tstate
);
11854 if (PyErr_Occurred()) SWIG_fail
;
11856 resultobj
= SWIG_FromLong((long)result
);
11863 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11864 PyObject
*resultobj
;
11865 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11866 wxString
*arg2
= 0 ;
11867 bool temp2
= False
;
11868 PyObject
* obj0
= 0 ;
11869 PyObject
* obj1
= 0 ;
11870 char *kwnames
[] = {
11871 (char *) "self",(char *) "message", NULL
11874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11878 arg2
= wxString_in_helper(obj1
);
11879 if (arg2
== NULL
) SWIG_fail
;
11883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11884 (arg1
)->SetMessage((wxString
const &)*arg2
);
11886 wxPyEndAllowThreads(__tstate
);
11887 if (PyErr_Occurred()) SWIG_fail
;
11889 Py_INCREF(Py_None
); resultobj
= Py_None
;
11904 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11905 PyObject
*resultobj
;
11906 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11907 wxString
*arg2
= 0 ;
11908 bool temp2
= False
;
11909 PyObject
* obj0
= 0 ;
11910 PyObject
* obj1
= 0 ;
11911 char *kwnames
[] = {
11912 (char *) "self",(char *) "path", NULL
11915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11919 arg2
= wxString_in_helper(obj1
);
11920 if (arg2
== NULL
) SWIG_fail
;
11924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11925 (arg1
)->SetPath((wxString
const &)*arg2
);
11927 wxPyEndAllowThreads(__tstate
);
11928 if (PyErr_Occurred()) SWIG_fail
;
11930 Py_INCREF(Py_None
); resultobj
= Py_None
;
11945 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11948 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11950 return Py_BuildValue((char *)"");
11952 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11953 PyObject
*resultobj
;
11954 wxWindow
*arg1
= (wxWindow
*) 0 ;
11955 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11956 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11957 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11958 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11959 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11960 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11961 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11962 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11963 long arg6
= (long) 0 ;
11964 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11965 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11966 wxFileDialog
*result
;
11967 bool temp2
= False
;
11968 bool temp3
= False
;
11969 bool temp4
= False
;
11970 bool temp5
= False
;
11972 PyObject
* obj0
= 0 ;
11973 PyObject
* obj1
= 0 ;
11974 PyObject
* obj2
= 0 ;
11975 PyObject
* obj3
= 0 ;
11976 PyObject
* obj4
= 0 ;
11977 PyObject
* obj5
= 0 ;
11978 PyObject
* obj6
= 0 ;
11979 char *kwnames
[] = {
11980 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11988 arg2
= wxString_in_helper(obj1
);
11989 if (arg2
== NULL
) SWIG_fail
;
11995 arg3
= wxString_in_helper(obj2
);
11996 if (arg3
== NULL
) SWIG_fail
;
12002 arg4
= wxString_in_helper(obj3
);
12003 if (arg4
== NULL
) SWIG_fail
;
12009 arg5
= wxString_in_helper(obj4
);
12010 if (arg5
== NULL
) SWIG_fail
;
12015 arg6
= (long) SWIG_AsLong(obj5
);
12016 if (PyErr_Occurred()) SWIG_fail
;
12021 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12025 if (!wxPyCheckForApp()) SWIG_fail
;
12026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12027 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
12029 wxPyEndAllowThreads(__tstate
);
12030 if (PyErr_Occurred()) SWIG_fail
;
12032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
12071 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12072 PyObject
*resultobj
;
12073 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12074 wxString
*arg2
= 0 ;
12075 bool temp2
= False
;
12076 PyObject
* obj0
= 0 ;
12077 PyObject
* obj1
= 0 ;
12078 char *kwnames
[] = {
12079 (char *) "self",(char *) "message", NULL
12082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
12083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12086 arg2
= wxString_in_helper(obj1
);
12087 if (arg2
== NULL
) SWIG_fail
;
12091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12092 (arg1
)->SetMessage((wxString
const &)*arg2
);
12094 wxPyEndAllowThreads(__tstate
);
12095 if (PyErr_Occurred()) SWIG_fail
;
12097 Py_INCREF(Py_None
); resultobj
= Py_None
;
12112 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12113 PyObject
*resultobj
;
12114 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12115 wxString
*arg2
= 0 ;
12116 bool temp2
= False
;
12117 PyObject
* obj0
= 0 ;
12118 PyObject
* obj1
= 0 ;
12119 char *kwnames
[] = {
12120 (char *) "self",(char *) "path", NULL
12123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12127 arg2
= wxString_in_helper(obj1
);
12128 if (arg2
== NULL
) SWIG_fail
;
12132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12133 (arg1
)->SetPath((wxString
const &)*arg2
);
12135 wxPyEndAllowThreads(__tstate
);
12136 if (PyErr_Occurred()) SWIG_fail
;
12138 Py_INCREF(Py_None
); resultobj
= Py_None
;
12153 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12154 PyObject
*resultobj
;
12155 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12156 wxString
*arg2
= 0 ;
12157 bool temp2
= False
;
12158 PyObject
* obj0
= 0 ;
12159 PyObject
* obj1
= 0 ;
12160 char *kwnames
[] = {
12161 (char *) "self",(char *) "dir", NULL
12164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
12165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12168 arg2
= wxString_in_helper(obj1
);
12169 if (arg2
== NULL
) SWIG_fail
;
12173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12174 (arg1
)->SetDirectory((wxString
const &)*arg2
);
12176 wxPyEndAllowThreads(__tstate
);
12177 if (PyErr_Occurred()) SWIG_fail
;
12179 Py_INCREF(Py_None
); resultobj
= Py_None
;
12194 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12195 PyObject
*resultobj
;
12196 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12197 wxString
*arg2
= 0 ;
12198 bool temp2
= False
;
12199 PyObject
* obj0
= 0 ;
12200 PyObject
* obj1
= 0 ;
12201 char *kwnames
[] = {
12202 (char *) "self",(char *) "name", NULL
12205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
12206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12209 arg2
= wxString_in_helper(obj1
);
12210 if (arg2
== NULL
) SWIG_fail
;
12214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12215 (arg1
)->SetFilename((wxString
const &)*arg2
);
12217 wxPyEndAllowThreads(__tstate
);
12218 if (PyErr_Occurred()) SWIG_fail
;
12220 Py_INCREF(Py_None
); resultobj
= Py_None
;
12235 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12236 PyObject
*resultobj
;
12237 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12238 wxString
*arg2
= 0 ;
12239 bool temp2
= False
;
12240 PyObject
* obj0
= 0 ;
12241 PyObject
* obj1
= 0 ;
12242 char *kwnames
[] = {
12243 (char *) "self",(char *) "wildCard", NULL
12246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
12247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12250 arg2
= wxString_in_helper(obj1
);
12251 if (arg2
== NULL
) SWIG_fail
;
12255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12256 (arg1
)->SetWildcard((wxString
const &)*arg2
);
12258 wxPyEndAllowThreads(__tstate
);
12259 if (PyErr_Occurred()) SWIG_fail
;
12261 Py_INCREF(Py_None
); resultobj
= Py_None
;
12276 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12277 PyObject
*resultobj
;
12278 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12280 PyObject
* obj0
= 0 ;
12281 PyObject
* obj1
= 0 ;
12282 char *kwnames
[] = {
12283 (char *) "self",(char *) "style", NULL
12286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
12287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12289 arg2
= (long) SWIG_AsLong(obj1
);
12290 if (PyErr_Occurred()) SWIG_fail
;
12292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12293 (arg1
)->SetStyle(arg2
);
12295 wxPyEndAllowThreads(__tstate
);
12296 if (PyErr_Occurred()) SWIG_fail
;
12298 Py_INCREF(Py_None
); resultobj
= Py_None
;
12305 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12306 PyObject
*resultobj
;
12307 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12309 PyObject
* obj0
= 0 ;
12310 PyObject
* obj1
= 0 ;
12311 char *kwnames
[] = {
12312 (char *) "self",(char *) "filterIndex", NULL
12315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
12316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12318 arg2
= (int) SWIG_AsInt(obj1
);
12319 if (PyErr_Occurred()) SWIG_fail
;
12321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12322 (arg1
)->SetFilterIndex(arg2
);
12324 wxPyEndAllowThreads(__tstate
);
12325 if (PyErr_Occurred()) SWIG_fail
;
12327 Py_INCREF(Py_None
); resultobj
= Py_None
;
12334 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12335 PyObject
*resultobj
;
12336 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12338 PyObject
* obj0
= 0 ;
12339 char *kwnames
[] = {
12340 (char *) "self", NULL
12343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12348 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12350 wxPyEndAllowThreads(__tstate
);
12351 if (PyErr_Occurred()) SWIG_fail
;
12355 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12357 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12366 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12367 PyObject
*resultobj
;
12368 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12370 PyObject
* obj0
= 0 ;
12371 char *kwnames
[] = {
12372 (char *) "self", NULL
12375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12380 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12382 wxPyEndAllowThreads(__tstate
);
12383 if (PyErr_Occurred()) SWIG_fail
;
12387 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12389 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12398 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12399 PyObject
*resultobj
;
12400 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12402 PyObject
* obj0
= 0 ;
12403 char *kwnames
[] = {
12404 (char *) "self", NULL
12407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12412 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12414 wxPyEndAllowThreads(__tstate
);
12415 if (PyErr_Occurred()) SWIG_fail
;
12419 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12421 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12430 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12431 PyObject
*resultobj
;
12432 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12434 PyObject
* obj0
= 0 ;
12435 char *kwnames
[] = {
12436 (char *) "self", NULL
12439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12444 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12446 wxPyEndAllowThreads(__tstate
);
12447 if (PyErr_Occurred()) SWIG_fail
;
12451 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12453 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12462 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12463 PyObject
*resultobj
;
12464 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12466 PyObject
* obj0
= 0 ;
12467 char *kwnames
[] = {
12468 (char *) "self", NULL
12471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12476 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12478 wxPyEndAllowThreads(__tstate
);
12479 if (PyErr_Occurred()) SWIG_fail
;
12483 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12485 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12494 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12495 PyObject
*resultobj
;
12496 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12498 PyObject
* obj0
= 0 ;
12499 char *kwnames
[] = {
12500 (char *) "self", NULL
12503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12508 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12510 wxPyEndAllowThreads(__tstate
);
12511 if (PyErr_Occurred()) SWIG_fail
;
12513 resultobj
= SWIG_FromLong((long)result
);
12520 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12521 PyObject
*resultobj
;
12522 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12524 PyObject
* obj0
= 0 ;
12525 char *kwnames
[] = {
12526 (char *) "self", NULL
12529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12534 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12536 wxPyEndAllowThreads(__tstate
);
12537 if (PyErr_Occurred()) SWIG_fail
;
12539 resultobj
= SWIG_FromInt((int)result
);
12546 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12547 PyObject
*resultobj
;
12548 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12550 PyObject
* obj0
= 0 ;
12551 char *kwnames
[] = {
12552 (char *) "self", NULL
12555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12560 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12562 wxPyEndAllowThreads(__tstate
);
12563 if (PyErr_Occurred()) SWIG_fail
;
12565 resultobj
= result
;
12572 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12573 PyObject
*resultobj
;
12574 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12576 PyObject
* obj0
= 0 ;
12577 char *kwnames
[] = {
12578 (char *) "self", NULL
12581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12586 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12588 wxPyEndAllowThreads(__tstate
);
12589 if (PyErr_Occurred()) SWIG_fail
;
12591 resultobj
= result
;
12598 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12600 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12601 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12603 return Py_BuildValue((char *)"");
12605 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12606 PyObject
*resultobj
;
12607 wxWindow
*arg1
= (wxWindow
*) 0 ;
12608 wxString
*arg2
= 0 ;
12609 wxString
*arg3
= 0 ;
12610 int arg4
= (int) 0 ;
12611 wxString
*arg5
= (wxString
*) NULL
;
12612 long arg6
= (long) wxCHOICEDLG_STYLE
;
12613 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12614 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12615 wxMultiChoiceDialog
*result
;
12616 bool temp2
= False
;
12617 bool temp3
= False
;
12619 PyObject
* obj0
= 0 ;
12620 PyObject
* obj1
= 0 ;
12621 PyObject
* obj2
= 0 ;
12622 PyObject
* obj3
= 0 ;
12623 PyObject
* obj4
= 0 ;
12624 PyObject
* obj5
= 0 ;
12625 char *kwnames
[] = {
12626 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12633 arg2
= wxString_in_helper(obj1
);
12634 if (arg2
== NULL
) SWIG_fail
;
12638 arg3
= wxString_in_helper(obj2
);
12639 if (arg3
== NULL
) SWIG_fail
;
12644 arg4
= PyList_Size(obj3
);
12645 arg5
= wxString_LIST_helper(obj3
);
12646 if (arg5
== NULL
) SWIG_fail
;
12650 arg6
= (long) SWIG_AsLong(obj4
);
12651 if (PyErr_Occurred()) SWIG_fail
;
12656 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12660 if (!wxPyCheckForApp()) SWIG_fail
;
12661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12662 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12664 wxPyEndAllowThreads(__tstate
);
12665 if (PyErr_Occurred()) SWIG_fail
;
12667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12677 if (arg5
) delete [] arg5
;
12690 if (arg5
) delete [] arg5
;
12696 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12697 PyObject
*resultobj
;
12698 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12699 wxArrayInt
*arg2
= 0 ;
12700 bool temp2
= False
;
12701 PyObject
* obj0
= 0 ;
12702 PyObject
* obj1
= 0 ;
12703 char *kwnames
[] = {
12704 (char *) "self",(char *) "selections", NULL
12707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12711 if (! PySequence_Check(obj1
)) {
12712 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12715 arg2
= new wxArrayInt
;
12717 int i
, len
=PySequence_Length(obj1
);
12718 for (i
=0; i
<len
; i
++) {
12719 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12720 PyObject
* number
= PyNumber_Int(item
);
12721 arg2
->Add(PyInt_AS_LONG(number
));
12727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12728 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12730 wxPyEndAllowThreads(__tstate
);
12731 if (PyErr_Occurred()) SWIG_fail
;
12733 Py_INCREF(Py_None
); resultobj
= Py_None
;
12735 if (temp2
) delete arg2
;
12740 if (temp2
) delete arg2
;
12746 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12747 PyObject
*resultobj
;
12748 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12750 PyObject
* obj0
= 0 ;
12751 char *kwnames
[] = {
12752 (char *) "self", NULL
12755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12760 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12762 wxPyEndAllowThreads(__tstate
);
12763 if (PyErr_Occurred()) SWIG_fail
;
12765 resultobj
= result
;
12772 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12775 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12777 return Py_BuildValue((char *)"");
12779 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12780 PyObject
*resultobj
;
12781 wxWindow
*arg1
= (wxWindow
*) 0 ;
12782 wxString
*arg2
= 0 ;
12783 wxString
*arg3
= 0 ;
12785 wxString
*arg5
= (wxString
*) 0 ;
12786 long arg6
= (long) wxCHOICEDLG_STYLE
;
12787 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12788 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12789 wxSingleChoiceDialog
*result
;
12790 bool temp2
= False
;
12791 bool temp3
= False
;
12793 PyObject
* obj0
= 0 ;
12794 PyObject
* obj1
= 0 ;
12795 PyObject
* obj2
= 0 ;
12796 PyObject
* obj3
= 0 ;
12797 PyObject
* obj4
= 0 ;
12798 PyObject
* obj5
= 0 ;
12799 char *kwnames
[] = {
12800 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12807 arg2
= wxString_in_helper(obj1
);
12808 if (arg2
== NULL
) SWIG_fail
;
12812 arg3
= wxString_in_helper(obj2
);
12813 if (arg3
== NULL
) SWIG_fail
;
12817 arg4
= PyList_Size(obj3
);
12818 arg5
= wxString_LIST_helper(obj3
);
12819 if (arg5
== NULL
) SWIG_fail
;
12822 arg6
= (long) SWIG_AsLong(obj4
);
12823 if (PyErr_Occurred()) SWIG_fail
;
12828 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12832 if (!wxPyCheckForApp()) SWIG_fail
;
12833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12834 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12836 wxPyEndAllowThreads(__tstate
);
12837 if (PyErr_Occurred()) SWIG_fail
;
12839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12849 if (arg5
) delete [] arg5
;
12862 if (arg5
) delete [] arg5
;
12868 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12869 PyObject
*resultobj
;
12870 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12872 PyObject
* obj0
= 0 ;
12873 char *kwnames
[] = {
12874 (char *) "self", NULL
12877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12882 result
= (int)(arg1
)->GetSelection();
12884 wxPyEndAllowThreads(__tstate
);
12885 if (PyErr_Occurred()) SWIG_fail
;
12887 resultobj
= SWIG_FromInt((int)result
);
12894 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12895 PyObject
*resultobj
;
12896 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12898 PyObject
* obj0
= 0 ;
12899 char *kwnames
[] = {
12900 (char *) "self", NULL
12903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12908 result
= (arg1
)->GetStringSelection();
12910 wxPyEndAllowThreads(__tstate
);
12911 if (PyErr_Occurred()) SWIG_fail
;
12915 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12917 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12926 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12927 PyObject
*resultobj
;
12928 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12930 PyObject
* obj0
= 0 ;
12931 PyObject
* obj1
= 0 ;
12932 char *kwnames
[] = {
12933 (char *) "self",(char *) "sel", NULL
12936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12939 arg2
= (int) SWIG_AsInt(obj1
);
12940 if (PyErr_Occurred()) SWIG_fail
;
12942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12943 (arg1
)->SetSelection(arg2
);
12945 wxPyEndAllowThreads(__tstate
);
12946 if (PyErr_Occurred()) SWIG_fail
;
12948 Py_INCREF(Py_None
); resultobj
= Py_None
;
12955 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12958 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12960 return Py_BuildValue((char *)"");
12962 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12963 PyObject
*resultobj
;
12964 wxWindow
*arg1
= (wxWindow
*) 0 ;
12965 wxString
*arg2
= 0 ;
12966 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12967 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12968 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12969 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12970 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12971 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12972 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12973 wxTextEntryDialog
*result
;
12974 bool temp2
= False
;
12975 bool temp3
= False
;
12976 bool temp4
= False
;
12978 PyObject
* obj0
= 0 ;
12979 PyObject
* obj1
= 0 ;
12980 PyObject
* obj2
= 0 ;
12981 PyObject
* obj3
= 0 ;
12982 PyObject
* obj4
= 0 ;
12983 PyObject
* obj5
= 0 ;
12984 char *kwnames
[] = {
12985 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12992 arg2
= wxString_in_helper(obj1
);
12993 if (arg2
== NULL
) SWIG_fail
;
12998 arg3
= wxString_in_helper(obj2
);
12999 if (arg3
== NULL
) SWIG_fail
;
13005 arg4
= wxString_in_helper(obj3
);
13006 if (arg4
== NULL
) SWIG_fail
;
13011 arg5
= (long) SWIG_AsLong(obj4
);
13012 if (PyErr_Occurred()) SWIG_fail
;
13017 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
13021 if (!wxPyCheckForApp()) SWIG_fail
;
13022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13023 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
13025 wxPyEndAllowThreads(__tstate
);
13026 if (PyErr_Occurred()) SWIG_fail
;
13028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
13059 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13060 PyObject
*resultobj
;
13061 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13063 PyObject
* obj0
= 0 ;
13064 char *kwnames
[] = {
13065 (char *) "self", NULL
13068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
13069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13073 result
= (arg1
)->GetValue();
13075 wxPyEndAllowThreads(__tstate
);
13076 if (PyErr_Occurred()) SWIG_fail
;
13080 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13082 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13091 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13092 PyObject
*resultobj
;
13093 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13094 wxString
*arg2
= 0 ;
13095 bool temp2
= False
;
13096 PyObject
* obj0
= 0 ;
13097 PyObject
* obj1
= 0 ;
13098 char *kwnames
[] = {
13099 (char *) "self",(char *) "value", NULL
13102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13106 arg2
= wxString_in_helper(obj1
);
13107 if (arg2
== NULL
) SWIG_fail
;
13111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13112 (arg1
)->SetValue((wxString
const &)*arg2
);
13114 wxPyEndAllowThreads(__tstate
);
13115 if (PyErr_Occurred()) SWIG_fail
;
13117 Py_INCREF(Py_None
); resultobj
= Py_None
;
13132 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13134 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13135 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
13137 return Py_BuildValue((char *)"");
13139 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13140 PyObject
*resultobj
;
13141 wxFontData
*result
;
13142 char *kwnames
[] = {
13146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13149 result
= (wxFontData
*)new wxFontData();
13151 wxPyEndAllowThreads(__tstate
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
13161 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13162 PyObject
*resultobj
;
13163 wxFontData
*arg1
= (wxFontData
*) 0 ;
13164 PyObject
* obj0
= 0 ;
13165 char *kwnames
[] = {
13166 (char *) "self", NULL
13169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
13170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13176 wxPyEndAllowThreads(__tstate
);
13177 if (PyErr_Occurred()) SWIG_fail
;
13179 Py_INCREF(Py_None
); resultobj
= Py_None
;
13186 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13187 PyObject
*resultobj
;
13188 wxFontData
*arg1
= (wxFontData
*) 0 ;
13190 PyObject
* obj0
= 0 ;
13191 PyObject
* obj1
= 0 ;
13192 char *kwnames
[] = {
13193 (char *) "self",(char *) "enable", NULL
13196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
13197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13199 arg2
= (bool) SWIG_AsBool(obj1
);
13200 if (PyErr_Occurred()) SWIG_fail
;
13202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13203 (arg1
)->EnableEffects(arg2
);
13205 wxPyEndAllowThreads(__tstate
);
13206 if (PyErr_Occurred()) SWIG_fail
;
13208 Py_INCREF(Py_None
); resultobj
= Py_None
;
13215 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13216 PyObject
*resultobj
;
13217 wxFontData
*arg1
= (wxFontData
*) 0 ;
13219 PyObject
* obj0
= 0 ;
13220 char *kwnames
[] = {
13221 (char *) "self", NULL
13224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
13225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13229 result
= (bool)(arg1
)->GetAllowSymbols();
13231 wxPyEndAllowThreads(__tstate
);
13232 if (PyErr_Occurred()) SWIG_fail
;
13235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13243 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13244 PyObject
*resultobj
;
13245 wxFontData
*arg1
= (wxFontData
*) 0 ;
13247 PyObject
* obj0
= 0 ;
13248 char *kwnames
[] = {
13249 (char *) "self", NULL
13252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
13253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13257 result
= (arg1
)->GetColour();
13259 wxPyEndAllowThreads(__tstate
);
13260 if (PyErr_Occurred()) SWIG_fail
;
13263 wxColour
* resultptr
;
13264 resultptr
= new wxColour((wxColour
&) result
);
13265 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13273 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13274 PyObject
*resultobj
;
13275 wxFontData
*arg1
= (wxFontData
*) 0 ;
13277 PyObject
* obj0
= 0 ;
13278 char *kwnames
[] = {
13279 (char *) "self", NULL
13282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
13283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13287 result
= (arg1
)->GetChosenFont();
13289 wxPyEndAllowThreads(__tstate
);
13290 if (PyErr_Occurred()) SWIG_fail
;
13293 wxFont
* resultptr
;
13294 resultptr
= new wxFont((wxFont
&) result
);
13295 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13303 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13304 PyObject
*resultobj
;
13305 wxFontData
*arg1
= (wxFontData
*) 0 ;
13307 PyObject
* obj0
= 0 ;
13308 char *kwnames
[] = {
13309 (char *) "self", NULL
13312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
13313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13317 result
= (bool)(arg1
)->GetEnableEffects();
13319 wxPyEndAllowThreads(__tstate
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13331 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13332 PyObject
*resultobj
;
13333 wxFontData
*arg1
= (wxFontData
*) 0 ;
13335 PyObject
* obj0
= 0 ;
13336 char *kwnames
[] = {
13337 (char *) "self", NULL
13340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13345 result
= (arg1
)->GetInitialFont();
13347 wxPyEndAllowThreads(__tstate
);
13348 if (PyErr_Occurred()) SWIG_fail
;
13351 wxFont
* resultptr
;
13352 resultptr
= new wxFont((wxFont
&) result
);
13353 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13361 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13362 PyObject
*resultobj
;
13363 wxFontData
*arg1
= (wxFontData
*) 0 ;
13365 PyObject
* obj0
= 0 ;
13366 char *kwnames
[] = {
13367 (char *) "self", NULL
13370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13375 result
= (bool)(arg1
)->GetShowHelp();
13377 wxPyEndAllowThreads(__tstate
);
13378 if (PyErr_Occurred()) SWIG_fail
;
13381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13389 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13390 PyObject
*resultobj
;
13391 wxFontData
*arg1
= (wxFontData
*) 0 ;
13393 PyObject
* obj0
= 0 ;
13394 PyObject
* obj1
= 0 ;
13395 char *kwnames
[] = {
13396 (char *) "self",(char *) "allowSymbols", NULL
13399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13402 arg2
= (bool) SWIG_AsBool(obj1
);
13403 if (PyErr_Occurred()) SWIG_fail
;
13405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13406 (arg1
)->SetAllowSymbols(arg2
);
13408 wxPyEndAllowThreads(__tstate
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13411 Py_INCREF(Py_None
); resultobj
= Py_None
;
13418 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13419 PyObject
*resultobj
;
13420 wxFontData
*arg1
= (wxFontData
*) 0 ;
13422 PyObject
* obj0
= 0 ;
13423 PyObject
* obj1
= 0 ;
13424 char *kwnames
[] = {
13425 (char *) "self",(char *) "font", NULL
13428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13431 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13432 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13434 if (arg2
== NULL
) {
13435 PyErr_SetString(PyExc_TypeError
,"null reference");
13439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13440 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13442 wxPyEndAllowThreads(__tstate
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13445 Py_INCREF(Py_None
); resultobj
= Py_None
;
13452 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13453 PyObject
*resultobj
;
13454 wxFontData
*arg1
= (wxFontData
*) 0 ;
13455 wxColour
*arg2
= 0 ;
13457 PyObject
* obj0
= 0 ;
13458 PyObject
* obj1
= 0 ;
13459 char *kwnames
[] = {
13460 (char *) "self",(char *) "colour", NULL
13463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13468 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13472 (arg1
)->SetColour((wxColour
const &)*arg2
);
13474 wxPyEndAllowThreads(__tstate
);
13475 if (PyErr_Occurred()) SWIG_fail
;
13477 Py_INCREF(Py_None
); resultobj
= Py_None
;
13484 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13485 PyObject
*resultobj
;
13486 wxFontData
*arg1
= (wxFontData
*) 0 ;
13488 PyObject
* obj0
= 0 ;
13489 PyObject
* obj1
= 0 ;
13490 char *kwnames
[] = {
13491 (char *) "self",(char *) "font", NULL
13494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13497 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13498 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13500 if (arg2
== NULL
) {
13501 PyErr_SetString(PyExc_TypeError
,"null reference");
13505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13506 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13508 wxPyEndAllowThreads(__tstate
);
13509 if (PyErr_Occurred()) SWIG_fail
;
13511 Py_INCREF(Py_None
); resultobj
= Py_None
;
13518 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13519 PyObject
*resultobj
;
13520 wxFontData
*arg1
= (wxFontData
*) 0 ;
13523 PyObject
* obj0
= 0 ;
13524 PyObject
* obj1
= 0 ;
13525 PyObject
* obj2
= 0 ;
13526 char *kwnames
[] = {
13527 (char *) "self",(char *) "min",(char *) "max", NULL
13530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13533 arg2
= (int) SWIG_AsInt(obj1
);
13534 if (PyErr_Occurred()) SWIG_fail
;
13535 arg3
= (int) SWIG_AsInt(obj2
);
13536 if (PyErr_Occurred()) SWIG_fail
;
13538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13539 (arg1
)->SetRange(arg2
,arg3
);
13541 wxPyEndAllowThreads(__tstate
);
13542 if (PyErr_Occurred()) SWIG_fail
;
13544 Py_INCREF(Py_None
); resultobj
= Py_None
;
13551 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13552 PyObject
*resultobj
;
13553 wxFontData
*arg1
= (wxFontData
*) 0 ;
13555 PyObject
* obj0
= 0 ;
13556 PyObject
* obj1
= 0 ;
13557 char *kwnames
[] = {
13558 (char *) "self",(char *) "showHelp", NULL
13561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13564 arg2
= (bool) SWIG_AsBool(obj1
);
13565 if (PyErr_Occurred()) SWIG_fail
;
13567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13568 (arg1
)->SetShowHelp(arg2
);
13570 wxPyEndAllowThreads(__tstate
);
13571 if (PyErr_Occurred()) SWIG_fail
;
13573 Py_INCREF(Py_None
); resultobj
= Py_None
;
13580 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
13582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13583 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13585 return Py_BuildValue((char *)"");
13587 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13588 PyObject
*resultobj
;
13589 wxWindow
*arg1
= (wxWindow
*) 0 ;
13590 wxFontData
*arg2
= 0 ;
13591 wxFontDialog
*result
;
13592 PyObject
* obj0
= 0 ;
13593 PyObject
* obj1
= 0 ;
13594 char *kwnames
[] = {
13595 (char *) "parent",(char *) "data", NULL
13598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13601 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13602 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13604 if (arg2
== NULL
) {
13605 PyErr_SetString(PyExc_TypeError
,"null reference");
13609 if (!wxPyCheckForApp()) SWIG_fail
;
13610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13611 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13613 wxPyEndAllowThreads(__tstate
);
13614 if (PyErr_Occurred()) SWIG_fail
;
13616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13623 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13624 PyObject
*resultobj
;
13625 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13626 wxFontData
*result
;
13627 PyObject
* obj0
= 0 ;
13628 char *kwnames
[] = {
13629 (char *) "self", NULL
13632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13638 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13639 result
= (wxFontData
*) &_result_ref
;
13642 wxPyEndAllowThreads(__tstate
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13652 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13654 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13655 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13657 return Py_BuildValue((char *)"");
13659 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13660 PyObject
*resultobj
;
13661 wxWindow
*arg1
= (wxWindow
*) 0 ;
13662 wxString
*arg2
= 0 ;
13663 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13664 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13665 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13666 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13667 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13668 wxMessageDialog
*result
;
13669 bool temp2
= False
;
13670 bool temp3
= False
;
13672 PyObject
* obj0
= 0 ;
13673 PyObject
* obj1
= 0 ;
13674 PyObject
* obj2
= 0 ;
13675 PyObject
* obj3
= 0 ;
13676 PyObject
* obj4
= 0 ;
13677 char *kwnames
[] = {
13678 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13685 arg2
= wxString_in_helper(obj1
);
13686 if (arg2
== NULL
) SWIG_fail
;
13691 arg3
= wxString_in_helper(obj2
);
13692 if (arg3
== NULL
) SWIG_fail
;
13697 arg4
= (long) SWIG_AsLong(obj3
);
13698 if (PyErr_Occurred()) SWIG_fail
;
13703 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13707 if (!wxPyCheckForApp()) SWIG_fail
;
13708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13709 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13711 wxPyEndAllowThreads(__tstate
);
13712 if (PyErr_Occurred()) SWIG_fail
;
13714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13737 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13740 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13742 return Py_BuildValue((char *)"");
13744 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13745 PyObject
*resultobj
;
13746 wxString
*arg1
= 0 ;
13747 wxString
*arg2
= 0 ;
13748 int arg3
= (int) 100 ;
13749 wxWindow
*arg4
= (wxWindow
*) NULL
;
13750 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13751 wxProgressDialog
*result
;
13752 bool temp1
= False
;
13753 bool temp2
= False
;
13754 PyObject
* obj0
= 0 ;
13755 PyObject
* obj1
= 0 ;
13756 PyObject
* obj2
= 0 ;
13757 PyObject
* obj3
= 0 ;
13758 PyObject
* obj4
= 0 ;
13759 char *kwnames
[] = {
13760 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13765 arg1
= wxString_in_helper(obj0
);
13766 if (arg1
== NULL
) SWIG_fail
;
13770 arg2
= wxString_in_helper(obj1
);
13771 if (arg2
== NULL
) SWIG_fail
;
13775 arg3
= (int) SWIG_AsInt(obj2
);
13776 if (PyErr_Occurred()) SWIG_fail
;
13779 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13783 arg5
= (int) SWIG_AsInt(obj4
);
13784 if (PyErr_Occurred()) SWIG_fail
;
13787 if (!wxPyCheckForApp()) SWIG_fail
;
13788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13789 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13791 wxPyEndAllowThreads(__tstate
);
13792 if (PyErr_Occurred()) SWIG_fail
;
13794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13817 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13818 PyObject
*resultobj
;
13819 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13821 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13822 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13824 bool temp3
= False
;
13825 PyObject
* obj0
= 0 ;
13826 PyObject
* obj1
= 0 ;
13827 PyObject
* obj2
= 0 ;
13828 char *kwnames
[] = {
13829 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13835 arg2
= (int) SWIG_AsInt(obj1
);
13836 if (PyErr_Occurred()) SWIG_fail
;
13839 arg3
= wxString_in_helper(obj2
);
13840 if (arg3
== NULL
) SWIG_fail
;
13845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13846 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13848 wxPyEndAllowThreads(__tstate
);
13849 if (PyErr_Occurred()) SWIG_fail
;
13852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13868 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13869 PyObject
*resultobj
;
13870 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13871 PyObject
* obj0
= 0 ;
13872 char *kwnames
[] = {
13873 (char *) "self", NULL
13876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13883 wxPyEndAllowThreads(__tstate
);
13884 if (PyErr_Occurred()) SWIG_fail
;
13886 Py_INCREF(Py_None
); resultobj
= Py_None
;
13893 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13896 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13898 return Py_BuildValue((char *)"");
13900 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13901 PyObject
*resultobj
;
13902 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13903 int arg2
= (int) 0 ;
13904 wxFindDialogEvent
*result
;
13905 PyObject
* obj0
= 0 ;
13906 PyObject
* obj1
= 0 ;
13907 char *kwnames
[] = {
13908 (char *) "commandType",(char *) "id", NULL
13911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13913 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13914 if (PyErr_Occurred()) SWIG_fail
;
13917 arg2
= (int) SWIG_AsInt(obj1
);
13918 if (PyErr_Occurred()) SWIG_fail
;
13921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13922 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13924 wxPyEndAllowThreads(__tstate
);
13925 if (PyErr_Occurred()) SWIG_fail
;
13927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13934 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13935 PyObject
*resultobj
;
13936 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13938 PyObject
* obj0
= 0 ;
13939 char *kwnames
[] = {
13940 (char *) "self", NULL
13943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13948 result
= (int)(arg1
)->GetFlags();
13950 wxPyEndAllowThreads(__tstate
);
13951 if (PyErr_Occurred()) SWIG_fail
;
13953 resultobj
= SWIG_FromInt((int)result
);
13960 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13961 PyObject
*resultobj
;
13962 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13964 PyObject
* obj0
= 0 ;
13965 char *kwnames
[] = {
13966 (char *) "self", NULL
13969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13975 wxString
const &_result_ref
= (arg1
)->GetFindString();
13976 result
= (wxString
*) &_result_ref
;
13979 wxPyEndAllowThreads(__tstate
);
13980 if (PyErr_Occurred()) SWIG_fail
;
13984 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13986 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13995 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13996 PyObject
*resultobj
;
13997 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13999 PyObject
* obj0
= 0 ;
14000 char *kwnames
[] = {
14001 (char *) "self", NULL
14004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14010 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14011 result
= (wxString
*) &_result_ref
;
14014 wxPyEndAllowThreads(__tstate
);
14015 if (PyErr_Occurred()) SWIG_fail
;
14019 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14021 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14030 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14031 PyObject
*resultobj
;
14032 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14033 wxFindReplaceDialog
*result
;
14034 PyObject
* obj0
= 0 ;
14035 char *kwnames
[] = {
14036 (char *) "self", NULL
14039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
14040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14044 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
14046 wxPyEndAllowThreads(__tstate
);
14047 if (PyErr_Occurred()) SWIG_fail
;
14049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
14056 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14057 PyObject
*resultobj
;
14058 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14060 PyObject
* obj0
= 0 ;
14061 PyObject
* obj1
= 0 ;
14062 char *kwnames
[] = {
14063 (char *) "self",(char *) "flags", NULL
14066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14069 arg2
= (int) SWIG_AsInt(obj1
);
14070 if (PyErr_Occurred()) SWIG_fail
;
14072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14073 (arg1
)->SetFlags(arg2
);
14075 wxPyEndAllowThreads(__tstate
);
14076 if (PyErr_Occurred()) SWIG_fail
;
14078 Py_INCREF(Py_None
); resultobj
= Py_None
;
14085 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14086 PyObject
*resultobj
;
14087 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14088 wxString
*arg2
= 0 ;
14089 bool temp2
= False
;
14090 PyObject
* obj0
= 0 ;
14091 PyObject
* obj1
= 0 ;
14092 char *kwnames
[] = {
14093 (char *) "self",(char *) "str", NULL
14096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14100 arg2
= wxString_in_helper(obj1
);
14101 if (arg2
== NULL
) SWIG_fail
;
14105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14106 (arg1
)->SetFindString((wxString
const &)*arg2
);
14108 wxPyEndAllowThreads(__tstate
);
14109 if (PyErr_Occurred()) SWIG_fail
;
14111 Py_INCREF(Py_None
); resultobj
= Py_None
;
14126 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14127 PyObject
*resultobj
;
14128 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14129 wxString
*arg2
= 0 ;
14130 bool temp2
= False
;
14131 PyObject
* obj0
= 0 ;
14132 PyObject
* obj1
= 0 ;
14133 char *kwnames
[] = {
14134 (char *) "self",(char *) "str", NULL
14137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14141 arg2
= wxString_in_helper(obj1
);
14142 if (arg2
== NULL
) SWIG_fail
;
14146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14147 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14149 wxPyEndAllowThreads(__tstate
);
14150 if (PyErr_Occurred()) SWIG_fail
;
14152 Py_INCREF(Py_None
); resultobj
= Py_None
;
14167 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14169 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14170 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
14172 return Py_BuildValue((char *)"");
14174 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14175 PyObject
*resultobj
;
14176 int arg1
= (int) 0 ;
14177 wxFindReplaceData
*result
;
14178 PyObject
* obj0
= 0 ;
14179 char *kwnames
[] = {
14180 (char *) "flags", NULL
14183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14185 arg1
= (int) SWIG_AsInt(obj0
);
14186 if (PyErr_Occurred()) SWIG_fail
;
14189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14190 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
14192 wxPyEndAllowThreads(__tstate
);
14193 if (PyErr_Occurred()) SWIG_fail
;
14195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
14202 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14203 PyObject
*resultobj
;
14204 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14205 PyObject
* obj0
= 0 ;
14206 char *kwnames
[] = {
14207 (char *) "self", NULL
14210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14217 wxPyEndAllowThreads(__tstate
);
14218 if (PyErr_Occurred()) SWIG_fail
;
14220 Py_INCREF(Py_None
); resultobj
= Py_None
;
14227 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14228 PyObject
*resultobj
;
14229 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14231 PyObject
* obj0
= 0 ;
14232 char *kwnames
[] = {
14233 (char *) "self", NULL
14236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
14237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14242 wxString
const &_result_ref
= (arg1
)->GetFindString();
14243 result
= (wxString
*) &_result_ref
;
14246 wxPyEndAllowThreads(__tstate
);
14247 if (PyErr_Occurred()) SWIG_fail
;
14251 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14253 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14262 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14263 PyObject
*resultobj
;
14264 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14266 PyObject
* obj0
= 0 ;
14267 char *kwnames
[] = {
14268 (char *) "self", NULL
14271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14277 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14278 result
= (wxString
*) &_result_ref
;
14281 wxPyEndAllowThreads(__tstate
);
14282 if (PyErr_Occurred()) SWIG_fail
;
14286 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14288 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14297 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14298 PyObject
*resultobj
;
14299 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14301 PyObject
* obj0
= 0 ;
14302 char *kwnames
[] = {
14303 (char *) "self", NULL
14306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
14307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14311 result
= (int)(arg1
)->GetFlags();
14313 wxPyEndAllowThreads(__tstate
);
14314 if (PyErr_Occurred()) SWIG_fail
;
14316 resultobj
= SWIG_FromInt((int)result
);
14323 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14324 PyObject
*resultobj
;
14325 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14327 PyObject
* obj0
= 0 ;
14328 PyObject
* obj1
= 0 ;
14329 char *kwnames
[] = {
14330 (char *) "self",(char *) "flags", NULL
14333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14336 arg2
= (int) SWIG_AsInt(obj1
);
14337 if (PyErr_Occurred()) SWIG_fail
;
14339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14340 (arg1
)->SetFlags(arg2
);
14342 wxPyEndAllowThreads(__tstate
);
14343 if (PyErr_Occurred()) SWIG_fail
;
14345 Py_INCREF(Py_None
); resultobj
= Py_None
;
14352 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14353 PyObject
*resultobj
;
14354 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14355 wxString
*arg2
= 0 ;
14356 bool temp2
= False
;
14357 PyObject
* obj0
= 0 ;
14358 PyObject
* obj1
= 0 ;
14359 char *kwnames
[] = {
14360 (char *) "self",(char *) "str", NULL
14363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14367 arg2
= wxString_in_helper(obj1
);
14368 if (arg2
== NULL
) SWIG_fail
;
14372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14373 (arg1
)->SetFindString((wxString
const &)*arg2
);
14375 wxPyEndAllowThreads(__tstate
);
14376 if (PyErr_Occurred()) SWIG_fail
;
14378 Py_INCREF(Py_None
); resultobj
= Py_None
;
14393 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14394 PyObject
*resultobj
;
14395 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14396 wxString
*arg2
= 0 ;
14397 bool temp2
= False
;
14398 PyObject
* obj0
= 0 ;
14399 PyObject
* obj1
= 0 ;
14400 char *kwnames
[] = {
14401 (char *) "self",(char *) "str", NULL
14404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14408 arg2
= wxString_in_helper(obj1
);
14409 if (arg2
== NULL
) SWIG_fail
;
14413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14414 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14416 wxPyEndAllowThreads(__tstate
);
14417 if (PyErr_Occurred()) SWIG_fail
;
14419 Py_INCREF(Py_None
); resultobj
= Py_None
;
14434 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
14436 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14437 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14439 return Py_BuildValue((char *)"");
14441 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14442 PyObject
*resultobj
;
14443 wxWindow
*arg1
= (wxWindow
*) 0 ;
14444 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14445 wxString
*arg3
= 0 ;
14446 int arg4
= (int) 0 ;
14447 wxFindReplaceDialog
*result
;
14448 bool temp3
= False
;
14449 PyObject
* obj0
= 0 ;
14450 PyObject
* obj1
= 0 ;
14451 PyObject
* obj2
= 0 ;
14452 PyObject
* obj3
= 0 ;
14453 char *kwnames
[] = {
14454 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14460 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14463 arg3
= wxString_in_helper(obj2
);
14464 if (arg3
== NULL
) SWIG_fail
;
14468 arg4
= (int) SWIG_AsInt(obj3
);
14469 if (PyErr_Occurred()) SWIG_fail
;
14472 if (!wxPyCheckForApp()) SWIG_fail
;
14473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14474 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14476 wxPyEndAllowThreads(__tstate
);
14477 if (PyErr_Occurred()) SWIG_fail
;
14479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14494 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14495 PyObject
*resultobj
;
14496 wxFindReplaceDialog
*result
;
14497 char *kwnames
[] = {
14501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14503 if (!wxPyCheckForApp()) SWIG_fail
;
14504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14505 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14507 wxPyEndAllowThreads(__tstate
);
14508 if (PyErr_Occurred()) SWIG_fail
;
14510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14517 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14518 PyObject
*resultobj
;
14519 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14520 wxWindow
*arg2
= (wxWindow
*) 0 ;
14521 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14522 wxString
*arg4
= 0 ;
14523 int arg5
= (int) 0 ;
14525 bool temp4
= False
;
14526 PyObject
* obj0
= 0 ;
14527 PyObject
* obj1
= 0 ;
14528 PyObject
* obj2
= 0 ;
14529 PyObject
* obj3
= 0 ;
14530 PyObject
* obj4
= 0 ;
14531 char *kwnames
[] = {
14532 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14538 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14540 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14543 arg4
= wxString_in_helper(obj3
);
14544 if (arg4
== NULL
) SWIG_fail
;
14548 arg5
= (int) SWIG_AsInt(obj4
);
14549 if (PyErr_Occurred()) SWIG_fail
;
14552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14553 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14555 wxPyEndAllowThreads(__tstate
);
14556 if (PyErr_Occurred()) SWIG_fail
;
14559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14575 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14576 PyObject
*resultobj
;
14577 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14578 wxFindReplaceData
*result
;
14579 PyObject
* obj0
= 0 ;
14580 char *kwnames
[] = {
14581 (char *) "self", NULL
14584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14589 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14591 wxPyEndAllowThreads(__tstate
);
14592 if (PyErr_Occurred()) SWIG_fail
;
14594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14601 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14602 PyObject
*resultobj
;
14603 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14604 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14605 PyObject
* obj0
= 0 ;
14606 PyObject
* obj1
= 0 ;
14607 char *kwnames
[] = {
14608 (char *) "self",(char *) "data", NULL
14611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14614 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14618 (arg1
)->SetData(arg2
);
14620 wxPyEndAllowThreads(__tstate
);
14621 if (PyErr_Occurred()) SWIG_fail
;
14623 Py_INCREF(Py_None
); resultobj
= Py_None
;
14630 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14633 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14635 return Py_BuildValue((char *)"");
14637 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14638 PyObject
*resultobj
;
14639 wxWindow
*arg1
= (wxWindow
*) 0 ;
14640 int arg2
= (int) (int)-1 ;
14641 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14642 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14643 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14644 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14645 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14646 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14647 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14648 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14649 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14650 wxMDIParentFrame
*result
;
14651 bool temp3
= False
;
14654 bool temp7
= False
;
14655 PyObject
* obj0
= 0 ;
14656 PyObject
* obj1
= 0 ;
14657 PyObject
* obj2
= 0 ;
14658 PyObject
* obj3
= 0 ;
14659 PyObject
* obj4
= 0 ;
14660 PyObject
* obj5
= 0 ;
14661 PyObject
* obj6
= 0 ;
14662 char *kwnames
[] = {
14663 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14670 arg2
= (int const) SWIG_AsInt(obj1
);
14671 if (PyErr_Occurred()) SWIG_fail
;
14675 arg3
= wxString_in_helper(obj2
);
14676 if (arg3
== NULL
) SWIG_fail
;
14683 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14689 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14693 arg6
= (long) SWIG_AsLong(obj5
);
14694 if (PyErr_Occurred()) SWIG_fail
;
14698 arg7
= wxString_in_helper(obj6
);
14699 if (arg7
== NULL
) SWIG_fail
;
14704 if (!wxPyCheckForApp()) SWIG_fail
;
14705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14706 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14708 wxPyEndAllowThreads(__tstate
);
14709 if (PyErr_Occurred()) SWIG_fail
;
14711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14734 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14735 PyObject
*resultobj
;
14736 wxMDIParentFrame
*result
;
14737 char *kwnames
[] = {
14741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14743 if (!wxPyCheckForApp()) SWIG_fail
;
14744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14745 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14747 wxPyEndAllowThreads(__tstate
);
14748 if (PyErr_Occurred()) SWIG_fail
;
14750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14757 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14758 PyObject
*resultobj
;
14759 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14760 wxWindow
*arg2
= (wxWindow
*) 0 ;
14761 int arg3
= (int) (int)-1 ;
14762 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14763 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14764 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14765 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14766 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14767 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14768 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14769 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14770 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14772 bool temp4
= False
;
14775 bool temp8
= False
;
14776 PyObject
* obj0
= 0 ;
14777 PyObject
* obj1
= 0 ;
14778 PyObject
* obj2
= 0 ;
14779 PyObject
* obj3
= 0 ;
14780 PyObject
* obj4
= 0 ;
14781 PyObject
* obj5
= 0 ;
14782 PyObject
* obj6
= 0 ;
14783 PyObject
* obj7
= 0 ;
14784 char *kwnames
[] = {
14785 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14794 arg3
= (int const) SWIG_AsInt(obj2
);
14795 if (PyErr_Occurred()) SWIG_fail
;
14799 arg4
= wxString_in_helper(obj3
);
14800 if (arg4
== NULL
) SWIG_fail
;
14807 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14813 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14817 arg7
= (long) SWIG_AsLong(obj6
);
14818 if (PyErr_Occurred()) SWIG_fail
;
14822 arg8
= wxString_in_helper(obj7
);
14823 if (arg8
== NULL
) SWIG_fail
;
14828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14829 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14831 wxPyEndAllowThreads(__tstate
);
14832 if (PyErr_Occurred()) SWIG_fail
;
14835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14859 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14860 PyObject
*resultobj
;
14861 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14862 PyObject
* obj0
= 0 ;
14863 char *kwnames
[] = {
14864 (char *) "self", NULL
14867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14872 (arg1
)->ActivateNext();
14874 wxPyEndAllowThreads(__tstate
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14877 Py_INCREF(Py_None
); resultobj
= Py_None
;
14884 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14885 PyObject
*resultobj
;
14886 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14887 PyObject
* obj0
= 0 ;
14888 char *kwnames
[] = {
14889 (char *) "self", NULL
14892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14897 (arg1
)->ActivatePrevious();
14899 wxPyEndAllowThreads(__tstate
);
14900 if (PyErr_Occurred()) SWIG_fail
;
14902 Py_INCREF(Py_None
); resultobj
= Py_None
;
14909 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14910 PyObject
*resultobj
;
14911 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14912 PyObject
* obj0
= 0 ;
14913 char *kwnames
[] = {
14914 (char *) "self", NULL
14917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14922 (arg1
)->ArrangeIcons();
14924 wxPyEndAllowThreads(__tstate
);
14925 if (PyErr_Occurred()) SWIG_fail
;
14927 Py_INCREF(Py_None
); resultobj
= Py_None
;
14934 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14935 PyObject
*resultobj
;
14936 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14937 PyObject
* obj0
= 0 ;
14938 char *kwnames
[] = {
14939 (char *) "self", NULL
14942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14949 wxPyEndAllowThreads(__tstate
);
14950 if (PyErr_Occurred()) SWIG_fail
;
14952 Py_INCREF(Py_None
); resultobj
= Py_None
;
14959 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14960 PyObject
*resultobj
;
14961 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14962 wxMDIChildFrame
*result
;
14963 PyObject
* obj0
= 0 ;
14964 char *kwnames
[] = {
14965 (char *) "self", NULL
14968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14973 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14975 wxPyEndAllowThreads(__tstate
);
14976 if (PyErr_Occurred()) SWIG_fail
;
14979 resultobj
= wxPyMake_wxObject(result
);
14987 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14988 PyObject
*resultobj
;
14989 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14990 wxMDIClientWindow
*result
;
14991 PyObject
* obj0
= 0 ;
14992 char *kwnames
[] = {
14993 (char *) "self", NULL
14996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15001 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
15003 wxPyEndAllowThreads(__tstate
);
15004 if (PyErr_Occurred()) SWIG_fail
;
15007 resultobj
= wxPyMake_wxObject(result
);
15015 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15016 PyObject
*resultobj
;
15017 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15019 PyObject
* obj0
= 0 ;
15020 char *kwnames
[] = {
15021 (char *) "self", NULL
15024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
15025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15029 result
= (wxWindow
*)(arg1
)->GetToolBar();
15031 wxPyEndAllowThreads(__tstate
);
15032 if (PyErr_Occurred()) SWIG_fail
;
15035 resultobj
= wxPyMake_wxObject(result
);
15043 static PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15044 PyObject
*resultobj
;
15045 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15047 PyObject
* obj0
= 0 ;
15048 char *kwnames
[] = {
15049 (char *) "self", NULL
15052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames
,&obj0
)) goto fail
;
15053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15057 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
15059 wxPyEndAllowThreads(__tstate
);
15060 if (PyErr_Occurred()) SWIG_fail
;
15063 resultobj
= wxPyMake_wxObject(result
);
15071 static PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15072 PyObject
*resultobj
;
15073 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15074 wxMenu
*arg2
= (wxMenu
*) 0 ;
15075 PyObject
* obj0
= 0 ;
15076 PyObject
* obj1
= 0 ;
15077 char *kwnames
[] = {
15078 (char *) "self",(char *) "menu", NULL
15081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
15082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15084 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
15085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15088 (arg1
)->SetWindowMenu(arg2
);
15090 wxPyEndAllowThreads(__tstate
);
15091 if (PyErr_Occurred()) SWIG_fail
;
15093 Py_INCREF(Py_None
); resultobj
= Py_None
;
15100 static PyObject
*_wrap_MDIParentFrame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15101 PyObject
*resultobj
;
15102 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15103 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
15104 PyObject
* obj0
= 0 ;
15105 PyObject
* obj1
= 0 ;
15106 char *kwnames
[] = {
15107 (char *) "self",(char *) "toolbar", NULL
15110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
15111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
15114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15117 (arg1
)->SetToolBar(arg2
);
15119 wxPyEndAllowThreads(__tstate
);
15120 if (PyErr_Occurred()) SWIG_fail
;
15122 Py_INCREF(Py_None
); resultobj
= Py_None
;
15129 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15130 PyObject
*resultobj
;
15131 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15132 PyObject
* obj0
= 0 ;
15133 char *kwnames
[] = {
15134 (char *) "self", NULL
15137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
15138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15144 wxPyEndAllowThreads(__tstate
);
15145 if (PyErr_Occurred()) SWIG_fail
;
15147 Py_INCREF(Py_None
); resultobj
= Py_None
;
15154 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
15156 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15157 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
15159 return Py_BuildValue((char *)"");
15161 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15162 PyObject
*resultobj
;
15163 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15164 int arg2
= (int) (int)-1 ;
15165 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15166 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15167 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15168 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15169 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15170 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15171 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
15172 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
15173 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15174 wxMDIChildFrame
*result
;
15175 bool temp3
= False
;
15178 bool temp7
= False
;
15179 PyObject
* obj0
= 0 ;
15180 PyObject
* obj1
= 0 ;
15181 PyObject
* obj2
= 0 ;
15182 PyObject
* obj3
= 0 ;
15183 PyObject
* obj4
= 0 ;
15184 PyObject
* obj5
= 0 ;
15185 PyObject
* obj6
= 0 ;
15186 char *kwnames
[] = {
15187 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15194 arg2
= (int const) SWIG_AsInt(obj1
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15199 arg3
= wxString_in_helper(obj2
);
15200 if (arg3
== NULL
) SWIG_fail
;
15207 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15213 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15217 arg6
= (long) SWIG_AsLong(obj5
);
15218 if (PyErr_Occurred()) SWIG_fail
;
15222 arg7
= wxString_in_helper(obj6
);
15223 if (arg7
== NULL
) SWIG_fail
;
15228 if (!wxPyCheckForApp()) SWIG_fail
;
15229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15230 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15232 wxPyEndAllowThreads(__tstate
);
15233 if (PyErr_Occurred()) SWIG_fail
;
15236 resultobj
= wxPyMake_wxObject(result
);
15260 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15261 PyObject
*resultobj
;
15262 wxMDIChildFrame
*result
;
15263 char *kwnames
[] = {
15267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
15269 if (!wxPyCheckForApp()) SWIG_fail
;
15270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15271 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
15273 wxPyEndAllowThreads(__tstate
);
15274 if (PyErr_Occurred()) SWIG_fail
;
15277 resultobj
= wxPyMake_wxObject(result
);
15285 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15286 PyObject
*resultobj
;
15287 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15288 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15289 int arg3
= (int) (int)-1 ;
15290 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15291 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15292 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15293 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15294 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15295 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15296 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
15297 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15298 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15300 bool temp4
= False
;
15303 bool temp8
= False
;
15304 PyObject
* obj0
= 0 ;
15305 PyObject
* obj1
= 0 ;
15306 PyObject
* obj2
= 0 ;
15307 PyObject
* obj3
= 0 ;
15308 PyObject
* obj4
= 0 ;
15309 PyObject
* obj5
= 0 ;
15310 PyObject
* obj6
= 0 ;
15311 PyObject
* obj7
= 0 ;
15312 char *kwnames
[] = {
15313 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15319 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15322 arg3
= (int const) SWIG_AsInt(obj2
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15327 arg4
= wxString_in_helper(obj3
);
15328 if (arg4
== NULL
) SWIG_fail
;
15335 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15341 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15345 arg7
= (long) SWIG_AsLong(obj6
);
15346 if (PyErr_Occurred()) SWIG_fail
;
15350 arg8
= wxString_in_helper(obj7
);
15351 if (arg8
== NULL
) SWIG_fail
;
15356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15357 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15359 wxPyEndAllowThreads(__tstate
);
15360 if (PyErr_Occurred()) SWIG_fail
;
15363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15387 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15388 PyObject
*resultobj
;
15389 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15390 PyObject
* obj0
= 0 ;
15391 char *kwnames
[] = {
15392 (char *) "self", NULL
15395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15400 (arg1
)->Activate();
15402 wxPyEndAllowThreads(__tstate
);
15403 if (PyErr_Occurred()) SWIG_fail
;
15405 Py_INCREF(Py_None
); resultobj
= Py_None
;
15412 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15413 PyObject
*resultobj
;
15414 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15416 PyObject
* obj0
= 0 ;
15417 PyObject
* obj1
= 0 ;
15418 char *kwnames
[] = {
15419 (char *) "self",(char *) "maximize", NULL
15422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15425 arg2
= (bool) SWIG_AsBool(obj1
);
15426 if (PyErr_Occurred()) SWIG_fail
;
15428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15429 (arg1
)->Maximize(arg2
);
15431 wxPyEndAllowThreads(__tstate
);
15432 if (PyErr_Occurred()) SWIG_fail
;
15434 Py_INCREF(Py_None
); resultobj
= Py_None
;
15441 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15442 PyObject
*resultobj
;
15443 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15444 PyObject
* obj0
= 0 ;
15445 char *kwnames
[] = {
15446 (char *) "self", NULL
15449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15456 wxPyEndAllowThreads(__tstate
);
15457 if (PyErr_Occurred()) SWIG_fail
;
15459 Py_INCREF(Py_None
); resultobj
= Py_None
;
15466 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
15468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15469 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15471 return Py_BuildValue((char *)"");
15473 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15474 PyObject
*resultobj
;
15475 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15476 long arg2
= (long) 0 ;
15477 wxMDIClientWindow
*result
;
15478 PyObject
* obj0
= 0 ;
15479 PyObject
* obj1
= 0 ;
15480 char *kwnames
[] = {
15481 (char *) "parent",(char *) "style", NULL
15484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15488 arg2
= (long) SWIG_AsLong(obj1
);
15489 if (PyErr_Occurred()) SWIG_fail
;
15492 if (!wxPyCheckForApp()) SWIG_fail
;
15493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15494 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15496 wxPyEndAllowThreads(__tstate
);
15497 if (PyErr_Occurred()) SWIG_fail
;
15500 resultobj
= wxPyMake_wxObject(result
);
15508 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15509 PyObject
*resultobj
;
15510 wxMDIClientWindow
*result
;
15511 char *kwnames
[] = {
15515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15517 if (!wxPyCheckForApp()) SWIG_fail
;
15518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15519 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15521 wxPyEndAllowThreads(__tstate
);
15522 if (PyErr_Occurred()) SWIG_fail
;
15525 resultobj
= wxPyMake_wxObject(result
);
15533 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15534 PyObject
*resultobj
;
15535 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15536 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15537 long arg3
= (long) 0 ;
15539 PyObject
* obj0
= 0 ;
15540 PyObject
* obj1
= 0 ;
15541 PyObject
* obj2
= 0 ;
15542 char *kwnames
[] = {
15543 (char *) "self",(char *) "parent",(char *) "style", NULL
15546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15549 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15552 arg3
= (long) SWIG_AsLong(obj2
);
15553 if (PyErr_Occurred()) SWIG_fail
;
15556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15557 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15559 wxPyEndAllowThreads(__tstate
);
15560 if (PyErr_Occurred()) SWIG_fail
;
15563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15571 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15574 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15576 return Py_BuildValue((char *)"");
15578 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15579 PyObject
*resultobj
;
15580 wxWindow
*arg1
= (wxWindow
*) 0 ;
15581 int arg2
= (int) (int)-1 ;
15582 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15583 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15584 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15585 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15586 long arg5
= (long) 0 ;
15587 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15588 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15589 wxPyWindow
*result
;
15592 bool temp6
= False
;
15593 PyObject
* obj0
= 0 ;
15594 PyObject
* obj1
= 0 ;
15595 PyObject
* obj2
= 0 ;
15596 PyObject
* obj3
= 0 ;
15597 PyObject
* obj4
= 0 ;
15598 PyObject
* obj5
= 0 ;
15599 char *kwnames
[] = {
15600 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15607 arg2
= (int const) SWIG_AsInt(obj1
);
15608 if (PyErr_Occurred()) SWIG_fail
;
15613 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15619 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15623 arg5
= (long) SWIG_AsLong(obj4
);
15624 if (PyErr_Occurred()) SWIG_fail
;
15628 arg6
= wxString_in_helper(obj5
);
15629 if (arg6
== NULL
) SWIG_fail
;
15634 if (!wxPyCheckForApp()) SWIG_fail
;
15635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15636 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15638 wxPyEndAllowThreads(__tstate
);
15639 if (PyErr_Occurred()) SWIG_fail
;
15641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15656 static PyObject
*_wrap_new_PrePyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15657 PyObject
*resultobj
;
15658 wxPyWindow
*result
;
15659 char *kwnames
[] = {
15663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15665 if (!wxPyCheckForApp()) SWIG_fail
;
15666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15667 result
= (wxPyWindow
*)new wxPyWindow();
15669 wxPyEndAllowThreads(__tstate
);
15670 if (PyErr_Occurred()) SWIG_fail
;
15672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15679 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15680 PyObject
*resultobj
;
15681 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15682 PyObject
*arg2
= (PyObject
*) 0 ;
15683 PyObject
*arg3
= (PyObject
*) 0 ;
15684 PyObject
* obj0
= 0 ;
15685 PyObject
* obj1
= 0 ;
15686 PyObject
* obj2
= 0 ;
15687 char *kwnames
[] = {
15688 (char *) "self",(char *) "self",(char *) "_class", NULL
15691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15698 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15700 wxPyEndAllowThreads(__tstate
);
15701 if (PyErr_Occurred()) SWIG_fail
;
15703 Py_INCREF(Py_None
); resultobj
= Py_None
;
15710 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15711 PyObject
*resultobj
;
15712 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15715 PyObject
* obj0
= 0 ;
15716 PyObject
* obj1
= 0 ;
15717 char *kwnames
[] = {
15718 (char *) "self",(char *) "size", NULL
15721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15726 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15730 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
15732 wxPyEndAllowThreads(__tstate
);
15733 if (PyErr_Occurred()) SWIG_fail
;
15735 Py_INCREF(Py_None
); resultobj
= Py_None
;
15742 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15743 PyObject
*resultobj
;
15744 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15749 PyObject
* obj0
= 0 ;
15750 PyObject
* obj1
= 0 ;
15751 PyObject
* obj2
= 0 ;
15752 PyObject
* obj3
= 0 ;
15753 PyObject
* obj4
= 0 ;
15754 char *kwnames
[] = {
15755 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15761 arg2
= (int) SWIG_AsInt(obj1
);
15762 if (PyErr_Occurred()) SWIG_fail
;
15763 arg3
= (int) SWIG_AsInt(obj2
);
15764 if (PyErr_Occurred()) SWIG_fail
;
15765 arg4
= (int) SWIG_AsInt(obj3
);
15766 if (PyErr_Occurred()) SWIG_fail
;
15767 arg5
= (int) SWIG_AsInt(obj4
);
15768 if (PyErr_Occurred()) SWIG_fail
;
15770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15771 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15773 wxPyEndAllowThreads(__tstate
);
15774 if (PyErr_Occurred()) SWIG_fail
;
15776 Py_INCREF(Py_None
); resultobj
= Py_None
;
15783 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15784 PyObject
*resultobj
;
15785 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15790 int arg6
= (int) wxSIZE_AUTO
;
15791 PyObject
* obj0
= 0 ;
15792 PyObject
* obj1
= 0 ;
15793 PyObject
* obj2
= 0 ;
15794 PyObject
* obj3
= 0 ;
15795 PyObject
* obj4
= 0 ;
15796 PyObject
* obj5
= 0 ;
15797 char *kwnames
[] = {
15798 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15804 arg2
= (int) SWIG_AsInt(obj1
);
15805 if (PyErr_Occurred()) SWIG_fail
;
15806 arg3
= (int) SWIG_AsInt(obj2
);
15807 if (PyErr_Occurred()) SWIG_fail
;
15808 arg4
= (int) SWIG_AsInt(obj3
);
15809 if (PyErr_Occurred()) SWIG_fail
;
15810 arg5
= (int) SWIG_AsInt(obj4
);
15811 if (PyErr_Occurred()) SWIG_fail
;
15813 arg6
= (int) SWIG_AsInt(obj5
);
15814 if (PyErr_Occurred()) SWIG_fail
;
15817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15818 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15820 wxPyEndAllowThreads(__tstate
);
15821 if (PyErr_Occurred()) SWIG_fail
;
15823 Py_INCREF(Py_None
); resultobj
= Py_None
;
15830 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15831 PyObject
*resultobj
;
15832 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15835 PyObject
* obj0
= 0 ;
15836 PyObject
* obj1
= 0 ;
15837 PyObject
* obj2
= 0 ;
15838 char *kwnames
[] = {
15839 (char *) "self",(char *) "width",(char *) "height", NULL
15842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15845 arg2
= (int) SWIG_AsInt(obj1
);
15846 if (PyErr_Occurred()) SWIG_fail
;
15847 arg3
= (int) SWIG_AsInt(obj2
);
15848 if (PyErr_Occurred()) SWIG_fail
;
15850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15851 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15853 wxPyEndAllowThreads(__tstate
);
15854 if (PyErr_Occurred()) SWIG_fail
;
15856 Py_INCREF(Py_None
); resultobj
= Py_None
;
15863 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15864 PyObject
*resultobj
;
15865 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15868 PyObject
* obj0
= 0 ;
15869 PyObject
* obj1
= 0 ;
15870 PyObject
* obj2
= 0 ;
15871 char *kwnames
[] = {
15872 (char *) "self",(char *) "x",(char *) "y", NULL
15875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15878 arg2
= (int) SWIG_AsInt(obj1
);
15879 if (PyErr_Occurred()) SWIG_fail
;
15880 arg3
= (int) SWIG_AsInt(obj2
);
15881 if (PyErr_Occurred()) SWIG_fail
;
15883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15884 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15886 wxPyEndAllowThreads(__tstate
);
15887 if (PyErr_Occurred()) SWIG_fail
;
15889 Py_INCREF(Py_None
); resultobj
= Py_None
;
15896 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15897 PyObject
*resultobj
;
15898 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15899 int *arg2
= (int *) 0 ;
15900 int *arg3
= (int *) 0 ;
15903 PyObject
* obj0
= 0 ;
15904 char *kwnames
[] = {
15905 (char *) "self", NULL
15910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15915 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15917 wxPyEndAllowThreads(__tstate
);
15918 if (PyErr_Occurred()) SWIG_fail
;
15920 Py_INCREF(Py_None
); resultobj
= Py_None
;
15922 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15923 resultobj
= t_output_helper(resultobj
,o
);
15926 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15927 resultobj
= t_output_helper(resultobj
,o
);
15935 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15936 PyObject
*resultobj
;
15937 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15938 int *arg2
= (int *) 0 ;
15939 int *arg3
= (int *) 0 ;
15942 PyObject
* obj0
= 0 ;
15943 char *kwnames
[] = {
15944 (char *) "self", NULL
15949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15954 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15956 wxPyEndAllowThreads(__tstate
);
15957 if (PyErr_Occurred()) SWIG_fail
;
15959 Py_INCREF(Py_None
); resultobj
= Py_None
;
15961 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15962 resultobj
= t_output_helper(resultobj
,o
);
15965 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15966 resultobj
= t_output_helper(resultobj
,o
);
15974 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15975 PyObject
*resultobj
;
15976 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15977 int *arg2
= (int *) 0 ;
15978 int *arg3
= (int *) 0 ;
15981 PyObject
* obj0
= 0 ;
15982 char *kwnames
[] = {
15983 (char *) "self", NULL
15988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15993 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15995 wxPyEndAllowThreads(__tstate
);
15996 if (PyErr_Occurred()) SWIG_fail
;
15998 Py_INCREF(Py_None
); resultobj
= Py_None
;
16000 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16001 resultobj
= t_output_helper(resultobj
,o
);
16004 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16005 resultobj
= t_output_helper(resultobj
,o
);
16013 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16014 PyObject
*resultobj
;
16015 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16017 PyObject
* obj0
= 0 ;
16018 char *kwnames
[] = {
16019 (char *) "self", NULL
16022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16027 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
16029 wxPyEndAllowThreads(__tstate
);
16030 if (PyErr_Occurred()) SWIG_fail
;
16033 wxSize
* resultptr
;
16034 resultptr
= new wxSize((wxSize
&) result
);
16035 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16043 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16044 PyObject
*resultobj
;
16045 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16047 PyObject
* obj0
= 0 ;
16048 char *kwnames
[] = {
16049 (char *) "self", NULL
16052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16057 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
16059 wxPyEndAllowThreads(__tstate
);
16060 if (PyErr_Occurred()) SWIG_fail
;
16063 wxSize
* resultptr
;
16064 resultptr
= new wxSize((wxSize
&) result
);
16065 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16073 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16074 PyObject
*resultobj
;
16075 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16076 PyObject
* obj0
= 0 ;
16077 char *kwnames
[] = {
16078 (char *) "self", NULL
16081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16086 (arg1
)->base_InitDialog();
16088 wxPyEndAllowThreads(__tstate
);
16089 if (PyErr_Occurred()) SWIG_fail
;
16091 Py_INCREF(Py_None
); resultobj
= Py_None
;
16098 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16099 PyObject
*resultobj
;
16100 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16102 PyObject
* obj0
= 0 ;
16103 char *kwnames
[] = {
16104 (char *) "self", NULL
16107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16112 result
= (bool)(arg1
)->base_TransferDataToWindow();
16114 wxPyEndAllowThreads(__tstate
);
16115 if (PyErr_Occurred()) SWIG_fail
;
16118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16126 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16127 PyObject
*resultobj
;
16128 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16130 PyObject
* obj0
= 0 ;
16131 char *kwnames
[] = {
16132 (char *) "self", NULL
16135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16140 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16142 wxPyEndAllowThreads(__tstate
);
16143 if (PyErr_Occurred()) SWIG_fail
;
16146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16154 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16155 PyObject
*resultobj
;
16156 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16158 PyObject
* obj0
= 0 ;
16159 char *kwnames
[] = {
16160 (char *) "self", NULL
16163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
16164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16168 result
= (bool)(arg1
)->base_Validate();
16170 wxPyEndAllowThreads(__tstate
);
16171 if (PyErr_Occurred()) SWIG_fail
;
16174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16182 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16183 PyObject
*resultobj
;
16184 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16186 PyObject
* obj0
= 0 ;
16187 char *kwnames
[] = {
16188 (char *) "self", NULL
16191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16196 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
16198 wxPyEndAllowThreads(__tstate
);
16199 if (PyErr_Occurred()) SWIG_fail
;
16202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16210 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16211 PyObject
*resultobj
;
16212 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16214 PyObject
* obj0
= 0 ;
16215 char *kwnames
[] = {
16216 (char *) "self", NULL
16219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16224 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16226 wxPyEndAllowThreads(__tstate
);
16227 if (PyErr_Occurred()) SWIG_fail
;
16230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16238 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16239 PyObject
*resultobj
;
16240 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16242 PyObject
* obj0
= 0 ;
16243 char *kwnames
[] = {
16244 (char *) "self", NULL
16247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",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
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
16254 wxPyEndAllowThreads(__tstate
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16258 wxSize
* resultptr
;
16259 resultptr
= new wxSize((wxSize
&) result
);
16260 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16268 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16269 PyObject
*resultobj
;
16270 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16271 wxWindow
*arg2
= (wxWindow
*) 0 ;
16272 PyObject
* obj0
= 0 ;
16273 PyObject
* obj1
= 0 ;
16274 char *kwnames
[] = {
16275 (char *) "self",(char *) "child", NULL
16278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16281 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16285 (arg1
)->base_AddChild(arg2
);
16287 wxPyEndAllowThreads(__tstate
);
16288 if (PyErr_Occurred()) SWIG_fail
;
16290 Py_INCREF(Py_None
); resultobj
= Py_None
;
16297 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16298 PyObject
*resultobj
;
16299 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16300 wxWindow
*arg2
= (wxWindow
*) 0 ;
16301 PyObject
* obj0
= 0 ;
16302 PyObject
* obj1
= 0 ;
16303 char *kwnames
[] = {
16304 (char *) "self",(char *) "child", NULL
16307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16310 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16314 (arg1
)->base_RemoveChild(arg2
);
16316 wxPyEndAllowThreads(__tstate
);
16317 if (PyErr_Occurred()) SWIG_fail
;
16319 Py_INCREF(Py_None
); resultobj
= Py_None
;
16326 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16327 PyObject
*resultobj
;
16328 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16330 PyObject
* obj0
= 0 ;
16331 char *kwnames
[] = {
16332 (char *) "self", NULL
16335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16340 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
16342 wxPyEndAllowThreads(__tstate
);
16343 if (PyErr_Occurred()) SWIG_fail
;
16346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16354 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16355 PyObject
*resultobj
;
16356 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16357 wxColour
*arg2
= 0 ;
16359 PyObject
* obj0
= 0 ;
16360 PyObject
* obj1
= 0 ;
16361 char *kwnames
[] = {
16362 (char *) "self",(char *) "c", NULL
16365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16370 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16374 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16376 wxPyEndAllowThreads(__tstate
);
16377 if (PyErr_Occurred()) SWIG_fail
;
16379 Py_INCREF(Py_None
); resultobj
= Py_None
;
16386 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16387 PyObject
*resultobj
;
16388 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16389 wxVisualAttributes result
;
16390 PyObject
* obj0
= 0 ;
16391 char *kwnames
[] = {
16392 (char *) "self", NULL
16395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16400 result
= (arg1
)->base_GetDefaultAttributes();
16402 wxPyEndAllowThreads(__tstate
);
16403 if (PyErr_Occurred()) SWIG_fail
;
16406 wxVisualAttributes
* resultptr
;
16407 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16408 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16416 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
16418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16419 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
16421 return Py_BuildValue((char *)"");
16423 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16424 PyObject
*resultobj
;
16425 wxWindow
*arg1
= (wxWindow
*) 0 ;
16426 int arg2
= (int) (int)-1 ;
16427 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16428 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16429 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16430 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16431 long arg5
= (long) 0 ;
16432 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16433 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16437 bool temp6
= False
;
16438 PyObject
* obj0
= 0 ;
16439 PyObject
* obj1
= 0 ;
16440 PyObject
* obj2
= 0 ;
16441 PyObject
* obj3
= 0 ;
16442 PyObject
* obj4
= 0 ;
16443 PyObject
* obj5
= 0 ;
16444 char *kwnames
[] = {
16445 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16452 arg2
= (int const) SWIG_AsInt(obj1
);
16453 if (PyErr_Occurred()) SWIG_fail
;
16458 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16464 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16468 arg5
= (long) SWIG_AsLong(obj4
);
16469 if (PyErr_Occurred()) SWIG_fail
;
16473 arg6
= wxString_in_helper(obj5
);
16474 if (arg6
== NULL
) SWIG_fail
;
16479 if (!wxPyCheckForApp()) SWIG_fail
;
16480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16481 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16483 wxPyEndAllowThreads(__tstate
);
16484 if (PyErr_Occurred()) SWIG_fail
;
16486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16501 static PyObject
*_wrap_new_PrePyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16502 PyObject
*resultobj
;
16504 char *kwnames
[] = {
16508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16510 if (!wxPyCheckForApp()) SWIG_fail
;
16511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16512 result
= (wxPyPanel
*)new wxPyPanel();
16514 wxPyEndAllowThreads(__tstate
);
16515 if (PyErr_Occurred()) SWIG_fail
;
16517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16524 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16525 PyObject
*resultobj
;
16526 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16527 PyObject
*arg2
= (PyObject
*) 0 ;
16528 PyObject
*arg3
= (PyObject
*) 0 ;
16529 PyObject
* obj0
= 0 ;
16530 PyObject
* obj1
= 0 ;
16531 PyObject
* obj2
= 0 ;
16532 char *kwnames
[] = {
16533 (char *) "self",(char *) "self",(char *) "_class", NULL
16536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16543 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16545 wxPyEndAllowThreads(__tstate
);
16546 if (PyErr_Occurred()) SWIG_fail
;
16548 Py_INCREF(Py_None
); resultobj
= Py_None
;
16555 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16556 PyObject
*resultobj
;
16557 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16560 PyObject
* obj0
= 0 ;
16561 PyObject
* obj1
= 0 ;
16562 char *kwnames
[] = {
16563 (char *) "self",(char *) "size", NULL
16566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16571 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16575 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16577 wxPyEndAllowThreads(__tstate
);
16578 if (PyErr_Occurred()) SWIG_fail
;
16580 Py_INCREF(Py_None
); resultobj
= Py_None
;
16587 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16588 PyObject
*resultobj
;
16589 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16594 PyObject
* obj0
= 0 ;
16595 PyObject
* obj1
= 0 ;
16596 PyObject
* obj2
= 0 ;
16597 PyObject
* obj3
= 0 ;
16598 PyObject
* obj4
= 0 ;
16599 char *kwnames
[] = {
16600 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16606 arg2
= (int) SWIG_AsInt(obj1
);
16607 if (PyErr_Occurred()) SWIG_fail
;
16608 arg3
= (int) SWIG_AsInt(obj2
);
16609 if (PyErr_Occurred()) SWIG_fail
;
16610 arg4
= (int) SWIG_AsInt(obj3
);
16611 if (PyErr_Occurred()) SWIG_fail
;
16612 arg5
= (int) SWIG_AsInt(obj4
);
16613 if (PyErr_Occurred()) SWIG_fail
;
16615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16616 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16618 wxPyEndAllowThreads(__tstate
);
16619 if (PyErr_Occurred()) SWIG_fail
;
16621 Py_INCREF(Py_None
); resultobj
= Py_None
;
16628 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16629 PyObject
*resultobj
;
16630 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16635 int arg6
= (int) wxSIZE_AUTO
;
16636 PyObject
* obj0
= 0 ;
16637 PyObject
* obj1
= 0 ;
16638 PyObject
* obj2
= 0 ;
16639 PyObject
* obj3
= 0 ;
16640 PyObject
* obj4
= 0 ;
16641 PyObject
* obj5
= 0 ;
16642 char *kwnames
[] = {
16643 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16649 arg2
= (int) SWIG_AsInt(obj1
);
16650 if (PyErr_Occurred()) SWIG_fail
;
16651 arg3
= (int) SWIG_AsInt(obj2
);
16652 if (PyErr_Occurred()) SWIG_fail
;
16653 arg4
= (int) SWIG_AsInt(obj3
);
16654 if (PyErr_Occurred()) SWIG_fail
;
16655 arg5
= (int) SWIG_AsInt(obj4
);
16656 if (PyErr_Occurred()) SWIG_fail
;
16658 arg6
= (int) SWIG_AsInt(obj5
);
16659 if (PyErr_Occurred()) SWIG_fail
;
16662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16663 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16665 wxPyEndAllowThreads(__tstate
);
16666 if (PyErr_Occurred()) SWIG_fail
;
16668 Py_INCREF(Py_None
); resultobj
= Py_None
;
16675 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16676 PyObject
*resultobj
;
16677 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16680 PyObject
* obj0
= 0 ;
16681 PyObject
* obj1
= 0 ;
16682 PyObject
* obj2
= 0 ;
16683 char *kwnames
[] = {
16684 (char *) "self",(char *) "width",(char *) "height", NULL
16687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16690 arg2
= (int) SWIG_AsInt(obj1
);
16691 if (PyErr_Occurred()) SWIG_fail
;
16692 arg3
= (int) SWIG_AsInt(obj2
);
16693 if (PyErr_Occurred()) SWIG_fail
;
16695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16696 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16698 wxPyEndAllowThreads(__tstate
);
16699 if (PyErr_Occurred()) SWIG_fail
;
16701 Py_INCREF(Py_None
); resultobj
= Py_None
;
16708 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16709 PyObject
*resultobj
;
16710 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16713 PyObject
* obj0
= 0 ;
16714 PyObject
* obj1
= 0 ;
16715 PyObject
* obj2
= 0 ;
16716 char *kwnames
[] = {
16717 (char *) "self",(char *) "x",(char *) "y", NULL
16720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16723 arg2
= (int) SWIG_AsInt(obj1
);
16724 if (PyErr_Occurred()) SWIG_fail
;
16725 arg3
= (int) SWIG_AsInt(obj2
);
16726 if (PyErr_Occurred()) SWIG_fail
;
16728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16729 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16731 wxPyEndAllowThreads(__tstate
);
16732 if (PyErr_Occurred()) SWIG_fail
;
16734 Py_INCREF(Py_None
); resultobj
= Py_None
;
16741 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16742 PyObject
*resultobj
;
16743 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16744 int *arg2
= (int *) 0 ;
16745 int *arg3
= (int *) 0 ;
16748 PyObject
* obj0
= 0 ;
16749 char *kwnames
[] = {
16750 (char *) "self", NULL
16755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16760 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16762 wxPyEndAllowThreads(__tstate
);
16763 if (PyErr_Occurred()) SWIG_fail
;
16765 Py_INCREF(Py_None
); resultobj
= Py_None
;
16767 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16768 resultobj
= t_output_helper(resultobj
,o
);
16771 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16772 resultobj
= t_output_helper(resultobj
,o
);
16780 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16781 PyObject
*resultobj
;
16782 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16783 int *arg2
= (int *) 0 ;
16784 int *arg3
= (int *) 0 ;
16787 PyObject
* obj0
= 0 ;
16788 char *kwnames
[] = {
16789 (char *) "self", NULL
16794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16799 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16801 wxPyEndAllowThreads(__tstate
);
16802 if (PyErr_Occurred()) SWIG_fail
;
16804 Py_INCREF(Py_None
); resultobj
= Py_None
;
16806 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16807 resultobj
= t_output_helper(resultobj
,o
);
16810 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16811 resultobj
= t_output_helper(resultobj
,o
);
16819 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16820 PyObject
*resultobj
;
16821 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16822 int *arg2
= (int *) 0 ;
16823 int *arg3
= (int *) 0 ;
16826 PyObject
* obj0
= 0 ;
16827 char *kwnames
[] = {
16828 (char *) "self", NULL
16833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16838 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16840 wxPyEndAllowThreads(__tstate
);
16841 if (PyErr_Occurred()) SWIG_fail
;
16843 Py_INCREF(Py_None
); resultobj
= Py_None
;
16845 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16846 resultobj
= t_output_helper(resultobj
,o
);
16849 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16850 resultobj
= t_output_helper(resultobj
,o
);
16858 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16859 PyObject
*resultobj
;
16860 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16862 PyObject
* obj0
= 0 ;
16863 char *kwnames
[] = {
16864 (char *) "self", NULL
16867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16872 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16874 wxPyEndAllowThreads(__tstate
);
16875 if (PyErr_Occurred()) SWIG_fail
;
16878 wxSize
* resultptr
;
16879 resultptr
= new wxSize((wxSize
&) result
);
16880 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16888 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16889 PyObject
*resultobj
;
16890 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16892 PyObject
* obj0
= 0 ;
16893 char *kwnames
[] = {
16894 (char *) "self", NULL
16897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16902 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16904 wxPyEndAllowThreads(__tstate
);
16905 if (PyErr_Occurred()) SWIG_fail
;
16908 wxSize
* resultptr
;
16909 resultptr
= new wxSize((wxSize
&) result
);
16910 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16918 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16919 PyObject
*resultobj
;
16920 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16921 PyObject
* obj0
= 0 ;
16922 char *kwnames
[] = {
16923 (char *) "self", NULL
16926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16931 (arg1
)->base_InitDialog();
16933 wxPyEndAllowThreads(__tstate
);
16934 if (PyErr_Occurred()) SWIG_fail
;
16936 Py_INCREF(Py_None
); resultobj
= Py_None
;
16943 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16944 PyObject
*resultobj
;
16945 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16947 PyObject
* obj0
= 0 ;
16948 char *kwnames
[] = {
16949 (char *) "self", NULL
16952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16957 result
= (bool)(arg1
)->base_TransferDataToWindow();
16959 wxPyEndAllowThreads(__tstate
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16971 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16972 PyObject
*resultobj
;
16973 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16975 PyObject
* obj0
= 0 ;
16976 char *kwnames
[] = {
16977 (char *) "self", NULL
16980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16985 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16987 wxPyEndAllowThreads(__tstate
);
16988 if (PyErr_Occurred()) SWIG_fail
;
16991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16999 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17000 PyObject
*resultobj
;
17001 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17003 PyObject
* obj0
= 0 ;
17004 char *kwnames
[] = {
17005 (char *) "self", NULL
17008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
17009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17013 result
= (bool)(arg1
)->base_Validate();
17015 wxPyEndAllowThreads(__tstate
);
17016 if (PyErr_Occurred()) SWIG_fail
;
17019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17027 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17028 PyObject
*resultobj
;
17029 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17031 PyObject
* obj0
= 0 ;
17032 char *kwnames
[] = {
17033 (char *) "self", NULL
17036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17041 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
17043 wxPyEndAllowThreads(__tstate
);
17044 if (PyErr_Occurred()) SWIG_fail
;
17047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17055 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17056 PyObject
*resultobj
;
17057 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17059 PyObject
* obj0
= 0 ;
17060 char *kwnames
[] = {
17061 (char *) "self", NULL
17064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17069 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17071 wxPyEndAllowThreads(__tstate
);
17072 if (PyErr_Occurred()) SWIG_fail
;
17075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17083 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17084 PyObject
*resultobj
;
17085 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17087 PyObject
* obj0
= 0 ;
17088 char *kwnames
[] = {
17089 (char *) "self", NULL
17092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",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
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
17099 wxPyEndAllowThreads(__tstate
);
17100 if (PyErr_Occurred()) SWIG_fail
;
17103 wxSize
* resultptr
;
17104 resultptr
= new wxSize((wxSize
&) result
);
17105 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17113 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17114 PyObject
*resultobj
;
17115 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17116 wxWindow
*arg2
= (wxWindow
*) 0 ;
17117 PyObject
* obj0
= 0 ;
17118 PyObject
* obj1
= 0 ;
17119 char *kwnames
[] = {
17120 (char *) "self",(char *) "child", NULL
17123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17130 (arg1
)->base_AddChild(arg2
);
17132 wxPyEndAllowThreads(__tstate
);
17133 if (PyErr_Occurred()) SWIG_fail
;
17135 Py_INCREF(Py_None
); resultobj
= Py_None
;
17142 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17143 PyObject
*resultobj
;
17144 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17145 wxWindow
*arg2
= (wxWindow
*) 0 ;
17146 PyObject
* obj0
= 0 ;
17147 PyObject
* obj1
= 0 ;
17148 char *kwnames
[] = {
17149 (char *) "self",(char *) "child", NULL
17152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17155 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17159 (arg1
)->base_RemoveChild(arg2
);
17161 wxPyEndAllowThreads(__tstate
);
17162 if (PyErr_Occurred()) SWIG_fail
;
17164 Py_INCREF(Py_None
); resultobj
= Py_None
;
17171 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17172 PyObject
*resultobj
;
17173 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17175 PyObject
* obj0
= 0 ;
17176 char *kwnames
[] = {
17177 (char *) "self", NULL
17180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17185 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
17187 wxPyEndAllowThreads(__tstate
);
17188 if (PyErr_Occurred()) SWIG_fail
;
17191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17199 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17200 PyObject
*resultobj
;
17201 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17202 wxColour
*arg2
= 0 ;
17204 PyObject
* obj0
= 0 ;
17205 PyObject
* obj1
= 0 ;
17206 char *kwnames
[] = {
17207 (char *) "self",(char *) "c", NULL
17210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17215 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17219 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17221 wxPyEndAllowThreads(__tstate
);
17222 if (PyErr_Occurred()) SWIG_fail
;
17224 Py_INCREF(Py_None
); resultobj
= Py_None
;
17231 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17232 PyObject
*resultobj
;
17233 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17234 wxVisualAttributes result
;
17235 PyObject
* obj0
= 0 ;
17236 char *kwnames
[] = {
17237 (char *) "self", NULL
17240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17245 result
= (arg1
)->base_GetDefaultAttributes();
17247 wxPyEndAllowThreads(__tstate
);
17248 if (PyErr_Occurred()) SWIG_fail
;
17251 wxVisualAttributes
* resultptr
;
17252 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17253 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17261 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
17263 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17264 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
17266 return Py_BuildValue((char *)"");
17268 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17269 PyObject
*resultobj
;
17270 wxWindow
*arg1
= (wxWindow
*) 0 ;
17271 int arg2
= (int) (int)-1 ;
17272 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17273 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17274 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17275 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17276 long arg5
= (long) 0 ;
17277 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17278 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17279 wxPyScrolledWindow
*result
;
17282 bool temp6
= False
;
17283 PyObject
* obj0
= 0 ;
17284 PyObject
* obj1
= 0 ;
17285 PyObject
* obj2
= 0 ;
17286 PyObject
* obj3
= 0 ;
17287 PyObject
* obj4
= 0 ;
17288 PyObject
* obj5
= 0 ;
17289 char *kwnames
[] = {
17290 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17297 arg2
= (int const) SWIG_AsInt(obj1
);
17298 if (PyErr_Occurred()) SWIG_fail
;
17303 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17309 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17313 arg5
= (long) SWIG_AsLong(obj4
);
17314 if (PyErr_Occurred()) SWIG_fail
;
17318 arg6
= wxString_in_helper(obj5
);
17319 if (arg6
== NULL
) SWIG_fail
;
17324 if (!wxPyCheckForApp()) SWIG_fail
;
17325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17326 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17328 wxPyEndAllowThreads(__tstate
);
17329 if (PyErr_Occurred()) SWIG_fail
;
17331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17346 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17347 PyObject
*resultobj
;
17348 wxPyScrolledWindow
*result
;
17349 char *kwnames
[] = {
17353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
17355 if (!wxPyCheckForApp()) SWIG_fail
;
17356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17357 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
17359 wxPyEndAllowThreads(__tstate
);
17360 if (PyErr_Occurred()) SWIG_fail
;
17362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17369 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17370 PyObject
*resultobj
;
17371 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17372 PyObject
*arg2
= (PyObject
*) 0 ;
17373 PyObject
*arg3
= (PyObject
*) 0 ;
17374 PyObject
* obj0
= 0 ;
17375 PyObject
* obj1
= 0 ;
17376 PyObject
* obj2
= 0 ;
17377 char *kwnames
[] = {
17378 (char *) "self",(char *) "self",(char *) "_class", NULL
17381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17388 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17390 wxPyEndAllowThreads(__tstate
);
17391 if (PyErr_Occurred()) SWIG_fail
;
17393 Py_INCREF(Py_None
); resultobj
= Py_None
;
17400 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17401 PyObject
*resultobj
;
17402 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17405 PyObject
* obj0
= 0 ;
17406 PyObject
* obj1
= 0 ;
17407 char *kwnames
[] = {
17408 (char *) "self",(char *) "size", NULL
17411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17416 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17420 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17422 wxPyEndAllowThreads(__tstate
);
17423 if (PyErr_Occurred()) SWIG_fail
;
17425 Py_INCREF(Py_None
); resultobj
= Py_None
;
17432 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17433 PyObject
*resultobj
;
17434 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17439 PyObject
* obj0
= 0 ;
17440 PyObject
* obj1
= 0 ;
17441 PyObject
* obj2
= 0 ;
17442 PyObject
* obj3
= 0 ;
17443 PyObject
* obj4
= 0 ;
17444 char *kwnames
[] = {
17445 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17451 arg2
= (int) SWIG_AsInt(obj1
);
17452 if (PyErr_Occurred()) SWIG_fail
;
17453 arg3
= (int) SWIG_AsInt(obj2
);
17454 if (PyErr_Occurred()) SWIG_fail
;
17455 arg4
= (int) SWIG_AsInt(obj3
);
17456 if (PyErr_Occurred()) SWIG_fail
;
17457 arg5
= (int) SWIG_AsInt(obj4
);
17458 if (PyErr_Occurred()) SWIG_fail
;
17460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17461 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17463 wxPyEndAllowThreads(__tstate
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17466 Py_INCREF(Py_None
); resultobj
= Py_None
;
17473 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17474 PyObject
*resultobj
;
17475 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17480 int arg6
= (int) wxSIZE_AUTO
;
17481 PyObject
* obj0
= 0 ;
17482 PyObject
* obj1
= 0 ;
17483 PyObject
* obj2
= 0 ;
17484 PyObject
* obj3
= 0 ;
17485 PyObject
* obj4
= 0 ;
17486 PyObject
* obj5
= 0 ;
17487 char *kwnames
[] = {
17488 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17494 arg2
= (int) SWIG_AsInt(obj1
);
17495 if (PyErr_Occurred()) SWIG_fail
;
17496 arg3
= (int) SWIG_AsInt(obj2
);
17497 if (PyErr_Occurred()) SWIG_fail
;
17498 arg4
= (int) SWIG_AsInt(obj3
);
17499 if (PyErr_Occurred()) SWIG_fail
;
17500 arg5
= (int) SWIG_AsInt(obj4
);
17501 if (PyErr_Occurred()) SWIG_fail
;
17503 arg6
= (int) SWIG_AsInt(obj5
);
17504 if (PyErr_Occurred()) SWIG_fail
;
17507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17508 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17510 wxPyEndAllowThreads(__tstate
);
17511 if (PyErr_Occurred()) SWIG_fail
;
17513 Py_INCREF(Py_None
); resultobj
= Py_None
;
17520 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17521 PyObject
*resultobj
;
17522 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17525 PyObject
* obj0
= 0 ;
17526 PyObject
* obj1
= 0 ;
17527 PyObject
* obj2
= 0 ;
17528 char *kwnames
[] = {
17529 (char *) "self",(char *) "width",(char *) "height", NULL
17532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17535 arg2
= (int) SWIG_AsInt(obj1
);
17536 if (PyErr_Occurred()) SWIG_fail
;
17537 arg3
= (int) SWIG_AsInt(obj2
);
17538 if (PyErr_Occurred()) SWIG_fail
;
17540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17541 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17543 wxPyEndAllowThreads(__tstate
);
17544 if (PyErr_Occurred()) SWIG_fail
;
17546 Py_INCREF(Py_None
); resultobj
= Py_None
;
17553 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17554 PyObject
*resultobj
;
17555 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17558 PyObject
* obj0
= 0 ;
17559 PyObject
* obj1
= 0 ;
17560 PyObject
* obj2
= 0 ;
17561 char *kwnames
[] = {
17562 (char *) "self",(char *) "x",(char *) "y", NULL
17565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17568 arg2
= (int) SWIG_AsInt(obj1
);
17569 if (PyErr_Occurred()) SWIG_fail
;
17570 arg3
= (int) SWIG_AsInt(obj2
);
17571 if (PyErr_Occurred()) SWIG_fail
;
17573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17574 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17576 wxPyEndAllowThreads(__tstate
);
17577 if (PyErr_Occurred()) SWIG_fail
;
17579 Py_INCREF(Py_None
); resultobj
= Py_None
;
17586 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17587 PyObject
*resultobj
;
17588 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17589 int *arg2
= (int *) 0 ;
17590 int *arg3
= (int *) 0 ;
17593 PyObject
* obj0
= 0 ;
17594 char *kwnames
[] = {
17595 (char *) "self", NULL
17600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17605 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17607 wxPyEndAllowThreads(__tstate
);
17608 if (PyErr_Occurred()) SWIG_fail
;
17610 Py_INCREF(Py_None
); resultobj
= Py_None
;
17612 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17613 resultobj
= t_output_helper(resultobj
,o
);
17616 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17617 resultobj
= t_output_helper(resultobj
,o
);
17625 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17626 PyObject
*resultobj
;
17627 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17628 int *arg2
= (int *) 0 ;
17629 int *arg3
= (int *) 0 ;
17632 PyObject
* obj0
= 0 ;
17633 char *kwnames
[] = {
17634 (char *) "self", NULL
17639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17644 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17646 wxPyEndAllowThreads(__tstate
);
17647 if (PyErr_Occurred()) SWIG_fail
;
17649 Py_INCREF(Py_None
); resultobj
= Py_None
;
17651 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17652 resultobj
= t_output_helper(resultobj
,o
);
17655 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17656 resultobj
= t_output_helper(resultobj
,o
);
17664 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17665 PyObject
*resultobj
;
17666 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17667 int *arg2
= (int *) 0 ;
17668 int *arg3
= (int *) 0 ;
17671 PyObject
* obj0
= 0 ;
17672 char *kwnames
[] = {
17673 (char *) "self", NULL
17678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17683 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17685 wxPyEndAllowThreads(__tstate
);
17686 if (PyErr_Occurred()) SWIG_fail
;
17688 Py_INCREF(Py_None
); resultobj
= Py_None
;
17690 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17691 resultobj
= t_output_helper(resultobj
,o
);
17694 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17695 resultobj
= t_output_helper(resultobj
,o
);
17703 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17704 PyObject
*resultobj
;
17705 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17707 PyObject
* obj0
= 0 ;
17708 char *kwnames
[] = {
17709 (char *) "self", NULL
17712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17717 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17719 wxPyEndAllowThreads(__tstate
);
17720 if (PyErr_Occurred()) SWIG_fail
;
17723 wxSize
* resultptr
;
17724 resultptr
= new wxSize((wxSize
&) result
);
17725 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17733 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17734 PyObject
*resultobj
;
17735 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17737 PyObject
* obj0
= 0 ;
17738 char *kwnames
[] = {
17739 (char *) "self", NULL
17742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17747 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17749 wxPyEndAllowThreads(__tstate
);
17750 if (PyErr_Occurred()) SWIG_fail
;
17753 wxSize
* resultptr
;
17754 resultptr
= new wxSize((wxSize
&) result
);
17755 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17763 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17764 PyObject
*resultobj
;
17765 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17766 PyObject
* obj0
= 0 ;
17767 char *kwnames
[] = {
17768 (char *) "self", NULL
17771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17776 (arg1
)->base_InitDialog();
17778 wxPyEndAllowThreads(__tstate
);
17779 if (PyErr_Occurred()) SWIG_fail
;
17781 Py_INCREF(Py_None
); resultobj
= Py_None
;
17788 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17789 PyObject
*resultobj
;
17790 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17792 PyObject
* obj0
= 0 ;
17793 char *kwnames
[] = {
17794 (char *) "self", NULL
17797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17802 result
= (bool)(arg1
)->base_TransferDataToWindow();
17804 wxPyEndAllowThreads(__tstate
);
17805 if (PyErr_Occurred()) SWIG_fail
;
17808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17816 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17817 PyObject
*resultobj
;
17818 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17820 PyObject
* obj0
= 0 ;
17821 char *kwnames
[] = {
17822 (char *) "self", NULL
17825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17830 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17832 wxPyEndAllowThreads(__tstate
);
17833 if (PyErr_Occurred()) SWIG_fail
;
17836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17844 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17845 PyObject
*resultobj
;
17846 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17848 PyObject
* obj0
= 0 ;
17849 char *kwnames
[] = {
17850 (char *) "self", NULL
17853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
17854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17858 result
= (bool)(arg1
)->base_Validate();
17860 wxPyEndAllowThreads(__tstate
);
17861 if (PyErr_Occurred()) SWIG_fail
;
17864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17872 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17873 PyObject
*resultobj
;
17874 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17876 PyObject
* obj0
= 0 ;
17877 char *kwnames
[] = {
17878 (char *) "self", NULL
17881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17886 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
17888 wxPyEndAllowThreads(__tstate
);
17889 if (PyErr_Occurred()) SWIG_fail
;
17892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17900 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17901 PyObject
*resultobj
;
17902 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17904 PyObject
* obj0
= 0 ;
17905 char *kwnames
[] = {
17906 (char *) "self", NULL
17909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17914 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17916 wxPyEndAllowThreads(__tstate
);
17917 if (PyErr_Occurred()) SWIG_fail
;
17920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17928 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17929 PyObject
*resultobj
;
17930 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17932 PyObject
* obj0
= 0 ;
17933 char *kwnames
[] = {
17934 (char *) "self", NULL
17937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",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
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
17944 wxPyEndAllowThreads(__tstate
);
17945 if (PyErr_Occurred()) SWIG_fail
;
17948 wxSize
* resultptr
;
17949 resultptr
= new wxSize((wxSize
&) result
);
17950 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17958 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17959 PyObject
*resultobj
;
17960 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17961 wxWindow
*arg2
= (wxWindow
*) 0 ;
17962 PyObject
* obj0
= 0 ;
17963 PyObject
* obj1
= 0 ;
17964 char *kwnames
[] = {
17965 (char *) "self",(char *) "child", NULL
17968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17971 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17975 (arg1
)->base_AddChild(arg2
);
17977 wxPyEndAllowThreads(__tstate
);
17978 if (PyErr_Occurred()) SWIG_fail
;
17980 Py_INCREF(Py_None
); resultobj
= Py_None
;
17987 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17988 PyObject
*resultobj
;
17989 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17990 wxWindow
*arg2
= (wxWindow
*) 0 ;
17991 PyObject
* obj0
= 0 ;
17992 PyObject
* obj1
= 0 ;
17993 char *kwnames
[] = {
17994 (char *) "self",(char *) "child", NULL
17997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18000 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18004 (arg1
)->base_RemoveChild(arg2
);
18006 wxPyEndAllowThreads(__tstate
);
18007 if (PyErr_Occurred()) SWIG_fail
;
18009 Py_INCREF(Py_None
); resultobj
= Py_None
;
18016 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18017 PyObject
*resultobj
;
18018 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18020 PyObject
* obj0
= 0 ;
18021 char *kwnames
[] = {
18022 (char *) "self", NULL
18025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18030 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
18032 wxPyEndAllowThreads(__tstate
);
18033 if (PyErr_Occurred()) SWIG_fail
;
18036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18044 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18045 PyObject
*resultobj
;
18046 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18047 wxColour
*arg2
= 0 ;
18049 PyObject
* obj0
= 0 ;
18050 PyObject
* obj1
= 0 ;
18051 char *kwnames
[] = {
18052 (char *) "self",(char *) "c", NULL
18055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18060 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18064 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
18066 wxPyEndAllowThreads(__tstate
);
18067 if (PyErr_Occurred()) SWIG_fail
;
18069 Py_INCREF(Py_None
); resultobj
= Py_None
;
18076 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18077 PyObject
*resultobj
;
18078 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18079 wxVisualAttributes result
;
18080 PyObject
* obj0
= 0 ;
18081 char *kwnames
[] = {
18082 (char *) "self", NULL
18085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18090 result
= (arg1
)->base_GetDefaultAttributes();
18092 wxPyEndAllowThreads(__tstate
);
18093 if (PyErr_Occurred()) SWIG_fail
;
18096 wxVisualAttributes
* resultptr
;
18097 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18098 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18106 static PyObject
* PyScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
18108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18109 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
18111 return Py_BuildValue((char *)"");
18113 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
18114 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
18119 static PyObject
*_wrap_PrintoutTitleStr_get() {
18124 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
18126 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
18133 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
18134 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
18139 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
18144 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18146 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18153 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*self
, PyObject
*args
) {
18154 PyObject
*resultobj
;
18155 wxPrintData
*result
;
18157 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
18159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18160 result
= (wxPrintData
*)new wxPrintData();
18162 wxPyEndAllowThreads(__tstate
);
18163 if (PyErr_Occurred()) SWIG_fail
;
18165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18172 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*self
, PyObject
*args
) {
18173 PyObject
*resultobj
;
18174 wxPrintData
*arg1
= 0 ;
18175 wxPrintData
*result
;
18176 PyObject
* obj0
= 0 ;
18178 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
18179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18180 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18182 if (arg1
== NULL
) {
18183 PyErr_SetString(PyExc_TypeError
,"null reference");
18187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18188 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
18190 wxPyEndAllowThreads(__tstate
);
18191 if (PyErr_Occurred()) SWIG_fail
;
18193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18200 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
18205 argc
= PyObject_Length(args
);
18206 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
18207 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18210 return _wrap_new_PrintData__SWIG_0(self
,args
);
18216 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
18224 return _wrap_new_PrintData__SWIG_1(self
,args
);
18228 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintData'");
18233 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18234 PyObject
*resultobj
;
18235 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18236 PyObject
* obj0
= 0 ;
18237 char *kwnames
[] = {
18238 (char *) "self", NULL
18241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
18242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18248 wxPyEndAllowThreads(__tstate
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18251 Py_INCREF(Py_None
); resultobj
= Py_None
;
18258 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18259 PyObject
*resultobj
;
18260 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18262 PyObject
* obj0
= 0 ;
18263 char *kwnames
[] = {
18264 (char *) "self", NULL
18267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18272 result
= (int)(arg1
)->GetNoCopies();
18274 wxPyEndAllowThreads(__tstate
);
18275 if (PyErr_Occurred()) SWIG_fail
;
18277 resultobj
= SWIG_FromInt((int)result
);
18284 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18285 PyObject
*resultobj
;
18286 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18288 PyObject
* obj0
= 0 ;
18289 char *kwnames
[] = {
18290 (char *) "self", NULL
18293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
18294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18298 result
= (bool)(arg1
)->GetCollate();
18300 wxPyEndAllowThreads(__tstate
);
18301 if (PyErr_Occurred()) SWIG_fail
;
18304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18312 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18313 PyObject
*resultobj
;
18314 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18316 PyObject
* obj0
= 0 ;
18317 char *kwnames
[] = {
18318 (char *) "self", NULL
18321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
18322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18326 result
= (int)(arg1
)->GetOrientation();
18328 wxPyEndAllowThreads(__tstate
);
18329 if (PyErr_Occurred()) SWIG_fail
;
18331 resultobj
= SWIG_FromInt((int)result
);
18338 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18339 PyObject
*resultobj
;
18340 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18342 PyObject
* obj0
= 0 ;
18343 char *kwnames
[] = {
18344 (char *) "self", NULL
18347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
18348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18352 result
= (bool)(arg1
)->Ok();
18354 wxPyEndAllowThreads(__tstate
);
18355 if (PyErr_Occurred()) SWIG_fail
;
18358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18366 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18367 PyObject
*resultobj
;
18368 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18370 PyObject
* obj0
= 0 ;
18371 char *kwnames
[] = {
18372 (char *) "self", NULL
18375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
18376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18381 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
18382 result
= (wxString
*) &_result_ref
;
18385 wxPyEndAllowThreads(__tstate
);
18386 if (PyErr_Occurred()) SWIG_fail
;
18390 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18392 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18401 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18402 PyObject
*resultobj
;
18403 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18405 PyObject
* obj0
= 0 ;
18406 char *kwnames
[] = {
18407 (char *) "self", NULL
18410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
18411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18415 result
= (bool)(arg1
)->GetColour();
18417 wxPyEndAllowThreads(__tstate
);
18418 if (PyErr_Occurred()) SWIG_fail
;
18421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18429 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18430 PyObject
*resultobj
;
18431 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18433 PyObject
* obj0
= 0 ;
18434 char *kwnames
[] = {
18435 (char *) "self", NULL
18438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
18439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18443 result
= (int)(arg1
)->GetDuplex();
18445 wxPyEndAllowThreads(__tstate
);
18446 if (PyErr_Occurred()) SWIG_fail
;
18448 resultobj
= SWIG_FromInt((int)result
);
18455 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18456 PyObject
*resultobj
;
18457 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18459 PyObject
* obj0
= 0 ;
18460 char *kwnames
[] = {
18461 (char *) "self", NULL
18464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18469 result
= (int)(arg1
)->GetPaperId();
18471 wxPyEndAllowThreads(__tstate
);
18472 if (PyErr_Occurred()) SWIG_fail
;
18474 resultobj
= SWIG_FromInt((int)result
);
18481 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18482 PyObject
*resultobj
;
18483 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18485 PyObject
* obj0
= 0 ;
18486 char *kwnames
[] = {
18487 (char *) "self", NULL
18490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18496 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
18497 result
= (wxSize
*) &_result_ref
;
18500 wxPyEndAllowThreads(__tstate
);
18501 if (PyErr_Occurred()) SWIG_fail
;
18503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18510 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18511 PyObject
*resultobj
;
18512 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18514 PyObject
* obj0
= 0 ;
18515 char *kwnames
[] = {
18516 (char *) "self", NULL
18519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
18520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18524 result
= (int)(arg1
)->GetQuality();
18526 wxPyEndAllowThreads(__tstate
);
18527 if (PyErr_Occurred()) SWIG_fail
;
18529 resultobj
= SWIG_FromInt((int)result
);
18536 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18537 PyObject
*resultobj
;
18538 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18540 PyObject
* obj0
= 0 ;
18541 PyObject
* obj1
= 0 ;
18542 char *kwnames
[] = {
18543 (char *) "self",(char *) "v", NULL
18546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18549 arg2
= (int) SWIG_AsInt(obj1
);
18550 if (PyErr_Occurred()) SWIG_fail
;
18552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18553 (arg1
)->SetNoCopies(arg2
);
18555 wxPyEndAllowThreads(__tstate
);
18556 if (PyErr_Occurred()) SWIG_fail
;
18558 Py_INCREF(Py_None
); resultobj
= Py_None
;
18565 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18566 PyObject
*resultobj
;
18567 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18569 PyObject
* obj0
= 0 ;
18570 PyObject
* obj1
= 0 ;
18571 char *kwnames
[] = {
18572 (char *) "self",(char *) "flag", NULL
18575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18578 arg2
= (bool) SWIG_AsBool(obj1
);
18579 if (PyErr_Occurred()) SWIG_fail
;
18581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18582 (arg1
)->SetCollate(arg2
);
18584 wxPyEndAllowThreads(__tstate
);
18585 if (PyErr_Occurred()) SWIG_fail
;
18587 Py_INCREF(Py_None
); resultobj
= Py_None
;
18594 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18595 PyObject
*resultobj
;
18596 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18598 PyObject
* obj0
= 0 ;
18599 PyObject
* obj1
= 0 ;
18600 char *kwnames
[] = {
18601 (char *) "self",(char *) "orient", NULL
18604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18607 arg2
= (int) SWIG_AsInt(obj1
);
18608 if (PyErr_Occurred()) SWIG_fail
;
18610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18611 (arg1
)->SetOrientation(arg2
);
18613 wxPyEndAllowThreads(__tstate
);
18614 if (PyErr_Occurred()) SWIG_fail
;
18616 Py_INCREF(Py_None
); resultobj
= Py_None
;
18623 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18624 PyObject
*resultobj
;
18625 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18626 wxString
*arg2
= 0 ;
18627 bool temp2
= False
;
18628 PyObject
* obj0
= 0 ;
18629 PyObject
* obj1
= 0 ;
18630 char *kwnames
[] = {
18631 (char *) "self",(char *) "name", NULL
18634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18638 arg2
= wxString_in_helper(obj1
);
18639 if (arg2
== NULL
) SWIG_fail
;
18643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18644 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18646 wxPyEndAllowThreads(__tstate
);
18647 if (PyErr_Occurred()) SWIG_fail
;
18649 Py_INCREF(Py_None
); resultobj
= Py_None
;
18664 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18665 PyObject
*resultobj
;
18666 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18668 PyObject
* obj0
= 0 ;
18669 PyObject
* obj1
= 0 ;
18670 char *kwnames
[] = {
18671 (char *) "self",(char *) "colour", NULL
18674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18677 arg2
= (bool) SWIG_AsBool(obj1
);
18678 if (PyErr_Occurred()) SWIG_fail
;
18680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18681 (arg1
)->SetColour(arg2
);
18683 wxPyEndAllowThreads(__tstate
);
18684 if (PyErr_Occurred()) SWIG_fail
;
18686 Py_INCREF(Py_None
); resultobj
= Py_None
;
18693 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18694 PyObject
*resultobj
;
18695 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18697 PyObject
* obj0
= 0 ;
18698 PyObject
* obj1
= 0 ;
18699 char *kwnames
[] = {
18700 (char *) "self",(char *) "duplex", NULL
18703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18706 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
18707 if (PyErr_Occurred()) SWIG_fail
;
18709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18710 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
18712 wxPyEndAllowThreads(__tstate
);
18713 if (PyErr_Occurred()) SWIG_fail
;
18715 Py_INCREF(Py_None
); resultobj
= Py_None
;
18722 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18723 PyObject
*resultobj
;
18724 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18726 PyObject
* obj0
= 0 ;
18727 PyObject
* obj1
= 0 ;
18728 char *kwnames
[] = {
18729 (char *) "self",(char *) "sizeId", NULL
18732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18735 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
18736 if (PyErr_Occurred()) SWIG_fail
;
18738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18739 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18741 wxPyEndAllowThreads(__tstate
);
18742 if (PyErr_Occurred()) SWIG_fail
;
18744 Py_INCREF(Py_None
); resultobj
= Py_None
;
18751 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18752 PyObject
*resultobj
;
18753 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18756 PyObject
* obj0
= 0 ;
18757 PyObject
* obj1
= 0 ;
18758 char *kwnames
[] = {
18759 (char *) "self",(char *) "sz", NULL
18762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18767 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18771 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18773 wxPyEndAllowThreads(__tstate
);
18774 if (PyErr_Occurred()) SWIG_fail
;
18776 Py_INCREF(Py_None
); resultobj
= Py_None
;
18783 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18784 PyObject
*resultobj
;
18785 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18787 PyObject
* obj0
= 0 ;
18788 PyObject
* obj1
= 0 ;
18789 char *kwnames
[] = {
18790 (char *) "self",(char *) "quality", NULL
18793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18796 arg2
= (int) SWIG_AsInt(obj1
);
18797 if (PyErr_Occurred()) SWIG_fail
;
18799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18800 (arg1
)->SetQuality(arg2
);
18802 wxPyEndAllowThreads(__tstate
);
18803 if (PyErr_Occurred()) SWIG_fail
;
18805 Py_INCREF(Py_None
); resultobj
= Py_None
;
18812 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18813 PyObject
*resultobj
;
18814 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18816 PyObject
* obj0
= 0 ;
18817 char *kwnames
[] = {
18818 (char *) "self", NULL
18821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18827 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18828 result
= (wxString
*) &_result_ref
;
18831 wxPyEndAllowThreads(__tstate
);
18832 if (PyErr_Occurred()) SWIG_fail
;
18836 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18838 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18847 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18848 PyObject
*resultobj
;
18849 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18851 PyObject
* obj0
= 0 ;
18852 char *kwnames
[] = {
18853 (char *) "self", NULL
18856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
18857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18862 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
18863 result
= (wxString
*) &_result_ref
;
18866 wxPyEndAllowThreads(__tstate
);
18867 if (PyErr_Occurred()) SWIG_fail
;
18871 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18873 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18882 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18883 PyObject
*resultobj
;
18884 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18886 PyObject
* obj0
= 0 ;
18887 char *kwnames
[] = {
18888 (char *) "self", NULL
18891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
18892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18897 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
18898 result
= (wxString
*) &_result_ref
;
18901 wxPyEndAllowThreads(__tstate
);
18902 if (PyErr_Occurred()) SWIG_fail
;
18906 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18908 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18917 static PyObject
*_wrap_PrintData_GetFilename(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_GetFilename",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();
18932 wxString
const &_result_ref
= (arg1
)->GetFilename();
18933 result
= (wxString
*) &_result_ref
;
18936 wxPyEndAllowThreads(__tstate
);
18937 if (PyErr_Occurred()) SWIG_fail
;
18941 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18943 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18952 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18953 PyObject
*resultobj
;
18954 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18956 PyObject
* obj0
= 0 ;
18957 char *kwnames
[] = {
18958 (char *) "self", NULL
18961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
18962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18967 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
18968 result
= (wxString
*) &_result_ref
;
18971 wxPyEndAllowThreads(__tstate
);
18972 if (PyErr_Occurred()) SWIG_fail
;
18976 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18978 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18987 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18988 PyObject
*resultobj
;
18989 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18991 PyObject
* obj0
= 0 ;
18992 char *kwnames
[] = {
18993 (char *) "self", NULL
18996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
18997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19001 result
= (double)(arg1
)->GetPrinterScaleX();
19003 wxPyEndAllowThreads(__tstate
);
19004 if (PyErr_Occurred()) SWIG_fail
;
19006 resultobj
= SWIG_FromDouble((double)result
);
19013 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19014 PyObject
*resultobj
;
19015 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19017 PyObject
* obj0
= 0 ;
19018 char *kwnames
[] = {
19019 (char *) "self", NULL
19022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
19023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19027 result
= (double)(arg1
)->GetPrinterScaleY();
19029 wxPyEndAllowThreads(__tstate
);
19030 if (PyErr_Occurred()) SWIG_fail
;
19032 resultobj
= SWIG_FromDouble((double)result
);
19039 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19040 PyObject
*resultobj
;
19041 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19043 PyObject
* obj0
= 0 ;
19044 char *kwnames
[] = {
19045 (char *) "self", NULL
19048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
19049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19053 result
= (long)(arg1
)->GetPrinterTranslateX();
19055 wxPyEndAllowThreads(__tstate
);
19056 if (PyErr_Occurred()) SWIG_fail
;
19058 resultobj
= SWIG_FromLong((long)result
);
19065 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19066 PyObject
*resultobj
;
19067 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19069 PyObject
* obj0
= 0 ;
19070 char *kwnames
[] = {
19071 (char *) "self", NULL
19074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
19075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19079 result
= (long)(arg1
)->GetPrinterTranslateY();
19081 wxPyEndAllowThreads(__tstate
);
19082 if (PyErr_Occurred()) SWIG_fail
;
19084 resultobj
= SWIG_FromLong((long)result
);
19091 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19092 PyObject
*resultobj
;
19093 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19095 PyObject
* obj0
= 0 ;
19096 char *kwnames
[] = {
19097 (char *) "self", NULL
19100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
19101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19105 result
= (int)(arg1
)->GetPrintMode();
19107 wxPyEndAllowThreads(__tstate
);
19108 if (PyErr_Occurred()) SWIG_fail
;
19110 resultobj
= SWIG_FromInt((int)result
);
19117 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19118 PyObject
*resultobj
;
19119 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19120 wxString
*arg2
= 0 ;
19121 bool temp2
= False
;
19122 PyObject
* obj0
= 0 ;
19123 PyObject
* obj1
= 0 ;
19124 char *kwnames
[] = {
19125 (char *) "self",(char *) "command", NULL
19128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19132 arg2
= wxString_in_helper(obj1
);
19133 if (arg2
== NULL
) SWIG_fail
;
19137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19138 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
19140 wxPyEndAllowThreads(__tstate
);
19141 if (PyErr_Occurred()) SWIG_fail
;
19143 Py_INCREF(Py_None
); resultobj
= Py_None
;
19158 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19159 PyObject
*resultobj
;
19160 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19161 wxString
*arg2
= 0 ;
19162 bool temp2
= False
;
19163 PyObject
* obj0
= 0 ;
19164 PyObject
* obj1
= 0 ;
19165 char *kwnames
[] = {
19166 (char *) "self",(char *) "options", NULL
19169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
19170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19173 arg2
= wxString_in_helper(obj1
);
19174 if (arg2
== NULL
) SWIG_fail
;
19178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19179 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
19181 wxPyEndAllowThreads(__tstate
);
19182 if (PyErr_Occurred()) SWIG_fail
;
19184 Py_INCREF(Py_None
); resultobj
= Py_None
;
19199 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19200 PyObject
*resultobj
;
19201 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19202 wxString
*arg2
= 0 ;
19203 bool temp2
= False
;
19204 PyObject
* obj0
= 0 ;
19205 PyObject
* obj1
= 0 ;
19206 char *kwnames
[] = {
19207 (char *) "self",(char *) "command", NULL
19210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19214 arg2
= wxString_in_helper(obj1
);
19215 if (arg2
== NULL
) SWIG_fail
;
19219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19220 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
19222 wxPyEndAllowThreads(__tstate
);
19223 if (PyErr_Occurred()) SWIG_fail
;
19225 Py_INCREF(Py_None
); resultobj
= Py_None
;
19240 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19241 PyObject
*resultobj
;
19242 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19243 wxString
*arg2
= 0 ;
19244 bool temp2
= False
;
19245 PyObject
* obj0
= 0 ;
19246 PyObject
* obj1
= 0 ;
19247 char *kwnames
[] = {
19248 (char *) "self",(char *) "filename", NULL
19251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
19252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19255 arg2
= wxString_in_helper(obj1
);
19256 if (arg2
== NULL
) SWIG_fail
;
19260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19261 (arg1
)->SetFilename((wxString
const &)*arg2
);
19263 wxPyEndAllowThreads(__tstate
);
19264 if (PyErr_Occurred()) SWIG_fail
;
19266 Py_INCREF(Py_None
); resultobj
= Py_None
;
19281 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19282 PyObject
*resultobj
;
19283 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19284 wxString
*arg2
= 0 ;
19285 bool temp2
= False
;
19286 PyObject
* obj0
= 0 ;
19287 PyObject
* obj1
= 0 ;
19288 char *kwnames
[] = {
19289 (char *) "self",(char *) "path", NULL
19292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
19293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19296 arg2
= wxString_in_helper(obj1
);
19297 if (arg2
== NULL
) SWIG_fail
;
19301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19302 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
19304 wxPyEndAllowThreads(__tstate
);
19305 if (PyErr_Occurred()) SWIG_fail
;
19307 Py_INCREF(Py_None
); resultobj
= Py_None
;
19322 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19323 PyObject
*resultobj
;
19324 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19326 PyObject
* obj0
= 0 ;
19327 PyObject
* obj1
= 0 ;
19328 char *kwnames
[] = {
19329 (char *) "self",(char *) "x", NULL
19332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
19333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19335 arg2
= (double) SWIG_AsDouble(obj1
);
19336 if (PyErr_Occurred()) SWIG_fail
;
19338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19339 (arg1
)->SetPrinterScaleX(arg2
);
19341 wxPyEndAllowThreads(__tstate
);
19342 if (PyErr_Occurred()) SWIG_fail
;
19344 Py_INCREF(Py_None
); resultobj
= Py_None
;
19351 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19352 PyObject
*resultobj
;
19353 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19355 PyObject
* obj0
= 0 ;
19356 PyObject
* obj1
= 0 ;
19357 char *kwnames
[] = {
19358 (char *) "self",(char *) "y", NULL
19361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
19362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19364 arg2
= (double) SWIG_AsDouble(obj1
);
19365 if (PyErr_Occurred()) SWIG_fail
;
19367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19368 (arg1
)->SetPrinterScaleY(arg2
);
19370 wxPyEndAllowThreads(__tstate
);
19371 if (PyErr_Occurred()) SWIG_fail
;
19373 Py_INCREF(Py_None
); resultobj
= Py_None
;
19380 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19381 PyObject
*resultobj
;
19382 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19385 PyObject
* obj0
= 0 ;
19386 PyObject
* obj1
= 0 ;
19387 PyObject
* obj2
= 0 ;
19388 char *kwnames
[] = {
19389 (char *) "self",(char *) "x",(char *) "y", NULL
19392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19395 arg2
= (double) SWIG_AsDouble(obj1
);
19396 if (PyErr_Occurred()) SWIG_fail
;
19397 arg3
= (double) SWIG_AsDouble(obj2
);
19398 if (PyErr_Occurred()) SWIG_fail
;
19400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19401 (arg1
)->SetPrinterScaling(arg2
,arg3
);
19403 wxPyEndAllowThreads(__tstate
);
19404 if (PyErr_Occurred()) SWIG_fail
;
19406 Py_INCREF(Py_None
); resultobj
= Py_None
;
19413 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19414 PyObject
*resultobj
;
19415 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19417 PyObject
* obj0
= 0 ;
19418 PyObject
* obj1
= 0 ;
19419 char *kwnames
[] = {
19420 (char *) "self",(char *) "x", NULL
19423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
19424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19426 arg2
= (long) SWIG_AsLong(obj1
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19430 (arg1
)->SetPrinterTranslateX(arg2
);
19432 wxPyEndAllowThreads(__tstate
);
19433 if (PyErr_Occurred()) SWIG_fail
;
19435 Py_INCREF(Py_None
); resultobj
= Py_None
;
19442 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19443 PyObject
*resultobj
;
19444 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19446 PyObject
* obj0
= 0 ;
19447 PyObject
* obj1
= 0 ;
19448 char *kwnames
[] = {
19449 (char *) "self",(char *) "y", NULL
19452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
19453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19455 arg2
= (long) SWIG_AsLong(obj1
);
19456 if (PyErr_Occurred()) SWIG_fail
;
19458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19459 (arg1
)->SetPrinterTranslateY(arg2
);
19461 wxPyEndAllowThreads(__tstate
);
19462 if (PyErr_Occurred()) SWIG_fail
;
19464 Py_INCREF(Py_None
); resultobj
= Py_None
;
19471 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19472 PyObject
*resultobj
;
19473 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19476 PyObject
* obj0
= 0 ;
19477 PyObject
* obj1
= 0 ;
19478 PyObject
* obj2
= 0 ;
19479 char *kwnames
[] = {
19480 (char *) "self",(char *) "x",(char *) "y", NULL
19483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19486 arg2
= (long) SWIG_AsLong(obj1
);
19487 if (PyErr_Occurred()) SWIG_fail
;
19488 arg3
= (long) SWIG_AsLong(obj2
);
19489 if (PyErr_Occurred()) SWIG_fail
;
19491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19492 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
19494 wxPyEndAllowThreads(__tstate
);
19495 if (PyErr_Occurred()) SWIG_fail
;
19497 Py_INCREF(Py_None
); resultobj
= Py_None
;
19504 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19505 PyObject
*resultobj
;
19506 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19508 PyObject
* obj0
= 0 ;
19509 PyObject
* obj1
= 0 ;
19510 char *kwnames
[] = {
19511 (char *) "self",(char *) "printMode", NULL
19514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19517 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
19518 if (PyErr_Occurred()) SWIG_fail
;
19520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19521 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
19523 wxPyEndAllowThreads(__tstate
);
19524 if (PyErr_Occurred()) SWIG_fail
;
19526 Py_INCREF(Py_None
); resultobj
= Py_None
;
19533 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19534 PyObject
*resultobj
;
19535 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19536 wxOutputStream
*result
;
19537 PyObject
* obj0
= 0 ;
19538 char *kwnames
[] = {
19539 (char *) "self", NULL
19542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
19543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19547 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
19549 wxPyEndAllowThreads(__tstate
);
19550 if (PyErr_Occurred()) SWIG_fail
;
19552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
19559 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19560 PyObject
*resultobj
;
19561 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19562 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
19563 PyObject
* obj0
= 0 ;
19564 PyObject
* obj1
= 0 ;
19565 char *kwnames
[] = {
19566 (char *) "self",(char *) "outputstream", NULL
19569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
19570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19572 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
19573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19576 (arg1
)->SetOutputStream(arg2
);
19578 wxPyEndAllowThreads(__tstate
);
19579 if (PyErr_Occurred()) SWIG_fail
;
19581 Py_INCREF(Py_None
); resultobj
= Py_None
;
19588 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
19590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19591 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19593 return Py_BuildValue((char *)"");
19595 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
19596 PyObject
*resultobj
;
19597 wxPageSetupDialogData
*result
;
19599 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19604 wxPyEndAllowThreads(__tstate
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19614 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
19615 PyObject
*resultobj
;
19616 wxPageSetupDialogData
*arg1
= 0 ;
19617 wxPageSetupDialogData
*result
;
19618 PyObject
* obj0
= 0 ;
19620 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
19621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19622 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19624 if (arg1
== NULL
) {
19625 PyErr_SetString(PyExc_TypeError
,"null reference");
19629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19630 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
19632 wxPyEndAllowThreads(__tstate
);
19633 if (PyErr_Occurred()) SWIG_fail
;
19635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19642 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
19647 argc
= PyObject_Length(args
);
19648 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19649 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19652 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
19658 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
19666 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
19670 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PageSetupDialogData'");
19675 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19676 PyObject
*resultobj
;
19677 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19678 PyObject
* obj0
= 0 ;
19679 char *kwnames
[] = {
19680 (char *) "self", NULL
19683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
19684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19690 wxPyEndAllowThreads(__tstate
);
19691 if (PyErr_Occurred()) SWIG_fail
;
19693 Py_INCREF(Py_None
); resultobj
= Py_None
;
19700 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19701 PyObject
*resultobj
;
19702 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19704 PyObject
* obj0
= 0 ;
19705 PyObject
* obj1
= 0 ;
19706 char *kwnames
[] = {
19707 (char *) "self",(char *) "flag", NULL
19710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19713 arg2
= (bool) SWIG_AsBool(obj1
);
19714 if (PyErr_Occurred()) SWIG_fail
;
19716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19717 (arg1
)->EnableHelp(arg2
);
19719 wxPyEndAllowThreads(__tstate
);
19720 if (PyErr_Occurred()) SWIG_fail
;
19722 Py_INCREF(Py_None
); resultobj
= Py_None
;
19729 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19730 PyObject
*resultobj
;
19731 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19733 PyObject
* obj0
= 0 ;
19734 PyObject
* obj1
= 0 ;
19735 char *kwnames
[] = {
19736 (char *) "self",(char *) "flag", NULL
19739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19742 arg2
= (bool) SWIG_AsBool(obj1
);
19743 if (PyErr_Occurred()) SWIG_fail
;
19745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19746 (arg1
)->EnableMargins(arg2
);
19748 wxPyEndAllowThreads(__tstate
);
19749 if (PyErr_Occurred()) SWIG_fail
;
19751 Py_INCREF(Py_None
); resultobj
= Py_None
;
19758 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19759 PyObject
*resultobj
;
19760 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19762 PyObject
* obj0
= 0 ;
19763 PyObject
* obj1
= 0 ;
19764 char *kwnames
[] = {
19765 (char *) "self",(char *) "flag", NULL
19768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
19769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19771 arg2
= (bool) SWIG_AsBool(obj1
);
19772 if (PyErr_Occurred()) SWIG_fail
;
19774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19775 (arg1
)->EnableOrientation(arg2
);
19777 wxPyEndAllowThreads(__tstate
);
19778 if (PyErr_Occurred()) SWIG_fail
;
19780 Py_INCREF(Py_None
); resultobj
= Py_None
;
19787 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19788 PyObject
*resultobj
;
19789 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19791 PyObject
* obj0
= 0 ;
19792 PyObject
* obj1
= 0 ;
19793 char *kwnames
[] = {
19794 (char *) "self",(char *) "flag", NULL
19797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
19798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19800 arg2
= (bool) SWIG_AsBool(obj1
);
19801 if (PyErr_Occurred()) SWIG_fail
;
19803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19804 (arg1
)->EnablePaper(arg2
);
19806 wxPyEndAllowThreads(__tstate
);
19807 if (PyErr_Occurred()) SWIG_fail
;
19809 Py_INCREF(Py_None
); resultobj
= Py_None
;
19816 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19817 PyObject
*resultobj
;
19818 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19820 PyObject
* obj0
= 0 ;
19821 PyObject
* obj1
= 0 ;
19822 char *kwnames
[] = {
19823 (char *) "self",(char *) "flag", NULL
19826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
19827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19829 arg2
= (bool) SWIG_AsBool(obj1
);
19830 if (PyErr_Occurred()) SWIG_fail
;
19832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19833 (arg1
)->EnablePrinter(arg2
);
19835 wxPyEndAllowThreads(__tstate
);
19836 if (PyErr_Occurred()) SWIG_fail
;
19838 Py_INCREF(Py_None
); resultobj
= Py_None
;
19845 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19846 PyObject
*resultobj
;
19847 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19849 PyObject
* obj0
= 0 ;
19850 char *kwnames
[] = {
19851 (char *) "self", NULL
19854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
19855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19859 result
= (bool)(arg1
)->GetDefaultMinMargins();
19861 wxPyEndAllowThreads(__tstate
);
19862 if (PyErr_Occurred()) SWIG_fail
;
19865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19873 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19874 PyObject
*resultobj
;
19875 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19877 PyObject
* obj0
= 0 ;
19878 char *kwnames
[] = {
19879 (char *) "self", NULL
19882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
19883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19887 result
= (bool)(arg1
)->GetEnableMargins();
19889 wxPyEndAllowThreads(__tstate
);
19890 if (PyErr_Occurred()) SWIG_fail
;
19893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19901 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19902 PyObject
*resultobj
;
19903 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19905 PyObject
* obj0
= 0 ;
19906 char *kwnames
[] = {
19907 (char *) "self", NULL
19910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
19911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19915 result
= (bool)(arg1
)->GetEnableOrientation();
19917 wxPyEndAllowThreads(__tstate
);
19918 if (PyErr_Occurred()) SWIG_fail
;
19921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19929 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19930 PyObject
*resultobj
;
19931 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19933 PyObject
* obj0
= 0 ;
19934 char *kwnames
[] = {
19935 (char *) "self", NULL
19938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
19939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19943 result
= (bool)(arg1
)->GetEnablePaper();
19945 wxPyEndAllowThreads(__tstate
);
19946 if (PyErr_Occurred()) SWIG_fail
;
19949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19957 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19958 PyObject
*resultobj
;
19959 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19961 PyObject
* obj0
= 0 ;
19962 char *kwnames
[] = {
19963 (char *) "self", NULL
19966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
19967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19971 result
= (bool)(arg1
)->GetEnablePrinter();
19973 wxPyEndAllowThreads(__tstate
);
19974 if (PyErr_Occurred()) SWIG_fail
;
19977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19985 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19986 PyObject
*resultobj
;
19987 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19989 PyObject
* obj0
= 0 ;
19990 char *kwnames
[] = {
19991 (char *) "self", NULL
19994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19999 result
= (bool)(arg1
)->GetEnableHelp();
20001 wxPyEndAllowThreads(__tstate
);
20002 if (PyErr_Occurred()) SWIG_fail
;
20005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20013 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(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_GetDefaultInfo",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
= (bool)(arg1
)->GetDefaultInfo();
20029 wxPyEndAllowThreads(__tstate
);
20030 if (PyErr_Occurred()) SWIG_fail
;
20033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20041 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20042 PyObject
*resultobj
;
20043 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20045 PyObject
* obj0
= 0 ;
20046 char *kwnames
[] = {
20047 (char *) "self", NULL
20050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
20051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20055 result
= (arg1
)->GetMarginTopLeft();
20057 wxPyEndAllowThreads(__tstate
);
20058 if (PyErr_Occurred()) SWIG_fail
;
20061 wxPoint
* resultptr
;
20062 resultptr
= new wxPoint((wxPoint
&) result
);
20063 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20071 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20072 PyObject
*resultobj
;
20073 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20075 PyObject
* obj0
= 0 ;
20076 char *kwnames
[] = {
20077 (char *) "self", NULL
20080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
20081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20085 result
= (arg1
)->GetMarginBottomRight();
20087 wxPyEndAllowThreads(__tstate
);
20088 if (PyErr_Occurred()) SWIG_fail
;
20091 wxPoint
* resultptr
;
20092 resultptr
= new wxPoint((wxPoint
&) result
);
20093 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20101 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20102 PyObject
*resultobj
;
20103 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20105 PyObject
* obj0
= 0 ;
20106 char *kwnames
[] = {
20107 (char *) "self", NULL
20110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
20111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20115 result
= (arg1
)->GetMinMarginTopLeft();
20117 wxPyEndAllowThreads(__tstate
);
20118 if (PyErr_Occurred()) SWIG_fail
;
20121 wxPoint
* resultptr
;
20122 resultptr
= new wxPoint((wxPoint
&) result
);
20123 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20131 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20132 PyObject
*resultobj
;
20133 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20135 PyObject
* obj0
= 0 ;
20136 char *kwnames
[] = {
20137 (char *) "self", NULL
20140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
20141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20145 result
= (arg1
)->GetMinMarginBottomRight();
20147 wxPyEndAllowThreads(__tstate
);
20148 if (PyErr_Occurred()) SWIG_fail
;
20151 wxPoint
* resultptr
;
20152 resultptr
= new wxPoint((wxPoint
&) result
);
20153 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20161 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20162 PyObject
*resultobj
;
20163 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20165 PyObject
* obj0
= 0 ;
20166 char *kwnames
[] = {
20167 (char *) "self", NULL
20170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20175 result
= (int)(arg1
)->GetPaperId();
20177 wxPyEndAllowThreads(__tstate
);
20178 if (PyErr_Occurred()) SWIG_fail
;
20180 resultobj
= SWIG_FromInt((int)result
);
20187 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20188 PyObject
*resultobj
;
20189 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20191 PyObject
* obj0
= 0 ;
20192 char *kwnames
[] = {
20193 (char *) "self", NULL
20196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20201 result
= (arg1
)->GetPaperSize();
20203 wxPyEndAllowThreads(__tstate
);
20204 if (PyErr_Occurred()) SWIG_fail
;
20207 wxSize
* resultptr
;
20208 resultptr
= new wxSize((wxSize
&) result
);
20209 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20217 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20218 PyObject
*resultobj
;
20219 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20220 wxPrintData
*result
;
20221 PyObject
* obj0
= 0 ;
20222 char *kwnames
[] = {
20223 (char *) "self", NULL
20226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20232 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20233 result
= (wxPrintData
*) &_result_ref
;
20236 wxPyEndAllowThreads(__tstate
);
20237 if (PyErr_Occurred()) SWIG_fail
;
20239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20246 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20247 PyObject
*resultobj
;
20248 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20250 PyObject
* obj0
= 0 ;
20251 char *kwnames
[] = {
20252 (char *) "self", NULL
20255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20260 result
= (bool)(arg1
)->Ok();
20262 wxPyEndAllowThreads(__tstate
);
20263 if (PyErr_Occurred()) SWIG_fail
;
20266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20274 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20275 PyObject
*resultobj
;
20276 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20278 PyObject
* obj0
= 0 ;
20279 PyObject
* obj1
= 0 ;
20280 char *kwnames
[] = {
20281 (char *) "self",(char *) "flag", NULL
20284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
20285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20287 arg2
= (bool) SWIG_AsBool(obj1
);
20288 if (PyErr_Occurred()) SWIG_fail
;
20290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20291 (arg1
)->SetDefaultInfo(arg2
);
20293 wxPyEndAllowThreads(__tstate
);
20294 if (PyErr_Occurred()) SWIG_fail
;
20296 Py_INCREF(Py_None
); resultobj
= Py_None
;
20303 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20304 PyObject
*resultobj
;
20305 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20307 PyObject
* obj0
= 0 ;
20308 PyObject
* obj1
= 0 ;
20309 char *kwnames
[] = {
20310 (char *) "self",(char *) "flag", NULL
20313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20316 arg2
= (bool) SWIG_AsBool(obj1
);
20317 if (PyErr_Occurred()) SWIG_fail
;
20319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20320 (arg1
)->SetDefaultMinMargins(arg2
);
20322 wxPyEndAllowThreads(__tstate
);
20323 if (PyErr_Occurred()) SWIG_fail
;
20325 Py_INCREF(Py_None
); resultobj
= Py_None
;
20332 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20333 PyObject
*resultobj
;
20334 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20335 wxPoint
*arg2
= 0 ;
20337 PyObject
* obj0
= 0 ;
20338 PyObject
* obj1
= 0 ;
20339 char *kwnames
[] = {
20340 (char *) "self",(char *) "pt", NULL
20343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20348 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20352 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
20354 wxPyEndAllowThreads(__tstate
);
20355 if (PyErr_Occurred()) SWIG_fail
;
20357 Py_INCREF(Py_None
); resultobj
= Py_None
;
20364 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20365 PyObject
*resultobj
;
20366 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20367 wxPoint
*arg2
= 0 ;
20369 PyObject
* obj0
= 0 ;
20370 PyObject
* obj1
= 0 ;
20371 char *kwnames
[] = {
20372 (char *) "self",(char *) "pt", NULL
20375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20380 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20384 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
20386 wxPyEndAllowThreads(__tstate
);
20387 if (PyErr_Occurred()) SWIG_fail
;
20389 Py_INCREF(Py_None
); resultobj
= Py_None
;
20396 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20397 PyObject
*resultobj
;
20398 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20399 wxPoint
*arg2
= 0 ;
20401 PyObject
* obj0
= 0 ;
20402 PyObject
* obj1
= 0 ;
20403 char *kwnames
[] = {
20404 (char *) "self",(char *) "pt", NULL
20407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20412 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20416 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
20418 wxPyEndAllowThreads(__tstate
);
20419 if (PyErr_Occurred()) SWIG_fail
;
20421 Py_INCREF(Py_None
); resultobj
= Py_None
;
20428 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20429 PyObject
*resultobj
;
20430 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20431 wxPoint
*arg2
= 0 ;
20433 PyObject
* obj0
= 0 ;
20434 PyObject
* obj1
= 0 ;
20435 char *kwnames
[] = {
20436 (char *) "self",(char *) "pt", NULL
20439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20444 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20448 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
20450 wxPyEndAllowThreads(__tstate
);
20451 if (PyErr_Occurred()) SWIG_fail
;
20453 Py_INCREF(Py_None
); resultobj
= Py_None
;
20460 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20461 PyObject
*resultobj
;
20462 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20464 PyObject
* obj0
= 0 ;
20465 PyObject
* obj1
= 0 ;
20466 char *kwnames
[] = {
20467 (char *) "self",(char *) "id", NULL
20470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20473 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
20474 if (PyErr_Occurred()) SWIG_fail
;
20476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20477 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20479 wxPyEndAllowThreads(__tstate
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20482 Py_INCREF(Py_None
); resultobj
= Py_None
;
20489 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20490 PyObject
*resultobj
;
20491 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20494 PyObject
* obj0
= 0 ;
20495 PyObject
* obj1
= 0 ;
20496 char *kwnames
[] = {
20497 (char *) "self",(char *) "size", NULL
20500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20505 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20509 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20511 wxPyEndAllowThreads(__tstate
);
20512 if (PyErr_Occurred()) SWIG_fail
;
20514 Py_INCREF(Py_None
); resultobj
= Py_None
;
20521 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20522 PyObject
*resultobj
;
20523 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20524 wxPrintData
*arg2
= 0 ;
20525 PyObject
* obj0
= 0 ;
20526 PyObject
* obj1
= 0 ;
20527 char *kwnames
[] = {
20528 (char *) "self",(char *) "printData", NULL
20531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20534 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20535 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20537 if (arg2
== NULL
) {
20538 PyErr_SetString(PyExc_TypeError
,"null reference");
20542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20543 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20545 wxPyEndAllowThreads(__tstate
);
20546 if (PyErr_Occurred()) SWIG_fail
;
20548 Py_INCREF(Py_None
); resultobj
= Py_None
;
20555 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
20557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20558 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
20560 return Py_BuildValue((char *)"");
20562 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20563 PyObject
*resultobj
;
20564 wxWindow
*arg1
= (wxWindow
*) 0 ;
20565 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
20566 wxPageSetupDialog
*result
;
20567 PyObject
* obj0
= 0 ;
20568 PyObject
* obj1
= 0 ;
20569 char *kwnames
[] = {
20570 (char *) "parent",(char *) "data", NULL
20573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
20578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20581 if (!wxPyCheckForApp()) SWIG_fail
;
20582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20583 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
20585 wxPyEndAllowThreads(__tstate
);
20586 if (PyErr_Occurred()) SWIG_fail
;
20588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
20595 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20596 PyObject
*resultobj
;
20597 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20598 wxPageSetupDialogData
*result
;
20599 PyObject
* obj0
= 0 ;
20600 char *kwnames
[] = {
20601 (char *) "self", NULL
20604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20610 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20611 result
= (wxPageSetupDialogData
*) &_result_ref
;
20614 wxPyEndAllowThreads(__tstate
);
20615 if (PyErr_Occurred()) SWIG_fail
;
20617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20624 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20625 PyObject
*resultobj
;
20626 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20628 PyObject
* obj0
= 0 ;
20629 char *kwnames
[] = {
20630 (char *) "self", NULL
20633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20638 result
= (int)(arg1
)->ShowModal();
20640 wxPyEndAllowThreads(__tstate
);
20641 if (PyErr_Occurred()) SWIG_fail
;
20643 resultobj
= SWIG_FromInt((int)result
);
20650 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
20652 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20653 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
20655 return Py_BuildValue((char *)"");
20657 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
20658 PyObject
*resultobj
;
20659 wxPrintDialogData
*result
;
20661 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
20663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20664 result
= (wxPrintDialogData
*)new wxPrintDialogData();
20666 wxPyEndAllowThreads(__tstate
);
20667 if (PyErr_Occurred()) SWIG_fail
;
20669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20676 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
20677 PyObject
*resultobj
;
20678 wxPrintData
*arg1
= 0 ;
20679 wxPrintDialogData
*result
;
20680 PyObject
* obj0
= 0 ;
20682 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
20683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
20684 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20686 if (arg1
== NULL
) {
20687 PyErr_SetString(PyExc_TypeError
,"null reference");
20691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20692 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
20694 wxPyEndAllowThreads(__tstate
);
20695 if (PyErr_Occurred()) SWIG_fail
;
20697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20704 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
20709 argc
= PyObject_Length(args
);
20710 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20711 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20714 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
20720 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20728 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
20732 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
20737 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20738 PyObject
*resultobj
;
20739 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20740 PyObject
* obj0
= 0 ;
20741 char *kwnames
[] = {
20742 (char *) "self", NULL
20745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
20746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20752 wxPyEndAllowThreads(__tstate
);
20753 if (PyErr_Occurred()) SWIG_fail
;
20755 Py_INCREF(Py_None
); resultobj
= Py_None
;
20762 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20763 PyObject
*resultobj
;
20764 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20766 PyObject
* obj0
= 0 ;
20767 char *kwnames
[] = {
20768 (char *) "self", NULL
20771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
20772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20776 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
20778 wxPyEndAllowThreads(__tstate
);
20779 if (PyErr_Occurred()) SWIG_fail
;
20781 resultobj
= SWIG_FromInt((int)result
);
20788 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20789 PyObject
*resultobj
;
20790 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20792 PyObject
* obj0
= 0 ;
20793 char *kwnames
[] = {
20794 (char *) "self", NULL
20797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
20798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20802 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
20804 wxPyEndAllowThreads(__tstate
);
20805 if (PyErr_Occurred()) SWIG_fail
;
20807 resultobj
= SWIG_FromInt((int)result
);
20814 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20815 PyObject
*resultobj
;
20816 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20818 PyObject
* obj0
= 0 ;
20819 char *kwnames
[] = {
20820 (char *) "self", NULL
20823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
20824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20828 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
20830 wxPyEndAllowThreads(__tstate
);
20831 if (PyErr_Occurred()) SWIG_fail
;
20833 resultobj
= SWIG_FromInt((int)result
);
20840 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20841 PyObject
*resultobj
;
20842 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20844 PyObject
* obj0
= 0 ;
20845 char *kwnames
[] = {
20846 (char *) "self", NULL
20849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20854 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
20856 wxPyEndAllowThreads(__tstate
);
20857 if (PyErr_Occurred()) SWIG_fail
;
20859 resultobj
= SWIG_FromInt((int)result
);
20866 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20867 PyObject
*resultobj
;
20868 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20870 PyObject
* obj0
= 0 ;
20871 char *kwnames
[] = {
20872 (char *) "self", NULL
20875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20880 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
20882 wxPyEndAllowThreads(__tstate
);
20883 if (PyErr_Occurred()) SWIG_fail
;
20885 resultobj
= SWIG_FromInt((int)result
);
20892 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20893 PyObject
*resultobj
;
20894 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20896 PyObject
* obj0
= 0 ;
20897 char *kwnames
[] = {
20898 (char *) "self", NULL
20901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
20902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20906 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
20908 wxPyEndAllowThreads(__tstate
);
20909 if (PyErr_Occurred()) SWIG_fail
;
20912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20920 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20921 PyObject
*resultobj
;
20922 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20924 PyObject
* obj0
= 0 ;
20925 char *kwnames
[] = {
20926 (char *) "self", NULL
20929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
20930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20934 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
20936 wxPyEndAllowThreads(__tstate
);
20937 if (PyErr_Occurred()) SWIG_fail
;
20940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20948 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20949 PyObject
*resultobj
;
20950 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20952 PyObject
* obj0
= 0 ;
20953 char *kwnames
[] = {
20954 (char *) "self", NULL
20957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
20958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20962 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
20964 wxPyEndAllowThreads(__tstate
);
20965 if (PyErr_Occurred()) SWIG_fail
;
20968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20976 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20977 PyObject
*resultobj
;
20978 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20980 PyObject
* obj0
= 0 ;
20981 char *kwnames
[] = {
20982 (char *) "self", NULL
20985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
20986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20990 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
20992 wxPyEndAllowThreads(__tstate
);
20993 if (PyErr_Occurred()) SWIG_fail
;
20996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21004 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21005 PyObject
*resultobj
;
21006 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21008 PyObject
* obj0
= 0 ;
21009 char *kwnames
[] = {
21010 (char *) "self", NULL
21013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
21014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21018 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
21020 wxPyEndAllowThreads(__tstate
);
21021 if (PyErr_Occurred()) SWIG_fail
;
21024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21032 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21033 PyObject
*resultobj
;
21034 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21036 PyObject
* obj0
= 0 ;
21037 PyObject
* obj1
= 0 ;
21038 char *kwnames
[] = {
21039 (char *) "self",(char *) "v", NULL
21042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21045 arg2
= (int) SWIG_AsInt(obj1
);
21046 if (PyErr_Occurred()) SWIG_fail
;
21048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21049 (arg1
)->SetFromPage(arg2
);
21051 wxPyEndAllowThreads(__tstate
);
21052 if (PyErr_Occurred()) SWIG_fail
;
21054 Py_INCREF(Py_None
); resultobj
= Py_None
;
21061 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21062 PyObject
*resultobj
;
21063 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21065 PyObject
* obj0
= 0 ;
21066 PyObject
* obj1
= 0 ;
21067 char *kwnames
[] = {
21068 (char *) "self",(char *) "v", NULL
21071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21074 arg2
= (int) SWIG_AsInt(obj1
);
21075 if (PyErr_Occurred()) SWIG_fail
;
21077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21078 (arg1
)->SetToPage(arg2
);
21080 wxPyEndAllowThreads(__tstate
);
21081 if (PyErr_Occurred()) SWIG_fail
;
21083 Py_INCREF(Py_None
); resultobj
= Py_None
;
21090 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21091 PyObject
*resultobj
;
21092 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21094 PyObject
* obj0
= 0 ;
21095 PyObject
* obj1
= 0 ;
21096 char *kwnames
[] = {
21097 (char *) "self",(char *) "v", NULL
21100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21103 arg2
= (int) SWIG_AsInt(obj1
);
21104 if (PyErr_Occurred()) SWIG_fail
;
21106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21107 (arg1
)->SetMinPage(arg2
);
21109 wxPyEndAllowThreads(__tstate
);
21110 if (PyErr_Occurred()) SWIG_fail
;
21112 Py_INCREF(Py_None
); resultobj
= Py_None
;
21119 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21120 PyObject
*resultobj
;
21121 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21123 PyObject
* obj0
= 0 ;
21124 PyObject
* obj1
= 0 ;
21125 char *kwnames
[] = {
21126 (char *) "self",(char *) "v", NULL
21129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21132 arg2
= (int) SWIG_AsInt(obj1
);
21133 if (PyErr_Occurred()) SWIG_fail
;
21135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21136 (arg1
)->SetMaxPage(arg2
);
21138 wxPyEndAllowThreads(__tstate
);
21139 if (PyErr_Occurred()) SWIG_fail
;
21141 Py_INCREF(Py_None
); resultobj
= Py_None
;
21148 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21149 PyObject
*resultobj
;
21150 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21152 PyObject
* obj0
= 0 ;
21153 PyObject
* obj1
= 0 ;
21154 char *kwnames
[] = {
21155 (char *) "self",(char *) "v", NULL
21158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
21159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21161 arg2
= (int) SWIG_AsInt(obj1
);
21162 if (PyErr_Occurred()) SWIG_fail
;
21164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21165 (arg1
)->SetNoCopies(arg2
);
21167 wxPyEndAllowThreads(__tstate
);
21168 if (PyErr_Occurred()) SWIG_fail
;
21170 Py_INCREF(Py_None
); resultobj
= Py_None
;
21177 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21178 PyObject
*resultobj
;
21179 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21181 PyObject
* obj0
= 0 ;
21182 PyObject
* obj1
= 0 ;
21183 char *kwnames
[] = {
21184 (char *) "self",(char *) "flag", NULL
21187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
21188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21190 arg2
= (bool) SWIG_AsBool(obj1
);
21191 if (PyErr_Occurred()) SWIG_fail
;
21193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21194 (arg1
)->SetAllPages(arg2
);
21196 wxPyEndAllowThreads(__tstate
);
21197 if (PyErr_Occurred()) SWIG_fail
;
21199 Py_INCREF(Py_None
); resultobj
= Py_None
;
21206 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21207 PyObject
*resultobj
;
21208 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21210 PyObject
* obj0
= 0 ;
21211 PyObject
* obj1
= 0 ;
21212 char *kwnames
[] = {
21213 (char *) "self",(char *) "flag", NULL
21216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21219 arg2
= (bool) SWIG_AsBool(obj1
);
21220 if (PyErr_Occurred()) SWIG_fail
;
21222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21223 (arg1
)->SetSelection(arg2
);
21225 wxPyEndAllowThreads(__tstate
);
21226 if (PyErr_Occurred()) SWIG_fail
;
21228 Py_INCREF(Py_None
); resultobj
= Py_None
;
21235 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21236 PyObject
*resultobj
;
21237 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21239 PyObject
* obj0
= 0 ;
21240 PyObject
* obj1
= 0 ;
21241 char *kwnames
[] = {
21242 (char *) "self",(char *) "flag", NULL
21245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
21246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21248 arg2
= (bool) SWIG_AsBool(obj1
);
21249 if (PyErr_Occurred()) SWIG_fail
;
21251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21252 (arg1
)->SetCollate(arg2
);
21254 wxPyEndAllowThreads(__tstate
);
21255 if (PyErr_Occurred()) SWIG_fail
;
21257 Py_INCREF(Py_None
); resultobj
= Py_None
;
21264 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21265 PyObject
*resultobj
;
21266 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21268 PyObject
* obj0
= 0 ;
21269 PyObject
* obj1
= 0 ;
21270 char *kwnames
[] = {
21271 (char *) "self",(char *) "flag", NULL
21274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21277 arg2
= (bool) SWIG_AsBool(obj1
);
21278 if (PyErr_Occurred()) SWIG_fail
;
21280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21281 (arg1
)->SetPrintToFile(arg2
);
21283 wxPyEndAllowThreads(__tstate
);
21284 if (PyErr_Occurred()) SWIG_fail
;
21286 Py_INCREF(Py_None
); resultobj
= Py_None
;
21293 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21294 PyObject
*resultobj
;
21295 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21297 PyObject
* obj0
= 0 ;
21298 PyObject
* obj1
= 0 ;
21299 char *kwnames
[] = {
21300 (char *) "self",(char *) "flag", NULL
21303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21306 arg2
= (bool) SWIG_AsBool(obj1
);
21307 if (PyErr_Occurred()) SWIG_fail
;
21309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21310 (arg1
)->SetSetupDialog(arg2
);
21312 wxPyEndAllowThreads(__tstate
);
21313 if (PyErr_Occurred()) SWIG_fail
;
21315 Py_INCREF(Py_None
); resultobj
= Py_None
;
21322 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21323 PyObject
*resultobj
;
21324 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21326 PyObject
* obj0
= 0 ;
21327 PyObject
* obj1
= 0 ;
21328 char *kwnames
[] = {
21329 (char *) "self",(char *) "flag", NULL
21332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21335 arg2
= (bool) SWIG_AsBool(obj1
);
21336 if (PyErr_Occurred()) SWIG_fail
;
21338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21339 (arg1
)->EnablePrintToFile(arg2
);
21341 wxPyEndAllowThreads(__tstate
);
21342 if (PyErr_Occurred()) SWIG_fail
;
21344 Py_INCREF(Py_None
); resultobj
= Py_None
;
21351 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21352 PyObject
*resultobj
;
21353 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21355 PyObject
* obj0
= 0 ;
21356 PyObject
* obj1
= 0 ;
21357 char *kwnames
[] = {
21358 (char *) "self",(char *) "flag", NULL
21361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21364 arg2
= (bool) SWIG_AsBool(obj1
);
21365 if (PyErr_Occurred()) SWIG_fail
;
21367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21368 (arg1
)->EnableSelection(arg2
);
21370 wxPyEndAllowThreads(__tstate
);
21371 if (PyErr_Occurred()) SWIG_fail
;
21373 Py_INCREF(Py_None
); resultobj
= Py_None
;
21380 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21381 PyObject
*resultobj
;
21382 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21384 PyObject
* obj0
= 0 ;
21385 PyObject
* obj1
= 0 ;
21386 char *kwnames
[] = {
21387 (char *) "self",(char *) "flag", NULL
21390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
21391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21393 arg2
= (bool) SWIG_AsBool(obj1
);
21394 if (PyErr_Occurred()) SWIG_fail
;
21396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21397 (arg1
)->EnablePageNumbers(arg2
);
21399 wxPyEndAllowThreads(__tstate
);
21400 if (PyErr_Occurred()) SWIG_fail
;
21402 Py_INCREF(Py_None
); resultobj
= Py_None
;
21409 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21410 PyObject
*resultobj
;
21411 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21413 PyObject
* obj0
= 0 ;
21414 PyObject
* obj1
= 0 ;
21415 char *kwnames
[] = {
21416 (char *) "self",(char *) "flag", NULL
21419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21422 arg2
= (bool) SWIG_AsBool(obj1
);
21423 if (PyErr_Occurred()) SWIG_fail
;
21425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21426 (arg1
)->EnableHelp(arg2
);
21428 wxPyEndAllowThreads(__tstate
);
21429 if (PyErr_Occurred()) SWIG_fail
;
21431 Py_INCREF(Py_None
); resultobj
= Py_None
;
21438 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21439 PyObject
*resultobj
;
21440 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21442 PyObject
* obj0
= 0 ;
21443 char *kwnames
[] = {
21444 (char *) "self", NULL
21447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
21448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21452 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
21454 wxPyEndAllowThreads(__tstate
);
21455 if (PyErr_Occurred()) SWIG_fail
;
21458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21466 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21467 PyObject
*resultobj
;
21468 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21470 PyObject
* obj0
= 0 ;
21471 char *kwnames
[] = {
21472 (char *) "self", NULL
21475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
21476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21480 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
21482 wxPyEndAllowThreads(__tstate
);
21483 if (PyErr_Occurred()) SWIG_fail
;
21486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21494 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21495 PyObject
*resultobj
;
21496 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21498 PyObject
* obj0
= 0 ;
21499 char *kwnames
[] = {
21500 (char *) "self", NULL
21503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
21504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21508 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
21510 wxPyEndAllowThreads(__tstate
);
21511 if (PyErr_Occurred()) SWIG_fail
;
21514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21522 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21523 PyObject
*resultobj
;
21524 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21526 PyObject
* obj0
= 0 ;
21527 char *kwnames
[] = {
21528 (char *) "self", NULL
21531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21536 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
21538 wxPyEndAllowThreads(__tstate
);
21539 if (PyErr_Occurred()) SWIG_fail
;
21542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21550 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21551 PyObject
*resultobj
;
21552 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21554 PyObject
* obj0
= 0 ;
21555 char *kwnames
[] = {
21556 (char *) "self", NULL
21559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
21560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21564 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
21566 wxPyEndAllowThreads(__tstate
);
21567 if (PyErr_Occurred()) SWIG_fail
;
21570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21578 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21579 PyObject
*resultobj
;
21580 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21581 wxPrintData
*result
;
21582 PyObject
* obj0
= 0 ;
21583 char *kwnames
[] = {
21584 (char *) "self", NULL
21587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
21588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21593 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21594 result
= (wxPrintData
*) &_result_ref
;
21597 wxPyEndAllowThreads(__tstate
);
21598 if (PyErr_Occurred()) SWIG_fail
;
21600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21607 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21608 PyObject
*resultobj
;
21609 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21610 wxPrintData
*arg2
= 0 ;
21611 PyObject
* obj0
= 0 ;
21612 PyObject
* obj1
= 0 ;
21613 char *kwnames
[] = {
21614 (char *) "self",(char *) "printData", NULL
21617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
21618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21620 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
21621 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21623 if (arg2
== NULL
) {
21624 PyErr_SetString(PyExc_TypeError
,"null reference");
21628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21629 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21631 wxPyEndAllowThreads(__tstate
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21634 Py_INCREF(Py_None
); resultobj
= Py_None
;
21641 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
21643 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21644 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
21646 return Py_BuildValue((char *)"");
21648 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21649 PyObject
*resultobj
;
21650 wxWindow
*arg1
= (wxWindow
*) 0 ;
21651 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
21652 wxPrintDialog
*result
;
21653 PyObject
* obj0
= 0 ;
21654 PyObject
* obj1
= 0 ;
21655 char *kwnames
[] = {
21656 (char *) "parent",(char *) "data", NULL
21659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21663 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
21664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21667 if (!wxPyCheckForApp()) SWIG_fail
;
21668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21669 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
21671 wxPyEndAllowThreads(__tstate
);
21672 if (PyErr_Occurred()) SWIG_fail
;
21674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
21681 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21682 PyObject
*resultobj
;
21683 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21684 wxPrintDialogData
*result
;
21685 PyObject
* obj0
= 0 ;
21686 char *kwnames
[] = {
21687 (char *) "self", NULL
21690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21696 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21697 result
= (wxPrintDialogData
*) &_result_ref
;
21700 wxPyEndAllowThreads(__tstate
);
21701 if (PyErr_Occurred()) SWIG_fail
;
21703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21710 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21711 PyObject
*resultobj
;
21712 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21714 PyObject
* obj0
= 0 ;
21715 char *kwnames
[] = {
21716 (char *) "self", NULL
21719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
21720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21724 result
= (wxDC
*)(arg1
)->GetPrintDC();
21726 wxPyEndAllowThreads(__tstate
);
21727 if (PyErr_Occurred()) SWIG_fail
;
21730 resultobj
= wxPyMake_wxObject(result
);
21738 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21739 PyObject
*resultobj
;
21740 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21742 PyObject
* obj0
= 0 ;
21743 char *kwnames
[] = {
21744 (char *) "self", NULL
21747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21752 result
= (int)(arg1
)->ShowModal();
21754 wxPyEndAllowThreads(__tstate
);
21755 if (PyErr_Occurred()) SWIG_fail
;
21757 resultobj
= SWIG_FromInt((int)result
);
21764 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
21766 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21767 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
21769 return Py_BuildValue((char *)"");
21771 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21772 PyObject
*resultobj
;
21773 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
21775 PyObject
* obj0
= 0 ;
21776 char *kwnames
[] = {
21777 (char *) "data", NULL
21780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
21782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21786 if (!wxPyCheckForApp()) SWIG_fail
;
21787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21788 result
= (wxPrinter
*)new wxPrinter(arg1
);
21790 wxPyEndAllowThreads(__tstate
);
21791 if (PyErr_Occurred()) SWIG_fail
;
21793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
21800 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21801 PyObject
*resultobj
;
21802 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21803 PyObject
* obj0
= 0 ;
21804 char *kwnames
[] = {
21805 (char *) "self", NULL
21808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
21809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21815 wxPyEndAllowThreads(__tstate
);
21816 if (PyErr_Occurred()) SWIG_fail
;
21818 Py_INCREF(Py_None
); resultobj
= Py_None
;
21825 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21826 PyObject
*resultobj
;
21827 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21828 wxWindow
*arg2
= (wxWindow
*) 0 ;
21829 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21830 PyObject
* obj0
= 0 ;
21831 PyObject
* obj1
= 0 ;
21832 PyObject
* obj2
= 0 ;
21833 char *kwnames
[] = {
21834 (char *) "self",(char *) "parent",(char *) "printout", NULL
21837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21840 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21842 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21846 (arg1
)->CreateAbortWindow(arg2
,arg3
);
21848 wxPyEndAllowThreads(__tstate
);
21849 if (PyErr_Occurred()) SWIG_fail
;
21851 Py_INCREF(Py_None
); resultobj
= Py_None
;
21858 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21859 PyObject
*resultobj
;
21860 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21861 wxPrintDialogData
*result
;
21862 PyObject
* obj0
= 0 ;
21863 char *kwnames
[] = {
21864 (char *) "self", NULL
21867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21873 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21874 result
= (wxPrintDialogData
*) &_result_ref
;
21877 wxPyEndAllowThreads(__tstate
);
21878 if (PyErr_Occurred()) SWIG_fail
;
21880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21887 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21888 PyObject
*resultobj
;
21889 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21890 wxWindow
*arg2
= (wxWindow
*) 0 ;
21891 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21892 int arg4
= (int) True
;
21894 PyObject
* obj0
= 0 ;
21895 PyObject
* obj1
= 0 ;
21896 PyObject
* obj2
= 0 ;
21897 PyObject
* obj3
= 0 ;
21898 char *kwnames
[] = {
21899 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21905 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21907 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21910 arg4
= (int) SWIG_AsInt(obj3
);
21911 if (PyErr_Occurred()) SWIG_fail
;
21914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21915 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
21917 wxPyEndAllowThreads(__tstate
);
21918 if (PyErr_Occurred()) SWIG_fail
;
21921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21929 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21930 PyObject
*resultobj
;
21931 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21932 wxWindow
*arg2
= (wxWindow
*) 0 ;
21934 PyObject
* obj0
= 0 ;
21935 PyObject
* obj1
= 0 ;
21936 char *kwnames
[] = {
21937 (char *) "self",(char *) "parent", NULL
21940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21943 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21947 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
21949 wxPyEndAllowThreads(__tstate
);
21950 if (PyErr_Occurred()) SWIG_fail
;
21953 resultobj
= wxPyMake_wxObject(result
);
21961 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21962 PyObject
*resultobj
;
21963 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21964 wxWindow
*arg2
= (wxWindow
*) 0 ;
21965 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21966 wxString
*arg4
= 0 ;
21967 bool temp4
= False
;
21968 PyObject
* obj0
= 0 ;
21969 PyObject
* obj1
= 0 ;
21970 PyObject
* obj2
= 0 ;
21971 PyObject
* obj3
= 0 ;
21972 char *kwnames
[] = {
21973 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21979 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21981 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21984 arg4
= wxString_in_helper(obj3
);
21985 if (arg4
== NULL
) SWIG_fail
;
21989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21990 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
21992 wxPyEndAllowThreads(__tstate
);
21993 if (PyErr_Occurred()) SWIG_fail
;
21995 Py_INCREF(Py_None
); resultobj
= Py_None
;
22010 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22011 PyObject
*resultobj
;
22012 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22013 wxWindow
*arg2
= (wxWindow
*) 0 ;
22015 PyObject
* obj0
= 0 ;
22016 PyObject
* obj1
= 0 ;
22017 char *kwnames
[] = {
22018 (char *) "self",(char *) "parent", NULL
22021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
22022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22024 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22028 result
= (bool)(arg1
)->Setup(arg2
);
22030 wxPyEndAllowThreads(__tstate
);
22031 if (PyErr_Occurred()) SWIG_fail
;
22034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22042 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22043 PyObject
*resultobj
;
22044 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22046 PyObject
* obj0
= 0 ;
22047 char *kwnames
[] = {
22048 (char *) "self", NULL
22051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
22052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22056 result
= (bool)(arg1
)->GetAbort();
22058 wxPyEndAllowThreads(__tstate
);
22059 if (PyErr_Occurred()) SWIG_fail
;
22062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22070 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22071 PyObject
*resultobj
;
22073 char *kwnames
[] = {
22077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
22079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22080 result
= (int)wxPrinter::GetLastError();
22082 wxPyEndAllowThreads(__tstate
);
22083 if (PyErr_Occurred()) SWIG_fail
;
22085 resultobj
= SWIG_FromInt((int)result
);
22092 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
22094 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22095 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
22097 return Py_BuildValue((char *)"");
22099 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22100 PyObject
*resultobj
;
22101 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
22102 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22103 wxPyPrintout
*result
;
22104 bool temp1
= False
;
22105 PyObject
* obj0
= 0 ;
22106 char *kwnames
[] = {
22107 (char *) "title", NULL
22110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
22113 arg1
= wxString_in_helper(obj0
);
22114 if (arg1
== NULL
) SWIG_fail
;
22119 if (!wxPyCheckForApp()) SWIG_fail
;
22120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22121 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
22123 wxPyEndAllowThreads(__tstate
);
22124 if (PyErr_Occurred()) SWIG_fail
;
22127 resultobj
= wxPyMake_wxObject(result
);
22143 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22144 PyObject
*resultobj
;
22145 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22146 PyObject
*arg2
= (PyObject
*) 0 ;
22147 PyObject
*arg3
= (PyObject
*) 0 ;
22148 PyObject
* obj0
= 0 ;
22149 PyObject
* obj1
= 0 ;
22150 PyObject
* obj2
= 0 ;
22151 char *kwnames
[] = {
22152 (char *) "self",(char *) "self",(char *) "_class", NULL
22155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22162 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22164 wxPyEndAllowThreads(__tstate
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22167 Py_INCREF(Py_None
); resultobj
= Py_None
;
22174 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22175 PyObject
*resultobj
;
22176 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22178 PyObject
* obj0
= 0 ;
22179 char *kwnames
[] = {
22180 (char *) "self", NULL
22183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
22184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22188 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
22190 wxPyEndAllowThreads(__tstate
);
22191 if (PyErr_Occurred()) SWIG_fail
;
22195 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22197 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22206 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22207 PyObject
*resultobj
;
22208 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22210 PyObject
* obj0
= 0 ;
22211 char *kwnames
[] = {
22212 (char *) "self", NULL
22215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
22216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22220 result
= (wxDC
*)(arg1
)->GetDC();
22222 wxPyEndAllowThreads(__tstate
);
22223 if (PyErr_Occurred()) SWIG_fail
;
22226 resultobj
= wxPyMake_wxObject(result
);
22234 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22235 PyObject
*resultobj
;
22236 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22237 wxDC
*arg2
= (wxDC
*) 0 ;
22238 PyObject
* obj0
= 0 ;
22239 PyObject
* obj1
= 0 ;
22240 char *kwnames
[] = {
22241 (char *) "self",(char *) "dc", NULL
22244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
22245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22251 (arg1
)->SetDC(arg2
);
22253 wxPyEndAllowThreads(__tstate
);
22254 if (PyErr_Occurred()) SWIG_fail
;
22256 Py_INCREF(Py_None
); resultobj
= Py_None
;
22263 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22264 PyObject
*resultobj
;
22265 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22268 PyObject
* obj0
= 0 ;
22269 PyObject
* obj1
= 0 ;
22270 PyObject
* obj2
= 0 ;
22271 char *kwnames
[] = {
22272 (char *) "self",(char *) "w",(char *) "h", NULL
22275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22278 arg2
= (int) SWIG_AsInt(obj1
);
22279 if (PyErr_Occurred()) SWIG_fail
;
22280 arg3
= (int) SWIG_AsInt(obj2
);
22281 if (PyErr_Occurred()) SWIG_fail
;
22283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22284 (arg1
)->SetPageSizePixels(arg2
,arg3
);
22286 wxPyEndAllowThreads(__tstate
);
22287 if (PyErr_Occurred()) SWIG_fail
;
22289 Py_INCREF(Py_None
); resultobj
= Py_None
;
22296 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22297 PyObject
*resultobj
;
22298 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22299 int *arg2
= (int *) 0 ;
22300 int *arg3
= (int *) 0 ;
22303 PyObject
* obj0
= 0 ;
22304 char *kwnames
[] = {
22305 (char *) "self", NULL
22310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
22311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22315 (arg1
)->GetPageSizePixels(arg2
,arg3
);
22317 wxPyEndAllowThreads(__tstate
);
22318 if (PyErr_Occurred()) SWIG_fail
;
22320 Py_INCREF(Py_None
); resultobj
= Py_None
;
22322 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22323 resultobj
= t_output_helper(resultobj
,o
);
22326 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22327 resultobj
= t_output_helper(resultobj
,o
);
22335 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22336 PyObject
*resultobj
;
22337 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22340 PyObject
* obj0
= 0 ;
22341 PyObject
* obj1
= 0 ;
22342 PyObject
* obj2
= 0 ;
22343 char *kwnames
[] = {
22344 (char *) "self",(char *) "w",(char *) "h", NULL
22347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22350 arg2
= (int) SWIG_AsInt(obj1
);
22351 if (PyErr_Occurred()) SWIG_fail
;
22352 arg3
= (int) SWIG_AsInt(obj2
);
22353 if (PyErr_Occurred()) SWIG_fail
;
22355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22356 (arg1
)->SetPageSizeMM(arg2
,arg3
);
22358 wxPyEndAllowThreads(__tstate
);
22359 if (PyErr_Occurred()) SWIG_fail
;
22361 Py_INCREF(Py_None
); resultobj
= Py_None
;
22368 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22369 PyObject
*resultobj
;
22370 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22371 int *arg2
= (int *) 0 ;
22372 int *arg3
= (int *) 0 ;
22375 PyObject
* obj0
= 0 ;
22376 char *kwnames
[] = {
22377 (char *) "self", NULL
22382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
22383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22387 (arg1
)->GetPageSizeMM(arg2
,arg3
);
22389 wxPyEndAllowThreads(__tstate
);
22390 if (PyErr_Occurred()) SWIG_fail
;
22392 Py_INCREF(Py_None
); resultobj
= Py_None
;
22394 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22395 resultobj
= t_output_helper(resultobj
,o
);
22398 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22399 resultobj
= t_output_helper(resultobj
,o
);
22407 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22408 PyObject
*resultobj
;
22409 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22412 PyObject
* obj0
= 0 ;
22413 PyObject
* obj1
= 0 ;
22414 PyObject
* obj2
= 0 ;
22415 char *kwnames
[] = {
22416 (char *) "self",(char *) "x",(char *) "y", NULL
22419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22422 arg2
= (int) SWIG_AsInt(obj1
);
22423 if (PyErr_Occurred()) SWIG_fail
;
22424 arg3
= (int) SWIG_AsInt(obj2
);
22425 if (PyErr_Occurred()) SWIG_fail
;
22427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22428 (arg1
)->SetPPIScreen(arg2
,arg3
);
22430 wxPyEndAllowThreads(__tstate
);
22431 if (PyErr_Occurred()) SWIG_fail
;
22433 Py_INCREF(Py_None
); resultobj
= Py_None
;
22440 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22441 PyObject
*resultobj
;
22442 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22443 int *arg2
= (int *) 0 ;
22444 int *arg3
= (int *) 0 ;
22447 PyObject
* obj0
= 0 ;
22448 char *kwnames
[] = {
22449 (char *) "self", NULL
22454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
22455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22459 (arg1
)->GetPPIScreen(arg2
,arg3
);
22461 wxPyEndAllowThreads(__tstate
);
22462 if (PyErr_Occurred()) SWIG_fail
;
22464 Py_INCREF(Py_None
); resultobj
= Py_None
;
22466 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22467 resultobj
= t_output_helper(resultobj
,o
);
22470 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22471 resultobj
= t_output_helper(resultobj
,o
);
22479 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22480 PyObject
*resultobj
;
22481 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22484 PyObject
* obj0
= 0 ;
22485 PyObject
* obj1
= 0 ;
22486 PyObject
* obj2
= 0 ;
22487 char *kwnames
[] = {
22488 (char *) "self",(char *) "x",(char *) "y", NULL
22491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22494 arg2
= (int) SWIG_AsInt(obj1
);
22495 if (PyErr_Occurred()) SWIG_fail
;
22496 arg3
= (int) SWIG_AsInt(obj2
);
22497 if (PyErr_Occurred()) SWIG_fail
;
22499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22500 (arg1
)->SetPPIPrinter(arg2
,arg3
);
22502 wxPyEndAllowThreads(__tstate
);
22503 if (PyErr_Occurred()) SWIG_fail
;
22505 Py_INCREF(Py_None
); resultobj
= Py_None
;
22512 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22513 PyObject
*resultobj
;
22514 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22515 int *arg2
= (int *) 0 ;
22516 int *arg3
= (int *) 0 ;
22519 PyObject
* obj0
= 0 ;
22520 char *kwnames
[] = {
22521 (char *) "self", NULL
22526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
22527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22531 (arg1
)->GetPPIPrinter(arg2
,arg3
);
22533 wxPyEndAllowThreads(__tstate
);
22534 if (PyErr_Occurred()) SWIG_fail
;
22536 Py_INCREF(Py_None
); resultobj
= Py_None
;
22538 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22539 resultobj
= t_output_helper(resultobj
,o
);
22542 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22543 resultobj
= t_output_helper(resultobj
,o
);
22551 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22552 PyObject
*resultobj
;
22553 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22555 PyObject
* obj0
= 0 ;
22556 char *kwnames
[] = {
22557 (char *) "self", NULL
22560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
22561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22565 result
= (bool)(arg1
)->IsPreview();
22567 wxPyEndAllowThreads(__tstate
);
22568 if (PyErr_Occurred()) SWIG_fail
;
22571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22579 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22580 PyObject
*resultobj
;
22581 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22583 PyObject
* obj0
= 0 ;
22584 PyObject
* obj1
= 0 ;
22585 char *kwnames
[] = {
22586 (char *) "self",(char *) "p", NULL
22589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22592 arg2
= (bool) SWIG_AsBool(obj1
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22596 (arg1
)->SetIsPreview(arg2
);
22598 wxPyEndAllowThreads(__tstate
);
22599 if (PyErr_Occurred()) SWIG_fail
;
22601 Py_INCREF(Py_None
); resultobj
= Py_None
;
22608 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22609 PyObject
*resultobj
;
22610 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22614 PyObject
* obj0
= 0 ;
22615 PyObject
* obj1
= 0 ;
22616 PyObject
* obj2
= 0 ;
22617 char *kwnames
[] = {
22618 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22624 arg2
= (int) SWIG_AsInt(obj1
);
22625 if (PyErr_Occurred()) SWIG_fail
;
22626 arg3
= (int) SWIG_AsInt(obj2
);
22627 if (PyErr_Occurred()) SWIG_fail
;
22629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22630 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
22632 wxPyEndAllowThreads(__tstate
);
22633 if (PyErr_Occurred()) SWIG_fail
;
22636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22644 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22645 PyObject
*resultobj
;
22646 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22647 PyObject
* obj0
= 0 ;
22648 char *kwnames
[] = {
22649 (char *) "self", NULL
22652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
22653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22657 (arg1
)->base_OnEndDocument();
22659 wxPyEndAllowThreads(__tstate
);
22660 if (PyErr_Occurred()) SWIG_fail
;
22662 Py_INCREF(Py_None
); resultobj
= Py_None
;
22669 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22670 PyObject
*resultobj
;
22671 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22672 PyObject
* obj0
= 0 ;
22673 char *kwnames
[] = {
22674 (char *) "self", NULL
22677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
22678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22682 (arg1
)->base_OnBeginPrinting();
22684 wxPyEndAllowThreads(__tstate
);
22685 if (PyErr_Occurred()) SWIG_fail
;
22687 Py_INCREF(Py_None
); resultobj
= Py_None
;
22694 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22695 PyObject
*resultobj
;
22696 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22697 PyObject
* obj0
= 0 ;
22698 char *kwnames
[] = {
22699 (char *) "self", NULL
22702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
22703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22707 (arg1
)->base_OnEndPrinting();
22709 wxPyEndAllowThreads(__tstate
);
22710 if (PyErr_Occurred()) SWIG_fail
;
22712 Py_INCREF(Py_None
); resultobj
= Py_None
;
22719 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22720 PyObject
*resultobj
;
22721 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22722 PyObject
* obj0
= 0 ;
22723 char *kwnames
[] = {
22724 (char *) "self", NULL
22727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
22728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22732 (arg1
)->base_OnPreparePrinting();
22734 wxPyEndAllowThreads(__tstate
);
22735 if (PyErr_Occurred()) SWIG_fail
;
22737 Py_INCREF(Py_None
); resultobj
= Py_None
;
22744 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22745 PyObject
*resultobj
;
22746 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22749 PyObject
* obj0
= 0 ;
22750 PyObject
* obj1
= 0 ;
22751 char *kwnames
[] = {
22752 (char *) "self",(char *) "page", NULL
22755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22758 arg2
= (int) SWIG_AsInt(obj1
);
22759 if (PyErr_Occurred()) SWIG_fail
;
22761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22762 result
= (bool)(arg1
)->base_HasPage(arg2
);
22764 wxPyEndAllowThreads(__tstate
);
22765 if (PyErr_Occurred()) SWIG_fail
;
22768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22776 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22777 PyObject
*resultobj
;
22778 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22779 int *arg2
= (int *) 0 ;
22780 int *arg3
= (int *) 0 ;
22781 int *arg4
= (int *) 0 ;
22782 int *arg5
= (int *) 0 ;
22787 PyObject
* obj0
= 0 ;
22788 char *kwnames
[] = {
22789 (char *) "self", NULL
22796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
22797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22801 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
22803 wxPyEndAllowThreads(__tstate
);
22804 if (PyErr_Occurred()) SWIG_fail
;
22806 Py_INCREF(Py_None
); resultobj
= Py_None
;
22808 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22809 resultobj
= t_output_helper(resultobj
,o
);
22812 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22813 resultobj
= t_output_helper(resultobj
,o
);
22816 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
22817 resultobj
= t_output_helper(resultobj
,o
);
22820 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
22821 resultobj
= t_output_helper(resultobj
,o
);
22829 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
22831 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22832 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
22834 return Py_BuildValue((char *)"");
22836 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22837 PyObject
*resultobj
;
22838 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22839 wxWindow
*arg2
= (wxWindow
*) 0 ;
22840 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22841 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22842 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22843 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22844 long arg5
= (long) 0 ;
22845 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
22846 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22847 wxPreviewCanvas
*result
;
22850 bool temp6
= False
;
22851 PyObject
* obj0
= 0 ;
22852 PyObject
* obj1
= 0 ;
22853 PyObject
* obj2
= 0 ;
22854 PyObject
* obj3
= 0 ;
22855 PyObject
* obj4
= 0 ;
22856 PyObject
* obj5
= 0 ;
22857 char *kwnames
[] = {
22858 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22864 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22869 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22875 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22879 arg5
= (long) SWIG_AsLong(obj4
);
22880 if (PyErr_Occurred()) SWIG_fail
;
22884 arg6
= wxString_in_helper(obj5
);
22885 if (arg6
== NULL
) SWIG_fail
;
22890 if (!wxPyCheckForApp()) SWIG_fail
;
22891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22892 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22894 wxPyEndAllowThreads(__tstate
);
22895 if (PyErr_Occurred()) SWIG_fail
;
22897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
22912 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
22914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22915 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
22917 return Py_BuildValue((char *)"");
22919 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22920 PyObject
*resultobj
;
22921 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22922 wxFrame
*arg2
= (wxFrame
*) 0 ;
22923 wxString
*arg3
= 0 ;
22924 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22925 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22926 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22927 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22928 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22929 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22930 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22931 wxPreviewFrame
*result
;
22932 bool temp3
= False
;
22935 bool temp7
= False
;
22936 PyObject
* obj0
= 0 ;
22937 PyObject
* obj1
= 0 ;
22938 PyObject
* obj2
= 0 ;
22939 PyObject
* obj3
= 0 ;
22940 PyObject
* obj4
= 0 ;
22941 PyObject
* obj5
= 0 ;
22942 PyObject
* obj6
= 0 ;
22943 char *kwnames
[] = {
22944 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22950 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22953 arg3
= wxString_in_helper(obj2
);
22954 if (arg3
== NULL
) SWIG_fail
;
22960 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22966 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22970 arg6
= (long) SWIG_AsLong(obj5
);
22971 if (PyErr_Occurred()) SWIG_fail
;
22975 arg7
= wxString_in_helper(obj6
);
22976 if (arg7
== NULL
) SWIG_fail
;
22981 if (!wxPyCheckForApp()) SWIG_fail
;
22982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22983 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22985 wxPyEndAllowThreads(__tstate
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
23011 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23012 PyObject
*resultobj
;
23013 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23014 PyObject
* obj0
= 0 ;
23015 char *kwnames
[] = {
23016 (char *) "self", NULL
23019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
23020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23024 (arg1
)->Initialize();
23026 wxPyEndAllowThreads(__tstate
);
23027 if (PyErr_Occurred()) SWIG_fail
;
23029 Py_INCREF(Py_None
); resultobj
= Py_None
;
23036 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23037 PyObject
*resultobj
;
23038 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23039 PyObject
* obj0
= 0 ;
23040 char *kwnames
[] = {
23041 (char *) "self", NULL
23044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
23045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23049 (arg1
)->CreateControlBar();
23051 wxPyEndAllowThreads(__tstate
);
23052 if (PyErr_Occurred()) SWIG_fail
;
23054 Py_INCREF(Py_None
); resultobj
= Py_None
;
23061 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23062 PyObject
*resultobj
;
23063 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23064 PyObject
* obj0
= 0 ;
23065 char *kwnames
[] = {
23066 (char *) "self", NULL
23069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
23070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23074 (arg1
)->CreateCanvas();
23076 wxPyEndAllowThreads(__tstate
);
23077 if (PyErr_Occurred()) SWIG_fail
;
23079 Py_INCREF(Py_None
); resultobj
= Py_None
;
23086 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23087 PyObject
*resultobj
;
23088 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23089 wxPreviewControlBar
*result
;
23090 PyObject
* obj0
= 0 ;
23091 char *kwnames
[] = {
23092 (char *) "self", NULL
23095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
23096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23100 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
23102 wxPyEndAllowThreads(__tstate
);
23103 if (PyErr_Occurred()) SWIG_fail
;
23105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
23112 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
23114 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23115 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
23117 return Py_BuildValue((char *)"");
23119 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23120 PyObject
*resultobj
;
23121 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23123 wxWindow
*arg3
= (wxWindow
*) 0 ;
23124 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23125 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23126 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23127 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23128 long arg6
= (long) wxTAB_TRAVERSAL
;
23129 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
23130 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23131 wxPreviewControlBar
*result
;
23134 bool temp7
= False
;
23135 PyObject
* obj0
= 0 ;
23136 PyObject
* obj1
= 0 ;
23137 PyObject
* obj2
= 0 ;
23138 PyObject
* obj3
= 0 ;
23139 PyObject
* obj4
= 0 ;
23140 PyObject
* obj5
= 0 ;
23141 PyObject
* obj6
= 0 ;
23142 char *kwnames
[] = {
23143 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23149 arg2
= (long) SWIG_AsLong(obj1
);
23150 if (PyErr_Occurred()) SWIG_fail
;
23151 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
23152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23156 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23162 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23166 arg6
= (long) SWIG_AsLong(obj5
);
23167 if (PyErr_Occurred()) SWIG_fail
;
23171 arg7
= wxString_in_helper(obj6
);
23172 if (arg7
== NULL
) SWIG_fail
;
23177 if (!wxPyCheckForApp()) SWIG_fail
;
23178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23179 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23181 wxPyEndAllowThreads(__tstate
);
23182 if (PyErr_Occurred()) SWIG_fail
;
23184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
23199 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23200 PyObject
*resultobj
;
23201 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23203 PyObject
* obj0
= 0 ;
23204 char *kwnames
[] = {
23205 (char *) "self", NULL
23208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
23209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23213 result
= (int)(arg1
)->GetZoomControl();
23215 wxPyEndAllowThreads(__tstate
);
23216 if (PyErr_Occurred()) SWIG_fail
;
23218 resultobj
= SWIG_FromInt((int)result
);
23225 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23226 PyObject
*resultobj
;
23227 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23229 PyObject
* obj0
= 0 ;
23230 PyObject
* obj1
= 0 ;
23231 char *kwnames
[] = {
23232 (char *) "self",(char *) "zoom", NULL
23235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
23236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23238 arg2
= (int) SWIG_AsInt(obj1
);
23239 if (PyErr_Occurred()) SWIG_fail
;
23241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23242 (arg1
)->SetZoomControl(arg2
);
23244 wxPyEndAllowThreads(__tstate
);
23245 if (PyErr_Occurred()) SWIG_fail
;
23247 Py_INCREF(Py_None
); resultobj
= Py_None
;
23254 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23255 PyObject
*resultobj
;
23256 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23257 wxPrintPreview
*result
;
23258 PyObject
* obj0
= 0 ;
23259 char *kwnames
[] = {
23260 (char *) "self", NULL
23263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
23264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23268 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
23270 wxPyEndAllowThreads(__tstate
);
23271 if (PyErr_Occurred()) SWIG_fail
;
23273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
23280 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23281 PyObject
*resultobj
;
23282 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23283 PyObject
* obj0
= 0 ;
23284 char *kwnames
[] = {
23285 (char *) "self", NULL
23288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
23289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23295 wxPyEndAllowThreads(__tstate
);
23296 if (PyErr_Occurred()) SWIG_fail
;
23298 Py_INCREF(Py_None
); resultobj
= Py_None
;
23305 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23306 PyObject
*resultobj
;
23307 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23308 PyObject
* obj0
= 0 ;
23309 char *kwnames
[] = {
23310 (char *) "self", NULL
23313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
23314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23318 (arg1
)->OnPrevious();
23320 wxPyEndAllowThreads(__tstate
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23323 Py_INCREF(Py_None
); resultobj
= Py_None
;
23330 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23331 PyObject
*resultobj
;
23332 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23333 PyObject
* obj0
= 0 ;
23334 char *kwnames
[] = {
23335 (char *) "self", NULL
23338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
23339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23345 wxPyEndAllowThreads(__tstate
);
23346 if (PyErr_Occurred()) SWIG_fail
;
23348 Py_INCREF(Py_None
); resultobj
= Py_None
;
23355 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23356 PyObject
*resultobj
;
23357 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23358 PyObject
* obj0
= 0 ;
23359 char *kwnames
[] = {
23360 (char *) "self", NULL
23363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
23364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23370 wxPyEndAllowThreads(__tstate
);
23371 if (PyErr_Occurred()) SWIG_fail
;
23373 Py_INCREF(Py_None
); resultobj
= Py_None
;
23380 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23381 PyObject
*resultobj
;
23382 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23383 PyObject
* obj0
= 0 ;
23384 char *kwnames
[] = {
23385 (char *) "self", NULL
23388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
23389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23395 wxPyEndAllowThreads(__tstate
);
23396 if (PyErr_Occurred()) SWIG_fail
;
23398 Py_INCREF(Py_None
); resultobj
= Py_None
;
23405 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
23407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23408 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
23410 return Py_BuildValue((char *)"");
23412 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23413 PyObject
*resultobj
;
23414 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23415 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23416 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23417 wxPrintPreview
*result
;
23418 PyObject
* obj0
= 0 ;
23419 PyObject
* obj1
= 0 ;
23420 PyObject
* obj2
= 0 ;
23422 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23425 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23428 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23432 if (!wxPyCheckForApp()) SWIG_fail
;
23433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23434 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23436 wxPyEndAllowThreads(__tstate
);
23437 if (PyErr_Occurred()) SWIG_fail
;
23439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23446 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23447 PyObject
*resultobj
;
23448 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23449 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23450 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23451 wxPrintPreview
*result
;
23452 PyObject
* obj0
= 0 ;
23453 PyObject
* obj1
= 0 ;
23454 PyObject
* obj2
= 0 ;
23456 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23459 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23461 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23464 if (!wxPyCheckForApp()) SWIG_fail
;
23465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23466 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23468 wxPyEndAllowThreads(__tstate
);
23469 if (PyErr_Occurred()) SWIG_fail
;
23471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23478 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
23483 argc
= PyObject_Length(args
);
23484 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23485 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23487 if ((argc
>= 2) && (argc
<= 3)) {
23491 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23501 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23510 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23514 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23522 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23531 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23541 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23551 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23559 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
23565 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
23570 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23571 PyObject
*resultobj
;
23572 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23575 PyObject
* obj0
= 0 ;
23576 PyObject
* obj1
= 0 ;
23577 char *kwnames
[] = {
23578 (char *) "self",(char *) "pageNum", NULL
23581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23584 arg2
= (int) SWIG_AsInt(obj1
);
23585 if (PyErr_Occurred()) SWIG_fail
;
23587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23588 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
23590 wxPyEndAllowThreads(__tstate
);
23591 if (PyErr_Occurred()) SWIG_fail
;
23594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23602 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23603 PyObject
*resultobj
;
23604 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23606 PyObject
* obj0
= 0 ;
23607 char *kwnames
[] = {
23608 (char *) "self", NULL
23611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
23612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23616 result
= (int)(arg1
)->GetCurrentPage();
23618 wxPyEndAllowThreads(__tstate
);
23619 if (PyErr_Occurred()) SWIG_fail
;
23621 resultobj
= SWIG_FromInt((int)result
);
23628 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23629 PyObject
*resultobj
;
23630 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23631 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23632 PyObject
* obj0
= 0 ;
23633 PyObject
* obj1
= 0 ;
23634 char *kwnames
[] = {
23635 (char *) "self",(char *) "printout", NULL
23638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
23639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23645 (arg1
)->SetPrintout(arg2
);
23647 wxPyEndAllowThreads(__tstate
);
23648 if (PyErr_Occurred()) SWIG_fail
;
23650 Py_INCREF(Py_None
); resultobj
= Py_None
;
23657 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23658 PyObject
*resultobj
;
23659 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23660 wxPyPrintout
*result
;
23661 PyObject
* obj0
= 0 ;
23662 char *kwnames
[] = {
23663 (char *) "self", NULL
23666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
23667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23671 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
23673 wxPyEndAllowThreads(__tstate
);
23674 if (PyErr_Occurred()) SWIG_fail
;
23677 resultobj
= wxPyMake_wxObject(result
);
23685 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23686 PyObject
*resultobj
;
23687 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23688 wxPyPrintout
*result
;
23689 PyObject
* obj0
= 0 ;
23690 char *kwnames
[] = {
23691 (char *) "self", NULL
23694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
23695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23699 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
23701 wxPyEndAllowThreads(__tstate
);
23702 if (PyErr_Occurred()) SWIG_fail
;
23705 resultobj
= wxPyMake_wxObject(result
);
23713 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23714 PyObject
*resultobj
;
23715 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23716 wxFrame
*arg2
= (wxFrame
*) 0 ;
23717 PyObject
* obj0
= 0 ;
23718 PyObject
* obj1
= 0 ;
23719 char *kwnames
[] = {
23720 (char *) "self",(char *) "frame", NULL
23723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
23724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23730 (arg1
)->SetFrame(arg2
);
23732 wxPyEndAllowThreads(__tstate
);
23733 if (PyErr_Occurred()) SWIG_fail
;
23735 Py_INCREF(Py_None
); resultobj
= Py_None
;
23742 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23743 PyObject
*resultobj
;
23744 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23745 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23746 PyObject
* obj0
= 0 ;
23747 PyObject
* obj1
= 0 ;
23748 char *kwnames
[] = {
23749 (char *) "self",(char *) "canvas", NULL
23752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23755 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23759 (arg1
)->SetCanvas(arg2
);
23761 wxPyEndAllowThreads(__tstate
);
23762 if (PyErr_Occurred()) SWIG_fail
;
23764 Py_INCREF(Py_None
); resultobj
= Py_None
;
23771 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23772 PyObject
*resultobj
;
23773 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23775 PyObject
* obj0
= 0 ;
23776 char *kwnames
[] = {
23777 (char *) "self", NULL
23780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
23781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23785 result
= (wxFrame
*)(arg1
)->GetFrame();
23787 wxPyEndAllowThreads(__tstate
);
23788 if (PyErr_Occurred()) SWIG_fail
;
23791 resultobj
= wxPyMake_wxObject(result
);
23799 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23800 PyObject
*resultobj
;
23801 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23802 wxPreviewCanvas
*result
;
23803 PyObject
* obj0
= 0 ;
23804 char *kwnames
[] = {
23805 (char *) "self", NULL
23808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
23809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23813 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
23815 wxPyEndAllowThreads(__tstate
);
23816 if (PyErr_Occurred()) SWIG_fail
;
23818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
23825 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23826 PyObject
*resultobj
;
23827 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23828 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23831 PyObject
* obj0
= 0 ;
23832 PyObject
* obj1
= 0 ;
23833 PyObject
* obj2
= 0 ;
23834 char *kwnames
[] = {
23835 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23841 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23843 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23844 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23846 if (arg3
== NULL
) {
23847 PyErr_SetString(PyExc_TypeError
,"null reference");
23851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23852 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
23854 wxPyEndAllowThreads(__tstate
);
23855 if (PyErr_Occurred()) SWIG_fail
;
23858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23866 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23867 PyObject
*resultobj
;
23868 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23869 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23872 PyObject
* obj0
= 0 ;
23873 PyObject
* obj1
= 0 ;
23874 PyObject
* obj2
= 0 ;
23875 char *kwnames
[] = {
23876 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23882 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23884 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23885 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23887 if (arg3
== NULL
) {
23888 PyErr_SetString(PyExc_TypeError
,"null reference");
23892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23893 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
23895 wxPyEndAllowThreads(__tstate
);
23896 if (PyErr_Occurred()) SWIG_fail
;
23899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23907 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23908 PyObject
*resultobj
;
23909 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23912 PyObject
* obj0
= 0 ;
23913 PyObject
* obj1
= 0 ;
23914 char *kwnames
[] = {
23915 (char *) "self",(char *) "pageNum", NULL
23918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23921 arg2
= (int) SWIG_AsInt(obj1
);
23922 if (PyErr_Occurred()) SWIG_fail
;
23924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23925 result
= (bool)(arg1
)->RenderPage(arg2
);
23927 wxPyEndAllowThreads(__tstate
);
23928 if (PyErr_Occurred()) SWIG_fail
;
23931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23939 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23940 PyObject
*resultobj
;
23941 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23942 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23943 PyObject
* obj0
= 0 ;
23944 PyObject
* obj1
= 0 ;
23945 char *kwnames
[] = {
23946 (char *) "self",(char *) "canvas", NULL
23949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
23950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23952 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23956 (arg1
)->AdjustScrollbars(arg2
);
23958 wxPyEndAllowThreads(__tstate
);
23959 if (PyErr_Occurred()) SWIG_fail
;
23961 Py_INCREF(Py_None
); resultobj
= Py_None
;
23968 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23969 PyObject
*resultobj
;
23970 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23971 wxPrintDialogData
*result
;
23972 PyObject
* obj0
= 0 ;
23973 char *kwnames
[] = {
23974 (char *) "self", NULL
23977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23983 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23984 result
= (wxPrintDialogData
*) &_result_ref
;
23987 wxPyEndAllowThreads(__tstate
);
23988 if (PyErr_Occurred()) SWIG_fail
;
23990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23997 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23998 PyObject
*resultobj
;
23999 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24001 PyObject
* obj0
= 0 ;
24002 PyObject
* obj1
= 0 ;
24003 char *kwnames
[] = {
24004 (char *) "self",(char *) "percent", NULL
24007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24010 arg2
= (int) SWIG_AsInt(obj1
);
24011 if (PyErr_Occurred()) SWIG_fail
;
24013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24014 (arg1
)->SetZoom(arg2
);
24016 wxPyEndAllowThreads(__tstate
);
24017 if (PyErr_Occurred()) SWIG_fail
;
24019 Py_INCREF(Py_None
); resultobj
= Py_None
;
24026 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24027 PyObject
*resultobj
;
24028 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24030 PyObject
* obj0
= 0 ;
24031 char *kwnames
[] = {
24032 (char *) "self", NULL
24035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
24036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24040 result
= (int)(arg1
)->GetZoom();
24042 wxPyEndAllowThreads(__tstate
);
24043 if (PyErr_Occurred()) SWIG_fail
;
24045 resultobj
= SWIG_FromInt((int)result
);
24052 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24053 PyObject
*resultobj
;
24054 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24056 PyObject
* obj0
= 0 ;
24057 char *kwnames
[] = {
24058 (char *) "self", NULL
24061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
24062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24066 result
= (int)(arg1
)->GetMaxPage();
24068 wxPyEndAllowThreads(__tstate
);
24069 if (PyErr_Occurred()) SWIG_fail
;
24071 resultobj
= SWIG_FromInt((int)result
);
24078 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24079 PyObject
*resultobj
;
24080 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24082 PyObject
* obj0
= 0 ;
24083 char *kwnames
[] = {
24084 (char *) "self", NULL
24087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
24088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24092 result
= (int)(arg1
)->GetMinPage();
24094 wxPyEndAllowThreads(__tstate
);
24095 if (PyErr_Occurred()) SWIG_fail
;
24097 resultobj
= SWIG_FromInt((int)result
);
24104 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24105 PyObject
*resultobj
;
24106 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24108 PyObject
* obj0
= 0 ;
24109 char *kwnames
[] = {
24110 (char *) "self", NULL
24113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
24114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24118 result
= (bool)(arg1
)->Ok();
24120 wxPyEndAllowThreads(__tstate
);
24121 if (PyErr_Occurred()) SWIG_fail
;
24124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24132 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24133 PyObject
*resultobj
;
24134 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24136 PyObject
* obj0
= 0 ;
24137 PyObject
* obj1
= 0 ;
24138 char *kwnames
[] = {
24139 (char *) "self",(char *) "ok", NULL
24142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
24143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24145 arg2
= (bool) SWIG_AsBool(obj1
);
24146 if (PyErr_Occurred()) SWIG_fail
;
24148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24149 (arg1
)->SetOk(arg2
);
24151 wxPyEndAllowThreads(__tstate
);
24152 if (PyErr_Occurred()) SWIG_fail
;
24154 Py_INCREF(Py_None
); resultobj
= Py_None
;
24161 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24162 PyObject
*resultobj
;
24163 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24166 PyObject
* obj0
= 0 ;
24167 PyObject
* obj1
= 0 ;
24168 char *kwnames
[] = {
24169 (char *) "self",(char *) "interactive", NULL
24172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24175 arg2
= (bool) SWIG_AsBool(obj1
);
24176 if (PyErr_Occurred()) SWIG_fail
;
24178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24179 result
= (bool)(arg1
)->Print(arg2
);
24181 wxPyEndAllowThreads(__tstate
);
24182 if (PyErr_Occurred()) SWIG_fail
;
24185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24193 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24194 PyObject
*resultobj
;
24195 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24196 PyObject
* obj0
= 0 ;
24197 char *kwnames
[] = {
24198 (char *) "self", NULL
24201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24206 (arg1
)->DetermineScaling();
24208 wxPyEndAllowThreads(__tstate
);
24209 if (PyErr_Occurred()) SWIG_fail
;
24211 Py_INCREF(Py_None
); resultobj
= Py_None
;
24218 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
24220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24221 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
24223 return Py_BuildValue((char *)"");
24225 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
24226 PyObject
*resultobj
;
24227 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24228 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24229 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
24230 wxPyPrintPreview
*result
;
24231 PyObject
* obj0
= 0 ;
24232 PyObject
* obj1
= 0 ;
24233 PyObject
* obj2
= 0 ;
24235 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24238 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24241 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
24242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24245 if (!wxPyCheckForApp()) SWIG_fail
;
24246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24247 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24249 wxPyEndAllowThreads(__tstate
);
24250 if (PyErr_Occurred()) SWIG_fail
;
24252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24259 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
24260 PyObject
*resultobj
;
24261 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24262 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24263 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
24264 wxPyPrintPreview
*result
;
24265 PyObject
* obj0
= 0 ;
24266 PyObject
* obj1
= 0 ;
24267 PyObject
* obj2
= 0 ;
24269 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24272 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24274 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
24275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24277 if (!wxPyCheckForApp()) SWIG_fail
;
24278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24279 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24281 wxPyEndAllowThreads(__tstate
);
24282 if (PyErr_Occurred()) SWIG_fail
;
24284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24291 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
24296 argc
= PyObject_Length(args
);
24297 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
24298 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24300 if ((argc
>= 2) && (argc
<= 3)) {
24304 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24314 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24323 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24327 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
24335 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24344 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24354 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24364 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
24372 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
24378 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
24383 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24384 PyObject
*resultobj
;
24385 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24386 PyObject
*arg2
= (PyObject
*) 0 ;
24387 PyObject
*arg3
= (PyObject
*) 0 ;
24388 PyObject
* obj0
= 0 ;
24389 PyObject
* obj1
= 0 ;
24390 PyObject
* obj2
= 0 ;
24391 char *kwnames
[] = {
24392 (char *) "self",(char *) "self",(char *) "_class", NULL
24395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24402 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24404 wxPyEndAllowThreads(__tstate
);
24405 if (PyErr_Occurred()) SWIG_fail
;
24407 Py_INCREF(Py_None
); resultobj
= Py_None
;
24414 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24415 PyObject
*resultobj
;
24416 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24419 PyObject
* obj0
= 0 ;
24420 PyObject
* obj1
= 0 ;
24421 char *kwnames
[] = {
24422 (char *) "self",(char *) "pageNum", NULL
24425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24428 arg2
= (int) SWIG_AsInt(obj1
);
24429 if (PyErr_Occurred()) SWIG_fail
;
24431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24432 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
24434 wxPyEndAllowThreads(__tstate
);
24435 if (PyErr_Occurred()) SWIG_fail
;
24438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24446 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24447 PyObject
*resultobj
;
24448 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24449 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24452 PyObject
* obj0
= 0 ;
24453 PyObject
* obj1
= 0 ;
24454 PyObject
* obj2
= 0 ;
24455 char *kwnames
[] = {
24456 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24464 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24465 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24467 if (arg3
== NULL
) {
24468 PyErr_SetString(PyExc_TypeError
,"null reference");
24472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24473 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
24475 wxPyEndAllowThreads(__tstate
);
24476 if (PyErr_Occurred()) SWIG_fail
;
24479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24487 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24488 PyObject
*resultobj
;
24489 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24490 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24493 PyObject
* obj0
= 0 ;
24494 PyObject
* obj1
= 0 ;
24495 PyObject
* obj2
= 0 ;
24496 char *kwnames
[] = {
24497 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24505 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24506 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24508 if (arg3
== NULL
) {
24509 PyErr_SetString(PyExc_TypeError
,"null reference");
24513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24514 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
24516 wxPyEndAllowThreads(__tstate
);
24517 if (PyErr_Occurred()) SWIG_fail
;
24520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24528 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24529 PyObject
*resultobj
;
24530 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24533 PyObject
* obj0
= 0 ;
24534 PyObject
* obj1
= 0 ;
24535 char *kwnames
[] = {
24536 (char *) "self",(char *) "pageNum", NULL
24539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24542 arg2
= (int) SWIG_AsInt(obj1
);
24543 if (PyErr_Occurred()) SWIG_fail
;
24545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24546 result
= (bool)(arg1
)->base_RenderPage(arg2
);
24548 wxPyEndAllowThreads(__tstate
);
24549 if (PyErr_Occurred()) SWIG_fail
;
24552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24560 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24561 PyObject
*resultobj
;
24562 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24564 PyObject
* obj0
= 0 ;
24565 PyObject
* obj1
= 0 ;
24566 char *kwnames
[] = {
24567 (char *) "self",(char *) "percent", NULL
24570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24573 arg2
= (int) SWIG_AsInt(obj1
);
24574 if (PyErr_Occurred()) SWIG_fail
;
24576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24577 (arg1
)->base_SetZoom(arg2
);
24579 wxPyEndAllowThreads(__tstate
);
24580 if (PyErr_Occurred()) SWIG_fail
;
24582 Py_INCREF(Py_None
); resultobj
= Py_None
;
24589 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24590 PyObject
*resultobj
;
24591 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24594 PyObject
* obj0
= 0 ;
24595 PyObject
* obj1
= 0 ;
24596 char *kwnames
[] = {
24597 (char *) "self",(char *) "interactive", NULL
24600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24603 arg2
= (bool) SWIG_AsBool(obj1
);
24604 if (PyErr_Occurred()) SWIG_fail
;
24606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24607 result
= (bool)(arg1
)->base_Print(arg2
);
24609 wxPyEndAllowThreads(__tstate
);
24610 if (PyErr_Occurred()) SWIG_fail
;
24613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24621 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24622 PyObject
*resultobj
;
24623 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24624 PyObject
* obj0
= 0 ;
24625 char *kwnames
[] = {
24626 (char *) "self", NULL
24629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24634 (arg1
)->base_DetermineScaling();
24636 wxPyEndAllowThreads(__tstate
);
24637 if (PyErr_Occurred()) SWIG_fail
;
24639 Py_INCREF(Py_None
); resultobj
= Py_None
;
24646 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
24648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24649 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
24651 return Py_BuildValue((char *)"");
24653 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24654 PyObject
*resultobj
;
24655 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24656 wxFrame
*arg2
= (wxFrame
*) 0 ;
24657 wxString
*arg3
= 0 ;
24658 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24659 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24660 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24661 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24662 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
24663 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
24664 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24665 wxPyPreviewFrame
*result
;
24666 bool temp3
= False
;
24669 bool temp7
= False
;
24670 PyObject
* obj0
= 0 ;
24671 PyObject
* obj1
= 0 ;
24672 PyObject
* obj2
= 0 ;
24673 PyObject
* obj3
= 0 ;
24674 PyObject
* obj4
= 0 ;
24675 PyObject
* obj5
= 0 ;
24676 PyObject
* obj6
= 0 ;
24677 char *kwnames
[] = {
24678 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24684 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24687 arg3
= wxString_in_helper(obj2
);
24688 if (arg3
== NULL
) SWIG_fail
;
24694 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24700 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24704 arg6
= (long) SWIG_AsLong(obj5
);
24705 if (PyErr_Occurred()) SWIG_fail
;
24709 arg7
= wxString_in_helper(obj6
);
24710 if (arg7
== NULL
) SWIG_fail
;
24715 if (!wxPyCheckForApp()) SWIG_fail
;
24716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24717 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24719 wxPyEndAllowThreads(__tstate
);
24720 if (PyErr_Occurred()) SWIG_fail
;
24722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
24745 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24746 PyObject
*resultobj
;
24747 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24748 PyObject
*arg2
= (PyObject
*) 0 ;
24749 PyObject
*arg3
= (PyObject
*) 0 ;
24750 PyObject
* obj0
= 0 ;
24751 PyObject
* obj1
= 0 ;
24752 PyObject
* obj2
= 0 ;
24753 char *kwnames
[] = {
24754 (char *) "self",(char *) "self",(char *) "_class", NULL
24757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24764 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24766 wxPyEndAllowThreads(__tstate
);
24767 if (PyErr_Occurred()) SWIG_fail
;
24769 Py_INCREF(Py_None
); resultobj
= Py_None
;
24776 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24777 PyObject
*resultobj
;
24778 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24779 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24780 PyObject
* obj0
= 0 ;
24781 PyObject
* obj1
= 0 ;
24782 char *kwnames
[] = {
24783 (char *) "self",(char *) "canvas", NULL
24786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24789 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24793 (arg1
)->SetPreviewCanvas(arg2
);
24795 wxPyEndAllowThreads(__tstate
);
24796 if (PyErr_Occurred()) SWIG_fail
;
24798 Py_INCREF(Py_None
); resultobj
= Py_None
;
24805 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24806 PyObject
*resultobj
;
24807 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24808 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
24809 PyObject
* obj0
= 0 ;
24810 PyObject
* obj1
= 0 ;
24811 char *kwnames
[] = {
24812 (char *) "self",(char *) "bar", NULL
24815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
24816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24818 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
24819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24822 (arg1
)->SetControlBar(arg2
);
24824 wxPyEndAllowThreads(__tstate
);
24825 if (PyErr_Occurred()) SWIG_fail
;
24827 Py_INCREF(Py_None
); resultobj
= Py_None
;
24834 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24835 PyObject
*resultobj
;
24836 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24837 PyObject
* obj0
= 0 ;
24838 char *kwnames
[] = {
24839 (char *) "self", NULL
24842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
24843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24847 (arg1
)->base_Initialize();
24849 wxPyEndAllowThreads(__tstate
);
24850 if (PyErr_Occurred()) SWIG_fail
;
24852 Py_INCREF(Py_None
); resultobj
= Py_None
;
24859 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24860 PyObject
*resultobj
;
24861 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24862 PyObject
* obj0
= 0 ;
24863 char *kwnames
[] = {
24864 (char *) "self", NULL
24867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
24868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24872 (arg1
)->base_CreateCanvas();
24874 wxPyEndAllowThreads(__tstate
);
24875 if (PyErr_Occurred()) SWIG_fail
;
24877 Py_INCREF(Py_None
); resultobj
= Py_None
;
24884 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24885 PyObject
*resultobj
;
24886 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24887 PyObject
* obj0
= 0 ;
24888 char *kwnames
[] = {
24889 (char *) "self", NULL
24892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
24893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24897 (arg1
)->base_CreateControlBar();
24899 wxPyEndAllowThreads(__tstate
);
24900 if (PyErr_Occurred()) SWIG_fail
;
24902 Py_INCREF(Py_None
); resultobj
= Py_None
;
24909 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
24911 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24912 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
24914 return Py_BuildValue((char *)"");
24916 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24917 PyObject
*resultobj
;
24918 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24920 wxWindow
*arg3
= (wxWindow
*) 0 ;
24921 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24922 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24923 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24924 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24925 long arg6
= (long) 0 ;
24926 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24927 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24928 wxPyPreviewControlBar
*result
;
24931 bool temp7
= False
;
24932 PyObject
* obj0
= 0 ;
24933 PyObject
* obj1
= 0 ;
24934 PyObject
* obj2
= 0 ;
24935 PyObject
* obj3
= 0 ;
24936 PyObject
* obj4
= 0 ;
24937 PyObject
* obj5
= 0 ;
24938 PyObject
* obj6
= 0 ;
24939 char *kwnames
[] = {
24940 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24946 arg2
= (long) SWIG_AsLong(obj1
);
24947 if (PyErr_Occurred()) SWIG_fail
;
24948 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
24949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24953 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24959 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24963 arg6
= (long) SWIG_AsLong(obj5
);
24964 if (PyErr_Occurred()) SWIG_fail
;
24968 arg7
= wxString_in_helper(obj6
);
24969 if (arg7
== NULL
) SWIG_fail
;
24974 if (!wxPyCheckForApp()) SWIG_fail
;
24975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24976 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24978 wxPyEndAllowThreads(__tstate
);
24979 if (PyErr_Occurred()) SWIG_fail
;
24981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
24996 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24997 PyObject
*resultobj
;
24998 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24999 PyObject
*arg2
= (PyObject
*) 0 ;
25000 PyObject
*arg3
= (PyObject
*) 0 ;
25001 PyObject
* obj0
= 0 ;
25002 PyObject
* obj1
= 0 ;
25003 PyObject
* obj2
= 0 ;
25004 char *kwnames
[] = {
25005 (char *) "self",(char *) "self",(char *) "_class", NULL
25008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25015 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25017 wxPyEndAllowThreads(__tstate
);
25018 if (PyErr_Occurred()) SWIG_fail
;
25020 Py_INCREF(Py_None
); resultobj
= Py_None
;
25027 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25028 PyObject
*resultobj
;
25029 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25030 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
25031 PyObject
* obj0
= 0 ;
25032 PyObject
* obj1
= 0 ;
25033 char *kwnames
[] = {
25034 (char *) "self",(char *) "preview", NULL
25037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
25038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25040 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
25041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25044 (arg1
)->SetPrintPreview(arg2
);
25046 wxPyEndAllowThreads(__tstate
);
25047 if (PyErr_Occurred()) SWIG_fail
;
25049 Py_INCREF(Py_None
); resultobj
= Py_None
;
25056 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25057 PyObject
*resultobj
;
25058 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25059 PyObject
* obj0
= 0 ;
25060 char *kwnames
[] = {
25061 (char *) "self", NULL
25064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
25065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25069 (arg1
)->base_CreateButtons();
25071 wxPyEndAllowThreads(__tstate
);
25072 if (PyErr_Occurred()) SWIG_fail
;
25074 Py_INCREF(Py_None
); resultobj
= Py_None
;
25081 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25082 PyObject
*resultobj
;
25083 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25085 PyObject
* obj0
= 0 ;
25086 PyObject
* obj1
= 0 ;
25087 char *kwnames
[] = {
25088 (char *) "self",(char *) "zoom", NULL
25091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25094 arg2
= (int) SWIG_AsInt(obj1
);
25095 if (PyErr_Occurred()) SWIG_fail
;
25097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25098 (arg1
)->base_SetZoomControl(arg2
);
25100 wxPyEndAllowThreads(__tstate
);
25101 if (PyErr_Occurred()) SWIG_fail
;
25103 Py_INCREF(Py_None
); resultobj
= Py_None
;
25110 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
25112 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25113 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
25115 return Py_BuildValue((char *)"");
25117 static PyMethodDef SwigMethods
[] = {
25118 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
25119 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
25120 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
25121 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25122 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25123 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
25124 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25125 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25126 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25127 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
25128 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
25129 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
25130 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
25131 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
25132 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
25133 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
25134 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
25135 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
25136 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25137 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25138 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
25139 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
25140 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
25141 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
25142 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
25143 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
25144 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
25145 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
25146 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25147 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
25148 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
25149 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
25150 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
25151 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
25152 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
25153 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
25154 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
25155 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
25156 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
25157 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
25158 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
25159 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
25160 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
25161 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
25162 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
25163 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
25164 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25165 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
25166 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
25167 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
25168 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
25169 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
25170 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
25171 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
25172 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
25173 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25174 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
25175 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25176 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25177 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
25178 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
25179 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25180 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25181 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25182 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
25183 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
25184 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25185 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
25186 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
25187 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
25188 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
25189 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
25190 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
25191 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
25192 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
25193 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
25194 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25195 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
25196 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25197 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
25198 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
25199 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
25200 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25201 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
25202 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
25203 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25204 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25205 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
25206 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
25207 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
25208 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
25209 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
25210 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
25211 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
25212 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
25213 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
25214 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
25215 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
25216 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25217 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25218 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25219 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25220 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
25221 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
25222 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
25223 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
25224 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
25225 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25226 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
25227 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
25228 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
25229 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25230 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
25231 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
25232 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
25233 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
25234 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25235 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
25236 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
25237 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
25238 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
25239 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
},
25240 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
25241 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
25242 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25243 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
25244 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25245 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
25246 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
25247 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
25248 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
25249 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
25250 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
25251 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
25252 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
25253 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25254 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
25255 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
25256 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
25257 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
25258 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
25259 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
25260 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
25261 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
25262 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
25263 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
25264 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25265 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
25266 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
25267 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
25268 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
25269 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
25270 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25271 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25272 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25273 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25274 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
25275 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
25276 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
25277 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
25278 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
25279 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
25280 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
25281 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
25282 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
25283 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
25284 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
25285 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
25286 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
25287 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
25288 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
25289 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
25290 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
25291 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
25292 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
25293 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
25294 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
25295 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
25296 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25297 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25298 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
25299 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
25300 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25301 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25302 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25303 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25304 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
25305 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
25306 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25307 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25308 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
25309 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
25310 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
25311 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
25312 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
25313 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25314 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25315 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25316 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25317 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
25318 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25319 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
25320 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
25321 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
25322 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
25323 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
25324 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
25325 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
25326 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
25327 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
25328 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25329 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
25330 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
25331 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25332 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25333 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25334 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
25335 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
25336 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
25337 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
25338 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
25339 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
25340 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
25341 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25342 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25343 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25344 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25345 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
25346 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
25347 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
25348 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
25349 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
25350 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
25351 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
25352 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
25353 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
25354 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
25355 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
25356 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
25357 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
25358 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
25359 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
25360 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
25361 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25362 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25363 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25364 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
25365 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25366 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
25367 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
25368 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
25369 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
25370 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
25371 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
25372 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
25373 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25374 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
25375 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25376 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
25377 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
25378 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
25379 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
25380 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
25381 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
25382 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
25383 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
25384 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
25385 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
25386 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
25387 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25388 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25389 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
25390 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25391 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
},
25392 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
25393 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
25394 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
25395 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
25396 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
25397 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
25398 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
25399 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
25400 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
25401 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
25402 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
25403 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
25404 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
25405 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
25406 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
25407 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25408 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
25409 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
25410 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25411 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
25412 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
25413 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
25414 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
25415 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
25416 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
25417 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
25418 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25419 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25420 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25421 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
25422 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
25423 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
25424 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25425 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
25426 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
25427 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25428 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
25429 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25430 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
25431 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25432 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
25433 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
25434 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25435 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
25436 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25437 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
25438 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
25439 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
25440 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
25441 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25442 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
25443 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
25444 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
25445 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25446 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25447 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
25448 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25449 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
25450 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
25451 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25452 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25453 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
25454 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
25455 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
25456 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
25457 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
25458 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25459 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
25460 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
25461 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
25462 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
25463 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
25464 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
25465 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25466 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
25467 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
25468 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
25469 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
25470 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
25471 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
25472 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
25473 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
25474 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
25475 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
25476 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
25477 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
25478 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
25479 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
25480 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25481 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25482 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25483 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
25484 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25485 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25486 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25487 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
25488 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
25489 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
25490 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25491 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25492 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25493 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25494 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25495 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25496 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
25497 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25498 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25499 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
25500 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25501 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25502 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
25503 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
25504 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
25505 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25506 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
25507 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
25508 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
25509 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
25510 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
25511 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25512 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25513 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_GetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
25514 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
25515 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction
) _wrap_MDIParentFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25516 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
25517 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
25518 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
25519 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
25520 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25521 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
25522 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
25523 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
25524 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
25525 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25526 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25527 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25528 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
25529 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
25530 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
},
25531 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25532 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25533 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25534 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25535 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25536 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25537 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25538 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25539 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25540 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25541 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25542 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25543 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25544 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25545 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25546 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25547 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25548 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25549 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25550 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25551 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25552 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25553 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25554 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
25555 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
25556 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
},
25557 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25558 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25559 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25560 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25561 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25562 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25563 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25564 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25565 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25566 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25567 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25568 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25569 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25570 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25571 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25572 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25573 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25574 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25575 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25576 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25577 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25578 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25579 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25580 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
25581 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25582 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25583 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25584 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25585 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25586 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25587 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25588 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25589 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25590 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25591 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25592 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25593 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25594 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25595 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25596 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25597 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25598 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25599 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25600 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25601 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25602 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25603 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25604 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25605 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25606 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
},
25607 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
},
25608 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
25609 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25610 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25611 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25612 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25613 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
25614 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25615 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
25616 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25617 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25618 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
25619 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25620 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25621 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25622 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
25623 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25624 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
25625 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25626 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25627 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
25628 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
25629 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
25630 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
25631 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25632 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
25633 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25634 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25635 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
25636 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
25637 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
25638 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
25639 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
25640 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
25641 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25642 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
25643 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25644 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25645 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
25646 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
25647 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
25648 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
25649 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
25650 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
25651 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
25652 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
25653 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
},
25654 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25655 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25656 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25657 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25658 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25659 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25660 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25661 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25662 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25663 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25664 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25665 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25666 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25667 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25668 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25669 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25670 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25671 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25672 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25673 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25674 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25675 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25676 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25677 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25678 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25679 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25680 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25681 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25682 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25683 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25684 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
25685 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25686 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
25687 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25688 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
25689 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
},
25690 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25691 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25692 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25693 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25694 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25695 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25696 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25697 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25698 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25699 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25700 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25701 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25702 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25703 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25704 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25705 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25706 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25707 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25708 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25709 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25710 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25711 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25712 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25713 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25714 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25715 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25716 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25717 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25718 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25719 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25720 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25721 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25722 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
25723 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25724 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25725 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
25726 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25727 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
25728 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25729 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25730 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
25731 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25732 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
25733 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25734 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
25735 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
25736 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
25737 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
25738 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
25739 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
25740 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25741 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
25742 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
25743 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
25744 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25745 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25746 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25747 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25748 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25749 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25750 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25751 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25752 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25753 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25754 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
25755 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
25756 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25757 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25758 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
25759 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
25760 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
25761 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
25762 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25763 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
25764 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25765 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25766 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25767 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25768 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25769 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
25770 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25771 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25772 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25773 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25774 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
25775 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
25776 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
25777 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
25778 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
25779 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
25780 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
},
25781 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25782 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25783 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25784 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25785 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25786 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25787 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25788 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25789 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25790 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25791 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25792 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25793 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
25794 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25795 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25796 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25797 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25798 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25799 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25800 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
25801 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
25802 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25803 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
25804 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
},
25805 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25806 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25807 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25808 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25809 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25810 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25811 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
25812 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25813 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
25814 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25815 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25816 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25817 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25818 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25819 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25820 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25821 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
25822 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25823 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25824 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25825 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
25826 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25827 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
25832 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25834 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
25835 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25837 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25838 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25840 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25841 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25843 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25844 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25846 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25847 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25849 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25850 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25852 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25853 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25855 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
25856 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25858 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25859 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25861 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25862 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25864 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
25865 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25867 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25868 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25870 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25871 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25873 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
25874 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25876 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25877 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25879 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25880 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25882 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25883 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25885 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25886 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25888 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25889 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25891 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25892 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25894 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25895 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25897 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25898 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25900 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25901 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25903 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25904 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25906 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25907 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25909 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25910 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25912 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25913 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25915 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25916 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25918 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25919 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25921 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25922 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25924 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25925 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25927 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25928 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25930 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
25931 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
25933 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
25934 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25936 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25937 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25939 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25940 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25942 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25943 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25945 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25946 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25948 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25949 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25951 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25952 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25954 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25955 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25957 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
25958 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25960 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
25961 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25963 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
25964 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25966 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
25967 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25969 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
25970 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25972 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25973 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25975 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25976 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25978 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25979 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25981 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25982 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25984 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
25985 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25987 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
25988 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25990 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
25991 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25993 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
25994 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25996 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
25997 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25999 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
26000 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26002 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
26003 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26005 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
26006 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
26008 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
26009 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
26011 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
26012 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26014 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
26015 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26017 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
26018 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26020 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
26021 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
26023 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
26024 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26026 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
26027 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
26029 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
26030 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
26032 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
26033 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
26035 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
26036 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
26038 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
26039 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26041 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
26042 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
26044 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
26045 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
26047 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
26048 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26050 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
26051 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
26053 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
26054 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26056 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
26057 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26059 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
26060 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26062 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
26063 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
26065 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
26066 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26068 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
26069 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
26071 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
26072 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26074 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
26075 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26077 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
26078 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26080 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
26081 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26083 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
26084 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26086 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
26087 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
26089 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
26090 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26092 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
26093 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26095 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
26096 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26098 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
26099 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26101 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
26102 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26104 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
26105 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26107 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
26108 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26110 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
26111 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26113 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
26114 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26116 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
26117 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
26119 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
26120 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
26122 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
26123 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
26125 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
26126 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26128 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
26129 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
26131 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
26132 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
26134 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
26135 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
26137 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
26138 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
26140 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
26141 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
26143 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
26144 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26146 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
26147 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26149 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
26150 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
26152 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
26153 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
26155 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
26156 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
26158 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
26159 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
26161 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
26162 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26164 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
26165 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
26167 static void *_p_wxSizerTo_p_wxObject(void *x
) {
26168 return (void *)((wxObject
*) ((wxSizer
*) x
));
26170 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
26171 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26173 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
26174 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26176 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
26177 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26179 static void *_p_wxEventTo_p_wxObject(void *x
) {
26180 return (void *)((wxObject
*) ((wxEvent
*) x
));
26182 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
26183 return (void *)((wxObject
*) ((wxFontData
*) x
));
26185 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
26186 return (void *)((wxObject
*) ((wxPrintData
*) x
));
26188 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
26189 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26191 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
26192 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
26194 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
26195 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
26197 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
26198 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
26200 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
26201 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
26203 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
26204 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26206 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
26207 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
26209 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
26210 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
26212 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
26213 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26215 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
26216 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26218 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
26219 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26221 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
26222 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26224 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
26225 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26227 static void *_p_wxControlTo_p_wxObject(void *x
) {
26228 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26230 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26231 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26233 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
26234 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26236 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26237 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26239 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
26240 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
26242 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26243 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26245 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
26246 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26248 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
26249 return (void *)((wxObject
*) ((wxColourData
*) x
));
26251 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
26252 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
26254 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
26255 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26257 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
26258 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
26260 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
26261 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26263 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
26264 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26266 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
26267 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26269 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
26270 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26272 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
26273 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26275 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
26276 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26278 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
26279 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26281 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
26282 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26284 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
26285 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
26287 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
26288 return (void *)((wxObject
*) ((wxPrinter
*) x
));
26290 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
26291 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
26293 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
26294 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
26296 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
26297 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26299 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
26300 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26302 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
26303 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
26305 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
26306 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
26308 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
26309 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
26311 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
26312 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
26314 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
26315 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
26317 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
26318 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
26320 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
26321 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
26323 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
26324 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
26326 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
26327 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
26329 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
26330 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26332 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26333 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26335 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26336 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26338 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26339 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26341 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26342 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26344 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26345 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26347 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26348 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26350 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26351 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26353 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26354 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26356 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
26357 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26359 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
26360 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26362 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
26363 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26365 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
26366 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
26368 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
26369 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26371 static void *_p_wxImageTo_p_wxObject(void *x
) {
26372 return (void *)((wxObject
*) ((wxImage
*) x
));
26374 static void *_p_wxFrameTo_p_wxObject(void *x
) {
26375 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26377 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
26378 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
26380 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26381 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26383 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
26384 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26386 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
26387 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
26389 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
26390 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26392 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26393 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26395 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26396 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26398 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26399 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26401 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26402 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26404 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26405 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26407 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26408 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26410 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
26411 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26413 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
26414 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
26416 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
26417 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
26419 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
26420 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
26422 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
26423 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
26425 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
26426 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26428 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
26429 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
26431 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
26432 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26434 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
26435 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26437 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
26438 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26440 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
26441 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
26443 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
26444 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26446 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
26447 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
26449 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
26450 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
26452 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
26453 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26455 static void *_p_wxPanelTo_p_wxObject(void *x
) {
26456 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
26458 static void *_p_wxDialogTo_p_wxObject(void *x
) {
26459 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26461 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
26462 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26464 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
26465 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26467 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
26468 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26470 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
26471 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26473 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
26474 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26476 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26477 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26479 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26480 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26482 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26483 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26485 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26486 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26488 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26489 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26491 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26492 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26494 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26495 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26497 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26498 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26500 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26501 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26503 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
26504 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26506 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
26507 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26509 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26510 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26512 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26513 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26515 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26516 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26518 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26519 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26521 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
26522 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
26524 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
26525 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
26527 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26528 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26530 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26531 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26533 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26534 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26536 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26537 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26539 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
26540 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26542 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
26543 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26545 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
26546 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26548 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
26549 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26551 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
26552 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
26554 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
26555 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
26557 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
26558 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
26560 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
26561 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
26563 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
26564 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
26566 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
26567 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
26569 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
26570 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
26572 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
26573 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
26575 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
26576 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
26578 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
26579 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
26581 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
26582 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
26584 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
26585 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
26587 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
26588 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
26590 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
26591 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
26593 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26594 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
26596 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26597 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26599 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26600 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26602 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
26603 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
26605 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26606 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
26608 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26609 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26611 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26612 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26614 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26615 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26617 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26618 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26620 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26621 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26623 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26624 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26626 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26627 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26629 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26630 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26632 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26633 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26635 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26636 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26638 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26639 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26641 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26642 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26644 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26645 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26647 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26648 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26650 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26651 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26653 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26654 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26656 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26657 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26659 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26660 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26662 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26663 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26665 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26666 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26668 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26669 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26671 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26672 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26674 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26675 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26677 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26678 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26680 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26681 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26683 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
26684 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26686 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26687 return (void *)((wxWindow
*) ((wxControl
*) x
));
26689 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26690 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26692 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26693 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26695 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26696 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26698 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26699 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26701 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26702 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26704 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26705 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26707 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26708 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26710 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26711 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26713 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26714 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26716 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26717 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26719 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26720 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26722 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26723 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26725 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26726 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26728 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26729 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26731 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26732 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26734 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26735 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26737 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
26738 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26740 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26741 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26743 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
26744 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26746 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26747 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26749 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
26750 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26752 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
26753 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
26755 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
26756 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
26758 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
26759 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
26761 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
26762 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
26764 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
26765 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
26767 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
26768 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
26770 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
26771 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26773 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
26774 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26776 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
26777 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
26779 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
26780 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
26782 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
26783 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
26785 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
26786 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
26788 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
26789 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26791 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
26792 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26794 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
26795 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26797 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
26798 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26800 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
26801 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
26803 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
26804 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26806 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
26807 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
26809 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
26810 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26812 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
26813 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26815 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
26816 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
26818 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
26819 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26821 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
26822 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26824 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
26825 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26827 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
26828 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26830 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
26831 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26833 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
26834 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26836 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
26837 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26839 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
26840 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26842 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
26843 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
26845 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
26846 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26848 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}};
26849 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}};
26850 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}};
26851 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}};
26852 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}};
26853 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}};
26854 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}};
26855 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}};
26856 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}};
26857 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}};
26858 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}};
26859 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}};
26860 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}};
26861 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}};
26862 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}};
26863 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}};
26864 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}};
26865 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}};
26866 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}};
26867 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}};
26868 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}};
26869 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}};
26870 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}};
26871 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}};
26872 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}};
26873 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}};
26874 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}};
26875 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}};
26876 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}};
26877 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}};
26878 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}};
26879 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}};
26880 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}};
26881 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}};
26882 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}};
26883 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}};
26884 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}};
26885 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}};
26886 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}};
26887 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}};
26888 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}};
26889 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}};
26890 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}};
26891 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}};
26892 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}};
26893 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}};
26894 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}};
26895 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}};
26896 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}};
26897 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}};
26898 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}};
26899 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}};
26900 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}};
26901 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}};
26902 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}};
26903 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}};
26904 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}};
26905 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}};
26906 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}};
26907 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}};
26908 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}};
26909 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}};
26910 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}};
26911 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}};
26912 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}};
26913 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}};
26914 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}};
26915 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}};
26916 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}};
26917 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}};
26918 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}};
26919 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}};
26920 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}};
26921 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}};
26922 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}};
26923 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}};
26924 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}};
26925 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}};
26926 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}};
26927 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}};
26928 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}};
26929 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}};
26930 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}};
26931 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}};
26932 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}};
26933 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}};
26935 static swig_type_info
*swig_types_initial
[] = {
26936 _swigt__p_wxQueryLayoutInfoEvent
,
26937 _swigt__p_wxPreviewFrame
,
26938 _swigt__p_wxPyPreviewFrame
,
26939 _swigt__p_wxPyPanel
,
26941 _swigt__p_wxPrintData
,
26942 _swigt__p_wxFontData
,
26944 _swigt__p_wxTaskBarIcon
,
26945 _swigt__p_wxIconBundle
,
26946 _swigt__p_wxLayoutAlgorithm
,
26947 _swigt__p_wxFindDialogEvent
,
26948 _swigt__p_wxPreviewCanvas
,
26950 _swigt__p_wxSplitterEvent
,
26951 _swigt__p_wxRegion
,
26952 _swigt__p_wxFindReplaceData
,
26957 _swigt__p_wxVisualAttributes
,
26958 _swigt__p_wxMDIChildFrame
,
26959 _swigt__p_wxColourData
,
26960 _swigt__p_wxNotifyEvent
,
26961 _swigt__p_wxPyWindow
,
26962 _swigt__p_wxSplashScreen
,
26963 _swigt__p_wxFindReplaceDialog
,
26964 _swigt__p_wxProgressDialog
,
26965 _swigt__p_wxMessageDialog
,
26966 _swigt__p_wxTextEntryDialog
,
26967 _swigt__p_wxSingleChoiceDialog
,
26968 _swigt__p_wxMultiChoiceDialog
,
26969 _swigt__p_wxFileDialog
,
26970 _swigt__p_wxPrinter
,
26971 _swigt__p_wxArrayInt
,
26972 _swigt__p_wxEvtHandler
,
26973 _swigt__p_wxCalculateLayoutEvent
,
26974 _swigt__p_wxPyHtmlListBox
,
26975 _swigt__p_wxPyVListBox
,
26978 _swigt__p_wxMiniFrame
,
26980 _swigt__p_wxPyPrintout
,
26981 _swigt__p_wxTaskBarIconEvent
,
26982 _swigt__p_wxScrollWinEvent
,
26983 _swigt__p_wxStatusBar
,
26984 _swigt__p_wxMDIParentFrame
,
26986 _swigt__p_wxObject
,
26987 _swigt__p_wxOutputStream
,
26988 _swigt__p_wxPyScrolledWindow
,
26989 _swigt__p_wxMDIClientWindow
,
26990 _swigt__p_wxTipWindow
,
26991 _swigt__p_wxSashLayoutWindow
,
26992 _swigt__p_wxSplitterWindow
,
26993 _swigt__p_wxSplashScreenWindow
,
26994 _swigt__p_wxPyVScrolledWindow
,
26995 _swigt__p_wxPyPopupTransientWindow
,
26996 _swigt__p_wxPopupWindow
,
26997 _swigt__p_wxSashWindow
,
26998 _swigt__p_wxTopLevelWindow
,
26999 _swigt__p_wxWindow
,
27000 _swigt__p_wxScrolledWindow
,
27001 _swigt__p_wxMenuBar
,
27002 _swigt__p_wxPrintPreview
,
27003 _swigt__p_wxSashEvent
,
27004 _swigt__p_wxString
,
27005 _swigt__p_wxPyPrintPreview
,
27006 _swigt__p_wxFontDialog
,
27007 _swigt__p_wxDirDialog
,
27008 _swigt__p_wxColourDialog
,
27009 _swigt__p_wxDialog
,
27011 _swigt__p_wxPageSetupDialog
,
27012 _swigt__p_wxPrintDialog
,
27013 _swigt__p_wxFileSystem
,
27014 _swigt__p_wxBitmap
,
27015 _swigt__p_wxCommandEvent
,
27016 _swigt__p_wxPreviewControlBar
,
27017 _swigt__p_wxPyPreviewControlBar
,
27018 _swigt__p_wxColour
,
27019 _swigt__p_wxToolBar
,
27020 _swigt__p_wxPageSetupDialogData
,
27021 _swigt__p_wxPrintDialogData
,
27026 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27028 static swig_const_info swig_const_table
[] = {
27038 SWIGEXPORT(void) SWIG_init(void) {
27039 static PyObject
*SWIG_globals
= 0;
27040 static int typeinit
= 0;
27043 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
27044 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
27045 d
= PyModule_GetDict(m
);
27048 for (i
= 0; swig_types_initial
[i
]; i
++) {
27049 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
27053 SWIG_InstallConstants(d
,swig_const_table
);
27055 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
27056 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
27057 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
27058 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
27059 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
27060 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
27061 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
27062 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
27063 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
27064 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
27065 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
27066 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
27067 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
27068 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
27069 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
27070 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
27071 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
27072 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
27073 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
27074 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
27075 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
27076 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
27077 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
27078 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
27079 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
27080 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
27081 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL
));
27082 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS
));
27083 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS
));
27084 PyDict_SetItemString(d
,"NO_3D", SWIG_FromInt((int)wxNO_3D
));
27085 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
27086 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
27087 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
27088 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
27089 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
27090 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
27091 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
27092 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
27093 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
27094 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
27095 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
27096 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
27097 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
27098 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
27099 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
27100 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
27101 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
27102 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
27103 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
27104 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
27105 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
27106 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
27107 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
27108 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
27109 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
27110 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
27111 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
27112 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
27113 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
27114 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
27115 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
27116 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
27117 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
27118 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
27119 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
27120 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
27121 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
27122 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
27123 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
27124 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
27125 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
27126 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
27127 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
27128 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
27129 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
27130 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
27131 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
27132 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
27133 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
27134 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
27135 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
27136 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
27137 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
27138 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
27139 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
27140 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
27141 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
27142 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
27143 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
27144 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
27145 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
27146 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
27147 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
27149 // Map renamed classes back to their common name for OOR
27150 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27151 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27152 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27154 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
27155 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
27156 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
27157 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
27158 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
27159 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
27160 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
27161 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
27162 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
27163 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
27164 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
27165 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
27166 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
27167 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
27168 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
27169 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
27170 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
27171 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
27172 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
27173 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
27174 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
27175 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
27176 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
27177 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
27178 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
27179 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
27180 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
27181 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
27182 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
27183 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
27184 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
27185 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
27186 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
27187 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
27188 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
27189 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
27190 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
27191 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
27192 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
27193 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
27194 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
27195 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
27196 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
27197 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
27198 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
27199 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
27200 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
27201 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
27202 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
27203 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
27204 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
27205 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
27206 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
27207 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
27208 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
27209 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
27210 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
27211 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
27212 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
27213 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
27215 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");