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);
128 /***********************************************************************
129 * pyrun.swg for wxPython
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
136 ************************************************************************/
144 #define SWIG_STATIC_INLINE static inline
146 #define SWIG_STATIC_INLINE static
149 SWIG_STATIC_INLINE
long
150 SPyObj_AsLong(PyObject
* obj
)
152 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
155 SWIG_STATIC_INLINE
unsigned long
156 SPyObj_AsUnsignedLong(PyObject
* obj
)
158 if (PyLong_Check(obj
)) {
159 return PyLong_AsUnsignedLong(obj
);
161 long i
= PyInt_AsLong(obj
);
162 if ( !PyErr_Occurred() && (i
< 0)) {
163 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
169 #if !defined(_MSC_VER)
170 SWIG_STATIC_INLINE PyObject
*
171 SPyObj_FromLongLong(long long value
)
173 return (value
> (long)(LONG_MAX
)) ?
174 PyLong_FromLongLong(value
) : PyInt_FromLong((long)value
);
178 SWIG_STATIC_INLINE PyObject
*
179 SPyObj_FromUnsignedLong(unsigned long value
)
181 return (value
> (unsigned long)(LONG_MAX
)) ?
182 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
185 #if !defined(_MSC_VER)
186 SWIG_STATIC_INLINE PyObject
*
187 SPyObj_FromUnsignedLongLong(unsigned long long value
)
189 return (value
> (unsigned long long)(LONG_MAX
)) ?
190 PyLong_FromUnsignedLongLong(value
) : PyInt_FromLong((long)value
);
194 SWIG_STATIC_INLINE
long
195 SPyObj_AsLongInRange(PyObject
* obj
, long min_value
, long max_value
)
197 long value
= SPyObj_AsLong(obj
);
198 if (!PyErr_Occurred()) {
199 if (value
< min_value
) {
200 PyErr_SetString(PyExc_OverflowError
,"value is smaller than type minimum");
201 } else if (value
> max_value
) {
202 PyErr_SetString(PyExc_OverflowError
,"value is greater than type maximum");
208 SWIG_STATIC_INLINE
unsigned long
209 SPyObj_AsUnsignedLongInRange(PyObject
*obj
, unsigned long max_value
)
211 unsigned long value
= SPyObj_AsUnsignedLong(obj
);
212 if (!PyErr_Occurred()) {
213 if (value
> max_value
) {
214 PyErr_SetString(PyExc_OverflowError
,"value is greater than type maximum");
220 SWIG_STATIC_INLINE
signed char
221 SPyObj_AsSignedChar(PyObject
*obj
) {
222 return (signed char)SPyObj_AsLongInRange(obj
, SCHAR_MIN
, SCHAR_MAX
);
225 SWIG_STATIC_INLINE
short
226 SPyObj_AsShort(PyObject
*obj
) {
227 return (short)SPyObj_AsLongInRange(obj
, SHRT_MIN
, SHRT_MAX
);
230 SWIG_STATIC_INLINE
int
231 SPyObj_AsInt(PyObject
*obj
) {
232 return SPyObj_AsLongInRange(obj
, INT_MIN
, INT_MAX
);
235 SWIG_STATIC_INLINE
unsigned char
236 SPyObj_AsUnsignedChar(PyObject
*obj
) {
237 return (unsigned char)SPyObj_AsUnsignedLongInRange(obj
, UCHAR_MAX
);
240 SWIG_STATIC_INLINE
unsigned short
241 SPyObj_AsUnsignedShort(PyObject
*obj
) {
242 return (unsigned short)SPyObj_AsUnsignedLongInRange(obj
, USHRT_MAX
);
245 SWIG_STATIC_INLINE
unsigned int
246 SPyObj_AsUnsignedInt(PyObject
*obj
) {
247 return SPyObj_AsUnsignedLongInRange(obj
, UINT_MAX
);
250 #if !defined(_MSC_VER)
251 SWIG_STATIC_INLINE
long long
252 SPyObj_AsLongLong(PyObject
*obj
) {
253 return PyInt_Check(obj
) ?
254 PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
);
257 SWIG_STATIC_INLINE
unsigned long long
258 SPyObj_AsUnsignedLongLong(PyObject
*obj
) {
259 return PyLong_Check(obj
) ?
260 PyLong_AsUnsignedLongLong(obj
) : SPyObj_AsUnsignedLong(obj
);
264 SWIG_STATIC_INLINE
double
265 SPyObj_AsDouble(PyObject
*obj
) {
266 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
267 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
270 SWIG_STATIC_INLINE
float
271 SPyObj_AsFloat(PyObject
*obj
) {
272 double value
= SPyObj_AsDouble(obj
);
273 if (!PyErr_Occurred()) {
274 if (value
< FLT_MIN
) {
275 PyErr_SetString(PyExc_OverflowError
,"float is smaller than flt_min");
276 } else if (value
> FLT_MAX
) {
277 PyErr_SetString(PyExc_OverflowError
,"float is greater than flt_max");
280 return (float) value
;
283 SWIG_STATIC_INLINE
char
284 SPyObj_AsChar(PyObject
*obj
) {
285 char c
= (PyString_Check(obj
) && PyString_Size(obj
) == 1) ?
286 PyString_AsString(obj
)[0]
287 : (char) SPyObj_AsLongInRange(obj
, CHAR_MIN
, CHAR_MAX
);
288 if (PyErr_Occurred()) {
290 PyErr_SetString(PyExc_TypeError
, "a char is required");
295 SWIG_STATIC_INLINE PyObject
*
296 SPyObj_FromChar(char c
) {
297 return PyString_FromStringAndSize(&c
,1);
300 SWIG_STATIC_INLINE PyObject
*
301 SPyObj_FromCharPtr(const char* cptr
) {
302 return cptr
? PyString_FromString(cptr
) : Py_BuildValue((char*)"");
305 SWIG_STATIC_INLINE
int
306 SPyObj_AsBool(PyObject
*obj
) {
307 return SPyObj_AsLong
/*Long*/(obj
) ? 1 : 0;
316 #define SWIG_PY_INT 1
317 #define SWIG_PY_FLOAT 2
318 #define SWIG_PY_STRING 3
319 #define SWIG_PY_POINTER 4
320 #define SWIG_PY_BINARY 5
322 /* Flags for pointer conversion */
324 #define SWIG_POINTER_EXCEPTION 0x1
325 #define SWIG_POINTER_DISOWN 0x2
327 /* Exception handling in wrappers */
328 #define SWIG_fail goto fail
330 /* Constant information structure */
331 typedef struct swig_const_info
{
337 swig_type_info
**ptype
;
340 /* Common SWIG API */
341 #define SWIG_ConvertPtr(obj, pp, type, flags) \
342 SWIG_Python_ConvertPtr(obj, pp, type, flags)
343 #define SWIG_NewPointerObj(p, type, flags) \
344 SWIG_Python_NewPointerObj(p, type, flags)
345 #define SWIG_MustGetPtr(p, type, argnum, flags) \
346 SWIG_Python_MustGetPtr(p, type, argnum, flags)
348 /* Python-specific SWIG API */
349 #define SWIG_newvarlink() \
350 SWIG_Python_newvarlink()
351 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
352 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
353 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
354 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
355 #define SWIG_NewPackedObj(ptr, sz, type) \
356 SWIG_Python_NewPackedObj(ptr, sz, type)
357 #define SWIG_InstallConstants(d, constants) \
358 SWIG_Python_InstallConstants(d, constants)
361 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
362 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
363 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
364 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
365 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
366 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
367 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
368 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
372 /* Contract support */
374 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
382 /* -------- TYPES TABLE (BEGIN) -------- */
384 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
385 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
386 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
387 #define SWIGTYPE_p_wxPyPanel swig_types[3]
388 #define SWIGTYPE_p_wxMenu swig_types[4]
389 #define SWIGTYPE_p_wxPrintData swig_types[5]
390 #define SWIGTYPE_p_wxFontData swig_types[6]
391 #define SWIGTYPE_p_wxEvent swig_types[7]
392 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
393 #define SWIGTYPE_p_wxIconBundle swig_types[9]
394 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
395 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
396 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
397 #define SWIGTYPE_p_wxFont swig_types[13]
398 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
399 #define SWIGTYPE_p_wxRegion swig_types[15]
400 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
401 #define SWIGTYPE_p_int swig_types[17]
402 #define SWIGTYPE_p_wxSize swig_types[18]
403 #define SWIGTYPE_p_wxDC swig_types[19]
404 #define SWIGTYPE_p_wxIcon swig_types[20]
405 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
406 #define SWIGTYPE_p_wxColourData swig_types[22]
407 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
408 #define SWIGTYPE_p_wxPyWindow swig_types[24]
409 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
410 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
411 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
412 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
413 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
414 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
415 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
416 #define SWIGTYPE_p_wxFileDialog swig_types[32]
417 #define SWIGTYPE_p_wxPrinter swig_types[33]
418 #define SWIGTYPE_p_wxArrayInt swig_types[34]
419 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
420 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
421 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
422 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
423 #define SWIGTYPE_p_wxRect swig_types[39]
424 #define SWIGTYPE_p_wxMiniFrame swig_types[40]
425 #define SWIGTYPE_p_wxFrame swig_types[41]
426 #define SWIGTYPE_p_wxPyPrintout swig_types[42]
427 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[43]
428 #define SWIGTYPE_p_wxScrollWinEvent swig_types[44]
429 #define SWIGTYPE_p_wxStatusBar swig_types[45]
430 #define SWIGTYPE_p_wxMDIParentFrame swig_types[46]
431 #define SWIGTYPE_p_wxPoint swig_types[47]
432 #define SWIGTYPE_p_wxObject swig_types[48]
433 #define SWIGTYPE_p_unsigned_long swig_types[49]
434 #define SWIGTYPE_p_wxMDIClientWindow swig_types[50]
435 #define SWIGTYPE_p_wxTipWindow swig_types[51]
436 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[52]
437 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[53]
438 #define SWIGTYPE_p_wxSplitterWindow swig_types[54]
439 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[55]
440 #define SWIGTYPE_p_wxPopupWindow swig_types[56]
441 #define SWIGTYPE_p_wxSashWindow swig_types[57]
442 #define SWIGTYPE_p_wxTopLevelWindow swig_types[58]
443 #define SWIGTYPE_p_wxWindow swig_types[59]
444 #define SWIGTYPE_p_wxScrolledWindow swig_types[60]
445 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[61]
446 #define SWIGTYPE_p_wxMenuBar swig_types[62]
447 #define SWIGTYPE_p_wxPrintPreview swig_types[63]
448 #define SWIGTYPE_p_wxSashEvent swig_types[64]
449 #define SWIGTYPE_p_wxString swig_types[65]
450 #define SWIGTYPE_p_wxPyPrintPreview swig_types[66]
451 #define SWIGTYPE_p_wxPageSetupDialog swig_types[67]
452 #define SWIGTYPE_p_wxFontDialog swig_types[68]
453 #define SWIGTYPE_p_wxDirDialog swig_types[69]
454 #define SWIGTYPE_p_wxColourDialog swig_types[70]
455 #define SWIGTYPE_p_wxDialog swig_types[71]
456 #define SWIGTYPE_p_wxPanel swig_types[72]
457 #define SWIGTYPE_p_wxPrintDialog swig_types[73]
458 #define SWIGTYPE_p_wxBitmap swig_types[74]
459 #define SWIGTYPE_p_wxCommandEvent swig_types[75]
460 #define SWIGTYPE_p_wxPreviewControlBar swig_types[76]
461 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[77]
462 #define SWIGTYPE_p_wxColour swig_types[78]
463 #define SWIGTYPE_p_wxToolBar swig_types[79]
464 #define SWIGTYPE_p_wxPrintDialogData swig_types[80]
465 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[81]
466 static swig_type_info
*swig_types
[83];
468 /* -------- TYPES TABLE (END) -------- */
471 /*-----------------------------------------------
472 @(target):= _windows.so
473 ------------------------------------------------*/
474 #define SWIG_init init_windows
476 #define SWIG_name "_windows"
478 #include "wx/wxPython/wxPython.h"
479 #include "wx/wxPython/pyclasses.h"
482 static const wxString
wxPyEmptyString(wxEmptyString
);
483 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
487 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
493 } else if (target
== Py_None
) {
497 if (!PyTuple_Check(target
)) {
499 target
= PyTuple_New(1);
500 PyTuple_SetItem(target
, 0, o2
);
503 PyTuple_SetItem(o3
, 0, o
);
506 target
= PySequence_Concat(o2
, o3
);
513 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
514 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
515 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
516 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
517 bool wxDialog_IsModalShowing(wxDialog
*self
){
521 return self
->IsModalShowing();
526 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
528 self
->GetFieldRect(i
, r
);
531 static const wxString
wxPySplitterNameStr(wxT("splitter"));
532 static const wxString
wxPySashNameStr(wxT("sashWindow"));
533 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
535 #include <wx/popupwin.h>
538 class wxPopupWindow
: public wxWindow
{
540 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
541 wxPopupWindow() { wxPyRaiseNotImplemented(); }
544 class wxPyPopupTransientWindow
: public wxPopupWindow
547 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
548 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
552 #include <wx/tipwin.h>
554 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
555 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
558 #include <wx/tipwin.h>
561 #include <wx/vscroll.h>
564 class wxPyVScrolledWindow
: public wxVScrolledWindow
566 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
568 wxPyVScrolledWindow() : wxVScrolledWindow() {}
570 wxPyVScrolledWindow(wxWindow
*parent
,
571 wxWindowID id
= wxID_ANY
,
572 const wxPoint
& pos
= wxDefaultPosition
,
573 const wxSize
& size
= wxDefaultSize
,
575 const wxString
& name
= wxPyPanelNameStr
)
576 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
579 // Overridable virtuals
581 // this function must be overridden in the derived class and it should
582 // return the height of the given line in pixels
583 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
586 // this function doesn't have to be overridden but it may be useful to do
587 // it if calculating the lines heights is a relatively expensive operation
588 // as it gives the user code a possibility to calculate several of them at
591 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
592 // shouldn't rely on the latter being called for all lines in the interval
593 // specified here. It is also possible that OnGetLineHeight() will be
594 // called for the lines outside of this interval, so this is really just a
595 // hint, not a promise.
597 // finally note that lineMin is inclusive, while lineMax is exclusive, as
599 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
602 // when the number of lines changes, we try to estimate the total height
603 // of all lines which is a rather expensive operation in terms of lines
604 // access, so if the user code may estimate the average height
605 // better/faster than we do, it should override this function to implement
608 // this function should return the best guess for the total height it may
610 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
613 // Also expose some other interesting protected methods
616 // find the index of the line we need to show at the top of the window such
617 // that the last (fully or partially) visible line is the given one
618 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
619 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
621 // get the total height of the lines between lineMin (inclusive) and
622 // lineMax (exclusive)
623 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
624 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
630 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
632 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
633 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
634 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
637 #include <wx/vlbox.h>
639 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
641 class wxPyVListBox
: public wxVListBox
643 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
645 wxPyVListBox() : wxVListBox() {}
647 wxPyVListBox(wxWindow
*parent
,
648 wxWindowID id
= wxID_ANY
,
649 const wxPoint
& pos
= wxDefaultPosition
,
650 const wxSize
& size
= wxDefaultSize
,
652 const wxString
& name
= wxPyVListBoxNameStr
)
653 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
656 // Overridable virtuals
658 // the derived class must implement this function to actually draw the item
659 // with the given index on the provided DC
660 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
661 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
664 // the derived class must implement this method to return the height of the
666 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
667 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
670 // this method may be used to draw separators between the lines; note that
671 // the rectangle may be modified, typically to deflate it a bit before
672 // passing to OnDrawItem()
674 // the base class version doesn't do anything
675 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
676 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
679 // this method is used to draw the items background and, maybe, a border
682 // the base class version implements a reasonable default behaviour which
683 // consists in drawing the selected item with the standard background
684 // colour and drawing a border around the item if it is either selected or
686 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
687 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
693 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
695 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
696 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
697 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
698 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
702 #include <wx/htmllbox.h>
705 class wxPyHtmlListBox
: public wxHtmlListBox
707 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
709 wxPyHtmlListBox() : wxHtmlListBox() {}
711 wxPyHtmlListBox(wxWindow
*parent
,
712 wxWindowID id
= wxID_ANY
,
713 const wxPoint
& pos
= wxDefaultPosition
,
714 const wxSize
& size
= wxDefaultSize
,
716 const wxString
& name
= wxPyVListBoxNameStr
)
717 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
720 // Overridable virtuals
722 // this method must be implemented in the derived class and should return
723 // the body (i.e. without <html>) of the HTML for the given item
724 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
726 // this function may be overridden to decorate HTML returned by OnGetItem()
727 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
730 // // this method allows to customize the selection appearance: it may be used
731 // // to specify the colour of the text which normally has the given colour
732 // // colFg when it is inside the selection
734 // // by default, the original colour is not used at all and all text has the
735 // // same (default for this system) colour inside selection
736 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
738 // // this is the same as GetSelectedTextColour() but allows to customize the
739 // // background colour -- this is even more rarely used as you can change it
740 // // globally using SetSelectionBackground()
741 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
748 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
750 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
751 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
758 // implement dummy classes and such for wxMac
760 class wxTaskBarIcon
: public wxEvtHandler
763 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
767 class wxTaskBarIconEvent
: public wxEvent
770 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
771 { wxPyRaiseNotImplemented(); }
772 virtual wxEvent
* Clone() const { return NULL
; }
776 wxEVT_TASKBAR_MOVE
= 0,
777 wxEVT_TASKBAR_LEFT_DOWN
= 0,
778 wxEVT_TASKBAR_LEFT_UP
= 0,
779 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
780 wxEVT_TASKBAR_RIGHT_UP
= 0,
781 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
782 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
786 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
787 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
788 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
789 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
790 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
791 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
792 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
794 self
->GetFilenames(arr
);
795 return wxArrayString2PyList_helper(arr
);
797 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
800 return wxArrayString2PyList_helper(arr
);
802 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
803 return wxArrayInt2PyList_helper(self
->GetSelections());
805 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
806 return new wxSingleChoiceDialog(parent
, message
, caption
,
807 choices
, choices_array
, NULL
, style
, pos
);
812 // C++ version of Python aware wxWindow
813 class wxPyWindow
: public wxWindow
815 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
817 wxPyWindow() : wxWindow() {}
818 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
819 const wxPoint
& pos
= wxDefaultPosition
,
820 const wxSize
& size
= wxDefaultSize
,
822 const wxString
& name
= wxPyPanelNameStr
)
823 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
826 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
827 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
828 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
829 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
831 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
832 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
833 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
835 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
836 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
838 DEC_PYCALLBACK__(InitDialog
);
839 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
840 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
841 DEC_PYCALLBACK_BOOL_(Validate
);
843 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
844 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
845 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
847 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
848 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
853 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
855 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
856 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
857 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
858 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
860 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
861 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
862 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
864 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
865 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
867 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
868 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
869 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
870 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
872 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
873 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
874 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
876 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
877 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
880 // C++ version of Python aware wxPanel
881 class wxPyPanel
: public wxPanel
883 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
885 wxPyPanel() : wxPanel() {}
886 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
887 const wxPoint
& pos
= wxDefaultPosition
,
888 const wxSize
& size
= wxDefaultSize
,
890 const wxString
& name
= wxPyPanelNameStr
)
891 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
894 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
895 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
896 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
897 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
899 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
900 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
901 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
903 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
904 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
906 DEC_PYCALLBACK__(InitDialog
);
907 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
908 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
909 DEC_PYCALLBACK_BOOL_(Validate
);
911 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
912 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
913 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
915 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
916 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
921 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
923 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
924 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
925 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
926 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
928 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
929 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
930 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
932 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
933 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
935 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
936 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
937 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
938 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
940 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
941 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
942 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
944 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
945 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
949 #include "wx/wxPython/printfw.h"
952 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
953 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
957 // Since this one would be tough and ugly to do with the Macros...
958 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
962 wxPyBeginBlockThreads();
963 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
964 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
965 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
968 val
= PyTuple_GetItem(result
, 0);
969 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
972 val
= PyTuple_GetItem(result
, 1);
973 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
976 val
= PyTuple_GetItem(result
, 2);
977 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
980 val
= PyTuple_GetItem(result
, 3);
981 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
988 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
993 wxPyEndBlockThreads();
995 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
998 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
999 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1003 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1004 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1005 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1006 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1007 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1008 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1009 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1015 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1016 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1017 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1020 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1021 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1024 wxPyBeginBlockThreads(); \
1025 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1026 PyObject* win = wxPyMake_wxObject(a); \
1027 PyObject* dc = wxPyMake_wxObject(&b); \
1028 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1032 wxPyEndBlockThreads(); \
1034 rval = PCLASS::CBNAME(a, b); \
1037 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1038 return PCLASS::CBNAME(a, b); \
1044 class wxPyPrintPreview
: public wxPrintPreview
1046 DECLARE_CLASS(wxPyPrintPreview
)
1048 wxPyPrintPreview(wxPyPrintout
* printout
,
1049 wxPyPrintout
* printoutForPrinting
,
1050 wxPrintData
* data
=NULL
)
1051 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1054 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1055 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1056 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1057 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1058 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1059 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1060 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1065 // Stupid renamed classes... Fix this in 2.5...
1066 #if defined(__WXMSW__)
1067 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1068 #elif defined(__WXMAC__)
1069 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1071 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1074 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1075 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1076 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1077 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1078 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1079 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1080 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1083 class wxPyPreviewFrame
: public wxPreviewFrame
1085 DECLARE_CLASS(wxPyPreviewFrame
);
1087 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1088 const wxString
& title
,
1089 const wxPoint
& pos
= wxDefaultPosition
,
1090 const wxSize
& size
= wxDefaultSize
,
1091 long style
= wxDEFAULT_FRAME_STYLE
,
1092 const wxString
& name
= wxPyFrameNameStr
)
1093 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1096 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1097 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1099 DEC_PYCALLBACK_VOID_(Initialize
);
1100 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1101 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1106 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1108 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1109 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1110 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1113 class wxPyPreviewControlBar
: public wxPreviewControlBar
1115 DECLARE_CLASS(wxPyPreviewControlBar
);
1117 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1120 const wxPoint
& pos
= wxDefaultPosition
,
1121 const wxSize
& size
= wxDefaultSize
,
1123 const wxString
& name
= wxPyPanelNameStr
)
1124 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1127 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1129 DEC_PYCALLBACK_VOID_(CreateButtons
);
1130 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1135 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1136 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1137 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1142 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1143 PyObject
*resultobj
;
1144 wxWindow
*arg1
= (wxWindow
*) 0 ;
1145 int arg2
= (int) (int)-1 ;
1146 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1147 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1148 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1149 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1150 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1151 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1152 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1156 bool temp6
= False
;
1157 PyObject
* obj0
= 0 ;
1158 PyObject
* obj2
= 0 ;
1159 PyObject
* obj3
= 0 ;
1160 PyObject
* obj5
= 0 ;
1162 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_Panel",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
1166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1170 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1176 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1181 arg6
= wxString_in_helper(obj5
);
1182 if (arg6
== NULL
) SWIG_fail
;
1187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1188 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1190 wxPyEndAllowThreads(__tstate
);
1191 if (PyErr_Occurred()) SWIG_fail
;
1193 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPanel
, 1);
1208 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1209 PyObject
*resultobj
;
1215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1218 result
= (wxPanel
*)new wxPanel();
1220 wxPyEndAllowThreads(__tstate
);
1221 if (PyErr_Occurred()) SWIG_fail
;
1223 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPanel
, 1);
1230 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1231 PyObject
*resultobj
;
1232 wxPanel
*arg1
= (wxPanel
*) 0 ;
1233 wxWindow
*arg2
= (wxWindow
*) 0 ;
1235 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1236 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1237 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1238 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1239 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1240 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1241 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1245 bool temp7
= False
;
1246 PyObject
* obj0
= 0 ;
1247 PyObject
* obj1
= 0 ;
1248 PyObject
* obj3
= 0 ;
1249 PyObject
* obj4
= 0 ;
1250 PyObject
* obj6
= 0 ;
1252 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Panel_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
1256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1257 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1261 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1267 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1272 arg7
= wxString_in_helper(obj6
);
1273 if (arg7
== NULL
) SWIG_fail
;
1278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1279 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1281 wxPyEndAllowThreads(__tstate
);
1282 if (PyErr_Occurred()) SWIG_fail
;
1284 resultobj
= PyInt_FromLong((long)result
);
1299 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1300 PyObject
*resultobj
;
1301 wxPanel
*arg1
= (wxPanel
*) 0 ;
1302 PyObject
* obj0
= 0 ;
1304 (char *) "self", NULL
1307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1311 (arg1
)->InitDialog();
1313 wxPyEndAllowThreads(__tstate
);
1314 if (PyErr_Occurred()) SWIG_fail
;
1316 Py_INCREF(Py_None
); resultobj
= Py_None
;
1323 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1326 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1328 return Py_BuildValue((char *)"");
1330 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1331 PyObject
*resultobj
;
1332 wxWindow
*arg1
= (wxWindow
*) 0 ;
1333 int arg2
= (int) (int)-1 ;
1334 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1335 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1336 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1337 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1338 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1339 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1340 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1341 wxScrolledWindow
*result
;
1344 bool temp6
= False
;
1345 PyObject
* obj0
= 0 ;
1346 PyObject
* obj2
= 0 ;
1347 PyObject
* obj3
= 0 ;
1348 PyObject
* obj5
= 0 ;
1350 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_ScrolledWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
1354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1358 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1364 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1369 arg6
= wxString_in_helper(obj5
);
1370 if (arg6
== NULL
) SWIG_fail
;
1375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1376 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1378 wxPyEndAllowThreads(__tstate
);
1379 if (PyErr_Occurred()) SWIG_fail
;
1381 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrolledWindow
, 1);
1396 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1397 PyObject
*resultobj
;
1398 wxScrolledWindow
*result
;
1403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1406 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1408 wxPyEndAllowThreads(__tstate
);
1409 if (PyErr_Occurred()) SWIG_fail
;
1411 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrolledWindow
, 1);
1418 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1419 PyObject
*resultobj
;
1420 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1421 wxWindow
*arg2
= (wxWindow
*) 0 ;
1422 int arg3
= (int) (int)-1 ;
1423 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1424 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1425 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1426 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1427 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1428 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1429 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1433 bool temp7
= False
;
1434 PyObject
* obj0
= 0 ;
1435 PyObject
* obj1
= 0 ;
1436 PyObject
* obj3
= 0 ;
1437 PyObject
* obj4
= 0 ;
1438 PyObject
* obj6
= 0 ;
1440 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
1444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1445 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1449 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1455 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1460 arg7
= wxString_in_helper(obj6
);
1461 if (arg7
== NULL
) SWIG_fail
;
1466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1467 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1469 wxPyEndAllowThreads(__tstate
);
1470 if (PyErr_Occurred()) SWIG_fail
;
1472 resultobj
= PyInt_FromLong((long)result
);
1487 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1488 PyObject
*resultobj
;
1489 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1494 int arg6
= (int) 0 ;
1495 int arg7
= (int) 0 ;
1496 bool arg8
= (bool) False
;
1497 PyObject
* obj0
= 0 ;
1498 PyObject
* obj7
= 0 ;
1500 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|iiO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
,&obj7
)) goto fail
;
1504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1507 arg8
= (bool) SPyObj_AsBool(obj7
);
1508 if (PyErr_Occurred()) SWIG_fail
;
1512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1513 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1515 wxPyEndAllowThreads(__tstate
);
1516 if (PyErr_Occurred()) SWIG_fail
;
1518 Py_INCREF(Py_None
); resultobj
= Py_None
;
1525 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1526 PyObject
*resultobj
;
1527 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1530 PyObject
* obj0
= 0 ;
1532 (char *) "self",(char *) "x",(char *) "y", NULL
1535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ScrolledWindow_Scroll",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1539 (arg1
)->Scroll(arg2
,arg3
);
1541 wxPyEndAllowThreads(__tstate
);
1542 if (PyErr_Occurred()) SWIG_fail
;
1544 Py_INCREF(Py_None
); resultobj
= Py_None
;
1551 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1552 PyObject
*resultobj
;
1553 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1556 PyObject
* obj0
= 0 ;
1558 (char *) "self",(char *) "orient", NULL
1561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&arg2
)) goto fail
;
1562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1565 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1567 wxPyEndAllowThreads(__tstate
);
1568 if (PyErr_Occurred()) SWIG_fail
;
1570 resultobj
= PyInt_FromLong((long)result
);
1577 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1578 PyObject
*resultobj
;
1579 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1582 PyObject
* obj0
= 0 ;
1584 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1591 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1593 wxPyEndAllowThreads(__tstate
);
1594 if (PyErr_Occurred()) SWIG_fail
;
1596 Py_INCREF(Py_None
); resultobj
= Py_None
;
1603 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1604 PyObject
*resultobj
;
1605 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1608 PyObject
* obj0
= 0 ;
1610 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1617 (arg1
)->SetScrollRate(arg2
,arg3
);
1619 wxPyEndAllowThreads(__tstate
);
1620 if (PyErr_Occurred()) SWIG_fail
;
1622 Py_INCREF(Py_None
); resultobj
= Py_None
;
1629 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1630 PyObject
*resultobj
;
1631 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1632 int *arg2
= (int *) 0 ;
1633 int *arg3
= (int *) 0 ;
1636 PyObject
* obj0
= 0 ;
1638 (char *) "self", NULL
1643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1647 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1649 wxPyEndAllowThreads(__tstate
);
1650 if (PyErr_Occurred()) SWIG_fail
;
1652 Py_INCREF(Py_None
); resultobj
= Py_None
;
1654 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1655 resultobj
= t_output_helper(resultobj
,o
);
1658 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1659 resultobj
= t_output_helper(resultobj
,o
);
1667 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1668 PyObject
*resultobj
;
1669 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1672 PyObject
* obj0
= 0 ;
1673 PyObject
* obj1
= 0 ;
1674 PyObject
* obj2
= 0 ;
1676 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1682 arg2
= (bool) SPyObj_AsBool(obj1
);
1683 if (PyErr_Occurred()) SWIG_fail
;
1686 arg3
= (bool) SPyObj_AsBool(obj2
);
1687 if (PyErr_Occurred()) SWIG_fail
;
1690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1691 (arg1
)->EnableScrolling(arg2
,arg3
);
1693 wxPyEndAllowThreads(__tstate
);
1694 if (PyErr_Occurred()) SWIG_fail
;
1696 Py_INCREF(Py_None
); resultobj
= Py_None
;
1703 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1704 PyObject
*resultobj
;
1705 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1706 int *arg2
= (int *) 0 ;
1707 int *arg3
= (int *) 0 ;
1710 PyObject
* obj0
= 0 ;
1712 (char *) "self", NULL
1717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1721 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1723 wxPyEndAllowThreads(__tstate
);
1724 if (PyErr_Occurred()) SWIG_fail
;
1726 Py_INCREF(Py_None
); resultobj
= Py_None
;
1728 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1729 resultobj
= t_output_helper(resultobj
,o
);
1732 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1733 resultobj
= t_output_helper(resultobj
,o
);
1741 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1742 PyObject
*resultobj
;
1743 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1746 PyObject
* obj0
= 0 ;
1748 (char *) "self",(char *) "xs",(char *) "ys", NULL
1751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:ScrolledWindow_SetScale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1755 (arg1
)->SetScale(arg2
,arg3
);
1757 wxPyEndAllowThreads(__tstate
);
1758 if (PyErr_Occurred()) SWIG_fail
;
1760 Py_INCREF(Py_None
); resultobj
= Py_None
;
1767 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1768 PyObject
*resultobj
;
1769 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1771 PyObject
* obj0
= 0 ;
1773 (char *) "self", NULL
1776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
1777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1780 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
1782 wxPyEndAllowThreads(__tstate
);
1783 if (PyErr_Occurred()) SWIG_fail
;
1785 resultobj
= PyFloat_FromDouble(result
);
1792 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1793 PyObject
*resultobj
;
1794 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1796 PyObject
* obj0
= 0 ;
1798 (char *) "self", NULL
1801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
1802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1805 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
1807 wxPyEndAllowThreads(__tstate
);
1808 if (PyErr_Occurred()) SWIG_fail
;
1810 resultobj
= PyFloat_FromDouble(result
);
1817 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
1818 PyObject
*resultobj
;
1819 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1823 PyObject
* obj0
= 0 ;
1824 PyObject
* obj1
= 0 ;
1826 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
1827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1830 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1834 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
1836 wxPyEndAllowThreads(__tstate
);
1837 if (PyErr_Occurred()) SWIG_fail
;
1840 wxPoint
* resultptr
;
1841 resultptr
= new wxPoint((wxPoint
&) result
);
1842 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
1850 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
1851 PyObject
*resultobj
;
1852 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1855 int *arg4
= (int *) 0 ;
1856 int *arg5
= (int *) 0 ;
1859 PyObject
* obj0
= 0 ;
1863 if(!PyArg_ParseTuple(args
,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0
,&arg2
,&arg3
)) goto fail
;
1864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1867 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
1869 wxPyEndAllowThreads(__tstate
);
1870 if (PyErr_Occurred()) SWIG_fail
;
1872 Py_INCREF(Py_None
); resultobj
= Py_None
;
1874 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1875 resultobj
= t_output_helper(resultobj
,o
);
1878 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1879 resultobj
= t_output_helper(resultobj
,o
);
1887 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
1892 argc
= PyObject_Length(args
);
1893 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
1894 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1900 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1909 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
1912 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
1920 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1929 SPyObj_AsInt(argv
[1]);
1930 if (PyErr_Occurred()) {
1939 SPyObj_AsInt(argv
[2]);
1940 if (PyErr_Occurred()) {
1948 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
1954 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
1959 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
1960 PyObject
*resultobj
;
1961 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1965 PyObject
* obj0
= 0 ;
1966 PyObject
* obj1
= 0 ;
1968 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
1969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1972 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1976 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
1978 wxPyEndAllowThreads(__tstate
);
1979 if (PyErr_Occurred()) SWIG_fail
;
1982 wxPoint
* resultptr
;
1983 resultptr
= new wxPoint((wxPoint
&) result
);
1984 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
1992 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
1993 PyObject
*resultobj
;
1994 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1997 int *arg4
= (int *) 0 ;
1998 int *arg5
= (int *) 0 ;
2001 PyObject
* obj0
= 0 ;
2005 if(!PyArg_ParseTuple(args
,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&arg2
,&arg3
)) goto fail
;
2006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2009 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2011 wxPyEndAllowThreads(__tstate
);
2012 if (PyErr_Occurred()) SWIG_fail
;
2014 Py_INCREF(Py_None
); resultobj
= Py_None
;
2016 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2017 resultobj
= t_output_helper(resultobj
,o
);
2020 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2021 resultobj
= t_output_helper(resultobj
,o
);
2029 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2034 argc
= PyObject_Length(args
);
2035 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2036 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2042 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2051 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2054 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2062 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2071 SPyObj_AsInt(argv
[1]);
2072 if (PyErr_Occurred()) {
2081 SPyObj_AsInt(argv
[2]);
2082 if (PyErr_Occurred()) {
2090 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2096 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2101 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2102 PyObject
*resultobj
;
2103 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2104 PyObject
* obj0
= 0 ;
2106 (char *) "self", NULL
2109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2113 (arg1
)->AdjustScrollbars();
2115 wxPyEndAllowThreads(__tstate
);
2116 if (PyErr_Occurred()) SWIG_fail
;
2118 Py_INCREF(Py_None
); resultobj
= Py_None
;
2125 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2126 PyObject
*resultobj
;
2127 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2128 wxScrollWinEvent
*arg2
= 0 ;
2130 PyObject
* obj0
= 0 ;
2131 PyObject
* obj1
= 0 ;
2133 (char *) "self",(char *) "event", NULL
2136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2138 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2140 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2144 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2146 wxPyEndAllowThreads(__tstate
);
2147 if (PyErr_Occurred()) SWIG_fail
;
2149 resultobj
= PyInt_FromLong((long)result
);
2156 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2157 PyObject
*resultobj
;
2158 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2159 wxWindow
*arg2
= (wxWindow
*) 0 ;
2160 PyObject
* obj0
= 0 ;
2161 PyObject
* obj1
= 0 ;
2163 (char *) "self",(char *) "target", NULL
2166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2168 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2171 (arg1
)->SetTargetWindow(arg2
);
2173 wxPyEndAllowThreads(__tstate
);
2174 if (PyErr_Occurred()) SWIG_fail
;
2176 Py_INCREF(Py_None
); resultobj
= Py_None
;
2183 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2184 PyObject
*resultobj
;
2185 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2187 PyObject
* obj0
= 0 ;
2189 (char *) "self", NULL
2192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2196 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2198 wxPyEndAllowThreads(__tstate
);
2199 if (PyErr_Occurred()) SWIG_fail
;
2202 resultobj
= wxPyMake_wxObject(result
);
2210 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2211 PyObject
*resultobj
;
2212 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2215 PyObject
* obj0
= 0 ;
2216 PyObject
* obj1
= 0 ;
2218 (char *) "self",(char *) "rect", NULL
2221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2225 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2229 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2231 wxPyEndAllowThreads(__tstate
);
2232 if (PyErr_Occurred()) SWIG_fail
;
2234 Py_INCREF(Py_None
); resultobj
= Py_None
;
2241 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2242 PyObject
*resultobj
;
2243 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2245 PyObject
* obj0
= 0 ;
2247 (char *) "self", NULL
2250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2254 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2256 wxPyEndAllowThreads(__tstate
);
2257 if (PyErr_Occurred()) SWIG_fail
;
2261 resultptr
= new wxRect((wxRect
&) result
);
2262 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
2270 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2272 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2273 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2275 return Py_BuildValue((char *)"");
2277 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2278 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2283 static PyObject
*_wrap_FrameNameStr_get() {
2288 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2290 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2297 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2298 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2303 static PyObject
*_wrap_DialogNameStr_get() {
2308 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2310 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2317 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2318 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2323 static PyObject
*_wrap_StatusLineNameStr_get() {
2328 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2330 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2337 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2338 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2343 static PyObject
*_wrap_ToolBarNameStr_get() {
2348 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2350 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2357 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2358 PyObject
*resultobj
;
2359 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2360 bool arg2
= (bool) True
;
2361 PyObject
* obj0
= 0 ;
2362 PyObject
* obj1
= 0 ;
2364 (char *) "self",(char *) "maximize", NULL
2367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2371 arg2
= (bool) SPyObj_AsBool(obj1
);
2372 if (PyErr_Occurred()) SWIG_fail
;
2376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2377 (arg1
)->Maximize(arg2
);
2379 wxPyEndAllowThreads(__tstate
);
2380 if (PyErr_Occurred()) SWIG_fail
;
2382 Py_INCREF(Py_None
); resultobj
= Py_None
;
2389 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2390 PyObject
*resultobj
;
2391 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2392 PyObject
* obj0
= 0 ;
2394 (char *) "self", NULL
2397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2403 wxPyEndAllowThreads(__tstate
);
2404 if (PyErr_Occurred()) SWIG_fail
;
2406 Py_INCREF(Py_None
); resultobj
= Py_None
;
2413 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2414 PyObject
*resultobj
;
2415 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2416 bool arg2
= (bool) True
;
2417 PyObject
* obj0
= 0 ;
2418 PyObject
* obj1
= 0 ;
2420 (char *) "self",(char *) "iconize", NULL
2423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2427 arg2
= (bool) SPyObj_AsBool(obj1
);
2428 if (PyErr_Occurred()) SWIG_fail
;
2432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2433 (arg1
)->Iconize(arg2
);
2435 wxPyEndAllowThreads(__tstate
);
2436 if (PyErr_Occurred()) SWIG_fail
;
2438 Py_INCREF(Py_None
); resultobj
= Py_None
;
2445 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2446 PyObject
*resultobj
;
2447 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2449 PyObject
* obj0
= 0 ;
2451 (char *) "self", NULL
2454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2458 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2460 wxPyEndAllowThreads(__tstate
);
2461 if (PyErr_Occurred()) SWIG_fail
;
2463 resultobj
= PyInt_FromLong((long)result
);
2470 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2471 PyObject
*resultobj
;
2472 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2474 PyObject
* obj0
= 0 ;
2476 (char *) "self", NULL
2479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2483 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2485 wxPyEndAllowThreads(__tstate
);
2486 if (PyErr_Occurred()) SWIG_fail
;
2488 resultobj
= PyInt_FromLong((long)result
);
2495 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2496 PyObject
*resultobj
;
2497 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2499 PyObject
* obj0
= 0 ;
2501 (char *) "self", NULL
2504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2508 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2510 wxPyEndAllowThreads(__tstate
);
2511 if (PyErr_Occurred()) SWIG_fail
;
2515 resultptr
= new wxIcon((wxIcon
&) result
);
2516 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1);
2524 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2525 PyObject
*resultobj
;
2526 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2528 PyObject
* obj0
= 0 ;
2529 PyObject
* obj1
= 0 ;
2531 (char *) "self",(char *) "icon", NULL
2534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2536 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2538 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2542 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2544 wxPyEndAllowThreads(__tstate
);
2545 if (PyErr_Occurred()) SWIG_fail
;
2547 Py_INCREF(Py_None
); resultobj
= Py_None
;
2554 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
*resultobj
;
2556 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2557 wxIconBundle
*arg2
= 0 ;
2558 PyObject
* obj0
= 0 ;
2559 PyObject
* obj1
= 0 ;
2561 (char *) "self",(char *) "icons", NULL
2564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2566 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2568 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2572 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2574 wxPyEndAllowThreads(__tstate
);
2575 if (PyErr_Occurred()) SWIG_fail
;
2577 Py_INCREF(Py_None
); resultobj
= Py_None
;
2584 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
*resultobj
;
2586 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2588 long arg3
= (long) wxFULLSCREEN_ALL
;
2590 PyObject
* obj0
= 0 ;
2591 PyObject
* obj1
= 0 ;
2593 (char *) "self",(char *) "show",(char *) "style", NULL
2596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
2597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2599 arg2
= (bool) SPyObj_AsBool(obj1
);
2600 if (PyErr_Occurred()) SWIG_fail
;
2603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2604 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2606 wxPyEndAllowThreads(__tstate
);
2607 if (PyErr_Occurred()) SWIG_fail
;
2609 resultobj
= PyInt_FromLong((long)result
);
2616 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2617 PyObject
*resultobj
;
2618 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2620 PyObject
* obj0
= 0 ;
2622 (char *) "self", NULL
2625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2629 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2631 wxPyEndAllowThreads(__tstate
);
2632 if (PyErr_Occurred()) SWIG_fail
;
2634 resultobj
= PyInt_FromLong((long)result
);
2641 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2642 PyObject
*resultobj
;
2643 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2644 wxString
*arg2
= 0 ;
2645 bool temp2
= False
;
2646 PyObject
* obj0
= 0 ;
2647 PyObject
* obj1
= 0 ;
2649 (char *) "self",(char *) "title", NULL
2652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2655 arg2
= wxString_in_helper(obj1
);
2656 if (arg2
== NULL
) SWIG_fail
;
2660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2661 (arg1
)->SetTitle((wxString
const &)*arg2
);
2663 wxPyEndAllowThreads(__tstate
);
2664 if (PyErr_Occurred()) SWIG_fail
;
2666 Py_INCREF(Py_None
); resultobj
= Py_None
;
2681 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
*resultobj
;
2683 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2685 PyObject
* obj0
= 0 ;
2687 (char *) "self", NULL
2690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2694 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2696 wxPyEndAllowThreads(__tstate
);
2697 if (PyErr_Occurred()) SWIG_fail
;
2701 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2703 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2712 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2713 PyObject
*resultobj
;
2714 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2715 wxRegion
*arg2
= 0 ;
2717 PyObject
* obj0
= 0 ;
2718 PyObject
* obj1
= 0 ;
2720 (char *) "self",(char *) "region", NULL
2723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2725 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2727 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2731 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2733 wxPyEndAllowThreads(__tstate
);
2734 if (PyErr_Occurred()) SWIG_fail
;
2736 resultobj
= PyInt_FromLong((long)result
);
2743 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2746 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
2748 return Py_BuildValue((char *)"");
2750 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2751 PyObject
*resultobj
;
2752 wxWindow
*arg1
= (wxWindow
*) 0 ;
2754 wxString
*arg3
= 0 ;
2755 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2756 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2757 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2758 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2759 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
2760 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
2761 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2763 bool temp3
= False
;
2766 bool temp7
= False
;
2767 PyObject
* obj0
= 0 ;
2768 PyObject
* obj2
= 0 ;
2769 PyObject
* obj3
= 0 ;
2770 PyObject
* obj4
= 0 ;
2771 PyObject
* obj6
= 0 ;
2773 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_Frame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
2777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2779 arg3
= wxString_in_helper(obj2
);
2780 if (arg3
== NULL
) SWIG_fail
;
2786 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2792 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2797 arg7
= wxString_in_helper(obj6
);
2798 if (arg7
== NULL
) SWIG_fail
;
2803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2804 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2806 wxPyEndAllowThreads(__tstate
);
2807 if (PyErr_Occurred()) SWIG_fail
;
2810 resultobj
= wxPyMake_wxObject(result
);
2834 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2835 PyObject
*resultobj
;
2841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
2843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2844 result
= (wxFrame
*)new wxFrame();
2846 wxPyEndAllowThreads(__tstate
);
2847 if (PyErr_Occurred()) SWIG_fail
;
2850 resultobj
= wxPyMake_wxObject(result
);
2858 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2859 PyObject
*resultobj
;
2860 wxFrame
*arg1
= (wxFrame
*) 0 ;
2861 wxWindow
*arg2
= (wxWindow
*) 0 ;
2863 wxString
*arg4
= 0 ;
2864 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2865 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2866 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2867 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2868 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
2869 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
2870 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2872 bool temp4
= False
;
2875 bool temp8
= False
;
2876 PyObject
* obj0
= 0 ;
2877 PyObject
* obj1
= 0 ;
2878 PyObject
* obj3
= 0 ;
2879 PyObject
* obj4
= 0 ;
2880 PyObject
* obj5
= 0 ;
2881 PyObject
* obj7
= 0 ;
2883 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:Frame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
2887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2888 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2890 arg4
= wxString_in_helper(obj3
);
2891 if (arg4
== NULL
) SWIG_fail
;
2897 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2903 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2908 arg8
= wxString_in_helper(obj7
);
2909 if (arg8
== NULL
) SWIG_fail
;
2914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2915 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
2917 wxPyEndAllowThreads(__tstate
);
2918 if (PyErr_Occurred()) SWIG_fail
;
2920 resultobj
= PyInt_FromLong((long)result
);
2943 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2944 PyObject
*resultobj
;
2945 wxFrame
*arg1
= (wxFrame
*) 0 ;
2947 PyObject
* obj0
= 0 ;
2949 (char *) "self", NULL
2952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
2953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2956 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
2958 wxPyEndAllowThreads(__tstate
);
2959 if (PyErr_Occurred()) SWIG_fail
;
2962 wxPoint
* resultptr
;
2963 resultptr
= new wxPoint((wxPoint
&) result
);
2964 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2972 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2973 PyObject
*resultobj
;
2974 wxFrame
*arg1
= (wxFrame
*) 0 ;
2975 PyObject
* obj0
= 0 ;
2977 (char *) "self", NULL
2980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
2981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2984 (arg1
)->SendSizeEvent();
2986 wxPyEndAllowThreads(__tstate
);
2987 if (PyErr_Occurred()) SWIG_fail
;
2989 Py_INCREF(Py_None
); resultobj
= Py_None
;
2996 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2997 PyObject
*resultobj
;
2998 wxFrame
*arg1
= (wxFrame
*) 0 ;
2999 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3000 PyObject
* obj0
= 0 ;
3001 PyObject
* obj1
= 0 ;
3003 (char *) "self",(char *) "menubar", NULL
3006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3008 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3011 (arg1
)->SetMenuBar(arg2
);
3013 wxPyEndAllowThreads(__tstate
);
3014 if (PyErr_Occurred()) SWIG_fail
;
3016 Py_INCREF(Py_None
); resultobj
= Py_None
;
3023 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3024 PyObject
*resultobj
;
3025 wxFrame
*arg1
= (wxFrame
*) 0 ;
3027 PyObject
* obj0
= 0 ;
3029 (char *) "self", NULL
3032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3036 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3038 wxPyEndAllowThreads(__tstate
);
3039 if (PyErr_Occurred()) SWIG_fail
;
3042 resultobj
= wxPyMake_wxObject(result
);
3050 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3051 PyObject
*resultobj
;
3052 wxFrame
*arg1
= (wxFrame
*) 0 ;
3055 PyObject
* obj0
= 0 ;
3057 (char *) "self",(char *) "winid", NULL
3060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Frame_ProcessCommand",kwnames
,&obj0
,&arg2
)) goto fail
;
3061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3064 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3066 wxPyEndAllowThreads(__tstate
);
3067 if (PyErr_Occurred()) SWIG_fail
;
3069 resultobj
= PyInt_FromLong((long)result
);
3076 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3077 PyObject
*resultobj
;
3078 wxFrame
*arg1
= (wxFrame
*) 0 ;
3079 int arg2
= (int) 1 ;
3080 long arg3
= (long) wxST_SIZEGRIP
;
3081 int arg4
= (int) 0 ;
3082 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3083 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3084 wxStatusBar
*result
;
3085 bool temp5
= False
;
3086 PyObject
* obj0
= 0 ;
3087 PyObject
* obj4
= 0 ;
3089 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iliO:Frame_CreateStatusBar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
3093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3096 arg5
= wxString_in_helper(obj4
);
3097 if (arg5
== NULL
) SWIG_fail
;
3102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3103 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3105 wxPyEndAllowThreads(__tstate
);
3106 if (PyErr_Occurred()) SWIG_fail
;
3109 resultobj
= wxPyMake_wxObject(result
);
3125 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3126 PyObject
*resultobj
;
3127 wxFrame
*arg1
= (wxFrame
*) 0 ;
3128 wxStatusBar
*result
;
3129 PyObject
* obj0
= 0 ;
3131 (char *) "self", NULL
3134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3138 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3140 wxPyEndAllowThreads(__tstate
);
3141 if (PyErr_Occurred()) SWIG_fail
;
3144 resultobj
= wxPyMake_wxObject(result
);
3152 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3153 PyObject
*resultobj
;
3154 wxFrame
*arg1
= (wxFrame
*) 0 ;
3155 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3156 PyObject
* obj0
= 0 ;
3157 PyObject
* obj1
= 0 ;
3159 (char *) "self",(char *) "statBar", NULL
3162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3164 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3167 (arg1
)->SetStatusBar(arg2
);
3169 wxPyEndAllowThreads(__tstate
);
3170 if (PyErr_Occurred()) SWIG_fail
;
3172 Py_INCREF(Py_None
); resultobj
= Py_None
;
3179 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3180 PyObject
*resultobj
;
3181 wxFrame
*arg1
= (wxFrame
*) 0 ;
3182 wxString
*arg2
= 0 ;
3183 int arg3
= (int) 0 ;
3184 bool temp2
= False
;
3185 PyObject
* obj0
= 0 ;
3186 PyObject
* obj1
= 0 ;
3188 (char *) "self",(char *) "text",(char *) "number", NULL
3191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
3192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3194 arg2
= wxString_in_helper(obj1
);
3195 if (arg2
== NULL
) SWIG_fail
;
3199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3200 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3202 wxPyEndAllowThreads(__tstate
);
3203 if (PyErr_Occurred()) SWIG_fail
;
3205 Py_INCREF(Py_None
); resultobj
= Py_None
;
3220 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3221 PyObject
*resultobj
;
3222 wxFrame
*arg1
= (wxFrame
*) 0 ;
3224 int *arg3
= (int *) 0 ;
3225 PyObject
* obj0
= 0 ;
3226 PyObject
* obj1
= 0 ;
3228 (char *) "self",(char *) "widths", NULL
3231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3234 arg2
= PyList_Size(obj1
);
3235 arg3
= int_LIST_helper(obj1
);
3236 if (arg3
== NULL
) SWIG_fail
;
3239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3240 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3242 wxPyEndAllowThreads(__tstate
);
3243 if (PyErr_Occurred()) SWIG_fail
;
3245 Py_INCREF(Py_None
); resultobj
= Py_None
;
3247 if (arg3
) delete [] arg3
;
3252 if (arg3
) delete [] arg3
;
3258 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3259 PyObject
*resultobj
;
3260 wxFrame
*arg1
= (wxFrame
*) 0 ;
3261 wxString
*arg2
= 0 ;
3262 int arg3
= (int) 0 ;
3263 bool temp2
= False
;
3264 PyObject
* obj0
= 0 ;
3265 PyObject
* obj1
= 0 ;
3267 (char *) "self",(char *) "text",(char *) "number", NULL
3270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
3271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3273 arg2
= wxString_in_helper(obj1
);
3274 if (arg2
== NULL
) SWIG_fail
;
3278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3279 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3281 wxPyEndAllowThreads(__tstate
);
3282 if (PyErr_Occurred()) SWIG_fail
;
3284 Py_INCREF(Py_None
); resultobj
= Py_None
;
3299 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3300 PyObject
*resultobj
;
3301 wxFrame
*arg1
= (wxFrame
*) 0 ;
3302 int arg2
= (int) 0 ;
3303 PyObject
* obj0
= 0 ;
3305 (char *) "self",(char *) "number", NULL
3308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Frame_PopStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
3309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3312 (arg1
)->PopStatusText(arg2
);
3314 wxPyEndAllowThreads(__tstate
);
3315 if (PyErr_Occurred()) SWIG_fail
;
3317 Py_INCREF(Py_None
); resultobj
= Py_None
;
3324 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3325 PyObject
*resultobj
;
3326 wxFrame
*arg1
= (wxFrame
*) 0 ;
3328 PyObject
* obj0
= 0 ;
3330 (char *) "self",(char *) "n", NULL
3333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Frame_SetStatusBarPane",kwnames
,&obj0
,&arg2
)) goto fail
;
3334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3337 (arg1
)->SetStatusBarPane(arg2
);
3339 wxPyEndAllowThreads(__tstate
);
3340 if (PyErr_Occurred()) SWIG_fail
;
3342 Py_INCREF(Py_None
); resultobj
= Py_None
;
3349 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3350 PyObject
*resultobj
;
3351 wxFrame
*arg1
= (wxFrame
*) 0 ;
3353 PyObject
* obj0
= 0 ;
3355 (char *) "self", NULL
3358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3362 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3364 wxPyEndAllowThreads(__tstate
);
3365 if (PyErr_Occurred()) SWIG_fail
;
3367 resultobj
= PyInt_FromLong((long)result
);
3374 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
*resultobj
;
3376 wxFrame
*arg1
= (wxFrame
*) 0 ;
3377 long arg2
= (long) -1 ;
3378 int arg3
= (int) -1 ;
3379 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3380 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3382 bool temp4
= False
;
3383 PyObject
* obj0
= 0 ;
3384 PyObject
* obj3
= 0 ;
3386 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|liO:Frame_CreateToolBar",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
3390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3393 arg4
= wxString_in_helper(obj3
);
3394 if (arg4
== NULL
) SWIG_fail
;
3399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3400 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3402 wxPyEndAllowThreads(__tstate
);
3403 if (PyErr_Occurred()) SWIG_fail
;
3406 resultobj
= wxPyMake_wxObject(result
);
3422 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3423 PyObject
*resultobj
;
3424 wxFrame
*arg1
= (wxFrame
*) 0 ;
3426 PyObject
* obj0
= 0 ;
3428 (char *) "self", NULL
3431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3435 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3437 wxPyEndAllowThreads(__tstate
);
3438 if (PyErr_Occurred()) SWIG_fail
;
3441 resultobj
= wxPyMake_wxObject(result
);
3449 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3450 PyObject
*resultobj
;
3451 wxFrame
*arg1
= (wxFrame
*) 0 ;
3452 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3453 PyObject
* obj0
= 0 ;
3454 PyObject
* obj1
= 0 ;
3456 (char *) "self",(char *) "toolbar", NULL
3459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3461 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3464 (arg1
)->SetToolBar(arg2
);
3466 wxPyEndAllowThreads(__tstate
);
3467 if (PyErr_Occurred()) SWIG_fail
;
3469 Py_INCREF(Py_None
); resultobj
= Py_None
;
3476 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3477 PyObject
*resultobj
;
3478 wxFrame
*arg1
= (wxFrame
*) 0 ;
3479 wxString
*arg2
= 0 ;
3481 bool temp2
= False
;
3482 PyObject
* obj0
= 0 ;
3483 PyObject
* obj1
= 0 ;
3484 PyObject
* obj2
= 0 ;
3486 (char *) "self",(char *) "text",(char *) "show", NULL
3489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3492 arg2
= wxString_in_helper(obj1
);
3493 if (arg2
== NULL
) SWIG_fail
;
3497 arg3
= (bool) SPyObj_AsBool(obj2
);
3498 if (PyErr_Occurred()) SWIG_fail
;
3501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3502 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3504 wxPyEndAllowThreads(__tstate
);
3505 if (PyErr_Occurred()) SWIG_fail
;
3507 Py_INCREF(Py_None
); resultobj
= Py_None
;
3522 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3523 PyObject
*resultobj
;
3524 wxFrame
*arg1
= (wxFrame
*) 0 ;
3525 wxMenu
*arg2
= (wxMenu
*) NULL
;
3526 PyObject
* obj0
= 0 ;
3527 PyObject
* obj1
= 0 ;
3529 (char *) "self",(char *) "menu", NULL
3532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3535 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3539 (arg1
)->DoMenuUpdates(arg2
);
3541 wxPyEndAllowThreads(__tstate
);
3542 if (PyErr_Occurred()) SWIG_fail
;
3544 Py_INCREF(Py_None
); resultobj
= Py_None
;
3551 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3554 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3556 return Py_BuildValue((char *)"");
3558 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3559 PyObject
*resultobj
;
3560 wxWindow
*arg1
= (wxWindow
*) 0 ;
3562 wxString
*arg3
= 0 ;
3563 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3564 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3565 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3566 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3567 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3568 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3569 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3571 bool temp3
= False
;
3574 bool temp7
= False
;
3575 PyObject
* obj0
= 0 ;
3576 PyObject
* obj2
= 0 ;
3577 PyObject
* obj3
= 0 ;
3578 PyObject
* obj4
= 0 ;
3579 PyObject
* obj6
= 0 ;
3581 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_Dialog",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3587 arg3
= wxString_in_helper(obj2
);
3588 if (arg3
== NULL
) SWIG_fail
;
3594 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3600 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3605 arg7
= wxString_in_helper(obj6
);
3606 if (arg7
== NULL
) SWIG_fail
;
3611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3612 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3614 wxPyEndAllowThreads(__tstate
);
3615 if (PyErr_Occurred()) SWIG_fail
;
3617 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3640 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3641 PyObject
*resultobj
;
3647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
3649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3650 result
= (wxDialog
*)new wxDialog();
3652 wxPyEndAllowThreads(__tstate
);
3653 if (PyErr_Occurred()) SWIG_fail
;
3655 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3662 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3663 PyObject
*resultobj
;
3664 wxDialog
*arg1
= (wxDialog
*) 0 ;
3665 wxWindow
*arg2
= (wxWindow
*) 0 ;
3667 wxString
*arg4
= 0 ;
3668 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3669 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3670 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3671 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3672 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
3673 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
3674 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3676 bool temp4
= False
;
3679 bool temp8
= False
;
3680 PyObject
* obj0
= 0 ;
3681 PyObject
* obj1
= 0 ;
3682 PyObject
* obj3
= 0 ;
3683 PyObject
* obj4
= 0 ;
3684 PyObject
* obj5
= 0 ;
3685 PyObject
* obj7
= 0 ;
3687 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:Dialog_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3692 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3694 arg4
= wxString_in_helper(obj3
);
3695 if (arg4
== NULL
) SWIG_fail
;
3701 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3707 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3712 arg8
= wxString_in_helper(obj7
);
3713 if (arg8
== NULL
) SWIG_fail
;
3718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3719 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3721 wxPyEndAllowThreads(__tstate
);
3722 if (PyErr_Occurred()) SWIG_fail
;
3724 resultobj
= PyInt_FromLong((long)result
);
3747 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3748 PyObject
*resultobj
;
3749 wxDialog
*arg1
= (wxDialog
*) 0 ;
3751 PyObject
* obj0
= 0 ;
3753 (char *) "self",(char *) "returnCode", NULL
3756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Dialog_SetReturnCode",kwnames
,&obj0
,&arg2
)) goto fail
;
3757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3760 (arg1
)->SetReturnCode(arg2
);
3762 wxPyEndAllowThreads(__tstate
);
3763 if (PyErr_Occurred()) SWIG_fail
;
3765 Py_INCREF(Py_None
); resultobj
= Py_None
;
3772 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3773 PyObject
*resultobj
;
3774 wxDialog
*arg1
= (wxDialog
*) 0 ;
3776 PyObject
* obj0
= 0 ;
3778 (char *) "self", NULL
3781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
3782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3785 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
3787 wxPyEndAllowThreads(__tstate
);
3788 if (PyErr_Occurred()) SWIG_fail
;
3790 resultobj
= PyInt_FromLong((long)result
);
3797 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3798 PyObject
*resultobj
;
3799 wxDialog
*arg1
= (wxDialog
*) 0 ;
3800 wxString
*arg2
= 0 ;
3802 bool temp2
= False
;
3803 PyObject
* obj0
= 0 ;
3804 PyObject
* obj1
= 0 ;
3806 (char *) "self",(char *) "message", NULL
3809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
3810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3812 arg2
= wxString_in_helper(obj1
);
3813 if (arg2
== NULL
) SWIG_fail
;
3817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3818 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
3820 wxPyEndAllowThreads(__tstate
);
3821 if (PyErr_Occurred()) SWIG_fail
;
3824 resultobj
= wxPyMake_wxSizer(result
);
3840 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3841 PyObject
*resultobj
;
3842 wxDialog
*arg1
= (wxDialog
*) 0 ;
3845 PyObject
* obj0
= 0 ;
3847 (char *) "self",(char *) "flags", NULL
3850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Dialog_CreateButtonSizer",kwnames
,&obj0
,&arg2
)) goto fail
;
3851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3854 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
3856 wxPyEndAllowThreads(__tstate
);
3857 if (PyErr_Occurred()) SWIG_fail
;
3860 resultobj
= wxPyMake_wxSizer(result
);
3868 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3869 PyObject
*resultobj
;
3870 wxDialog
*arg1
= (wxDialog
*) 0 ;
3872 PyObject
* obj0
= 0 ;
3874 (char *) "self", NULL
3877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
3878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3881 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
3883 wxPyEndAllowThreads(__tstate
);
3884 if (PyErr_Occurred()) SWIG_fail
;
3886 resultobj
= PyInt_FromLong((long)result
);
3893 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3894 PyObject
*resultobj
;
3895 wxDialog
*arg1
= (wxDialog
*) 0 ;
3897 PyObject
* obj0
= 0 ;
3899 (char *) "self", NULL
3902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
3903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3906 result
= (int)(arg1
)->ShowModal();
3908 wxPyEndAllowThreads(__tstate
);
3909 if (PyErr_Occurred()) SWIG_fail
;
3911 resultobj
= PyInt_FromLong((long)result
);
3918 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3919 PyObject
*resultobj
;
3920 wxDialog
*arg1
= (wxDialog
*) 0 ;
3922 PyObject
* obj0
= 0 ;
3924 (char *) "self",(char *) "retCode", NULL
3927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Dialog_EndModal",kwnames
,&obj0
,&arg2
)) goto fail
;
3928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3931 (arg1
)->EndModal(arg2
);
3933 wxPyEndAllowThreads(__tstate
);
3934 if (PyErr_Occurred()) SWIG_fail
;
3936 Py_INCREF(Py_None
); resultobj
= Py_None
;
3943 static PyObject
*_wrap_Dialog_IsModalShowing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3944 PyObject
*resultobj
;
3945 wxDialog
*arg1
= (wxDialog
*) 0 ;
3947 PyObject
* obj0
= 0 ;
3949 (char *) "self", NULL
3952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModalShowing",kwnames
,&obj0
)) goto fail
;
3953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3956 result
= (bool)wxDialog_IsModalShowing(arg1
);
3958 wxPyEndAllowThreads(__tstate
);
3959 if (PyErr_Occurred()) SWIG_fail
;
3961 resultobj
= PyInt_FromLong((long)result
);
3968 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
3970 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3971 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
3973 return Py_BuildValue((char *)"");
3975 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3976 PyObject
*resultobj
;
3977 wxWindow
*arg1
= (wxWindow
*) 0 ;
3979 wxString
*arg3
= 0 ;
3980 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3981 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3982 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3983 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3984 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3985 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3986 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3987 wxMiniFrame
*result
;
3988 bool temp3
= False
;
3991 bool temp7
= False
;
3992 PyObject
* obj0
= 0 ;
3993 PyObject
* obj2
= 0 ;
3994 PyObject
* obj3
= 0 ;
3995 PyObject
* obj4
= 0 ;
3996 PyObject
* obj6
= 0 ;
3998 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MiniFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4004 arg3
= wxString_in_helper(obj2
);
4005 if (arg3
== NULL
) SWIG_fail
;
4011 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4017 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4022 arg7
= wxString_in_helper(obj6
);
4023 if (arg7
== NULL
) SWIG_fail
;
4028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4029 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4031 wxPyEndAllowThreads(__tstate
);
4032 if (PyErr_Occurred()) SWIG_fail
;
4034 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
4057 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4058 PyObject
*resultobj
;
4059 wxMiniFrame
*result
;
4064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 result
= (wxMiniFrame
*)new wxMiniFrame();
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4072 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
4079 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4080 PyObject
*resultobj
;
4081 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4082 wxWindow
*arg2
= (wxWindow
*) 0 ;
4084 wxString
*arg4
= 0 ;
4085 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4086 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4087 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4088 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4089 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4090 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4091 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4093 bool temp4
= False
;
4096 bool temp8
= False
;
4097 PyObject
* obj0
= 0 ;
4098 PyObject
* obj1
= 0 ;
4099 PyObject
* obj3
= 0 ;
4100 PyObject
* obj4
= 0 ;
4101 PyObject
* obj5
= 0 ;
4102 PyObject
* obj7
= 0 ;
4104 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
4108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMiniFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4109 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4111 arg4
= wxString_in_helper(obj3
);
4112 if (arg4
== NULL
) SWIG_fail
;
4118 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4124 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4129 arg8
= wxString_in_helper(obj7
);
4130 if (arg8
== NULL
) SWIG_fail
;
4135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4136 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4138 wxPyEndAllowThreads(__tstate
);
4139 if (PyErr_Occurred()) SWIG_fail
;
4141 resultobj
= PyInt_FromLong((long)result
);
4164 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4167 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4169 return Py_BuildValue((char *)"");
4171 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4172 PyObject
*resultobj
;
4173 wxBitmap
*arg1
= 0 ;
4174 wxWindow
*arg2
= (wxWindow
*) 0 ;
4176 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4177 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4178 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4179 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4180 long arg6
= (long) wxNO_BORDER
;
4181 wxSplashScreenWindow
*result
;
4184 PyObject
* obj0
= 0 ;
4185 PyObject
* obj1
= 0 ;
4186 PyObject
* obj3
= 0 ;
4187 PyObject
* obj4
= 0 ;
4189 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
4193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4195 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4197 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4201 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4207 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4212 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4214 wxPyEndAllowThreads(__tstate
);
4215 if (PyErr_Occurred()) SWIG_fail
;
4217 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 1);
4224 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4225 PyObject
*resultobj
;
4226 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4227 wxBitmap
*arg2
= 0 ;
4228 PyObject
* obj0
= 0 ;
4229 PyObject
* obj1
= 0 ;
4231 (char *) "self",(char *) "bitmap", NULL
4234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4236 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4238 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4242 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4244 wxPyEndAllowThreads(__tstate
);
4245 if (PyErr_Occurred()) SWIG_fail
;
4247 Py_INCREF(Py_None
); resultobj
= Py_None
;
4254 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4255 PyObject
*resultobj
;
4256 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4258 PyObject
* obj0
= 0 ;
4260 (char *) "self", NULL
4263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4268 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4269 result
= (wxBitmap
*) &_result_ref
;
4272 wxPyEndAllowThreads(__tstate
);
4273 if (PyErr_Occurred()) SWIG_fail
;
4275 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
4282 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4285 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4287 return Py_BuildValue((char *)"");
4289 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4290 PyObject
*resultobj
;
4291 wxBitmap
*arg1
= 0 ;
4294 wxWindow
*arg4
= (wxWindow
*) 0 ;
4296 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4297 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4298 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4299 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4300 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4301 wxSplashScreen
*result
;
4304 PyObject
* obj0
= 0 ;
4305 PyObject
* obj3
= 0 ;
4306 PyObject
* obj5
= 0 ;
4307 PyObject
* obj6
= 0 ;
4309 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OliOi|OOl:new_SplashScreen",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&arg5
,&obj5
,&obj6
,&arg8
)) goto fail
;
4313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4315 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4317 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4321 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4327 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4332 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4334 wxPyEndAllowThreads(__tstate
);
4335 if (PyErr_Occurred()) SWIG_fail
;
4337 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreen
, 1);
4344 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
*resultobj
;
4346 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4348 PyObject
* obj0
= 0 ;
4350 (char *) "self", NULL
4353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4357 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4359 wxPyEndAllowThreads(__tstate
);
4360 if (PyErr_Occurred()) SWIG_fail
;
4362 resultobj
= PyInt_FromLong((long)result
);
4369 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4370 PyObject
*resultobj
;
4371 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4372 wxSplashScreenWindow
*result
;
4373 PyObject
* obj0
= 0 ;
4375 (char *) "self", NULL
4378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4382 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4384 wxPyEndAllowThreads(__tstate
);
4385 if (PyErr_Occurred()) SWIG_fail
;
4387 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 0);
4394 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4395 PyObject
*resultobj
;
4396 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4398 PyObject
* obj0
= 0 ;
4400 (char *) "self", NULL
4403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4407 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4409 wxPyEndAllowThreads(__tstate
);
4410 if (PyErr_Occurred()) SWIG_fail
;
4412 resultobj
= PyInt_FromLong((long)result
);
4419 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4421 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4422 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4424 return Py_BuildValue((char *)"");
4426 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4427 PyObject
*resultobj
;
4428 wxWindow
*arg1
= (wxWindow
*) 0 ;
4429 int arg2
= (int) -1 ;
4430 long arg3
= (long) wxST_SIZEGRIP
;
4431 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4432 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4433 wxStatusBar
*result
;
4434 bool temp4
= False
;
4435 PyObject
* obj0
= 0 ;
4436 PyObject
* obj3
= 0 ;
4438 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ilO:new_StatusBar",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
4442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4445 arg4
= wxString_in_helper(obj3
);
4446 if (arg4
== NULL
) SWIG_fail
;
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4452 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4458 resultobj
= wxPyMake_wxObject(result
);
4474 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4475 PyObject
*resultobj
;
4476 wxStatusBar
*result
;
4481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4484 result
= (wxStatusBar
*)new wxStatusBar();
4486 wxPyEndAllowThreads(__tstate
);
4487 if (PyErr_Occurred()) SWIG_fail
;
4490 resultobj
= wxPyMake_wxObject(result
);
4498 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4499 PyObject
*resultobj
;
4500 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4501 wxWindow
*arg2
= (wxWindow
*) 0 ;
4503 long arg4
= (long) wxST_SIZEGRIP
;
4504 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4505 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4507 bool temp5
= False
;
4508 PyObject
* obj0
= 0 ;
4509 PyObject
* obj1
= 0 ;
4510 PyObject
* obj4
= 0 ;
4512 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|lO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
4516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4517 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4520 arg5
= wxString_in_helper(obj4
);
4521 if (arg5
== NULL
) SWIG_fail
;
4526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4527 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4529 wxPyEndAllowThreads(__tstate
);
4530 if (PyErr_Occurred()) SWIG_fail
;
4532 resultobj
= PyInt_FromLong((long)result
);
4547 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4548 PyObject
*resultobj
;
4549 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4550 int arg2
= (int) 1 ;
4551 PyObject
* obj0
= 0 ;
4553 (char *) "self",(char *) "number", NULL
4556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_SetFieldsCount",kwnames
,&obj0
,&arg2
)) goto fail
;
4557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4560 (arg1
)->SetFieldsCount(arg2
);
4562 wxPyEndAllowThreads(__tstate
);
4563 if (PyErr_Occurred()) SWIG_fail
;
4565 Py_INCREF(Py_None
); resultobj
= Py_None
;
4572 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
*resultobj
;
4574 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4576 PyObject
* obj0
= 0 ;
4578 (char *) "self", NULL
4581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
4582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4585 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
4587 wxPyEndAllowThreads(__tstate
);
4588 if (PyErr_Occurred()) SWIG_fail
;
4590 resultobj
= PyInt_FromLong((long)result
);
4597 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4598 PyObject
*resultobj
;
4599 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4600 wxString
*arg2
= 0 ;
4601 int arg3
= (int) 0 ;
4602 bool temp2
= False
;
4603 PyObject
* obj0
= 0 ;
4604 PyObject
* obj1
= 0 ;
4606 (char *) "self",(char *) "text",(char *) "number", NULL
4609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4612 arg2
= wxString_in_helper(obj1
);
4613 if (arg2
== NULL
) SWIG_fail
;
4617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4618 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
4620 wxPyEndAllowThreads(__tstate
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4623 Py_INCREF(Py_None
); resultobj
= Py_None
;
4638 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
;
4640 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4641 int arg2
= (int) 0 ;
4643 PyObject
* obj0
= 0 ;
4645 (char *) "self",(char *) "number", NULL
4648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_GetStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
4649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4652 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
4654 wxPyEndAllowThreads(__tstate
);
4655 if (PyErr_Occurred()) SWIG_fail
;
4659 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4661 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4670 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4671 PyObject
*resultobj
;
4672 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4673 wxString
*arg2
= 0 ;
4674 int arg3
= (int) 0 ;
4675 bool temp2
= False
;
4676 PyObject
* obj0
= 0 ;
4677 PyObject
* obj1
= 0 ;
4679 (char *) "self",(char *) "text",(char *) "number", NULL
4682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4685 arg2
= wxString_in_helper(obj1
);
4686 if (arg2
== NULL
) SWIG_fail
;
4690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4691 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
4693 wxPyEndAllowThreads(__tstate
);
4694 if (PyErr_Occurred()) SWIG_fail
;
4696 Py_INCREF(Py_None
); resultobj
= Py_None
;
4711 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4712 PyObject
*resultobj
;
4713 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4714 int arg2
= (int) 0 ;
4715 PyObject
* obj0
= 0 ;
4717 (char *) "self",(char *) "number", NULL
4720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:StatusBar_PopStatusText",kwnames
,&obj0
,&arg2
)) goto fail
;
4721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4724 (arg1
)->PopStatusText(arg2
);
4726 wxPyEndAllowThreads(__tstate
);
4727 if (PyErr_Occurred()) SWIG_fail
;
4729 Py_INCREF(Py_None
); resultobj
= Py_None
;
4736 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4737 PyObject
*resultobj
;
4738 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4740 int *arg3
= (int *) 0 ;
4741 PyObject
* obj0
= 0 ;
4742 PyObject
* obj1
= 0 ;
4744 (char *) "self",(char *) "widths", NULL
4747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
4748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4750 arg2
= PyList_Size(obj1
);
4751 arg3
= int_LIST_helper(obj1
);
4752 if (arg3
== NULL
) SWIG_fail
;
4755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4756 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
4758 wxPyEndAllowThreads(__tstate
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4761 Py_INCREF(Py_None
); resultobj
= Py_None
;
4763 if (arg3
) delete [] arg3
;
4768 if (arg3
) delete [] arg3
;
4774 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
*resultobj
;
4776 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4779 PyObject
* obj0
= 0 ;
4781 (char *) "self",(char *) "i", NULL
4784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:StatusBar_GetFieldRect",kwnames
,&obj0
,&arg2
)) goto fail
;
4785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
4790 wxPyEndAllowThreads(__tstate
);
4791 if (PyErr_Occurred()) SWIG_fail
;
4795 resultptr
= new wxRect((wxRect
&) result
);
4796 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
4804 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4805 PyObject
*resultobj
;
4806 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4808 PyObject
* obj0
= 0 ;
4810 (char *) "self",(char *) "height", NULL
4813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:StatusBar_SetMinHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
4814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 (arg1
)->SetMinHeight(arg2
);
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4822 Py_INCREF(Py_None
); resultobj
= Py_None
;
4829 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4830 PyObject
*resultobj
;
4831 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4833 PyObject
* obj0
= 0 ;
4835 (char *) "self", NULL
4838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
4839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4842 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
4844 wxPyEndAllowThreads(__tstate
);
4845 if (PyErr_Occurred()) SWIG_fail
;
4847 resultobj
= PyInt_FromLong((long)result
);
4854 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4855 PyObject
*resultobj
;
4856 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4858 PyObject
* obj0
= 0 ;
4860 (char *) "self", NULL
4863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
4864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4867 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
4869 wxPyEndAllowThreads(__tstate
);
4870 if (PyErr_Occurred()) SWIG_fail
;
4872 resultobj
= PyInt_FromLong((long)result
);
4879 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
4881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4882 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
4884 return Py_BuildValue((char *)"");
4886 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
4887 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
4892 static PyObject
*_wrap_SplitterNameStr_get() {
4897 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
4899 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
4906 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4907 PyObject
*resultobj
;
4908 wxWindow
*arg1
= (wxWindow
*) 0 ;
4910 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4911 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4912 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4913 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4914 long arg5
= (long) wxSP_3D
;
4915 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
4916 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4917 wxSplitterWindow
*result
;
4920 bool temp6
= False
;
4921 PyObject
* obj0
= 0 ;
4922 PyObject
* obj2
= 0 ;
4923 PyObject
* obj3
= 0 ;
4924 PyObject
* obj5
= 0 ;
4926 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SplitterWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
4930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4934 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4940 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4945 arg6
= wxString_in_helper(obj5
);
4946 if (arg6
== NULL
) SWIG_fail
;
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4957 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
4972 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4973 PyObject
*resultobj
;
4974 wxSplitterWindow
*result
;
4979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 result
= (wxSplitterWindow
*)new wxSplitterWindow();
4984 wxPyEndAllowThreads(__tstate
);
4985 if (PyErr_Occurred()) SWIG_fail
;
4987 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
4994 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4995 PyObject
*resultobj
;
4996 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
4997 wxWindow
*arg2
= (wxWindow
*) 0 ;
4999 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5000 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5001 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5002 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5003 long arg6
= (long) wxSP_3D
;
5004 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5005 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5009 bool temp7
= False
;
5010 PyObject
* obj0
= 0 ;
5011 PyObject
* obj1
= 0 ;
5012 PyObject
* obj3
= 0 ;
5013 PyObject
* obj4
= 0 ;
5014 PyObject
* obj6
= 0 ;
5016 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
5019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
5020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5021 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5025 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5031 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5036 arg7
= wxString_in_helper(obj6
);
5037 if (arg7
== NULL
) SWIG_fail
;
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5043 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5045 wxPyEndAllowThreads(__tstate
);
5046 if (PyErr_Occurred()) SWIG_fail
;
5048 resultobj
= PyInt_FromLong((long)result
);
5063 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5064 PyObject
*resultobj
;
5065 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5067 PyObject
* obj0
= 0 ;
5069 (char *) "self", NULL
5072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5076 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5078 wxPyEndAllowThreads(__tstate
);
5079 if (PyErr_Occurred()) SWIG_fail
;
5082 resultobj
= wxPyMake_wxObject(result
);
5090 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5091 PyObject
*resultobj
;
5092 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5094 PyObject
* obj0
= 0 ;
5096 (char *) "self", NULL
5099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5103 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5105 wxPyEndAllowThreads(__tstate
);
5106 if (PyErr_Occurred()) SWIG_fail
;
5109 resultobj
= wxPyMake_wxObject(result
);
5117 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5118 PyObject
*resultobj
;
5119 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5121 PyObject
* obj0
= 0 ;
5123 (char *) "self",(char *) "mode", NULL
5126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&arg2
)) goto fail
;
5127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5130 (arg1
)->SetSplitMode(arg2
);
5132 wxPyEndAllowThreads(__tstate
);
5133 if (PyErr_Occurred()) SWIG_fail
;
5135 Py_INCREF(Py_None
); resultobj
= Py_None
;
5142 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5143 PyObject
*resultobj
;
5144 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5146 PyObject
* obj0
= 0 ;
5148 (char *) "self", NULL
5151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5155 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5157 wxPyEndAllowThreads(__tstate
);
5158 if (PyErr_Occurred()) SWIG_fail
;
5160 resultobj
= PyInt_FromLong((long)result
);
5167 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5168 PyObject
*resultobj
;
5169 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5170 wxWindow
*arg2
= (wxWindow
*) 0 ;
5171 PyObject
* obj0
= 0 ;
5172 PyObject
* obj1
= 0 ;
5174 (char *) "self",(char *) "window", NULL
5177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5179 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5182 (arg1
)->Initialize(arg2
);
5184 wxPyEndAllowThreads(__tstate
);
5185 if (PyErr_Occurred()) SWIG_fail
;
5187 Py_INCREF(Py_None
); resultobj
= Py_None
;
5194 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5195 PyObject
*resultobj
;
5196 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5197 wxWindow
*arg2
= (wxWindow
*) 0 ;
5198 wxWindow
*arg3
= (wxWindow
*) 0 ;
5199 int arg4
= (int) 0 ;
5201 PyObject
* obj0
= 0 ;
5202 PyObject
* obj1
= 0 ;
5203 PyObject
* obj2
= 0 ;
5205 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
5209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5210 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5211 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5214 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5216 wxPyEndAllowThreads(__tstate
);
5217 if (PyErr_Occurred()) SWIG_fail
;
5219 resultobj
= PyInt_FromLong((long)result
);
5226 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5227 PyObject
*resultobj
;
5228 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5229 wxWindow
*arg2
= (wxWindow
*) 0 ;
5230 wxWindow
*arg3
= (wxWindow
*) 0 ;
5231 int arg4
= (int) 0 ;
5233 PyObject
* obj0
= 0 ;
5234 PyObject
* obj1
= 0 ;
5235 PyObject
* obj2
= 0 ;
5237 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
5241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5242 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5243 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5246 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5248 wxPyEndAllowThreads(__tstate
);
5249 if (PyErr_Occurred()) SWIG_fail
;
5251 resultobj
= PyInt_FromLong((long)result
);
5258 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5259 PyObject
*resultobj
;
5260 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5261 wxWindow
*arg2
= (wxWindow
*) NULL
;
5263 PyObject
* obj0
= 0 ;
5264 PyObject
* obj1
= 0 ;
5266 (char *) "self",(char *) "toRemove", NULL
5269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5272 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5276 result
= (bool)(arg1
)->Unsplit(arg2
);
5278 wxPyEndAllowThreads(__tstate
);
5279 if (PyErr_Occurred()) SWIG_fail
;
5281 resultobj
= PyInt_FromLong((long)result
);
5288 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5289 PyObject
*resultobj
;
5290 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5291 wxWindow
*arg2
= (wxWindow
*) 0 ;
5292 wxWindow
*arg3
= (wxWindow
*) 0 ;
5294 PyObject
* obj0
= 0 ;
5295 PyObject
* obj1
= 0 ;
5296 PyObject
* obj2
= 0 ;
5298 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5303 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5304 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5307 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5309 wxPyEndAllowThreads(__tstate
);
5310 if (PyErr_Occurred()) SWIG_fail
;
5312 resultobj
= PyInt_FromLong((long)result
);
5319 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5320 PyObject
*resultobj
;
5321 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5323 PyObject
* obj0
= 0 ;
5325 (char *) "self", NULL
5328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5332 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5334 wxPyEndAllowThreads(__tstate
);
5335 if (PyErr_Occurred()) SWIG_fail
;
5337 resultobj
= PyInt_FromLong((long)result
);
5344 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5345 PyObject
*resultobj
;
5346 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5348 PyObject
* obj0
= 0 ;
5350 (char *) "self",(char *) "width", NULL
5353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetSashSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5357 (arg1
)->SetSashSize(arg2
);
5359 wxPyEndAllowThreads(__tstate
);
5360 if (PyErr_Occurred()) SWIG_fail
;
5362 Py_INCREF(Py_None
); resultobj
= Py_None
;
5369 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5370 PyObject
*resultobj
;
5371 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5373 PyObject
* obj0
= 0 ;
5375 (char *) "self",(char *) "width", NULL
5378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5382 (arg1
)->SetBorderSize(arg2
);
5384 wxPyEndAllowThreads(__tstate
);
5385 if (PyErr_Occurred()) SWIG_fail
;
5387 Py_INCREF(Py_None
); resultobj
= Py_None
;
5394 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5395 PyObject
*resultobj
;
5396 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5398 PyObject
* obj0
= 0 ;
5400 (char *) "self", NULL
5403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
5404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5407 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
5409 wxPyEndAllowThreads(__tstate
);
5410 if (PyErr_Occurred()) SWIG_fail
;
5412 resultobj
= PyInt_FromLong((long)result
);
5419 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5420 PyObject
*resultobj
;
5421 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5423 PyObject
* obj0
= 0 ;
5425 (char *) "self", NULL
5428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
5429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5432 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
5434 wxPyEndAllowThreads(__tstate
);
5435 if (PyErr_Occurred()) SWIG_fail
;
5437 resultobj
= PyInt_FromLong((long)result
);
5444 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5445 PyObject
*resultobj
;
5446 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5448 bool arg3
= (bool) True
;
5449 PyObject
* obj0
= 0 ;
5450 PyObject
* obj2
= 0 ;
5452 (char *) "self",(char *) "position",(char *) "redraw", NULL
5455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5459 arg3
= (bool) SPyObj_AsBool(obj2
);
5460 if (PyErr_Occurred()) SWIG_fail
;
5464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5465 (arg1
)->SetSashPosition(arg2
,arg3
);
5467 wxPyEndAllowThreads(__tstate
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5470 Py_INCREF(Py_None
); resultobj
= Py_None
;
5477 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5478 PyObject
*resultobj
;
5479 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5481 PyObject
* obj0
= 0 ;
5483 (char *) "self", NULL
5486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5490 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
5492 wxPyEndAllowThreads(__tstate
);
5493 if (PyErr_Occurred()) SWIG_fail
;
5495 resultobj
= PyInt_FromLong((long)result
);
5502 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5503 PyObject
*resultobj
;
5504 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5506 PyObject
* obj0
= 0 ;
5508 (char *) "self",(char *) "min", NULL
5511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5515 (arg1
)->SetMinimumPaneSize(arg2
);
5517 wxPyEndAllowThreads(__tstate
);
5518 if (PyErr_Occurred()) SWIG_fail
;
5520 Py_INCREF(Py_None
); resultobj
= Py_None
;
5527 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5528 PyObject
*resultobj
;
5529 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5531 PyObject
* obj0
= 0 ;
5533 (char *) "self", NULL
5536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
5537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5540 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
5542 wxPyEndAllowThreads(__tstate
);
5543 if (PyErr_Occurred()) SWIG_fail
;
5545 resultobj
= PyInt_FromLong((long)result
);
5552 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5553 PyObject
*resultobj
;
5554 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5557 int arg4
= (int) 5 ;
5559 PyObject
* obj0
= 0 ;
5561 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
5565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5568 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
5570 wxPyEndAllowThreads(__tstate
);
5571 if (PyErr_Occurred()) SWIG_fail
;
5573 resultobj
= PyInt_FromLong((long)result
);
5580 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5581 PyObject
*resultobj
;
5582 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5583 PyObject
* obj0
= 0 ;
5585 (char *) "self", NULL
5588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
5589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 (arg1
)->SizeWindows();
5594 wxPyEndAllowThreads(__tstate
);
5595 if (PyErr_Occurred()) SWIG_fail
;
5597 Py_INCREF(Py_None
); resultobj
= Py_None
;
5604 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5605 PyObject
*resultobj
;
5606 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5608 PyObject
* obj0
= 0 ;
5609 PyObject
* obj1
= 0 ;
5611 (char *) "self",(char *) "needUpdating", NULL
5614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
5615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5617 arg2
= (bool) SPyObj_AsBool(obj1
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5622 (arg1
)->SetNeedUpdating(arg2
);
5624 wxPyEndAllowThreads(__tstate
);
5625 if (PyErr_Occurred()) SWIG_fail
;
5627 Py_INCREF(Py_None
); resultobj
= Py_None
;
5634 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5635 PyObject
*resultobj
;
5636 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5638 PyObject
* obj0
= 0 ;
5640 (char *) "self", NULL
5643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
5644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5647 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
5649 wxPyEndAllowThreads(__tstate
);
5650 if (PyErr_Occurred()) SWIG_fail
;
5652 resultobj
= PyInt_FromLong((long)result
);
5659 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
5661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5662 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
5664 return Py_BuildValue((char *)"");
5666 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5667 PyObject
*resultobj
;
5668 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
5669 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
5670 wxSplitterEvent
*result
;
5671 PyObject
* obj1
= 0 ;
5673 (char *) "type",(char *) "splitter", NULL
5676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_SplitterEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
5678 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5682 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
5684 wxPyEndAllowThreads(__tstate
);
5685 if (PyErr_Occurred()) SWIG_fail
;
5687 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterEvent
, 1);
5694 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5695 PyObject
*resultobj
;
5696 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5698 PyObject
* obj0
= 0 ;
5700 (char *) "self",(char *) "pos", NULL
5703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
5704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5707 (arg1
)->SetSashPosition(arg2
);
5709 wxPyEndAllowThreads(__tstate
);
5710 if (PyErr_Occurred()) SWIG_fail
;
5712 Py_INCREF(Py_None
); resultobj
= Py_None
;
5719 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5720 PyObject
*resultobj
;
5721 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5723 PyObject
* obj0
= 0 ;
5725 (char *) "self", NULL
5728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5732 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
5734 wxPyEndAllowThreads(__tstate
);
5735 if (PyErr_Occurred()) SWIG_fail
;
5737 resultobj
= PyInt_FromLong((long)result
);
5744 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5745 PyObject
*resultobj
;
5746 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5748 PyObject
* obj0
= 0 ;
5750 (char *) "self", NULL
5753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
5754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5757 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
5759 wxPyEndAllowThreads(__tstate
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5763 resultobj
= wxPyMake_wxObject(result
);
5771 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5772 PyObject
*resultobj
;
5773 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5775 PyObject
* obj0
= 0 ;
5777 (char *) "self", NULL
5780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
5781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5784 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
5786 wxPyEndAllowThreads(__tstate
);
5787 if (PyErr_Occurred()) SWIG_fail
;
5789 resultobj
= PyInt_FromLong((long)result
);
5796 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5797 PyObject
*resultobj
;
5798 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
5800 PyObject
* obj0
= 0 ;
5802 (char *) "self", NULL
5805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
5806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5809 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
5811 wxPyEndAllowThreads(__tstate
);
5812 if (PyErr_Occurred()) SWIG_fail
;
5814 resultobj
= PyInt_FromLong((long)result
);
5821 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
5823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5824 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
5826 return Py_BuildValue((char *)"");
5828 static int _wrap_SashNameStr_set(PyObject
*_val
) {
5829 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
5834 static PyObject
*_wrap_SashNameStr_get() {
5839 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
5841 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
5848 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
5849 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
5854 static PyObject
*_wrap_SashLayoutNameStr_get() {
5859 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
5861 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
5868 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5869 PyObject
*resultobj
;
5870 wxWindow
*arg1
= (wxWindow
*) 0 ;
5872 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5873 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5874 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5875 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5876 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
5877 wxString
const &arg6_defvalue
= wxPySashNameStr
;
5878 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5879 wxSashWindow
*result
;
5882 bool temp6
= False
;
5883 PyObject
* obj0
= 0 ;
5884 PyObject
* obj2
= 0 ;
5885 PyObject
* obj3
= 0 ;
5886 PyObject
* obj5
= 0 ;
5888 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SashWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
5892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5896 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5902 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5907 arg6
= wxString_in_helper(obj5
);
5908 if (arg6
== NULL
) SWIG_fail
;
5913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5914 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5919 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
5934 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5935 PyObject
*resultobj
;
5936 wxSashWindow
*result
;
5941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
5943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 result
= (wxSashWindow
*)new wxSashWindow();
5946 wxPyEndAllowThreads(__tstate
);
5947 if (PyErr_Occurred()) SWIG_fail
;
5949 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
5956 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
*resultobj
;
5958 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
5959 wxWindow
*arg2
= (wxWindow
*) 0 ;
5961 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5962 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5963 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5964 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5965 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
5966 wxString
const &arg7_defvalue
= wxPySashNameStr
;
5967 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5971 bool temp7
= False
;
5972 PyObject
* obj0
= 0 ;
5973 PyObject
* obj1
= 0 ;
5974 PyObject
* obj3
= 0 ;
5975 PyObject
* obj4
= 0 ;
5976 PyObject
* obj6
= 0 ;
5978 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
5982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5983 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5987 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5993 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5998 arg7
= wxString_in_helper(obj6
);
5999 if (arg7
== NULL
) SWIG_fail
;
6004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6005 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6007 wxPyEndAllowThreads(__tstate
);
6008 if (PyErr_Occurred()) SWIG_fail
;
6010 resultobj
= PyInt_FromLong((long)result
);
6025 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6026 PyObject
*resultobj
;
6027 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6030 PyObject
* obj0
= 0 ;
6031 PyObject
* obj2
= 0 ;
6033 (char *) "self",(char *) "edge",(char *) "sash", NULL
6036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:SashWindow_SetSashVisible",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6039 arg3
= (bool) SPyObj_AsBool(obj2
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6044 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6046 wxPyEndAllowThreads(__tstate
);
6047 if (PyErr_Occurred()) SWIG_fail
;
6049 Py_INCREF(Py_None
); resultobj
= Py_None
;
6056 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6057 PyObject
*resultobj
;
6058 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6061 PyObject
* obj0
= 0 ;
6063 (char *) "self",(char *) "edge", NULL
6066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_GetSashVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
6067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6070 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6072 wxPyEndAllowThreads(__tstate
);
6073 if (PyErr_Occurred()) SWIG_fail
;
6075 resultobj
= PyInt_FromLong((long)result
);
6082 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6083 PyObject
*resultobj
;
6084 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6087 PyObject
* obj0
= 0 ;
6088 PyObject
* obj2
= 0 ;
6090 (char *) "self",(char *) "edge",(char *) "border", NULL
6093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:SashWindow_SetSashBorder",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6096 arg3
= (bool) SPyObj_AsBool(obj2
);
6097 if (PyErr_Occurred()) SWIG_fail
;
6100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6101 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6103 wxPyEndAllowThreads(__tstate
);
6104 if (PyErr_Occurred()) SWIG_fail
;
6106 Py_INCREF(Py_None
); resultobj
= Py_None
;
6113 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6114 PyObject
*resultobj
;
6115 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6118 PyObject
* obj0
= 0 ;
6120 (char *) "self",(char *) "edge", NULL
6123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_HasBorder",kwnames
,&obj0
,&arg2
)) goto fail
;
6124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6127 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
6129 wxPyEndAllowThreads(__tstate
);
6130 if (PyErr_Occurred()) SWIG_fail
;
6132 resultobj
= PyInt_FromLong((long)result
);
6139 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6140 PyObject
*resultobj
;
6141 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6144 PyObject
* obj0
= 0 ;
6146 (char *) "self",(char *) "edge", NULL
6149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&arg2
)) goto fail
;
6150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6153 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
6155 wxPyEndAllowThreads(__tstate
);
6156 if (PyErr_Occurred()) SWIG_fail
;
6158 resultobj
= PyInt_FromLong((long)result
);
6165 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6166 PyObject
*resultobj
;
6167 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6169 PyObject
* obj0
= 0 ;
6171 (char *) "self",(char *) "width", NULL
6174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
6175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6178 (arg1
)->SetDefaultBorderSize(arg2
);
6180 wxPyEndAllowThreads(__tstate
);
6181 if (PyErr_Occurred()) SWIG_fail
;
6183 Py_INCREF(Py_None
); resultobj
= Py_None
;
6190 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6191 PyObject
*resultobj
;
6192 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6194 PyObject
* obj0
= 0 ;
6196 (char *) "self", NULL
6199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
6200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6203 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
6205 wxPyEndAllowThreads(__tstate
);
6206 if (PyErr_Occurred()) SWIG_fail
;
6208 resultobj
= PyInt_FromLong((long)result
);
6215 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6216 PyObject
*resultobj
;
6217 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6219 PyObject
* obj0
= 0 ;
6221 (char *) "self",(char *) "width", NULL
6224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&arg2
)) goto fail
;
6225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6228 (arg1
)->SetExtraBorderSize(arg2
);
6230 wxPyEndAllowThreads(__tstate
);
6231 if (PyErr_Occurred()) SWIG_fail
;
6233 Py_INCREF(Py_None
); resultobj
= Py_None
;
6240 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6241 PyObject
*resultobj
;
6242 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6244 PyObject
* obj0
= 0 ;
6246 (char *) "self", NULL
6249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
6250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6253 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
6255 wxPyEndAllowThreads(__tstate
);
6256 if (PyErr_Occurred()) SWIG_fail
;
6258 resultobj
= PyInt_FromLong((long)result
);
6265 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6266 PyObject
*resultobj
;
6267 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6269 PyObject
* obj0
= 0 ;
6271 (char *) "self",(char *) "min", NULL
6274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&arg2
)) goto fail
;
6275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6278 (arg1
)->SetMinimumSizeX(arg2
);
6280 wxPyEndAllowThreads(__tstate
);
6281 if (PyErr_Occurred()) SWIG_fail
;
6283 Py_INCREF(Py_None
); resultobj
= Py_None
;
6290 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6291 PyObject
*resultobj
;
6292 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6294 PyObject
* obj0
= 0 ;
6296 (char *) "self",(char *) "min", NULL
6299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&arg2
)) goto fail
;
6300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6303 (arg1
)->SetMinimumSizeY(arg2
);
6305 wxPyEndAllowThreads(__tstate
);
6306 if (PyErr_Occurred()) SWIG_fail
;
6308 Py_INCREF(Py_None
); resultobj
= Py_None
;
6315 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
*resultobj
;
6317 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6319 PyObject
* obj0
= 0 ;
6321 (char *) "self", NULL
6324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
6325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6328 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
6330 wxPyEndAllowThreads(__tstate
);
6331 if (PyErr_Occurred()) SWIG_fail
;
6333 resultobj
= PyInt_FromLong((long)result
);
6340 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6341 PyObject
*resultobj
;
6342 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6344 PyObject
* obj0
= 0 ;
6346 (char *) "self", NULL
6349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
6350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6353 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
6355 wxPyEndAllowThreads(__tstate
);
6356 if (PyErr_Occurred()) SWIG_fail
;
6358 resultobj
= PyInt_FromLong((long)result
);
6365 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6366 PyObject
*resultobj
;
6367 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6369 PyObject
* obj0
= 0 ;
6371 (char *) "self",(char *) "max", NULL
6374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&arg2
)) goto fail
;
6375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6378 (arg1
)->SetMaximumSizeX(arg2
);
6380 wxPyEndAllowThreads(__tstate
);
6381 if (PyErr_Occurred()) SWIG_fail
;
6383 Py_INCREF(Py_None
); resultobj
= Py_None
;
6390 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6391 PyObject
*resultobj
;
6392 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6394 PyObject
* obj0
= 0 ;
6396 (char *) "self",(char *) "max", NULL
6399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&arg2
)) goto fail
;
6400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6403 (arg1
)->SetMaximumSizeY(arg2
);
6405 wxPyEndAllowThreads(__tstate
);
6406 if (PyErr_Occurred()) SWIG_fail
;
6408 Py_INCREF(Py_None
); resultobj
= Py_None
;
6415 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6416 PyObject
*resultobj
;
6417 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6419 PyObject
* obj0
= 0 ;
6421 (char *) "self", NULL
6424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
6425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6428 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
6430 wxPyEndAllowThreads(__tstate
);
6431 if (PyErr_Occurred()) SWIG_fail
;
6433 resultobj
= PyInt_FromLong((long)result
);
6440 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6441 PyObject
*resultobj
;
6442 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6444 PyObject
* obj0
= 0 ;
6446 (char *) "self", NULL
6449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
6450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6453 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
6455 wxPyEndAllowThreads(__tstate
);
6456 if (PyErr_Occurred()) SWIG_fail
;
6458 resultobj
= PyInt_FromLong((long)result
);
6465 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6466 PyObject
*resultobj
;
6467 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6470 int arg4
= (int) 2 ;
6472 PyObject
* obj0
= 0 ;
6474 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:SashWindow_SashHitTest",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
6478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6481 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6483 wxPyEndAllowThreads(__tstate
);
6484 if (PyErr_Occurred()) SWIG_fail
;
6486 resultobj
= PyInt_FromLong((long)result
);
6493 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6494 PyObject
*resultobj
;
6495 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6496 PyObject
* obj0
= 0 ;
6498 (char *) "self", NULL
6501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6505 (arg1
)->SizeWindows();
6507 wxPyEndAllowThreads(__tstate
);
6508 if (PyErr_Occurred()) SWIG_fail
;
6510 Py_INCREF(Py_None
); resultobj
= Py_None
;
6517 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6520 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
6522 return Py_BuildValue((char *)"");
6524 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6525 PyObject
*resultobj
;
6526 int arg1
= (int) 0 ;
6527 int arg2
= (int) wxSASH_NONE
;
6528 wxSashEvent
*result
;
6530 (char *) "id",(char *) "edge", NULL
6533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_SashEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
6535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6536 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
6538 wxPyEndAllowThreads(__tstate
);
6539 if (PyErr_Occurred()) SWIG_fail
;
6541 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashEvent
, 1);
6548 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6549 PyObject
*resultobj
;
6550 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6552 PyObject
* obj0
= 0 ;
6554 (char *) "self",(char *) "edge", NULL
6557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashEvent_SetEdge",kwnames
,&obj0
,&arg2
)) goto fail
;
6558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6561 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
6563 wxPyEndAllowThreads(__tstate
);
6564 if (PyErr_Occurred()) SWIG_fail
;
6566 Py_INCREF(Py_None
); resultobj
= Py_None
;
6573 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6574 PyObject
*resultobj
;
6575 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6577 PyObject
* obj0
= 0 ;
6579 (char *) "self", NULL
6582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
6583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6586 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
6588 wxPyEndAllowThreads(__tstate
);
6589 if (PyErr_Occurred()) SWIG_fail
;
6591 resultobj
= PyInt_FromLong((long)result
);
6598 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6599 PyObject
*resultobj
;
6600 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6603 PyObject
* obj0
= 0 ;
6604 PyObject
* obj1
= 0 ;
6606 (char *) "self",(char *) "rect", NULL
6609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6613 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6617 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
6619 wxPyEndAllowThreads(__tstate
);
6620 if (PyErr_Occurred()) SWIG_fail
;
6622 Py_INCREF(Py_None
); resultobj
= Py_None
;
6629 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6630 PyObject
*resultobj
;
6631 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6633 PyObject
* obj0
= 0 ;
6635 (char *) "self", NULL
6638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
6639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6642 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
6644 wxPyEndAllowThreads(__tstate
);
6645 if (PyErr_Occurred()) SWIG_fail
;
6649 resultptr
= new wxRect((wxRect
&) result
);
6650 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
6658 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6659 PyObject
*resultobj
;
6660 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6662 PyObject
* obj0
= 0 ;
6664 (char *) "self",(char *) "status", NULL
6667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashEvent_SetDragStatus",kwnames
,&obj0
,&arg2
)) goto fail
;
6668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6671 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
6673 wxPyEndAllowThreads(__tstate
);
6674 if (PyErr_Occurred()) SWIG_fail
;
6676 Py_INCREF(Py_None
); resultobj
= Py_None
;
6683 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6684 PyObject
*resultobj
;
6685 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
6687 PyObject
* obj0
= 0 ;
6689 (char *) "self", NULL
6692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
6693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6696 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
6698 wxPyEndAllowThreads(__tstate
);
6699 if (PyErr_Occurred()) SWIG_fail
;
6701 resultobj
= PyInt_FromLong((long)result
);
6708 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6711 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
6713 return Py_BuildValue((char *)"");
6715 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6716 PyObject
*resultobj
;
6717 int arg1
= (int) 0 ;
6718 wxQueryLayoutInfoEvent
*result
;
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_QueryLayoutInfoEvent",kwnames
,&arg1
)) goto fail
;
6725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6726 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
6728 wxPyEndAllowThreads(__tstate
);
6729 if (PyErr_Occurred()) SWIG_fail
;
6731 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
6738 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6739 PyObject
*resultobj
;
6740 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6742 PyObject
* obj0
= 0 ;
6744 (char *) "self",(char *) "length", NULL
6747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6751 (arg1
)->SetRequestedLength(arg2
);
6753 wxPyEndAllowThreads(__tstate
);
6754 if (PyErr_Occurred()) SWIG_fail
;
6756 Py_INCREF(Py_None
); resultobj
= Py_None
;
6763 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6764 PyObject
*resultobj
;
6765 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6767 PyObject
* obj0
= 0 ;
6769 (char *) "self", NULL
6772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
6773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6776 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
6778 wxPyEndAllowThreads(__tstate
);
6779 if (PyErr_Occurred()) SWIG_fail
;
6781 resultobj
= PyInt_FromLong((long)result
);
6788 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6789 PyObject
*resultobj
;
6790 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6792 PyObject
* obj0
= 0 ;
6794 (char *) "self",(char *) "flags", NULL
6797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
6798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6801 (arg1
)->SetFlags(arg2
);
6803 wxPyEndAllowThreads(__tstate
);
6804 if (PyErr_Occurred()) SWIG_fail
;
6806 Py_INCREF(Py_None
); resultobj
= Py_None
;
6813 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6814 PyObject
*resultobj
;
6815 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6817 PyObject
* obj0
= 0 ;
6819 (char *) "self", NULL
6822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
6823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6826 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
6828 wxPyEndAllowThreads(__tstate
);
6829 if (PyErr_Occurred()) SWIG_fail
;
6831 resultobj
= PyInt_FromLong((long)result
);
6838 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6839 PyObject
*resultobj
;
6840 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6843 PyObject
* obj0
= 0 ;
6844 PyObject
* obj1
= 0 ;
6846 (char *) "self",(char *) "size", NULL
6849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6853 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6857 (arg1
)->SetSize((wxSize
const &)*arg2
);
6859 wxPyEndAllowThreads(__tstate
);
6860 if (PyErr_Occurred()) SWIG_fail
;
6862 Py_INCREF(Py_None
); resultobj
= Py_None
;
6869 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6870 PyObject
*resultobj
;
6871 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6873 PyObject
* obj0
= 0 ;
6875 (char *) "self", NULL
6878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
6879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6882 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
6884 wxPyEndAllowThreads(__tstate
);
6885 if (PyErr_Occurred()) SWIG_fail
;
6889 resultptr
= new wxSize((wxSize
&) result
);
6890 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
6898 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6899 PyObject
*resultobj
;
6900 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6902 PyObject
* obj0
= 0 ;
6904 (char *) "self",(char *) "orient", NULL
6907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
6908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6911 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
6913 wxPyEndAllowThreads(__tstate
);
6914 if (PyErr_Occurred()) SWIG_fail
;
6916 Py_INCREF(Py_None
); resultobj
= Py_None
;
6923 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6924 PyObject
*resultobj
;
6925 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6927 PyObject
* obj0
= 0 ;
6929 (char *) "self", NULL
6932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
6933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6936 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
6938 wxPyEndAllowThreads(__tstate
);
6939 if (PyErr_Occurred()) SWIG_fail
;
6941 resultobj
= PyInt_FromLong((long)result
);
6948 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6949 PyObject
*resultobj
;
6950 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6952 PyObject
* obj0
= 0 ;
6954 (char *) "self",(char *) "align", NULL
6957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
6958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6961 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
6963 wxPyEndAllowThreads(__tstate
);
6964 if (PyErr_Occurred()) SWIG_fail
;
6966 Py_INCREF(Py_None
); resultobj
= Py_None
;
6973 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6974 PyObject
*resultobj
;
6975 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
6977 PyObject
* obj0
= 0 ;
6979 (char *) "self", NULL
6982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
6983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6986 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
6988 wxPyEndAllowThreads(__tstate
);
6989 if (PyErr_Occurred()) SWIG_fail
;
6991 resultobj
= PyInt_FromLong((long)result
);
6998 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7000 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7001 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7003 return Py_BuildValue((char *)"");
7005 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7006 PyObject
*resultobj
;
7007 int arg1
= (int) 0 ;
7008 wxCalculateLayoutEvent
*result
;
7013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_CalculateLayoutEvent",kwnames
,&arg1
)) goto fail
;
7015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7016 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
7018 wxPyEndAllowThreads(__tstate
);
7019 if (PyErr_Occurred()) SWIG_fail
;
7021 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
7028 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7029 PyObject
*resultobj
;
7030 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7032 PyObject
* obj0
= 0 ;
7034 (char *) "self",(char *) "flags", NULL
7037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
7038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7041 (arg1
)->SetFlags(arg2
);
7043 wxPyEndAllowThreads(__tstate
);
7044 if (PyErr_Occurred()) SWIG_fail
;
7046 Py_INCREF(Py_None
); resultobj
= Py_None
;
7053 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7054 PyObject
*resultobj
;
7055 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7057 PyObject
* obj0
= 0 ;
7059 (char *) "self", NULL
7062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7066 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
7068 wxPyEndAllowThreads(__tstate
);
7069 if (PyErr_Occurred()) SWIG_fail
;
7071 resultobj
= PyInt_FromLong((long)result
);
7078 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7079 PyObject
*resultobj
;
7080 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7083 PyObject
* obj0
= 0 ;
7084 PyObject
* obj1
= 0 ;
7086 (char *) "self",(char *) "rect", NULL
7089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7093 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 (arg1
)->SetRect((wxRect
const &)*arg2
);
7099 wxPyEndAllowThreads(__tstate
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7102 Py_INCREF(Py_None
); resultobj
= Py_None
;
7109 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7110 PyObject
*resultobj
;
7111 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7113 PyObject
* obj0
= 0 ;
7115 (char *) "self", NULL
7118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
7119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7122 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
7124 wxPyEndAllowThreads(__tstate
);
7125 if (PyErr_Occurred()) SWIG_fail
;
7129 resultptr
= new wxRect((wxRect
&) result
);
7130 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
7138 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7141 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
7143 return Py_BuildValue((char *)"");
7145 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7146 PyObject
*resultobj
;
7147 wxWindow
*arg1
= (wxWindow
*) 0 ;
7149 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7150 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7151 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7152 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7153 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7154 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
7155 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7156 wxSashLayoutWindow
*result
;
7159 bool temp6
= False
;
7160 PyObject
* obj0
= 0 ;
7161 PyObject
* obj2
= 0 ;
7162 PyObject
* obj3
= 0 ;
7163 PyObject
* obj5
= 0 ;
7165 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
7169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7173 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7179 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7184 arg6
= wxString_in_helper(obj5
);
7185 if (arg6
== NULL
) SWIG_fail
;
7190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7191 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7193 wxPyEndAllowThreads(__tstate
);
7194 if (PyErr_Occurred()) SWIG_fail
;
7196 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
7211 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7212 PyObject
*resultobj
;
7213 wxSashLayoutWindow
*result
;
7218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
7220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7221 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
7223 wxPyEndAllowThreads(__tstate
);
7224 if (PyErr_Occurred()) SWIG_fail
;
7226 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
7233 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7234 PyObject
*resultobj
;
7235 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7236 wxWindow
*arg2
= (wxWindow
*) 0 ;
7238 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7239 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7240 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7241 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7242 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7243 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
7244 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7248 bool temp7
= False
;
7249 PyObject
* obj0
= 0 ;
7250 PyObject
* obj1
= 0 ;
7251 PyObject
* obj3
= 0 ;
7252 PyObject
* obj4
= 0 ;
7253 PyObject
* obj6
= 0 ;
7255 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
7259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7260 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7264 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7270 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7275 arg7
= wxString_in_helper(obj6
);
7276 if (arg7
== NULL
) SWIG_fail
;
7281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7282 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7284 wxPyEndAllowThreads(__tstate
);
7285 if (PyErr_Occurred()) SWIG_fail
;
7287 resultobj
= PyInt_FromLong((long)result
);
7302 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7303 PyObject
*resultobj
;
7304 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7306 PyObject
* obj0
= 0 ;
7308 (char *) "self", NULL
7311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
7312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7315 result
= (int)(arg1
)->GetAlignment();
7317 wxPyEndAllowThreads(__tstate
);
7318 if (PyErr_Occurred()) SWIG_fail
;
7320 resultobj
= PyInt_FromLong((long)result
);
7327 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7328 PyObject
*resultobj
;
7329 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7331 PyObject
* obj0
= 0 ;
7333 (char *) "self", NULL
7336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
7337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7340 result
= (int)(arg1
)->GetOrientation();
7342 wxPyEndAllowThreads(__tstate
);
7343 if (PyErr_Occurred()) SWIG_fail
;
7345 resultobj
= PyInt_FromLong((long)result
);
7352 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7353 PyObject
*resultobj
;
7354 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7356 PyObject
* obj0
= 0 ;
7358 (char *) "self",(char *) "alignment", NULL
7361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
7362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7365 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7367 wxPyEndAllowThreads(__tstate
);
7368 if (PyErr_Occurred()) SWIG_fail
;
7370 Py_INCREF(Py_None
); resultobj
= Py_None
;
7377 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7378 PyObject
*resultobj
;
7379 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7382 PyObject
* obj0
= 0 ;
7383 PyObject
* obj1
= 0 ;
7385 (char *) "self",(char *) "size", NULL
7388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7392 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7396 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
7398 wxPyEndAllowThreads(__tstate
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7401 Py_INCREF(Py_None
); resultobj
= Py_None
;
7408 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7409 PyObject
*resultobj
;
7410 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7412 PyObject
* obj0
= 0 ;
7414 (char *) "self",(char *) "orientation", NULL
7417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
7418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7421 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7423 wxPyEndAllowThreads(__tstate
);
7424 if (PyErr_Occurred()) SWIG_fail
;
7426 Py_INCREF(Py_None
); resultobj
= Py_None
;
7433 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7435 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7436 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
7438 return Py_BuildValue((char *)"");
7440 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7441 PyObject
*resultobj
;
7442 wxLayoutAlgorithm
*result
;
7447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
7449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7450 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
7452 wxPyEndAllowThreads(__tstate
);
7453 if (PyErr_Occurred()) SWIG_fail
;
7455 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutAlgorithm
, 1);
7462 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7463 PyObject
*resultobj
;
7464 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7465 PyObject
* obj0
= 0 ;
7467 (char *) "self", NULL
7470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
7471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7476 wxPyEndAllowThreads(__tstate
);
7477 if (PyErr_Occurred()) SWIG_fail
;
7479 Py_INCREF(Py_None
); resultobj
= Py_None
;
7486 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7487 PyObject
*resultobj
;
7488 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7489 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
7490 wxRect
*arg3
= (wxRect
*) NULL
;
7492 PyObject
* obj0
= 0 ;
7493 PyObject
* obj1
= 0 ;
7494 PyObject
* obj2
= 0 ;
7496 (char *) "self",(char *) "frame",(char *) "rect", NULL
7499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7501 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7503 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7507 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
7509 wxPyEndAllowThreads(__tstate
);
7510 if (PyErr_Occurred()) SWIG_fail
;
7512 resultobj
= PyInt_FromLong((long)result
);
7519 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7520 PyObject
*resultobj
;
7521 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7522 wxFrame
*arg2
= (wxFrame
*) 0 ;
7523 wxWindow
*arg3
= (wxWindow
*) NULL
;
7525 PyObject
* obj0
= 0 ;
7526 PyObject
* obj1
= 0 ;
7527 PyObject
* obj2
= 0 ;
7529 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7534 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7536 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7540 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
7542 wxPyEndAllowThreads(__tstate
);
7543 if (PyErr_Occurred()) SWIG_fail
;
7545 resultobj
= PyInt_FromLong((long)result
);
7552 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
*resultobj
;
7554 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
7555 wxWindow
*arg2
= (wxWindow
*) 0 ;
7556 wxWindow
*arg3
= (wxWindow
*) NULL
;
7558 PyObject
* obj0
= 0 ;
7559 PyObject
* obj1
= 0 ;
7560 PyObject
* obj2
= 0 ;
7562 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7567 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7569 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7573 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
7575 wxPyEndAllowThreads(__tstate
);
7576 if (PyErr_Occurred()) SWIG_fail
;
7578 resultobj
= PyInt_FromLong((long)result
);
7585 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
7587 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7588 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
7590 return Py_BuildValue((char *)"");
7592 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7593 PyObject
*resultobj
;
7594 wxWindow
*arg1
= (wxWindow
*) 0 ;
7595 int arg2
= (int) wxBORDER_NONE
;
7596 wxPopupWindow
*result
;
7597 PyObject
* obj0
= 0 ;
7599 (char *) "parent",(char *) "flags", NULL
7602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_PopupWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
7603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7606 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
7608 wxPyEndAllowThreads(__tstate
);
7609 if (PyErr_Occurred()) SWIG_fail
;
7611 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
7618 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7619 PyObject
*resultobj
;
7620 wxPopupWindow
*result
;
7625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
7627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7628 result
= (wxPopupWindow
*)new wxPopupWindow();
7630 wxPyEndAllowThreads(__tstate
);
7631 if (PyErr_Occurred()) SWIG_fail
;
7633 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
7640 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7643 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
7645 return Py_BuildValue((char *)"");
7647 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7648 PyObject
*resultobj
;
7649 wxWindow
*arg1
= (wxWindow
*) 0 ;
7650 int arg2
= (int) wxBORDER_NONE
;
7651 wxPyPopupTransientWindow
*result
;
7652 PyObject
* obj0
= 0 ;
7654 (char *) "parent",(char *) "style", NULL
7657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_PopupTransientWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
7658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7661 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
7663 wxPyEndAllowThreads(__tstate
);
7664 if (PyErr_Occurred()) SWIG_fail
;
7666 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
7673 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7674 PyObject
*resultobj
;
7675 wxPyPopupTransientWindow
*result
;
7680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
7682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7683 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
7685 wxPyEndAllowThreads(__tstate
);
7686 if (PyErr_Occurred()) SWIG_fail
;
7688 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
7695 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7697 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7698 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
7700 return Py_BuildValue((char *)"");
7702 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7703 PyObject
*resultobj
;
7704 wxWindow
*arg1
= (wxWindow
*) 0 ;
7705 wxString
*arg2
= 0 ;
7706 int arg3
= (int) 100 ;
7707 wxRect
*arg4
= (wxRect
*) NULL
;
7708 wxTipWindow
*result
;
7709 bool temp2
= False
;
7710 PyObject
* obj0
= 0 ;
7711 PyObject
* obj1
= 0 ;
7712 PyObject
* obj3
= 0 ;
7714 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iO:new_TipWindow",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
7718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7720 arg2
= wxString_in_helper(obj1
);
7721 if (arg2
== NULL
) SWIG_fail
;
7725 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7729 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7731 wxPyEndAllowThreads(__tstate
);
7732 if (PyErr_Occurred()) SWIG_fail
;
7734 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTipWindow
, 1);
7749 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7750 PyObject
*resultobj
;
7751 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
7754 PyObject
* obj0
= 0 ;
7755 PyObject
* obj1
= 0 ;
7757 (char *) "self",(char *) "rectBound", NULL
7760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7764 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7768 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
7770 wxPyEndAllowThreads(__tstate
);
7771 if (PyErr_Occurred()) SWIG_fail
;
7773 Py_INCREF(Py_None
); resultobj
= Py_None
;
7780 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7781 PyObject
*resultobj
;
7782 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
7783 PyObject
* obj0
= 0 ;
7785 (char *) "self", NULL
7788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
7789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7797 Py_INCREF(Py_None
); resultobj
= Py_None
;
7804 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7807 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
7809 return Py_BuildValue((char *)"");
7811 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7812 PyObject
*resultobj
;
7813 wxWindow
*arg1
= (wxWindow
*) 0 ;
7814 int arg2
= (int) wxID_ANY
;
7815 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7816 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7817 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7818 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7819 long arg5
= (long) 0 ;
7820 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
7821 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7822 wxPyVScrolledWindow
*result
;
7825 bool temp6
= False
;
7826 PyObject
* obj0
= 0 ;
7827 PyObject
* obj2
= 0 ;
7828 PyObject
* obj3
= 0 ;
7829 PyObject
* obj5
= 0 ;
7831 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_VScrolledWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
7835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7839 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7845 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7850 arg6
= wxString_in_helper(obj5
);
7851 if (arg6
== NULL
) SWIG_fail
;
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7859 wxPyEndAllowThreads(__tstate
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7862 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
7877 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7878 PyObject
*resultobj
;
7879 wxPyVScrolledWindow
*result
;
7884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
7886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7887 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
7889 wxPyEndAllowThreads(__tstate
);
7890 if (PyErr_Occurred()) SWIG_fail
;
7892 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
7899 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7900 PyObject
*resultobj
;
7901 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7902 PyObject
*arg2
= (PyObject
*) 0 ;
7903 PyObject
*arg3
= (PyObject
*) 0 ;
7904 PyObject
* obj0
= 0 ;
7905 PyObject
* obj1
= 0 ;
7906 PyObject
* obj2
= 0 ;
7908 (char *) "self",(char *) "self",(char *) "_class", NULL
7911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7917 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7919 wxPyEndAllowThreads(__tstate
);
7920 if (PyErr_Occurred()) SWIG_fail
;
7922 Py_INCREF(Py_None
); resultobj
= Py_None
;
7929 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7930 PyObject
*resultobj
;
7931 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
7932 wxWindow
*arg2
= (wxWindow
*) 0 ;
7933 int arg3
= (int) wxID_ANY
;
7934 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7935 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7936 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7937 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7938 long arg6
= (long) 0 ;
7939 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
7940 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7944 bool temp7
= False
;
7945 PyObject
* obj0
= 0 ;
7946 PyObject
* obj1
= 0 ;
7947 PyObject
* obj3
= 0 ;
7948 PyObject
* obj4
= 0 ;
7949 PyObject
* obj6
= 0 ;
7951 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
7955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7956 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7960 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7966 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7971 arg7
= wxString_in_helper(obj6
);
7972 if (arg7
== NULL
) SWIG_fail
;
7977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7978 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7980 wxPyEndAllowThreads(__tstate
);
7981 if (PyErr_Occurred()) SWIG_fail
;
7983 resultobj
= PyInt_FromLong((long)result
);
7998 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7999 PyObject
*resultobj
;
8000 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8002 PyObject
* obj0
= 0 ;
8003 PyObject
* obj1
= 0 ;
8005 (char *) "self",(char *) "count", NULL
8008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8011 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
8012 if (PyErr_Occurred()) SWIG_fail
;
8015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8016 (arg1
)->SetLineCount(arg2
);
8018 wxPyEndAllowThreads(__tstate
);
8019 if (PyErr_Occurred()) SWIG_fail
;
8021 Py_INCREF(Py_None
); resultobj
= Py_None
;
8028 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8029 PyObject
*resultobj
;
8030 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8033 PyObject
* obj0
= 0 ;
8034 PyObject
* obj1
= 0 ;
8036 (char *) "self",(char *) "line", NULL
8039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8042 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
8043 if (PyErr_Occurred()) SWIG_fail
;
8046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8047 result
= (bool)(arg1
)->ScrollToLine(arg2
);
8049 wxPyEndAllowThreads(__tstate
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8052 resultobj
= PyInt_FromLong((long)result
);
8059 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8060 PyObject
*resultobj
;
8061 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8064 PyObject
* obj0
= 0 ;
8066 (char *) "self",(char *) "lines", NULL
8069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&arg2
)) goto fail
;
8070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8073 result
= (bool)(arg1
)->ScrollLines(arg2
);
8075 wxPyEndAllowThreads(__tstate
);
8076 if (PyErr_Occurred()) SWIG_fail
;
8078 resultobj
= PyInt_FromLong((long)result
);
8085 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8086 PyObject
*resultobj
;
8087 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8090 PyObject
* obj0
= 0 ;
8092 (char *) "self",(char *) "pages", NULL
8095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&arg2
)) goto fail
;
8096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8099 result
= (bool)(arg1
)->ScrollPages(arg2
);
8101 wxPyEndAllowThreads(__tstate
);
8102 if (PyErr_Occurred()) SWIG_fail
;
8104 resultobj
= PyInt_FromLong((long)result
);
8111 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8112 PyObject
*resultobj
;
8113 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8115 PyObject
* obj0
= 0 ;
8116 PyObject
* obj1
= 0 ;
8118 (char *) "self",(char *) "line", NULL
8121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8124 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
8125 if (PyErr_Occurred()) SWIG_fail
;
8128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8129 (arg1
)->RefreshLine(arg2
);
8131 wxPyEndAllowThreads(__tstate
);
8132 if (PyErr_Occurred()) SWIG_fail
;
8134 Py_INCREF(Py_None
); resultobj
= Py_None
;
8141 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8142 PyObject
*resultobj
;
8143 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8146 PyObject
* obj0
= 0 ;
8147 PyObject
* obj1
= 0 ;
8148 PyObject
* obj2
= 0 ;
8150 (char *) "self",(char *) "from",(char *) "to", NULL
8153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8156 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
8157 if (PyErr_Occurred()) SWIG_fail
;
8160 arg3
= (size_t) SPyObj_AsUnsignedLong(obj2
);
8161 if (PyErr_Occurred()) SWIG_fail
;
8164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8165 (arg1
)->RefreshLines(arg2
,arg3
);
8167 wxPyEndAllowThreads(__tstate
);
8168 if (PyErr_Occurred()) SWIG_fail
;
8170 Py_INCREF(Py_None
); resultobj
= Py_None
;
8177 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8178 PyObject
*resultobj
;
8179 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8183 PyObject
* obj0
= 0 ;
8185 (char *) "self",(char *) "x",(char *) "y", NULL
8188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8192 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
8194 wxPyEndAllowThreads(__tstate
);
8195 if (PyErr_Occurred()) SWIG_fail
;
8197 resultobj
= PyInt_FromLong((long)result
);
8204 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8205 PyObject
*resultobj
;
8206 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8210 PyObject
* obj0
= 0 ;
8211 PyObject
* obj1
= 0 ;
8213 (char *) "self",(char *) "pt", NULL
8216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8220 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8224 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8226 wxPyEndAllowThreads(__tstate
);
8227 if (PyErr_Occurred()) SWIG_fail
;
8229 resultobj
= PyInt_FromLong((long)result
);
8236 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8237 PyObject
*resultobj
;
8238 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8239 PyObject
* obj0
= 0 ;
8241 (char *) "self", NULL
8244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
8245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8248 (arg1
)->RefreshAll();
8250 wxPyEndAllowThreads(__tstate
);
8251 if (PyErr_Occurred()) SWIG_fail
;
8253 Py_INCREF(Py_None
); resultobj
= Py_None
;
8260 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8261 PyObject
*resultobj
;
8262 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8264 PyObject
* obj0
= 0 ;
8266 (char *) "self", NULL
8269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
8270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8273 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
8275 wxPyEndAllowThreads(__tstate
);
8276 if (PyErr_Occurred()) SWIG_fail
;
8278 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
8285 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8286 PyObject
*resultobj
;
8287 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8289 PyObject
* obj0
= 0 ;
8291 (char *) "self", NULL
8294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
8295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8298 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
8300 wxPyEndAllowThreads(__tstate
);
8301 if (PyErr_Occurred()) SWIG_fail
;
8303 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
8310 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8311 PyObject
*resultobj
;
8312 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8314 PyObject
* obj0
= 0 ;
8316 (char *) "self", NULL
8319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
8320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8323 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
8325 wxPyEndAllowThreads(__tstate
);
8326 if (PyErr_Occurred()) SWIG_fail
;
8328 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
8335 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8336 PyObject
*resultobj
;
8337 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8340 PyObject
* obj0
= 0 ;
8341 PyObject
* obj1
= 0 ;
8343 (char *) "self",(char *) "line", NULL
8346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8349 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
8350 if (PyErr_Occurred()) SWIG_fail
;
8353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8354 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
8356 wxPyEndAllowThreads(__tstate
);
8357 if (PyErr_Occurred()) SWIG_fail
;
8359 resultobj
= PyInt_FromLong((long)result
);
8366 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8368 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8369 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
8371 return Py_BuildValue((char *)"");
8373 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
8374 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
8379 static PyObject
*_wrap_VListBoxNameStr_get() {
8384 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
8386 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
8393 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8394 PyObject
*resultobj
;
8395 wxWindow
*arg1
= (wxWindow
*) 0 ;
8396 int arg2
= (int) wxID_ANY
;
8397 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8398 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8399 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8400 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8401 long arg5
= (long) 0 ;
8402 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
8403 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8404 wxPyVListBox
*result
;
8407 bool temp6
= False
;
8408 PyObject
* obj0
= 0 ;
8409 PyObject
* obj2
= 0 ;
8410 PyObject
* obj3
= 0 ;
8411 PyObject
* obj5
= 0 ;
8413 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_VListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
8417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8421 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8427 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8432 arg6
= wxString_in_helper(obj5
);
8433 if (arg6
== NULL
) SWIG_fail
;
8438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8439 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8441 wxPyEndAllowThreads(__tstate
);
8442 if (PyErr_Occurred()) SWIG_fail
;
8444 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
8459 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8460 PyObject
*resultobj
;
8461 wxPyVListBox
*result
;
8466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
8468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8469 result
= (wxPyVListBox
*)new wxPyVListBox();
8471 wxPyEndAllowThreads(__tstate
);
8472 if (PyErr_Occurred()) SWIG_fail
;
8474 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
8481 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8482 PyObject
*resultobj
;
8483 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8484 PyObject
*arg2
= (PyObject
*) 0 ;
8485 PyObject
*arg3
= (PyObject
*) 0 ;
8486 PyObject
* obj0
= 0 ;
8487 PyObject
* obj1
= 0 ;
8488 PyObject
* obj2
= 0 ;
8490 (char *) "self",(char *) "self",(char *) "_class", NULL
8493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8499 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8501 wxPyEndAllowThreads(__tstate
);
8502 if (PyErr_Occurred()) SWIG_fail
;
8504 Py_INCREF(Py_None
); resultobj
= Py_None
;
8511 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8512 PyObject
*resultobj
;
8513 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8514 wxWindow
*arg2
= (wxWindow
*) 0 ;
8515 int arg3
= (int) wxID_ANY
;
8516 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8517 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8518 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8519 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8520 long arg6
= (long) 0 ;
8521 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
8522 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8526 bool temp7
= False
;
8527 PyObject
* obj0
= 0 ;
8528 PyObject
* obj1
= 0 ;
8529 PyObject
* obj3
= 0 ;
8530 PyObject
* obj4
= 0 ;
8531 PyObject
* obj6
= 0 ;
8533 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:VListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
8537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8538 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8542 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8548 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8553 arg7
= wxString_in_helper(obj6
);
8554 if (arg7
== NULL
) SWIG_fail
;
8559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8560 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8562 wxPyEndAllowThreads(__tstate
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8565 resultobj
= PyInt_FromLong((long)result
);
8580 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8581 PyObject
*resultobj
;
8582 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8584 PyObject
* obj0
= 0 ;
8586 (char *) "self", NULL
8589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
8590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8593 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
8595 wxPyEndAllowThreads(__tstate
);
8596 if (PyErr_Occurred()) SWIG_fail
;
8598 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
8605 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8606 PyObject
*resultobj
;
8607 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8609 PyObject
* obj0
= 0 ;
8611 (char *) "self", NULL
8614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
8615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8618 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
8620 wxPyEndAllowThreads(__tstate
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8623 resultobj
= PyInt_FromLong((long)result
);
8630 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8631 PyObject
*resultobj
;
8632 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8634 PyObject
* obj0
= 0 ;
8636 (char *) "self", NULL
8639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
8640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8643 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
8645 wxPyEndAllowThreads(__tstate
);
8646 if (PyErr_Occurred()) SWIG_fail
;
8648 resultobj
= PyInt_FromLong((long)result
);
8655 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8656 PyObject
*resultobj
;
8657 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8660 PyObject
* obj0
= 0 ;
8661 PyObject
* obj1
= 0 ;
8663 (char *) "self",(char *) "item", NULL
8666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
8667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8669 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
8670 if (PyErr_Occurred()) SWIG_fail
;
8673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8674 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
8676 wxPyEndAllowThreads(__tstate
);
8677 if (PyErr_Occurred()) SWIG_fail
;
8679 resultobj
= PyInt_FromLong((long)result
);
8686 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8687 PyObject
*resultobj
;
8688 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8691 PyObject
* obj0
= 0 ;
8692 PyObject
* obj1
= 0 ;
8694 (char *) "self",(char *) "item", NULL
8697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8700 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
8701 if (PyErr_Occurred()) SWIG_fail
;
8704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8705 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
8707 wxPyEndAllowThreads(__tstate
);
8708 if (PyErr_Occurred()) SWIG_fail
;
8710 resultobj
= PyInt_FromLong((long)result
);
8717 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8718 PyObject
*resultobj
;
8719 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8721 PyObject
* obj0
= 0 ;
8723 (char *) "self", NULL
8726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
8727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8730 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
8732 wxPyEndAllowThreads(__tstate
);
8733 if (PyErr_Occurred()) SWIG_fail
;
8735 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
8742 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8743 PyObject
*resultobj
;
8744 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8745 unsigned long *arg2
= 0 ;
8747 PyObject
* obj0
= 0 ;
8748 PyObject
* obj1
= 0 ;
8750 (char *) "self",(char *) "cookie", NULL
8753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8755 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8757 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8761 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
8763 wxPyEndAllowThreads(__tstate
);
8764 if (PyErr_Occurred()) SWIG_fail
;
8766 resultobj
= PyInt_FromLong((long)result
);
8773 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8774 PyObject
*resultobj
;
8775 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8776 unsigned long *arg2
= 0 ;
8778 PyObject
* obj0
= 0 ;
8779 PyObject
* obj1
= 0 ;
8781 (char *) "self",(char *) "cookie", NULL
8784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
8785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8786 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8788 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8792 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
8794 wxPyEndAllowThreads(__tstate
);
8795 if (PyErr_Occurred()) SWIG_fail
;
8797 resultobj
= PyInt_FromLong((long)result
);
8804 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8805 PyObject
*resultobj
;
8806 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8808 PyObject
* obj0
= 0 ;
8810 (char *) "self", NULL
8813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
8814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8817 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
8819 wxPyEndAllowThreads(__tstate
);
8820 if (PyErr_Occurred()) SWIG_fail
;
8823 wxPoint
* resultptr
;
8824 resultptr
= new wxPoint((wxPoint
&) result
);
8825 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
8833 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8834 PyObject
*resultobj
;
8835 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8837 PyObject
* obj0
= 0 ;
8839 (char *) "self", NULL
8842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
8843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8847 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
8848 result
= (wxColour
*) &_result_ref
;
8851 wxPyEndAllowThreads(__tstate
);
8852 if (PyErr_Occurred()) SWIG_fail
;
8854 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
8861 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8862 PyObject
*resultobj
;
8863 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8865 PyObject
* obj0
= 0 ;
8866 PyObject
* obj1
= 0 ;
8868 (char *) "self",(char *) "count", NULL
8871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8874 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
8875 if (PyErr_Occurred()) SWIG_fail
;
8878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8879 (arg1
)->SetItemCount(arg2
);
8881 wxPyEndAllowThreads(__tstate
);
8882 if (PyErr_Occurred()) SWIG_fail
;
8884 Py_INCREF(Py_None
); resultobj
= Py_None
;
8891 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8892 PyObject
*resultobj
;
8893 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8894 PyObject
* obj0
= 0 ;
8896 (char *) "self", NULL
8899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
8900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8905 wxPyEndAllowThreads(__tstate
);
8906 if (PyErr_Occurred()) SWIG_fail
;
8908 Py_INCREF(Py_None
); resultobj
= Py_None
;
8915 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8916 PyObject
*resultobj
;
8917 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8919 PyObject
* obj0
= 0 ;
8921 (char *) "self",(char *) "selection", NULL
8924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:VListBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
8925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8928 (arg1
)->SetSelection(arg2
);
8930 wxPyEndAllowThreads(__tstate
);
8931 if (PyErr_Occurred()) SWIG_fail
;
8933 Py_INCREF(Py_None
); resultobj
= Py_None
;
8940 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8941 PyObject
*resultobj
;
8942 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8944 bool arg3
= (bool) True
;
8946 PyObject
* obj0
= 0 ;
8947 PyObject
* obj1
= 0 ;
8948 PyObject
* obj2
= 0 ;
8950 (char *) "self",(char *) "item",(char *) "select", NULL
8953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8956 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
8957 if (PyErr_Occurred()) SWIG_fail
;
8961 arg3
= (bool) SPyObj_AsBool(obj2
);
8962 if (PyErr_Occurred()) SWIG_fail
;
8966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8967 result
= (bool)(arg1
)->Select(arg2
,arg3
);
8969 wxPyEndAllowThreads(__tstate
);
8970 if (PyErr_Occurred()) SWIG_fail
;
8972 resultobj
= PyInt_FromLong((long)result
);
8979 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8980 PyObject
*resultobj
;
8981 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
8985 PyObject
* obj0
= 0 ;
8986 PyObject
* obj1
= 0 ;
8987 PyObject
* obj2
= 0 ;
8989 (char *) "self",(char *) "from",(char *) "to", NULL
8992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8995 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
8996 if (PyErr_Occurred()) SWIG_fail
;
8999 arg3
= (size_t) SPyObj_AsUnsignedLong(obj2
);
9000 if (PyErr_Occurred()) SWIG_fail
;
9003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9004 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
9006 wxPyEndAllowThreads(__tstate
);
9007 if (PyErr_Occurred()) SWIG_fail
;
9009 resultobj
= PyInt_FromLong((long)result
);
9016 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9017 PyObject
*resultobj
;
9018 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9020 PyObject
* obj0
= 0 ;
9021 PyObject
* obj1
= 0 ;
9023 (char *) "self",(char *) "item", NULL
9026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
9027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9029 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9034 (arg1
)->Toggle(arg2
);
9036 wxPyEndAllowThreads(__tstate
);
9037 if (PyErr_Occurred()) SWIG_fail
;
9039 Py_INCREF(Py_None
); resultobj
= Py_None
;
9046 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9047 PyObject
*resultobj
;
9048 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9050 PyObject
* obj0
= 0 ;
9052 (char *) "self", NULL
9055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
9056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9059 result
= (bool)(arg1
)->SelectAll();
9061 wxPyEndAllowThreads(__tstate
);
9062 if (PyErr_Occurred()) SWIG_fail
;
9064 resultobj
= PyInt_FromLong((long)result
);
9071 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9072 PyObject
*resultobj
;
9073 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9075 PyObject
* obj0
= 0 ;
9077 (char *) "self", NULL
9080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
9081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9084 result
= (bool)(arg1
)->DeselectAll();
9086 wxPyEndAllowThreads(__tstate
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9089 resultobj
= PyInt_FromLong((long)result
);
9096 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9097 PyObject
*resultobj
;
9098 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9101 PyObject
* obj0
= 0 ;
9102 PyObject
* obj1
= 0 ;
9104 (char *) "self",(char *) "pt", NULL
9107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
9108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9111 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9115 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
9117 wxPyEndAllowThreads(__tstate
);
9118 if (PyErr_Occurred()) SWIG_fail
;
9120 Py_INCREF(Py_None
); resultobj
= Py_None
;
9127 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9128 PyObject
*resultobj
;
9129 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9132 PyObject
* obj0
= 0 ;
9134 (char *) "self",(char *) "x",(char *) "y", NULL
9137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:VListBox_SetMarginsXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9141 (arg1
)->SetMargins(arg2
,arg3
);
9143 wxPyEndAllowThreads(__tstate
);
9144 if (PyErr_Occurred()) SWIG_fail
;
9146 Py_INCREF(Py_None
); resultobj
= Py_None
;
9153 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9154 PyObject
*resultobj
;
9155 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9156 wxColour
*arg2
= 0 ;
9158 PyObject
* obj0
= 0 ;
9159 PyObject
* obj1
= 0 ;
9161 (char *) "self",(char *) "col", NULL
9164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
9165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9168 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9172 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
9174 wxPyEndAllowThreads(__tstate
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9177 Py_INCREF(Py_None
); resultobj
= Py_None
;
9184 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
9186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9187 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
9189 return Py_BuildValue((char *)"");
9191 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9192 PyObject
*resultobj
;
9193 wxWindow
*arg1
= (wxWindow
*) 0 ;
9194 int arg2
= (int) wxID_ANY
;
9195 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9196 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9197 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9198 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9199 long arg5
= (long) 0 ;
9200 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9201 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9202 wxPyHtmlListBox
*result
;
9205 bool temp6
= False
;
9206 PyObject
* obj0
= 0 ;
9207 PyObject
* obj2
= 0 ;
9208 PyObject
* obj3
= 0 ;
9209 PyObject
* obj5
= 0 ;
9211 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_HtmlListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
9215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9219 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9225 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9230 arg6
= wxString_in_helper(obj5
);
9231 if (arg6
== NULL
) SWIG_fail
;
9236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9237 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9239 wxPyEndAllowThreads(__tstate
);
9240 if (PyErr_Occurred()) SWIG_fail
;
9242 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
9257 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9258 PyObject
*resultobj
;
9259 wxPyHtmlListBox
*result
;
9264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
9266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9267 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
9269 wxPyEndAllowThreads(__tstate
);
9270 if (PyErr_Occurred()) SWIG_fail
;
9272 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
9279 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9280 PyObject
*resultobj
;
9281 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9282 PyObject
*arg2
= (PyObject
*) 0 ;
9283 PyObject
*arg3
= (PyObject
*) 0 ;
9284 PyObject
* obj0
= 0 ;
9285 PyObject
* obj1
= 0 ;
9286 PyObject
* obj2
= 0 ;
9288 (char *) "self",(char *) "self",(char *) "_class", NULL
9291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9297 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9299 wxPyEndAllowThreads(__tstate
);
9300 if (PyErr_Occurred()) SWIG_fail
;
9302 Py_INCREF(Py_None
); resultobj
= Py_None
;
9309 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9310 PyObject
*resultobj
;
9311 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9312 wxWindow
*arg2
= (wxWindow
*) 0 ;
9313 int arg3
= (int) wxID_ANY
;
9314 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9315 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9316 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9317 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9318 long arg6
= (long) 0 ;
9319 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9320 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9324 bool temp7
= False
;
9325 PyObject
* obj0
= 0 ;
9326 PyObject
* obj1
= 0 ;
9327 PyObject
* obj3
= 0 ;
9328 PyObject
* obj4
= 0 ;
9329 PyObject
* obj6
= 0 ;
9331 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
9335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9336 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9340 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9346 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9351 arg7
= wxString_in_helper(obj6
);
9352 if (arg7
== NULL
) SWIG_fail
;
9357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9358 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9360 wxPyEndAllowThreads(__tstate
);
9361 if (PyErr_Occurred()) SWIG_fail
;
9363 resultobj
= PyInt_FromLong((long)result
);
9378 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9379 PyObject
*resultobj
;
9380 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9381 PyObject
* obj0
= 0 ;
9383 (char *) "self", NULL
9386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
9387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9390 (arg1
)->RefreshAll();
9392 wxPyEndAllowThreads(__tstate
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9395 Py_INCREF(Py_None
); resultobj
= Py_None
;
9402 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9403 PyObject
*resultobj
;
9404 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
9406 PyObject
* obj0
= 0 ;
9407 PyObject
* obj1
= 0 ;
9409 (char *) "self",(char *) "count", NULL
9412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9415 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
9416 if (PyErr_Occurred()) SWIG_fail
;
9419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9420 (arg1
)->SetItemCount(arg2
);
9422 wxPyEndAllowThreads(__tstate
);
9423 if (PyErr_Occurred()) SWIG_fail
;
9425 Py_INCREF(Py_None
); resultobj
= Py_None
;
9432 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
9434 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9435 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
9437 return Py_BuildValue((char *)"");
9439 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9440 PyObject
*resultobj
;
9441 wxTaskBarIcon
*result
;
9446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
9448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9449 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
9451 wxPyEndAllowThreads(__tstate
);
9452 if (PyErr_Occurred()) SWIG_fail
;
9454 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIcon
, 1);
9461 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9462 PyObject
*resultobj
;
9463 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
9464 PyObject
* obj0
= 0 ;
9466 (char *) "self", NULL
9469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
9470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9475 wxPyEndAllowThreads(__tstate
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9478 Py_INCREF(Py_None
); resultobj
= Py_None
;
9485 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
9487 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9488 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
9490 return Py_BuildValue((char *)"");
9492 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9493 PyObject
*resultobj
;
9495 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
9496 wxTaskBarIconEvent
*result
;
9497 PyObject
* obj1
= 0 ;
9499 (char *) "evtType",(char *) "tbIcon", NULL
9502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iO:new_TaskBarIconEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
9503 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9506 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
9508 wxPyEndAllowThreads(__tstate
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9511 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIconEvent
, 1);
9518 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9521 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
9523 return Py_BuildValue((char *)"");
9525 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
9526 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
9531 static PyObject
*_wrap_FileSelectorPromptStr_get() {
9536 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
9538 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
9545 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
9546 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
9551 static PyObject
*_wrap_DirSelectorPromptStr_get() {
9556 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
9558 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
9565 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
9566 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
9571 static PyObject
*_wrap_DirDialogNameStr_get() {
9576 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
9578 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
9585 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
9586 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
9591 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
9596 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
9598 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
9605 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
9606 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
9611 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
9616 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
9618 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
9625 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
9626 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
9631 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
9636 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
9638 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
9645 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9646 PyObject
*resultobj
;
9647 wxColourData
*result
;
9652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 result
= (wxColourData
*)new wxColourData();
9657 wxPyEndAllowThreads(__tstate
);
9658 if (PyErr_Occurred()) SWIG_fail
;
9660 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 1);
9667 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9668 PyObject
*resultobj
;
9669 wxColourData
*arg1
= (wxColourData
*) 0 ;
9670 PyObject
* obj0
= 0 ;
9672 (char *) "self", NULL
9675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
9676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9681 wxPyEndAllowThreads(__tstate
);
9682 if (PyErr_Occurred()) SWIG_fail
;
9684 Py_INCREF(Py_None
); resultobj
= Py_None
;
9691 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9692 PyObject
*resultobj
;
9693 wxColourData
*arg1
= (wxColourData
*) 0 ;
9695 PyObject
* obj0
= 0 ;
9697 (char *) "self", NULL
9700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
9701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9704 result
= (bool)(arg1
)->GetChooseFull();
9706 wxPyEndAllowThreads(__tstate
);
9707 if (PyErr_Occurred()) SWIG_fail
;
9709 resultobj
= PyInt_FromLong((long)result
);
9716 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9717 PyObject
*resultobj
;
9718 wxColourData
*arg1
= (wxColourData
*) 0 ;
9720 PyObject
* obj0
= 0 ;
9722 (char *) "self", NULL
9725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
9726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9729 result
= (arg1
)->GetColour();
9731 wxPyEndAllowThreads(__tstate
);
9732 if (PyErr_Occurred()) SWIG_fail
;
9735 wxColour
* resultptr
;
9736 resultptr
= new wxColour((wxColour
&) result
);
9737 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9745 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9746 PyObject
*resultobj
;
9747 wxColourData
*arg1
= (wxColourData
*) 0 ;
9750 PyObject
* obj0
= 0 ;
9752 (char *) "self",(char *) "i", NULL
9755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ColourData_GetCustomColour",kwnames
,&obj0
,&arg2
)) goto fail
;
9756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9759 result
= (arg1
)->GetCustomColour(arg2
);
9761 wxPyEndAllowThreads(__tstate
);
9762 if (PyErr_Occurred()) SWIG_fail
;
9765 wxColour
* resultptr
;
9766 resultptr
= new wxColour((wxColour
&) result
);
9767 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9775 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9776 PyObject
*resultobj
;
9777 wxColourData
*arg1
= (wxColourData
*) 0 ;
9779 PyObject
* obj0
= 0 ;
9781 (char *) "self",(char *) "flag", NULL
9784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ColourData_SetChooseFull",kwnames
,&obj0
,&arg2
)) goto fail
;
9785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9788 (arg1
)->SetChooseFull(arg2
);
9790 wxPyEndAllowThreads(__tstate
);
9791 if (PyErr_Occurred()) SWIG_fail
;
9793 Py_INCREF(Py_None
); resultobj
= Py_None
;
9800 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9801 PyObject
*resultobj
;
9802 wxColourData
*arg1
= (wxColourData
*) 0 ;
9803 wxColour
*arg2
= 0 ;
9805 PyObject
* obj0
= 0 ;
9806 PyObject
* obj1
= 0 ;
9808 (char *) "self",(char *) "colour", NULL
9811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9815 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9819 (arg1
)->SetColour((wxColour
const &)*arg2
);
9821 wxPyEndAllowThreads(__tstate
);
9822 if (PyErr_Occurred()) SWIG_fail
;
9824 Py_INCREF(Py_None
); resultobj
= Py_None
;
9831 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9832 PyObject
*resultobj
;
9833 wxColourData
*arg1
= (wxColourData
*) 0 ;
9835 wxColour
*arg3
= 0 ;
9837 PyObject
* obj0
= 0 ;
9838 PyObject
* obj2
= 0 ;
9840 (char *) "self",(char *) "i",(char *) "colour", NULL
9843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ColourData_SetCustomColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9847 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9851 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
9853 wxPyEndAllowThreads(__tstate
);
9854 if (PyErr_Occurred()) SWIG_fail
;
9856 Py_INCREF(Py_None
); resultobj
= Py_None
;
9863 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
9865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9866 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
9868 return Py_BuildValue((char *)"");
9870 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9871 PyObject
*resultobj
;
9872 wxWindow
*arg1
= (wxWindow
*) 0 ;
9873 wxColourData
*arg2
= (wxColourData
*) NULL
;
9874 wxColourDialog
*result
;
9875 PyObject
* obj0
= 0 ;
9876 PyObject
* obj1
= 0 ;
9878 (char *) "parent",(char *) "data", NULL
9881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
9882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9884 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9888 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
9890 wxPyEndAllowThreads(__tstate
);
9891 if (PyErr_Occurred()) SWIG_fail
;
9893 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourDialog
, 1);
9900 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9901 PyObject
*resultobj
;
9902 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
9903 wxColourData
*result
;
9904 PyObject
* obj0
= 0 ;
9906 (char *) "self", NULL
9909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
9910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9914 wxColourData
&_result_ref
= (arg1
)->GetColourData();
9915 result
= (wxColourData
*) &_result_ref
;
9918 wxPyEndAllowThreads(__tstate
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9921 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 0);
9928 static PyObject
*_wrap_ColourDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9929 PyObject
*resultobj
;
9930 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
9932 PyObject
* obj0
= 0 ;
9934 (char *) "self", NULL
9937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
9938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9941 result
= (int)(arg1
)->ShowModal();
9943 wxPyEndAllowThreads(__tstate
);
9944 if (PyErr_Occurred()) SWIG_fail
;
9946 resultobj
= PyInt_FromLong((long)result
);
9953 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
9955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9956 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
9958 return Py_BuildValue((char *)"");
9960 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9961 PyObject
*resultobj
;
9962 wxWindow
*arg1
= (wxWindow
*) 0 ;
9963 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
9964 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9965 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9966 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9967 long arg4
= (long) 0 ;
9968 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9969 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9970 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9971 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9972 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
9973 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9974 wxDirDialog
*result
;
9975 bool temp2
= False
;
9976 bool temp3
= False
;
9979 bool temp7
= False
;
9980 PyObject
* obj0
= 0 ;
9981 PyObject
* obj1
= 0 ;
9982 PyObject
* obj2
= 0 ;
9983 PyObject
* obj4
= 0 ;
9984 PyObject
* obj5
= 0 ;
9985 PyObject
* obj6
= 0 ;
9987 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
9990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOlOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
,&obj5
,&obj6
)) goto fail
;
9991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9994 arg2
= wxString_in_helper(obj1
);
9995 if (arg2
== NULL
) SWIG_fail
;
10001 arg3
= wxString_in_helper(obj2
);
10002 if (arg3
== NULL
) SWIG_fail
;
10009 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10015 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10020 arg7
= wxString_in_helper(obj6
);
10021 if (arg7
== NULL
) SWIG_fail
;
10026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10027 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
10029 wxPyEndAllowThreads(__tstate
);
10030 if (PyErr_Occurred()) SWIG_fail
;
10032 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirDialog
, 1);
10063 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10064 PyObject
*resultobj
;
10065 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10067 PyObject
* obj0
= 0 ;
10068 char *kwnames
[] = {
10069 (char *) "self", NULL
10072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
10073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10076 result
= (arg1
)->GetPath();
10078 wxPyEndAllowThreads(__tstate
);
10079 if (PyErr_Occurred()) SWIG_fail
;
10083 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10085 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10094 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10095 PyObject
*resultobj
;
10096 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10098 PyObject
* obj0
= 0 ;
10099 char *kwnames
[] = {
10100 (char *) "self", NULL
10103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
10104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10107 result
= (arg1
)->GetMessage();
10109 wxPyEndAllowThreads(__tstate
);
10110 if (PyErr_Occurred()) SWIG_fail
;
10114 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10116 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10125 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10126 PyObject
*resultobj
;
10127 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10129 PyObject
* obj0
= 0 ;
10130 char *kwnames
[] = {
10131 (char *) "self", NULL
10134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
10135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10138 result
= (long)(arg1
)->GetStyle();
10140 wxPyEndAllowThreads(__tstate
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10143 resultobj
= PyInt_FromLong((long)result
);
10150 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10151 PyObject
*resultobj
;
10152 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10153 wxString
*arg2
= 0 ;
10154 bool temp2
= False
;
10155 PyObject
* obj0
= 0 ;
10156 PyObject
* obj1
= 0 ;
10157 char *kwnames
[] = {
10158 (char *) "self",(char *) "message", NULL
10161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10164 arg2
= wxString_in_helper(obj1
);
10165 if (arg2
== NULL
) SWIG_fail
;
10169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10170 (arg1
)->SetMessage((wxString
const &)*arg2
);
10172 wxPyEndAllowThreads(__tstate
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10175 Py_INCREF(Py_None
); resultobj
= Py_None
;
10190 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10191 PyObject
*resultobj
;
10192 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10193 wxString
*arg2
= 0 ;
10194 bool temp2
= False
;
10195 PyObject
* obj0
= 0 ;
10196 PyObject
* obj1
= 0 ;
10197 char *kwnames
[] = {
10198 (char *) "self",(char *) "path", NULL
10201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
10202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10204 arg2
= wxString_in_helper(obj1
);
10205 if (arg2
== NULL
) SWIG_fail
;
10209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10210 (arg1
)->SetPath((wxString
const &)*arg2
);
10212 wxPyEndAllowThreads(__tstate
);
10213 if (PyErr_Occurred()) SWIG_fail
;
10215 Py_INCREF(Py_None
); resultobj
= Py_None
;
10230 static PyObject
*_wrap_DirDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10231 PyObject
*resultobj
;
10232 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10234 PyObject
* obj0
= 0 ;
10235 char *kwnames
[] = {
10236 (char *) "self", NULL
10239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
10240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10243 result
= (int)(arg1
)->ShowModal();
10245 wxPyEndAllowThreads(__tstate
);
10246 if (PyErr_Occurred()) SWIG_fail
;
10248 resultobj
= PyInt_FromLong((long)result
);
10255 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10258 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
10260 return Py_BuildValue((char *)"");
10262 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10263 PyObject
*resultobj
;
10264 wxWindow
*arg1
= (wxWindow
*) 0 ;
10265 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
10266 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10267 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10268 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10269 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10270 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10271 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
10272 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
10273 long arg6
= (long) 0 ;
10274 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10275 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10276 wxFileDialog
*result
;
10277 bool temp2
= False
;
10278 bool temp3
= False
;
10279 bool temp4
= False
;
10280 bool temp5
= False
;
10282 PyObject
* obj0
= 0 ;
10283 PyObject
* obj1
= 0 ;
10284 PyObject
* obj2
= 0 ;
10285 PyObject
* obj3
= 0 ;
10286 PyObject
* obj4
= 0 ;
10287 PyObject
* obj6
= 0 ;
10288 char *kwnames
[] = {
10289 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
10292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOlO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
10293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10296 arg2
= wxString_in_helper(obj1
);
10297 if (arg2
== NULL
) SWIG_fail
;
10303 arg3
= wxString_in_helper(obj2
);
10304 if (arg3
== NULL
) SWIG_fail
;
10310 arg4
= wxString_in_helper(obj3
);
10311 if (arg4
== NULL
) SWIG_fail
;
10317 arg5
= wxString_in_helper(obj4
);
10318 if (arg5
== NULL
) SWIG_fail
;
10325 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
10332 wxPyEndAllowThreads(__tstate
);
10333 if (PyErr_Occurred()) SWIG_fail
;
10335 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileDialog
, 1);
10374 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10375 PyObject
*resultobj
;
10376 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10377 wxString
*arg2
= 0 ;
10378 bool temp2
= False
;
10379 PyObject
* obj0
= 0 ;
10380 PyObject
* obj1
= 0 ;
10381 char *kwnames
[] = {
10382 (char *) "self",(char *) "message", NULL
10385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10388 arg2
= wxString_in_helper(obj1
);
10389 if (arg2
== NULL
) SWIG_fail
;
10393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10394 (arg1
)->SetMessage((wxString
const &)*arg2
);
10396 wxPyEndAllowThreads(__tstate
);
10397 if (PyErr_Occurred()) SWIG_fail
;
10399 Py_INCREF(Py_None
); resultobj
= Py_None
;
10414 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10415 PyObject
*resultobj
;
10416 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10417 wxString
*arg2
= 0 ;
10418 bool temp2
= False
;
10419 PyObject
* obj0
= 0 ;
10420 PyObject
* obj1
= 0 ;
10421 char *kwnames
[] = {
10422 (char *) "self",(char *) "path", NULL
10425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
10426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10428 arg2
= wxString_in_helper(obj1
);
10429 if (arg2
== NULL
) SWIG_fail
;
10433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10434 (arg1
)->SetPath((wxString
const &)*arg2
);
10436 wxPyEndAllowThreads(__tstate
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10439 Py_INCREF(Py_None
); resultobj
= Py_None
;
10454 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10455 PyObject
*resultobj
;
10456 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10457 wxString
*arg2
= 0 ;
10458 bool temp2
= False
;
10459 PyObject
* obj0
= 0 ;
10460 PyObject
* obj1
= 0 ;
10461 char *kwnames
[] = {
10462 (char *) "self",(char *) "dir", NULL
10465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
10466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10468 arg2
= wxString_in_helper(obj1
);
10469 if (arg2
== NULL
) SWIG_fail
;
10473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10474 (arg1
)->SetDirectory((wxString
const &)*arg2
);
10476 wxPyEndAllowThreads(__tstate
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10479 Py_INCREF(Py_None
); resultobj
= Py_None
;
10494 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10495 PyObject
*resultobj
;
10496 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10497 wxString
*arg2
= 0 ;
10498 bool temp2
= False
;
10499 PyObject
* obj0
= 0 ;
10500 PyObject
* obj1
= 0 ;
10501 char *kwnames
[] = {
10502 (char *) "self",(char *) "name", NULL
10505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
10506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10508 arg2
= wxString_in_helper(obj1
);
10509 if (arg2
== NULL
) SWIG_fail
;
10513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10514 (arg1
)->SetFilename((wxString
const &)*arg2
);
10516 wxPyEndAllowThreads(__tstate
);
10517 if (PyErr_Occurred()) SWIG_fail
;
10519 Py_INCREF(Py_None
); resultobj
= Py_None
;
10534 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10535 PyObject
*resultobj
;
10536 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10537 wxString
*arg2
= 0 ;
10538 bool temp2
= False
;
10539 PyObject
* obj0
= 0 ;
10540 PyObject
* obj1
= 0 ;
10541 char *kwnames
[] = {
10542 (char *) "self",(char *) "wildCard", NULL
10545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
10546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10548 arg2
= wxString_in_helper(obj1
);
10549 if (arg2
== NULL
) SWIG_fail
;
10553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10554 (arg1
)->SetWildcard((wxString
const &)*arg2
);
10556 wxPyEndAllowThreads(__tstate
);
10557 if (PyErr_Occurred()) SWIG_fail
;
10559 Py_INCREF(Py_None
); resultobj
= Py_None
;
10574 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10575 PyObject
*resultobj
;
10576 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10578 PyObject
* obj0
= 0 ;
10579 char *kwnames
[] = {
10580 (char *) "self",(char *) "style", NULL
10583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:FileDialog_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
10584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10587 (arg1
)->SetStyle(arg2
);
10589 wxPyEndAllowThreads(__tstate
);
10590 if (PyErr_Occurred()) SWIG_fail
;
10592 Py_INCREF(Py_None
); resultobj
= Py_None
;
10599 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10600 PyObject
*resultobj
;
10601 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10603 PyObject
* obj0
= 0 ;
10604 char *kwnames
[] = {
10605 (char *) "self",(char *) "filterIndex", NULL
10608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FileDialog_SetFilterIndex",kwnames
,&obj0
,&arg2
)) goto fail
;
10609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10612 (arg1
)->SetFilterIndex(arg2
);
10614 wxPyEndAllowThreads(__tstate
);
10615 if (PyErr_Occurred()) SWIG_fail
;
10617 Py_INCREF(Py_None
); resultobj
= Py_None
;
10624 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10625 PyObject
*resultobj
;
10626 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10628 PyObject
* obj0
= 0 ;
10629 char *kwnames
[] = {
10630 (char *) "self", NULL
10633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
10634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10637 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
10639 wxPyEndAllowThreads(__tstate
);
10640 if (PyErr_Occurred()) SWIG_fail
;
10644 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10646 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10655 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10656 PyObject
*resultobj
;
10657 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10659 PyObject
* obj0
= 0 ;
10660 char *kwnames
[] = {
10661 (char *) "self", NULL
10664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
10665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10668 result
= ((wxFileDialog
const *)arg1
)->GetPath();
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10675 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10677 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10686 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10687 PyObject
*resultobj
;
10688 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10690 PyObject
* obj0
= 0 ;
10691 char *kwnames
[] = {
10692 (char *) "self", NULL
10695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
10696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10699 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
10701 wxPyEndAllowThreads(__tstate
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10706 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10708 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10717 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10718 PyObject
*resultobj
;
10719 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10721 PyObject
* obj0
= 0 ;
10722 char *kwnames
[] = {
10723 (char *) "self", NULL
10726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
10727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10730 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
10732 wxPyEndAllowThreads(__tstate
);
10733 if (PyErr_Occurred()) SWIG_fail
;
10737 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10739 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10748 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10749 PyObject
*resultobj
;
10750 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10752 PyObject
* obj0
= 0 ;
10753 char *kwnames
[] = {
10754 (char *) "self", NULL
10757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
10758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10761 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
10763 wxPyEndAllowThreads(__tstate
);
10764 if (PyErr_Occurred()) SWIG_fail
;
10768 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10770 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10779 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10780 PyObject
*resultobj
;
10781 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10783 PyObject
* obj0
= 0 ;
10784 char *kwnames
[] = {
10785 (char *) "self", NULL
10788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
10789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10792 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
10794 wxPyEndAllowThreads(__tstate
);
10795 if (PyErr_Occurred()) SWIG_fail
;
10797 resultobj
= PyInt_FromLong((long)result
);
10804 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10805 PyObject
*resultobj
;
10806 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10808 PyObject
* obj0
= 0 ;
10809 char *kwnames
[] = {
10810 (char *) "self", NULL
10813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
10814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10817 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
10819 wxPyEndAllowThreads(__tstate
);
10820 if (PyErr_Occurred()) SWIG_fail
;
10822 resultobj
= PyInt_FromLong((long)result
);
10829 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10830 PyObject
*resultobj
;
10831 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10833 PyObject
* obj0
= 0 ;
10834 char *kwnames
[] = {
10835 (char *) "self", NULL
10838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
10839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10842 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
10844 wxPyEndAllowThreads(__tstate
);
10845 if (PyErr_Occurred()) SWIG_fail
;
10847 resultobj
= result
;
10854 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10855 PyObject
*resultobj
;
10856 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
10858 PyObject
* obj0
= 0 ;
10859 char *kwnames
[] = {
10860 (char *) "self", NULL
10863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
10864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10867 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
10869 wxPyEndAllowThreads(__tstate
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10872 resultobj
= result
;
10879 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10882 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
10884 return Py_BuildValue((char *)"");
10886 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10887 PyObject
*resultobj
;
10888 wxWindow
*arg1
= (wxWindow
*) 0 ;
10889 wxString
*arg2
= 0 ;
10890 wxString
*arg3
= 0 ;
10892 wxString
*arg5
= (wxString
*) 0 ;
10893 long arg6
= (long) wxCHOICEDLG_STYLE
;
10894 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10895 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10896 wxMultiChoiceDialog
*result
;
10897 bool temp2
= False
;
10898 bool temp3
= False
;
10899 bool temp5
= False
;
10901 PyObject
* obj0
= 0 ;
10902 PyObject
* obj1
= 0 ;
10903 PyObject
* obj2
= 0 ;
10904 PyObject
* obj4
= 0 ;
10905 PyObject
* obj6
= 0 ;
10906 char *kwnames
[] = {
10907 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
10910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
,&arg6
,&obj6
)) goto fail
;
10911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10913 arg2
= wxString_in_helper(obj1
);
10914 if (arg2
== NULL
) SWIG_fail
;
10918 arg3
= wxString_in_helper(obj2
);
10919 if (arg3
== NULL
) SWIG_fail
;
10923 arg5
= wxString_in_helper(obj4
);
10924 if (arg5
== NULL
) SWIG_fail
;
10930 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
10934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10935 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
10937 wxPyEndAllowThreads(__tstate
);
10938 if (PyErr_Occurred()) SWIG_fail
;
10940 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMultiChoiceDialog
, 1);
10971 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10972 PyObject
*resultobj
;
10973 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
10974 wxArrayInt
*arg2
= 0 ;
10975 PyObject
* obj0
= 0 ;
10976 PyObject
* obj1
= 0 ;
10977 char *kwnames
[] = {
10978 (char *) "self",(char *) "selections", NULL
10981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
10982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10984 if (! PySequence_Check(obj1
)) {
10985 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10988 arg2
= new wxArrayInt
;
10989 int i
, len
=PySequence_Length(obj1
);
10990 for (i
=0; i
<len
; i
++) {
10991 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10992 PyObject
* number
= PyNumber_Int(item
);
10993 arg2
->Add(PyInt_AS_LONG(number
));
10999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11000 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
11002 wxPyEndAllowThreads(__tstate
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11005 Py_INCREF(Py_None
); resultobj
= Py_None
;
11007 if (arg2
) delete arg2
;
11012 if (arg2
) delete arg2
;
11018 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11019 PyObject
*resultobj
;
11020 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
11022 PyObject
* obj0
= 0 ;
11023 char *kwnames
[] = {
11024 (char *) "self", NULL
11027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
11028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11031 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
11033 wxPyEndAllowThreads(__tstate
);
11034 if (PyErr_Occurred()) SWIG_fail
;
11036 resultobj
= result
;
11043 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11045 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11046 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
11048 return Py_BuildValue((char *)"");
11050 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11051 PyObject
*resultobj
;
11052 wxWindow
*arg1
= (wxWindow
*) 0 ;
11053 wxString
*arg2
= 0 ;
11054 wxString
*arg3
= 0 ;
11056 wxString
*arg5
= (wxString
*) 0 ;
11057 long arg6
= (long) wxCHOICEDLG_STYLE
;
11058 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11059 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11060 wxSingleChoiceDialog
*result
;
11061 bool temp2
= False
;
11062 bool temp3
= False
;
11064 PyObject
* obj0
= 0 ;
11065 PyObject
* obj1
= 0 ;
11066 PyObject
* obj2
= 0 ;
11067 PyObject
* obj3
= 0 ;
11068 PyObject
* obj5
= 0 ;
11069 char *kwnames
[] = {
11070 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg6
,&obj5
)) goto fail
;
11074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11076 arg2
= wxString_in_helper(obj1
);
11077 if (arg2
== NULL
) SWIG_fail
;
11081 arg3
= wxString_in_helper(obj2
);
11082 if (arg3
== NULL
) SWIG_fail
;
11086 arg4
= PyList_Size(obj3
);
11087 arg5
= wxString_LIST_helper(obj3
);
11088 if (arg5
== NULL
) SWIG_fail
;
11093 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
11097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11098 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
11100 wxPyEndAllowThreads(__tstate
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11103 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleChoiceDialog
, 1);
11113 if (arg5
) delete [] arg5
;
11126 if (arg5
) delete [] arg5
;
11132 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11133 PyObject
*resultobj
;
11134 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11136 PyObject
* obj0
= 0 ;
11137 char *kwnames
[] = {
11138 (char *) "self", NULL
11141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
11142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11145 result
= (int)(arg1
)->GetSelection();
11147 wxPyEndAllowThreads(__tstate
);
11148 if (PyErr_Occurred()) SWIG_fail
;
11150 resultobj
= PyInt_FromLong((long)result
);
11157 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11158 PyObject
*resultobj
;
11159 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11161 PyObject
* obj0
= 0 ;
11162 char *kwnames
[] = {
11163 (char *) "self", NULL
11166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11170 result
= (arg1
)->GetStringSelection();
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11177 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11179 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11188 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11189 PyObject
*resultobj
;
11190 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11192 PyObject
* obj0
= 0 ;
11193 char *kwnames
[] = {
11194 (char *) "self",(char *) "sel", NULL
11197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
11198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 (arg1
)->SetSelection(arg2
);
11203 wxPyEndAllowThreads(__tstate
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11206 Py_INCREF(Py_None
); resultobj
= Py_None
;
11213 static PyObject
*_wrap_SingleChoiceDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11214 PyObject
*resultobj
;
11215 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11217 PyObject
* obj0
= 0 ;
11218 char *kwnames
[] = {
11219 (char *) "self", NULL
11222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11226 result
= (int)(arg1
)->ShowModal();
11228 wxPyEndAllowThreads(__tstate
);
11229 if (PyErr_Occurred()) SWIG_fail
;
11231 resultobj
= PyInt_FromLong((long)result
);
11238 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11241 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
11243 return Py_BuildValue((char *)"");
11245 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11246 PyObject
*resultobj
;
11247 wxWindow
*arg1
= (wxWindow
*) 0 ;
11248 wxString
*arg2
= 0 ;
11249 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
11250 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11251 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11252 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11253 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
11254 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
11255 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
11256 wxTextEntryDialog
*result
;
11257 bool temp2
= False
;
11258 bool temp3
= False
;
11259 bool temp4
= False
;
11261 PyObject
* obj0
= 0 ;
11262 PyObject
* obj1
= 0 ;
11263 PyObject
* obj2
= 0 ;
11264 PyObject
* obj3
= 0 ;
11265 PyObject
* obj5
= 0 ;
11266 char *kwnames
[] = {
11267 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
11270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOlO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
11271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11273 arg2
= wxString_in_helper(obj1
);
11274 if (arg2
== NULL
) SWIG_fail
;
11279 arg3
= wxString_in_helper(obj2
);
11280 if (arg3
== NULL
) SWIG_fail
;
11286 arg4
= wxString_in_helper(obj3
);
11287 if (arg4
== NULL
) SWIG_fail
;
11294 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
11298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11299 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
11301 wxPyEndAllowThreads(__tstate
);
11302 if (PyErr_Occurred()) SWIG_fail
;
11304 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextEntryDialog
, 1);
11335 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11336 PyObject
*resultobj
;
11337 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
11339 PyObject
* obj0
= 0 ;
11340 char *kwnames
[] = {
11341 (char *) "self", NULL
11344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
11345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11348 result
= (arg1
)->GetValue();
11350 wxPyEndAllowThreads(__tstate
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11355 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11357 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11366 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11367 PyObject
*resultobj
;
11368 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
11369 wxString
*arg2
= 0 ;
11370 bool temp2
= False
;
11371 PyObject
* obj0
= 0 ;
11372 PyObject
* obj1
= 0 ;
11373 char *kwnames
[] = {
11374 (char *) "self",(char *) "value", NULL
11377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11380 arg2
= wxString_in_helper(obj1
);
11381 if (arg2
== NULL
) SWIG_fail
;
11385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11386 (arg1
)->SetValue((wxString
const &)*arg2
);
11388 wxPyEndAllowThreads(__tstate
);
11389 if (PyErr_Occurred()) SWIG_fail
;
11391 Py_INCREF(Py_None
); resultobj
= Py_None
;
11406 static PyObject
*_wrap_TextEntryDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11407 PyObject
*resultobj
;
11408 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
11410 PyObject
* obj0
= 0 ;
11411 char *kwnames
[] = {
11412 (char *) "self", NULL
11415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11419 result
= (int)(arg1
)->ShowModal();
11421 wxPyEndAllowThreads(__tstate
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11424 resultobj
= PyInt_FromLong((long)result
);
11431 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11433 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11434 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
11436 return Py_BuildValue((char *)"");
11438 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11439 PyObject
*resultobj
;
11440 wxFontData
*result
;
11441 char *kwnames
[] = {
11445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
11447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11448 result
= (wxFontData
*)new wxFontData();
11450 wxPyEndAllowThreads(__tstate
);
11451 if (PyErr_Occurred()) SWIG_fail
;
11453 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 1);
11460 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11461 PyObject
*resultobj
;
11462 wxFontData
*arg1
= (wxFontData
*) 0 ;
11463 PyObject
* obj0
= 0 ;
11464 char *kwnames
[] = {
11465 (char *) "self", NULL
11468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
11469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 wxPyEndAllowThreads(__tstate
);
11475 if (PyErr_Occurred()) SWIG_fail
;
11477 Py_INCREF(Py_None
); resultobj
= Py_None
;
11484 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11485 PyObject
*resultobj
;
11486 wxFontData
*arg1
= (wxFontData
*) 0 ;
11488 PyObject
* obj0
= 0 ;
11489 PyObject
* obj1
= 0 ;
11490 char *kwnames
[] = {
11491 (char *) "self",(char *) "enable", NULL
11494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
11495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11497 arg2
= (bool) SPyObj_AsBool(obj1
);
11498 if (PyErr_Occurred()) SWIG_fail
;
11501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11502 (arg1
)->EnableEffects(arg2
);
11504 wxPyEndAllowThreads(__tstate
);
11505 if (PyErr_Occurred()) SWIG_fail
;
11507 Py_INCREF(Py_None
); resultobj
= Py_None
;
11514 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11515 PyObject
*resultobj
;
11516 wxFontData
*arg1
= (wxFontData
*) 0 ;
11518 PyObject
* obj0
= 0 ;
11519 char *kwnames
[] = {
11520 (char *) "self", NULL
11523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
11524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11527 result
= (bool)(arg1
)->GetAllowSymbols();
11529 wxPyEndAllowThreads(__tstate
);
11530 if (PyErr_Occurred()) SWIG_fail
;
11532 resultobj
= PyInt_FromLong((long)result
);
11539 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11540 PyObject
*resultobj
;
11541 wxFontData
*arg1
= (wxFontData
*) 0 ;
11543 PyObject
* obj0
= 0 ;
11544 char *kwnames
[] = {
11545 (char *) "self", NULL
11548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
11549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11552 result
= (arg1
)->GetColour();
11554 wxPyEndAllowThreads(__tstate
);
11555 if (PyErr_Occurred()) SWIG_fail
;
11558 wxColour
* resultptr
;
11559 resultptr
= new wxColour((wxColour
&) result
);
11560 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
11568 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11569 PyObject
*resultobj
;
11570 wxFontData
*arg1
= (wxFontData
*) 0 ;
11572 PyObject
* obj0
= 0 ;
11573 char *kwnames
[] = {
11574 (char *) "self", NULL
11577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
11578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11581 result
= (arg1
)->GetChosenFont();
11583 wxPyEndAllowThreads(__tstate
);
11584 if (PyErr_Occurred()) SWIG_fail
;
11587 wxFont
* resultptr
;
11588 resultptr
= new wxFont((wxFont
&) result
);
11589 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
11597 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11598 PyObject
*resultobj
;
11599 wxFontData
*arg1
= (wxFontData
*) 0 ;
11601 PyObject
* obj0
= 0 ;
11602 char *kwnames
[] = {
11603 (char *) "self", NULL
11606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
11607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11610 result
= (bool)(arg1
)->GetEnableEffects();
11612 wxPyEndAllowThreads(__tstate
);
11613 if (PyErr_Occurred()) SWIG_fail
;
11615 resultobj
= PyInt_FromLong((long)result
);
11622 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11623 PyObject
*resultobj
;
11624 wxFontData
*arg1
= (wxFontData
*) 0 ;
11626 PyObject
* obj0
= 0 ;
11627 char *kwnames
[] = {
11628 (char *) "self", NULL
11631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
11632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11635 result
= (arg1
)->GetInitialFont();
11637 wxPyEndAllowThreads(__tstate
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11641 wxFont
* resultptr
;
11642 resultptr
= new wxFont((wxFont
&) result
);
11643 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
11651 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11652 PyObject
*resultobj
;
11653 wxFontData
*arg1
= (wxFontData
*) 0 ;
11655 PyObject
* obj0
= 0 ;
11656 char *kwnames
[] = {
11657 (char *) "self", NULL
11660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
11661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11664 result
= (bool)(arg1
)->GetShowHelp();
11666 wxPyEndAllowThreads(__tstate
);
11667 if (PyErr_Occurred()) SWIG_fail
;
11669 resultobj
= PyInt_FromLong((long)result
);
11676 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11677 PyObject
*resultobj
;
11678 wxFontData
*arg1
= (wxFontData
*) 0 ;
11680 PyObject
* obj0
= 0 ;
11681 PyObject
* obj1
= 0 ;
11682 char *kwnames
[] = {
11683 (char *) "self",(char *) "allowSymbols", NULL
11686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
11687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11689 arg2
= (bool) SPyObj_AsBool(obj1
);
11690 if (PyErr_Occurred()) SWIG_fail
;
11693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11694 (arg1
)->SetAllowSymbols(arg2
);
11696 wxPyEndAllowThreads(__tstate
);
11697 if (PyErr_Occurred()) SWIG_fail
;
11699 Py_INCREF(Py_None
); resultobj
= Py_None
;
11706 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11707 PyObject
*resultobj
;
11708 wxFontData
*arg1
= (wxFontData
*) 0 ;
11710 PyObject
* obj0
= 0 ;
11711 PyObject
* obj1
= 0 ;
11712 char *kwnames
[] = {
11713 (char *) "self",(char *) "font", NULL
11716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
11717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11718 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11719 if (arg2
== NULL
) {
11720 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11724 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
11726 wxPyEndAllowThreads(__tstate
);
11727 if (PyErr_Occurred()) SWIG_fail
;
11729 Py_INCREF(Py_None
); resultobj
= Py_None
;
11736 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11737 PyObject
*resultobj
;
11738 wxFontData
*arg1
= (wxFontData
*) 0 ;
11739 wxColour
*arg2
= 0 ;
11741 PyObject
* obj0
= 0 ;
11742 PyObject
* obj1
= 0 ;
11743 char *kwnames
[] = {
11744 (char *) "self",(char *) "colour", NULL
11747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11751 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11755 (arg1
)->SetColour((wxColour
const &)*arg2
);
11757 wxPyEndAllowThreads(__tstate
);
11758 if (PyErr_Occurred()) SWIG_fail
;
11760 Py_INCREF(Py_None
); resultobj
= Py_None
;
11767 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11768 PyObject
*resultobj
;
11769 wxFontData
*arg1
= (wxFontData
*) 0 ;
11771 PyObject
* obj0
= 0 ;
11772 PyObject
* obj1
= 0 ;
11773 char *kwnames
[] = {
11774 (char *) "self",(char *) "font", NULL
11777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
11778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11779 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11780 if (arg2
== NULL
) {
11781 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11785 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
11787 wxPyEndAllowThreads(__tstate
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11790 Py_INCREF(Py_None
); resultobj
= Py_None
;
11797 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11798 PyObject
*resultobj
;
11799 wxFontData
*arg1
= (wxFontData
*) 0 ;
11802 PyObject
* obj0
= 0 ;
11803 char *kwnames
[] = {
11804 (char *) "self",(char *) "min",(char *) "max", NULL
11807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:FontData_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11811 (arg1
)->SetRange(arg2
,arg3
);
11813 wxPyEndAllowThreads(__tstate
);
11814 if (PyErr_Occurred()) SWIG_fail
;
11816 Py_INCREF(Py_None
); resultobj
= Py_None
;
11823 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11824 PyObject
*resultobj
;
11825 wxFontData
*arg1
= (wxFontData
*) 0 ;
11827 PyObject
* obj0
= 0 ;
11828 PyObject
* obj1
= 0 ;
11829 char *kwnames
[] = {
11830 (char *) "self",(char *) "showHelp", NULL
11833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
11834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11836 arg2
= (bool) SPyObj_AsBool(obj1
);
11837 if (PyErr_Occurred()) SWIG_fail
;
11840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11841 (arg1
)->SetShowHelp(arg2
);
11843 wxPyEndAllowThreads(__tstate
);
11844 if (PyErr_Occurred()) SWIG_fail
;
11846 Py_INCREF(Py_None
); resultobj
= Py_None
;
11853 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
11855 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11856 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
11858 return Py_BuildValue((char *)"");
11860 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11861 PyObject
*resultobj
;
11862 wxWindow
*arg1
= (wxWindow
*) 0 ;
11863 wxFontData
*arg2
= 0 ;
11864 wxFontDialog
*result
;
11865 PyObject
* obj0
= 0 ;
11866 PyObject
* obj1
= 0 ;
11867 char *kwnames
[] = {
11868 (char *) "parent",(char *) "data", NULL
11871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11873 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11874 if (arg2
== NULL
) {
11875 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11879 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
11881 wxPyEndAllowThreads(__tstate
);
11882 if (PyErr_Occurred()) SWIG_fail
;
11884 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontDialog
, 1);
11891 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11892 PyObject
*resultobj
;
11893 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
11894 wxFontData
*result
;
11895 PyObject
* obj0
= 0 ;
11896 char *kwnames
[] = {
11897 (char *) "self", NULL
11900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
11901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11905 wxFontData
&_result_ref
= (arg1
)->GetFontData();
11906 result
= (wxFontData
*) &_result_ref
;
11909 wxPyEndAllowThreads(__tstate
);
11910 if (PyErr_Occurred()) SWIG_fail
;
11912 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 0);
11919 static PyObject
*_wrap_FontDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11920 PyObject
*resultobj
;
11921 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
11923 PyObject
* obj0
= 0 ;
11924 char *kwnames
[] = {
11925 (char *) "self", NULL
11928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11932 result
= (int)(arg1
)->ShowModal();
11934 wxPyEndAllowThreads(__tstate
);
11935 if (PyErr_Occurred()) SWIG_fail
;
11937 resultobj
= PyInt_FromLong((long)result
);
11944 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11946 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11947 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
11949 return Py_BuildValue((char *)"");
11951 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11952 PyObject
*resultobj
;
11953 wxWindow
*arg1
= (wxWindow
*) 0 ;
11954 wxString
*arg2
= 0 ;
11955 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
11956 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11957 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
11958 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11959 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11960 wxMessageDialog
*result
;
11961 bool temp2
= False
;
11962 bool temp3
= False
;
11964 PyObject
* obj0
= 0 ;
11965 PyObject
* obj1
= 0 ;
11966 PyObject
* obj2
= 0 ;
11967 PyObject
* obj4
= 0 ;
11968 char *kwnames
[] = {
11969 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
11972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OlO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
)) goto fail
;
11973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11975 arg2
= wxString_in_helper(obj1
);
11976 if (arg2
== NULL
) SWIG_fail
;
11981 arg3
= wxString_in_helper(obj2
);
11982 if (arg3
== NULL
) SWIG_fail
;
11989 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11994 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
11996 wxPyEndAllowThreads(__tstate
);
11997 if (PyErr_Occurred()) SWIG_fail
;
11999 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMessageDialog
, 1);
12022 static PyObject
*_wrap_MessageDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12023 PyObject
*resultobj
;
12024 wxMessageDialog
*arg1
= (wxMessageDialog
*) 0 ;
12026 PyObject
* obj0
= 0 ;
12027 char *kwnames
[] = {
12028 (char *) "self", NULL
12031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MessageDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
12032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMessageDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12035 result
= (int)(arg1
)->ShowModal();
12037 wxPyEndAllowThreads(__tstate
);
12038 if (PyErr_Occurred()) SWIG_fail
;
12040 resultobj
= PyInt_FromLong((long)result
);
12047 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12049 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12050 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
12052 return Py_BuildValue((char *)"");
12054 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12055 PyObject
*resultobj
;
12056 wxString
*arg1
= 0 ;
12057 wxString
*arg2
= 0 ;
12058 int arg3
= (int) 100 ;
12059 wxWindow
*arg4
= (wxWindow
*) NULL
;
12060 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
12061 wxProgressDialog
*result
;
12062 bool temp1
= False
;
12063 bool temp2
= False
;
12064 PyObject
* obj0
= 0 ;
12065 PyObject
* obj1
= 0 ;
12066 PyObject
* obj3
= 0 ;
12067 char *kwnames
[] = {
12068 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
12071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOi:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&arg5
)) goto fail
;
12073 arg1
= wxString_in_helper(obj0
);
12074 if (arg1
== NULL
) SWIG_fail
;
12078 arg2
= wxString_in_helper(obj1
);
12079 if (arg2
== NULL
) SWIG_fail
;
12083 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12087 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
12089 wxPyEndAllowThreads(__tstate
);
12090 if (PyErr_Occurred()) SWIG_fail
;
12092 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxProgressDialog
, 1);
12115 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12116 PyObject
*resultobj
;
12117 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
12119 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12120 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12122 bool temp3
= False
;
12123 PyObject
* obj0
= 0 ;
12124 PyObject
* obj2
= 0 ;
12125 char *kwnames
[] = {
12126 (char *) "self",(char *) "value",(char *) "newmsg", NULL
12129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:ProgressDialog_Update",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
12130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12133 arg3
= wxString_in_helper(obj2
);
12134 if (arg3
== NULL
) SWIG_fail
;
12139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12140 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
12142 wxPyEndAllowThreads(__tstate
);
12143 if (PyErr_Occurred()) SWIG_fail
;
12145 resultobj
= PyInt_FromLong((long)result
);
12160 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12161 PyObject
*resultobj
;
12162 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
12163 PyObject
* obj0
= 0 ;
12164 char *kwnames
[] = {
12165 (char *) "self", NULL
12168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
12169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12174 wxPyEndAllowThreads(__tstate
);
12175 if (PyErr_Occurred()) SWIG_fail
;
12177 Py_INCREF(Py_None
); resultobj
= Py_None
;
12184 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12187 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
12189 return Py_BuildValue((char *)"");
12191 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12192 PyObject
*resultobj
;
12193 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12194 int arg2
= (int) 0 ;
12195 wxFindDialogEvent
*result
;
12196 char *kwnames
[] = {
12197 (char *) "commandType",(char *) "id", NULL
12200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_FindDialogEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
12202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12203 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
12205 wxPyEndAllowThreads(__tstate
);
12206 if (PyErr_Occurred()) SWIG_fail
;
12208 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindDialogEvent
, 1);
12215 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12216 PyObject
*resultobj
;
12217 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12219 PyObject
* obj0
= 0 ;
12220 char *kwnames
[] = {
12221 (char *) "self", NULL
12224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
12225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12228 result
= (int)(arg1
)->GetFlags();
12230 wxPyEndAllowThreads(__tstate
);
12231 if (PyErr_Occurred()) SWIG_fail
;
12233 resultobj
= PyInt_FromLong((long)result
);
12240 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12241 PyObject
*resultobj
;
12242 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12244 PyObject
* obj0
= 0 ;
12245 char *kwnames
[] = {
12246 (char *) "self", NULL
12249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
12250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12254 wxString
const &_result_ref
= (arg1
)->GetFindString();
12255 result
= (wxString
*) &_result_ref
;
12258 wxPyEndAllowThreads(__tstate
);
12259 if (PyErr_Occurred()) SWIG_fail
;
12263 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12265 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12274 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12275 PyObject
*resultobj
;
12276 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12278 PyObject
* obj0
= 0 ;
12279 char *kwnames
[] = {
12280 (char *) "self", NULL
12283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
12284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12288 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
12289 result
= (wxString
*) &_result_ref
;
12292 wxPyEndAllowThreads(__tstate
);
12293 if (PyErr_Occurred()) SWIG_fail
;
12297 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12299 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12308 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12309 PyObject
*resultobj
;
12310 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12311 wxFindReplaceDialog
*result
;
12312 PyObject
* obj0
= 0 ;
12313 char *kwnames
[] = {
12314 (char *) "self", NULL
12317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
12318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12321 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
12323 wxPyEndAllowThreads(__tstate
);
12324 if (PyErr_Occurred()) SWIG_fail
;
12326 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 0);
12333 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12334 PyObject
*resultobj
;
12335 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12337 PyObject
* obj0
= 0 ;
12338 char *kwnames
[] = {
12339 (char *) "self",(char *) "flags", NULL
12342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FindDialogEvent_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
12343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12346 (arg1
)->SetFlags(arg2
);
12348 wxPyEndAllowThreads(__tstate
);
12349 if (PyErr_Occurred()) SWIG_fail
;
12351 Py_INCREF(Py_None
); resultobj
= Py_None
;
12358 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12359 PyObject
*resultobj
;
12360 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12361 wxString
*arg2
= 0 ;
12362 bool temp2
= False
;
12363 PyObject
* obj0
= 0 ;
12364 PyObject
* obj1
= 0 ;
12365 char *kwnames
[] = {
12366 (char *) "self",(char *) "str", NULL
12369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12372 arg2
= wxString_in_helper(obj1
);
12373 if (arg2
== NULL
) SWIG_fail
;
12377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12378 (arg1
)->SetFindString((wxString
const &)*arg2
);
12380 wxPyEndAllowThreads(__tstate
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12383 Py_INCREF(Py_None
); resultobj
= Py_None
;
12398 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12399 PyObject
*resultobj
;
12400 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
12401 wxString
*arg2
= 0 ;
12402 bool temp2
= False
;
12403 PyObject
* obj0
= 0 ;
12404 PyObject
* obj1
= 0 ;
12405 char *kwnames
[] = {
12406 (char *) "self",(char *) "str", NULL
12409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
12410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12412 arg2
= wxString_in_helper(obj1
);
12413 if (arg2
== NULL
) SWIG_fail
;
12417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12418 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
12420 wxPyEndAllowThreads(__tstate
);
12421 if (PyErr_Occurred()) SWIG_fail
;
12423 Py_INCREF(Py_None
); resultobj
= Py_None
;
12438 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12441 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
12443 return Py_BuildValue((char *)"");
12445 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12446 PyObject
*resultobj
;
12447 int arg1
= (int) 0 ;
12448 wxFindReplaceData
*result
;
12449 char *kwnames
[] = {
12450 (char *) "flags", NULL
12453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_FindReplaceData",kwnames
,&arg1
)) goto fail
;
12455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12456 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
12458 wxPyEndAllowThreads(__tstate
);
12459 if (PyErr_Occurred()) SWIG_fail
;
12461 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 1);
12468 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12469 PyObject
*resultobj
;
12470 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12471 PyObject
* obj0
= 0 ;
12472 char *kwnames
[] = {
12473 (char *) "self", NULL
12476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
12477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12482 wxPyEndAllowThreads(__tstate
);
12483 if (PyErr_Occurred()) SWIG_fail
;
12485 Py_INCREF(Py_None
); resultobj
= Py_None
;
12492 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12493 PyObject
*resultobj
;
12494 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12496 PyObject
* obj0
= 0 ;
12497 char *kwnames
[] = {
12498 (char *) "self", NULL
12501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
12502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12506 wxString
const &_result_ref
= (arg1
)->GetFindString();
12507 result
= (wxString
*) &_result_ref
;
12510 wxPyEndAllowThreads(__tstate
);
12511 if (PyErr_Occurred()) SWIG_fail
;
12515 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12517 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12526 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12527 PyObject
*resultobj
;
12528 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12530 PyObject
* obj0
= 0 ;
12531 char *kwnames
[] = {
12532 (char *) "self", NULL
12535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
12536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12540 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
12541 result
= (wxString
*) &_result_ref
;
12544 wxPyEndAllowThreads(__tstate
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12549 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12551 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12560 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12561 PyObject
*resultobj
;
12562 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12564 PyObject
* obj0
= 0 ;
12565 char *kwnames
[] = {
12566 (char *) "self", NULL
12569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
12570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12573 result
= (int)(arg1
)->GetFlags();
12575 wxPyEndAllowThreads(__tstate
);
12576 if (PyErr_Occurred()) SWIG_fail
;
12578 resultobj
= PyInt_FromLong((long)result
);
12585 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12586 PyObject
*resultobj
;
12587 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12589 PyObject
* obj0
= 0 ;
12590 char *kwnames
[] = {
12591 (char *) "self",(char *) "flags", NULL
12594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FindReplaceData_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
12595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12598 (arg1
)->SetFlags(arg2
);
12600 wxPyEndAllowThreads(__tstate
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12603 Py_INCREF(Py_None
); resultobj
= Py_None
;
12610 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12611 PyObject
*resultobj
;
12612 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12613 wxString
*arg2
= 0 ;
12614 bool temp2
= False
;
12615 PyObject
* obj0
= 0 ;
12616 PyObject
* obj1
= 0 ;
12617 char *kwnames
[] = {
12618 (char *) "self",(char *) "str", NULL
12621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12624 arg2
= wxString_in_helper(obj1
);
12625 if (arg2
== NULL
) SWIG_fail
;
12629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12630 (arg1
)->SetFindString((wxString
const &)*arg2
);
12632 wxPyEndAllowThreads(__tstate
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12635 Py_INCREF(Py_None
); resultobj
= Py_None
;
12650 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12651 PyObject
*resultobj
;
12652 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
12653 wxString
*arg2
= 0 ;
12654 bool temp2
= False
;
12655 PyObject
* obj0
= 0 ;
12656 PyObject
* obj1
= 0 ;
12657 char *kwnames
[] = {
12658 (char *) "self",(char *) "str", NULL
12661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
12662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12664 arg2
= wxString_in_helper(obj1
);
12665 if (arg2
== NULL
) SWIG_fail
;
12669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12670 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
12672 wxPyEndAllowThreads(__tstate
);
12673 if (PyErr_Occurred()) SWIG_fail
;
12675 Py_INCREF(Py_None
); resultobj
= Py_None
;
12690 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
12692 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12693 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
12695 return Py_BuildValue((char *)"");
12697 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12698 PyObject
*resultobj
;
12699 wxWindow
*arg1
= (wxWindow
*) 0 ;
12700 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
12701 wxString
*arg3
= 0 ;
12702 int arg4
= (int) 0 ;
12703 wxFindReplaceDialog
*result
;
12704 bool temp3
= False
;
12705 PyObject
* obj0
= 0 ;
12706 PyObject
* obj1
= 0 ;
12707 PyObject
* obj2
= 0 ;
12708 char *kwnames
[] = {
12709 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
12713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12714 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12716 arg3
= wxString_in_helper(obj2
);
12717 if (arg3
== NULL
) SWIG_fail
;
12721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12722 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
12724 wxPyEndAllowThreads(__tstate
);
12725 if (PyErr_Occurred()) SWIG_fail
;
12727 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
12742 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12743 PyObject
*resultobj
;
12744 wxFindReplaceDialog
*result
;
12745 char *kwnames
[] = {
12749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
12751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12752 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
12754 wxPyEndAllowThreads(__tstate
);
12755 if (PyErr_Occurred()) SWIG_fail
;
12757 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
12764 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12765 PyObject
*resultobj
;
12766 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12767 wxWindow
*arg2
= (wxWindow
*) 0 ;
12768 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
12769 wxString
*arg4
= 0 ;
12770 int arg5
= (int) 0 ;
12772 bool temp4
= False
;
12773 PyObject
* obj0
= 0 ;
12774 PyObject
* obj1
= 0 ;
12775 PyObject
* obj2
= 0 ;
12776 PyObject
* obj3
= 0 ;
12777 char *kwnames
[] = {
12778 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
12782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12783 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12784 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12786 arg4
= wxString_in_helper(obj3
);
12787 if (arg4
== NULL
) SWIG_fail
;
12791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12792 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
12794 wxPyEndAllowThreads(__tstate
);
12795 if (PyErr_Occurred()) SWIG_fail
;
12797 resultobj
= PyInt_FromLong((long)result
);
12812 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
;
12814 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12815 wxFindReplaceData
*result
;
12816 PyObject
* obj0
= 0 ;
12817 char *kwnames
[] = {
12818 (char *) "self", NULL
12821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
12822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12825 result
= (wxFindReplaceData
*)(arg1
)->GetData();
12827 wxPyEndAllowThreads(__tstate
);
12828 if (PyErr_Occurred()) SWIG_fail
;
12830 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 0);
12837 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12838 PyObject
*resultobj
;
12839 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
12840 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
12841 PyObject
* obj0
= 0 ;
12842 PyObject
* obj1
= 0 ;
12843 char *kwnames
[] = {
12844 (char *) "self",(char *) "data", NULL
12847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12849 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12852 (arg1
)->SetData(arg2
);
12854 wxPyEndAllowThreads(__tstate
);
12855 if (PyErr_Occurred()) SWIG_fail
;
12857 Py_INCREF(Py_None
); resultobj
= Py_None
;
12864 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12867 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
12869 return Py_BuildValue((char *)"");
12871 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12872 PyObject
*resultobj
;
12873 wxWindow
*arg1
= (wxWindow
*) 0 ;
12875 wxString
*arg3
= 0 ;
12876 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12877 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12878 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12879 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12880 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
12881 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
12882 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12883 wxMDIParentFrame
*result
;
12884 bool temp3
= False
;
12887 bool temp7
= False
;
12888 PyObject
* obj0
= 0 ;
12889 PyObject
* obj2
= 0 ;
12890 PyObject
* obj3
= 0 ;
12891 PyObject
* obj4
= 0 ;
12892 PyObject
* obj6
= 0 ;
12893 char *kwnames
[] = {
12894 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
12898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12900 arg3
= wxString_in_helper(obj2
);
12901 if (arg3
== NULL
) SWIG_fail
;
12907 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12913 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12918 arg7
= wxString_in_helper(obj6
);
12919 if (arg7
== NULL
) SWIG_fail
;
12924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12925 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12927 wxPyEndAllowThreads(__tstate
);
12928 if (PyErr_Occurred()) SWIG_fail
;
12930 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
12953 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12954 PyObject
*resultobj
;
12955 wxMDIParentFrame
*result
;
12956 char *kwnames
[] = {
12960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
12962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12963 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
12965 wxPyEndAllowThreads(__tstate
);
12966 if (PyErr_Occurred()) SWIG_fail
;
12968 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
12975 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12976 PyObject
*resultobj
;
12977 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
12978 wxWindow
*arg2
= (wxWindow
*) 0 ;
12980 wxString
*arg4
= 0 ;
12981 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12982 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12983 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12984 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12985 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
12986 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
12987 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12989 bool temp4
= False
;
12992 bool temp8
= False
;
12993 PyObject
* obj0
= 0 ;
12994 PyObject
* obj1
= 0 ;
12995 PyObject
* obj3
= 0 ;
12996 PyObject
* obj4
= 0 ;
12997 PyObject
* obj5
= 0 ;
12998 PyObject
* obj7
= 0 ;
12999 char *kwnames
[] = {
13000 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
13004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13005 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13007 arg4
= wxString_in_helper(obj3
);
13008 if (arg4
== NULL
) SWIG_fail
;
13014 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13020 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13025 arg8
= wxString_in_helper(obj7
);
13026 if (arg8
== NULL
) SWIG_fail
;
13031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13032 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
13034 wxPyEndAllowThreads(__tstate
);
13035 if (PyErr_Occurred()) SWIG_fail
;
13037 resultobj
= PyInt_FromLong((long)result
);
13060 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13061 PyObject
*resultobj
;
13062 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13063 PyObject
* obj0
= 0 ;
13064 char *kwnames
[] = {
13065 (char *) "self", NULL
13068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
13069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13072 (arg1
)->ActivateNext();
13074 wxPyEndAllowThreads(__tstate
);
13075 if (PyErr_Occurred()) SWIG_fail
;
13077 Py_INCREF(Py_None
); resultobj
= Py_None
;
13084 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13085 PyObject
*resultobj
;
13086 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13087 PyObject
* obj0
= 0 ;
13088 char *kwnames
[] = {
13089 (char *) "self", NULL
13092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
13093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13096 (arg1
)->ActivatePrevious();
13098 wxPyEndAllowThreads(__tstate
);
13099 if (PyErr_Occurred()) SWIG_fail
;
13101 Py_INCREF(Py_None
); resultobj
= Py_None
;
13108 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13109 PyObject
*resultobj
;
13110 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13111 PyObject
* obj0
= 0 ;
13112 char *kwnames
[] = {
13113 (char *) "self", NULL
13116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
13117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13120 (arg1
)->ArrangeIcons();
13122 wxPyEndAllowThreads(__tstate
);
13123 if (PyErr_Occurred()) SWIG_fail
;
13125 Py_INCREF(Py_None
); resultobj
= Py_None
;
13132 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13133 PyObject
*resultobj
;
13134 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13135 PyObject
* obj0
= 0 ;
13136 char *kwnames
[] = {
13137 (char *) "self", NULL
13140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
13141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13146 wxPyEndAllowThreads(__tstate
);
13147 if (PyErr_Occurred()) SWIG_fail
;
13149 Py_INCREF(Py_None
); resultobj
= Py_None
;
13156 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13157 PyObject
*resultobj
;
13158 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13159 wxMDIChildFrame
*result
;
13160 PyObject
* obj0
= 0 ;
13161 char *kwnames
[] = {
13162 (char *) "self", NULL
13165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
13166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13169 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
13171 wxPyEndAllowThreads(__tstate
);
13172 if (PyErr_Occurred()) SWIG_fail
;
13175 resultobj
= wxPyMake_wxObject(result
);
13183 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13184 PyObject
*resultobj
;
13185 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13186 wxMDIClientWindow
*result
;
13187 PyObject
* obj0
= 0 ;
13188 char *kwnames
[] = {
13189 (char *) "self", NULL
13192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
13193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13196 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
13198 wxPyEndAllowThreads(__tstate
);
13199 if (PyErr_Occurred()) SWIG_fail
;
13202 resultobj
= wxPyMake_wxObject(result
);
13210 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13211 PyObject
*resultobj
;
13212 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13214 PyObject
* obj0
= 0 ;
13215 char *kwnames
[] = {
13216 (char *) "self", NULL
13219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
13220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13223 result
= (wxWindow
*)(arg1
)->GetToolBar();
13225 wxPyEndAllowThreads(__tstate
);
13226 if (PyErr_Occurred()) SWIG_fail
;
13229 resultobj
= wxPyMake_wxObject(result
);
13237 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13238 PyObject
*resultobj
;
13239 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13240 PyObject
* obj0
= 0 ;
13241 char *kwnames
[] = {
13242 (char *) "self", NULL
13245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
13246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13251 wxPyEndAllowThreads(__tstate
);
13252 if (PyErr_Occurred()) SWIG_fail
;
13254 Py_INCREF(Py_None
); resultobj
= Py_None
;
13261 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
13263 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13264 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
13266 return Py_BuildValue((char *)"");
13268 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13269 PyObject
*resultobj
;
13270 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13272 wxString
*arg3
= 0 ;
13273 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13274 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13275 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13276 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13277 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
13278 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
13279 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13280 wxMDIChildFrame
*result
;
13281 bool temp3
= False
;
13284 bool temp7
= False
;
13285 PyObject
* obj0
= 0 ;
13286 PyObject
* obj2
= 0 ;
13287 PyObject
* obj3
= 0 ;
13288 PyObject
* obj4
= 0 ;
13289 PyObject
* obj6
= 0 ;
13290 char *kwnames
[] = {
13291 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
13295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13297 arg3
= wxString_in_helper(obj2
);
13298 if (arg3
== NULL
) SWIG_fail
;
13304 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13310 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13315 arg7
= wxString_in_helper(obj6
);
13316 if (arg7
== NULL
) SWIG_fail
;
13321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13322 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13324 wxPyEndAllowThreads(__tstate
);
13325 if (PyErr_Occurred()) SWIG_fail
;
13328 resultobj
= wxPyMake_wxObject(result
);
13352 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13353 PyObject
*resultobj
;
13354 wxMDIChildFrame
*result
;
13355 char *kwnames
[] = {
13359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
13361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13362 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
13364 wxPyEndAllowThreads(__tstate
);
13365 if (PyErr_Occurred()) SWIG_fail
;
13368 resultobj
= wxPyMake_wxObject(result
);
13376 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13377 PyObject
*resultobj
;
13378 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13379 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13381 wxString
*arg4
= 0 ;
13382 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13383 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13384 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13385 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13386 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
13387 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
13388 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13390 bool temp4
= False
;
13393 bool temp8
= False
;
13394 PyObject
* obj0
= 0 ;
13395 PyObject
* obj1
= 0 ;
13396 PyObject
* obj3
= 0 ;
13397 PyObject
* obj4
= 0 ;
13398 PyObject
* obj5
= 0 ;
13399 PyObject
* obj7
= 0 ;
13400 char *kwnames
[] = {
13401 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
13405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13406 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13408 arg4
= wxString_in_helper(obj3
);
13409 if (arg4
== NULL
) SWIG_fail
;
13415 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13421 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13426 arg8
= wxString_in_helper(obj7
);
13427 if (arg8
== NULL
) SWIG_fail
;
13432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13433 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
13435 wxPyEndAllowThreads(__tstate
);
13436 if (PyErr_Occurred()) SWIG_fail
;
13438 resultobj
= PyInt_FromLong((long)result
);
13461 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13462 PyObject
*resultobj
;
13463 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13464 PyObject
* obj0
= 0 ;
13465 char *kwnames
[] = {
13466 (char *) "self", NULL
13469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
13470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13473 (arg1
)->Activate();
13475 wxPyEndAllowThreads(__tstate
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13478 Py_INCREF(Py_None
); resultobj
= Py_None
;
13485 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13486 PyObject
*resultobj
;
13487 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13489 PyObject
* obj0
= 0 ;
13490 PyObject
* obj1
= 0 ;
13491 char *kwnames
[] = {
13492 (char *) "self",(char *) "maximize", NULL
13495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
13496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13498 arg2
= (bool) SPyObj_AsBool(obj1
);
13499 if (PyErr_Occurred()) SWIG_fail
;
13502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13503 (arg1
)->Maximize(arg2
);
13505 wxPyEndAllowThreads(__tstate
);
13506 if (PyErr_Occurred()) SWIG_fail
;
13508 Py_INCREF(Py_None
); resultobj
= Py_None
;
13515 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13516 PyObject
*resultobj
;
13517 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
13518 PyObject
* obj0
= 0 ;
13519 char *kwnames
[] = {
13520 (char *) "self", NULL
13523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
13524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13529 wxPyEndAllowThreads(__tstate
);
13530 if (PyErr_Occurred()) SWIG_fail
;
13532 Py_INCREF(Py_None
); resultobj
= Py_None
;
13539 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
13541 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13542 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
13544 return Py_BuildValue((char *)"");
13546 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13547 PyObject
*resultobj
;
13548 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13549 long arg2
= (long) 0 ;
13550 wxMDIClientWindow
*result
;
13551 PyObject
* obj0
= 0 ;
13552 char *kwnames
[] = {
13553 (char *) "parent",(char *) "style", NULL
13556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:new_MDIClientWindow",kwnames
,&obj0
,&arg2
)) goto fail
;
13557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13560 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
13562 wxPyEndAllowThreads(__tstate
);
13563 if (PyErr_Occurred()) SWIG_fail
;
13566 resultobj
= wxPyMake_wxObject(result
);
13574 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13575 PyObject
*resultobj
;
13576 wxMDIClientWindow
*result
;
13577 char *kwnames
[] = {
13581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
13583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13584 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
13586 wxPyEndAllowThreads(__tstate
);
13587 if (PyErr_Occurred()) SWIG_fail
;
13590 resultobj
= wxPyMake_wxObject(result
);
13598 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13599 PyObject
*resultobj
;
13600 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
13601 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13602 long arg3
= (long) 0 ;
13604 PyObject
* obj0
= 0 ;
13605 PyObject
* obj1
= 0 ;
13606 char *kwnames
[] = {
13607 (char *) "self",(char *) "parent",(char *) "style", NULL
13610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIClientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13612 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13615 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13617 wxPyEndAllowThreads(__tstate
);
13618 if (PyErr_Occurred()) SWIG_fail
;
13620 resultobj
= PyInt_FromLong((long)result
);
13627 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
13629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13630 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
13632 return Py_BuildValue((char *)"");
13634 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13635 PyObject
*resultobj
;
13636 wxWindow
*arg1
= (wxWindow
*) 0 ;
13638 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13639 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13640 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13641 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13642 long arg5
= (long) 0 ;
13643 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13644 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13645 wxPyWindow
*result
;
13648 bool temp6
= False
;
13649 PyObject
* obj0
= 0 ;
13650 PyObject
* obj2
= 0 ;
13651 PyObject
* obj3
= 0 ;
13652 PyObject
* obj5
= 0 ;
13653 char *kwnames
[] = {
13654 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_PyWindow",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
13658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13662 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13668 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13673 arg6
= wxString_in_helper(obj5
);
13674 if (arg6
== NULL
) SWIG_fail
;
13679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13680 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13682 wxPyEndAllowThreads(__tstate
);
13683 if (PyErr_Occurred()) SWIG_fail
;
13685 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyWindow
, 1);
13700 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13701 PyObject
*resultobj
;
13702 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13703 PyObject
*arg2
= (PyObject
*) 0 ;
13704 PyObject
*arg3
= (PyObject
*) 0 ;
13705 PyObject
* obj0
= 0 ;
13706 PyObject
* obj1
= 0 ;
13707 PyObject
* obj2
= 0 ;
13708 char *kwnames
[] = {
13709 (char *) "self",(char *) "self",(char *) "_class", NULL
13712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13718 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13720 wxPyEndAllowThreads(__tstate
);
13721 if (PyErr_Occurred()) SWIG_fail
;
13723 Py_INCREF(Py_None
); resultobj
= Py_None
;
13730 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13731 PyObject
*resultobj
;
13732 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13737 PyObject
* obj0
= 0 ;
13738 char *kwnames
[] = {
13739 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13746 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
13748 wxPyEndAllowThreads(__tstate
);
13749 if (PyErr_Occurred()) SWIG_fail
;
13751 Py_INCREF(Py_None
); resultobj
= Py_None
;
13758 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13759 PyObject
*resultobj
;
13760 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13765 int arg6
= (int) wxSIZE_AUTO
;
13766 PyObject
* obj0
= 0 ;
13767 char *kwnames
[] = {
13768 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
13772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13775 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
13777 wxPyEndAllowThreads(__tstate
);
13778 if (PyErr_Occurred()) SWIG_fail
;
13780 Py_INCREF(Py_None
); resultobj
= Py_None
;
13787 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13788 PyObject
*resultobj
;
13789 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13792 PyObject
* obj0
= 0 ;
13793 char *kwnames
[] = {
13794 (char *) "self",(char *) "width",(char *) "height", NULL
13797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13801 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
13803 wxPyEndAllowThreads(__tstate
);
13804 if (PyErr_Occurred()) SWIG_fail
;
13806 Py_INCREF(Py_None
); resultobj
= Py_None
;
13813 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13814 PyObject
*resultobj
;
13815 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13818 PyObject
* obj0
= 0 ;
13819 char *kwnames
[] = {
13820 (char *) "self",(char *) "x",(char *) "y", NULL
13823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13827 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
13829 wxPyEndAllowThreads(__tstate
);
13830 if (PyErr_Occurred()) SWIG_fail
;
13832 Py_INCREF(Py_None
); resultobj
= Py_None
;
13839 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13840 PyObject
*resultobj
;
13841 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13842 int *arg2
= (int *) 0 ;
13843 int *arg3
= (int *) 0 ;
13846 PyObject
* obj0
= 0 ;
13847 char *kwnames
[] = {
13848 (char *) "self", NULL
13853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
13854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13857 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
13859 wxPyEndAllowThreads(__tstate
);
13860 if (PyErr_Occurred()) SWIG_fail
;
13862 Py_INCREF(Py_None
); resultobj
= Py_None
;
13864 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13865 resultobj
= t_output_helper(resultobj
,o
);
13868 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13869 resultobj
= t_output_helper(resultobj
,o
);
13877 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13878 PyObject
*resultobj
;
13879 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13880 int *arg2
= (int *) 0 ;
13881 int *arg3
= (int *) 0 ;
13884 PyObject
* obj0
= 0 ;
13885 char *kwnames
[] = {
13886 (char *) "self", NULL
13891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
13892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13895 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
13897 wxPyEndAllowThreads(__tstate
);
13898 if (PyErr_Occurred()) SWIG_fail
;
13900 Py_INCREF(Py_None
); resultobj
= Py_None
;
13902 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13903 resultobj
= t_output_helper(resultobj
,o
);
13906 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13907 resultobj
= t_output_helper(resultobj
,o
);
13915 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13916 PyObject
*resultobj
;
13917 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13918 int *arg2
= (int *) 0 ;
13919 int *arg3
= (int *) 0 ;
13922 PyObject
* obj0
= 0 ;
13923 char *kwnames
[] = {
13924 (char *) "self", NULL
13929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
13930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13933 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
13935 wxPyEndAllowThreads(__tstate
);
13936 if (PyErr_Occurred()) SWIG_fail
;
13938 Py_INCREF(Py_None
); resultobj
= Py_None
;
13940 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13941 resultobj
= t_output_helper(resultobj
,o
);
13944 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13945 resultobj
= t_output_helper(resultobj
,o
);
13953 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13954 PyObject
*resultobj
;
13955 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13957 PyObject
* obj0
= 0 ;
13958 char *kwnames
[] = {
13959 (char *) "self", NULL
13962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
13963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13966 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
13968 wxPyEndAllowThreads(__tstate
);
13969 if (PyErr_Occurred()) SWIG_fail
;
13972 wxSize
* resultptr
;
13973 resultptr
= new wxSize((wxSize
&) result
);
13974 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13982 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13983 PyObject
*resultobj
;
13984 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
13986 PyObject
* obj0
= 0 ;
13987 char *kwnames
[] = {
13988 (char *) "self", NULL
13991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
13992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13995 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
13997 wxPyEndAllowThreads(__tstate
);
13998 if (PyErr_Occurred()) SWIG_fail
;
14001 wxSize
* resultptr
;
14002 resultptr
= new wxSize((wxSize
&) result
);
14003 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14011 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14012 PyObject
*resultobj
;
14013 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14014 PyObject
* obj0
= 0 ;
14015 char *kwnames
[] = {
14016 (char *) "self", NULL
14019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
14020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14023 (arg1
)->base_InitDialog();
14025 wxPyEndAllowThreads(__tstate
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14028 Py_INCREF(Py_None
); resultobj
= Py_None
;
14035 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14036 PyObject
*resultobj
;
14037 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14039 PyObject
* obj0
= 0 ;
14040 char *kwnames
[] = {
14041 (char *) "self", NULL
14044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
14045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14048 result
= (bool)(arg1
)->base_TransferDataToWindow();
14050 wxPyEndAllowThreads(__tstate
);
14051 if (PyErr_Occurred()) SWIG_fail
;
14053 resultobj
= PyInt_FromLong((long)result
);
14060 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14061 PyObject
*resultobj
;
14062 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14064 PyObject
* obj0
= 0 ;
14065 char *kwnames
[] = {
14066 (char *) "self", NULL
14069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
14070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14073 result
= (bool)(arg1
)->base_TransferDataFromWindow();
14075 wxPyEndAllowThreads(__tstate
);
14076 if (PyErr_Occurred()) SWIG_fail
;
14078 resultobj
= PyInt_FromLong((long)result
);
14085 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14086 PyObject
*resultobj
;
14087 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14089 PyObject
* obj0
= 0 ;
14090 char *kwnames
[] = {
14091 (char *) "self", NULL
14094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
14095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14098 result
= (bool)(arg1
)->base_Validate();
14100 wxPyEndAllowThreads(__tstate
);
14101 if (PyErr_Occurred()) SWIG_fail
;
14103 resultobj
= PyInt_FromLong((long)result
);
14110 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14111 PyObject
*resultobj
;
14112 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14114 PyObject
* obj0
= 0 ;
14115 char *kwnames
[] = {
14116 (char *) "self", NULL
14119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
14120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14123 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
14125 wxPyEndAllowThreads(__tstate
);
14126 if (PyErr_Occurred()) SWIG_fail
;
14128 resultobj
= PyInt_FromLong((long)result
);
14135 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14136 PyObject
*resultobj
;
14137 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14139 PyObject
* obj0
= 0 ;
14140 char *kwnames
[] = {
14141 (char *) "self", NULL
14144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
14145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14148 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
14150 wxPyEndAllowThreads(__tstate
);
14151 if (PyErr_Occurred()) SWIG_fail
;
14153 resultobj
= PyInt_FromLong((long)result
);
14160 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14161 PyObject
*resultobj
;
14162 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14164 PyObject
* obj0
= 0 ;
14165 char *kwnames
[] = {
14166 (char *) "self", NULL
14169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
14170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14173 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
14175 wxPyEndAllowThreads(__tstate
);
14176 if (PyErr_Occurred()) SWIG_fail
;
14179 wxSize
* resultptr
;
14180 resultptr
= new wxSize((wxSize
&) result
);
14181 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14189 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14190 PyObject
*resultobj
;
14191 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14192 wxWindow
*arg2
= (wxWindow
*) 0 ;
14193 PyObject
* obj0
= 0 ;
14194 PyObject
* obj1
= 0 ;
14195 char *kwnames
[] = {
14196 (char *) "self",(char *) "child", NULL
14199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14201 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14204 (arg1
)->base_AddChild(arg2
);
14206 wxPyEndAllowThreads(__tstate
);
14207 if (PyErr_Occurred()) SWIG_fail
;
14209 Py_INCREF(Py_None
); resultobj
= Py_None
;
14216 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14217 PyObject
*resultobj
;
14218 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14219 wxWindow
*arg2
= (wxWindow
*) 0 ;
14220 PyObject
* obj0
= 0 ;
14221 PyObject
* obj1
= 0 ;
14222 char *kwnames
[] = {
14223 (char *) "self",(char *) "child", NULL
14226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14228 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14231 (arg1
)->base_RemoveChild(arg2
);
14233 wxPyEndAllowThreads(__tstate
);
14234 if (PyErr_Occurred()) SWIG_fail
;
14236 Py_INCREF(Py_None
); resultobj
= Py_None
;
14243 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
14245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14246 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
14248 return Py_BuildValue((char *)"");
14250 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14251 PyObject
*resultobj
;
14252 wxWindow
*arg1
= (wxWindow
*) 0 ;
14254 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14255 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14256 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14257 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14258 long arg5
= (long) 0 ;
14259 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
14260 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14264 bool temp6
= False
;
14265 PyObject
* obj0
= 0 ;
14266 PyObject
* obj2
= 0 ;
14267 PyObject
* obj3
= 0 ;
14268 PyObject
* obj5
= 0 ;
14269 char *kwnames
[] = {
14270 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_PyPanel",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
14274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14278 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14284 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14289 arg6
= wxString_in_helper(obj5
);
14290 if (arg6
== NULL
) SWIG_fail
;
14295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14296 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14298 wxPyEndAllowThreads(__tstate
);
14299 if (PyErr_Occurred()) SWIG_fail
;
14301 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPanel
, 1);
14316 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14317 PyObject
*resultobj
;
14318 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14319 PyObject
*arg2
= (PyObject
*) 0 ;
14320 PyObject
*arg3
= (PyObject
*) 0 ;
14321 PyObject
* obj0
= 0 ;
14322 PyObject
* obj1
= 0 ;
14323 PyObject
* obj2
= 0 ;
14324 char *kwnames
[] = {
14325 (char *) "self",(char *) "self",(char *) "_class", NULL
14328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14334 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14336 wxPyEndAllowThreads(__tstate
);
14337 if (PyErr_Occurred()) SWIG_fail
;
14339 Py_INCREF(Py_None
); resultobj
= Py_None
;
14346 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14347 PyObject
*resultobj
;
14348 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14353 PyObject
* obj0
= 0 ;
14354 char *kwnames
[] = {
14355 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14362 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
14364 wxPyEndAllowThreads(__tstate
);
14365 if (PyErr_Occurred()) SWIG_fail
;
14367 Py_INCREF(Py_None
); resultobj
= Py_None
;
14374 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14375 PyObject
*resultobj
;
14376 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14381 int arg6
= (int) wxSIZE_AUTO
;
14382 PyObject
* obj0
= 0 ;
14383 char *kwnames
[] = {
14384 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
14388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14391 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
14393 wxPyEndAllowThreads(__tstate
);
14394 if (PyErr_Occurred()) SWIG_fail
;
14396 Py_INCREF(Py_None
); resultobj
= Py_None
;
14403 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14404 PyObject
*resultobj
;
14405 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14408 PyObject
* obj0
= 0 ;
14409 char *kwnames
[] = {
14410 (char *) "self",(char *) "width",(char *) "height", NULL
14413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14417 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
14419 wxPyEndAllowThreads(__tstate
);
14420 if (PyErr_Occurred()) SWIG_fail
;
14422 Py_INCREF(Py_None
); resultobj
= Py_None
;
14429 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14430 PyObject
*resultobj
;
14431 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14434 PyObject
* obj0
= 0 ;
14435 char *kwnames
[] = {
14436 (char *) "self",(char *) "x",(char *) "y", NULL
14439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14443 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
14445 wxPyEndAllowThreads(__tstate
);
14446 if (PyErr_Occurred()) SWIG_fail
;
14448 Py_INCREF(Py_None
); resultobj
= Py_None
;
14455 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14456 PyObject
*resultobj
;
14457 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14458 int *arg2
= (int *) 0 ;
14459 int *arg3
= (int *) 0 ;
14462 PyObject
* obj0
= 0 ;
14463 char *kwnames
[] = {
14464 (char *) "self", NULL
14469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
14470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14473 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
14475 wxPyEndAllowThreads(__tstate
);
14476 if (PyErr_Occurred()) SWIG_fail
;
14478 Py_INCREF(Py_None
); resultobj
= Py_None
;
14480 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14481 resultobj
= t_output_helper(resultobj
,o
);
14484 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14485 resultobj
= t_output_helper(resultobj
,o
);
14493 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14494 PyObject
*resultobj
;
14495 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14496 int *arg2
= (int *) 0 ;
14497 int *arg3
= (int *) 0 ;
14500 PyObject
* obj0
= 0 ;
14501 char *kwnames
[] = {
14502 (char *) "self", NULL
14507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
14508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14511 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
14513 wxPyEndAllowThreads(__tstate
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14516 Py_INCREF(Py_None
); resultobj
= Py_None
;
14518 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14519 resultobj
= t_output_helper(resultobj
,o
);
14522 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14523 resultobj
= t_output_helper(resultobj
,o
);
14531 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14532 PyObject
*resultobj
;
14533 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14534 int *arg2
= (int *) 0 ;
14535 int *arg3
= (int *) 0 ;
14538 PyObject
* obj0
= 0 ;
14539 char *kwnames
[] = {
14540 (char *) "self", NULL
14545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
14546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14549 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
14551 wxPyEndAllowThreads(__tstate
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14554 Py_INCREF(Py_None
); resultobj
= Py_None
;
14556 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14557 resultobj
= t_output_helper(resultobj
,o
);
14560 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14561 resultobj
= t_output_helper(resultobj
,o
);
14569 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14570 PyObject
*resultobj
;
14571 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14573 PyObject
* obj0
= 0 ;
14574 char *kwnames
[] = {
14575 (char *) "self", NULL
14578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
14579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14582 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
14584 wxPyEndAllowThreads(__tstate
);
14585 if (PyErr_Occurred()) SWIG_fail
;
14588 wxSize
* resultptr
;
14589 resultptr
= new wxSize((wxSize
&) result
);
14590 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14598 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14599 PyObject
*resultobj
;
14600 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14602 PyObject
* obj0
= 0 ;
14603 char *kwnames
[] = {
14604 (char *) "self", NULL
14607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
14608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14611 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
14613 wxPyEndAllowThreads(__tstate
);
14614 if (PyErr_Occurred()) SWIG_fail
;
14617 wxSize
* resultptr
;
14618 resultptr
= new wxSize((wxSize
&) result
);
14619 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14627 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14628 PyObject
*resultobj
;
14629 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14630 PyObject
* obj0
= 0 ;
14631 char *kwnames
[] = {
14632 (char *) "self", NULL
14635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
14636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14639 (arg1
)->base_InitDialog();
14641 wxPyEndAllowThreads(__tstate
);
14642 if (PyErr_Occurred()) SWIG_fail
;
14644 Py_INCREF(Py_None
); resultobj
= Py_None
;
14651 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14652 PyObject
*resultobj
;
14653 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14655 PyObject
* obj0
= 0 ;
14656 char *kwnames
[] = {
14657 (char *) "self", NULL
14660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
14661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14664 result
= (bool)(arg1
)->base_TransferDataToWindow();
14666 wxPyEndAllowThreads(__tstate
);
14667 if (PyErr_Occurred()) SWIG_fail
;
14669 resultobj
= PyInt_FromLong((long)result
);
14676 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14677 PyObject
*resultobj
;
14678 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14680 PyObject
* obj0
= 0 ;
14681 char *kwnames
[] = {
14682 (char *) "self", NULL
14685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
14686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14689 result
= (bool)(arg1
)->base_TransferDataFromWindow();
14691 wxPyEndAllowThreads(__tstate
);
14692 if (PyErr_Occurred()) SWIG_fail
;
14694 resultobj
= PyInt_FromLong((long)result
);
14701 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14702 PyObject
*resultobj
;
14703 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14705 PyObject
* obj0
= 0 ;
14706 char *kwnames
[] = {
14707 (char *) "self", NULL
14710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
14711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14714 result
= (bool)(arg1
)->base_Validate();
14716 wxPyEndAllowThreads(__tstate
);
14717 if (PyErr_Occurred()) SWIG_fail
;
14719 resultobj
= PyInt_FromLong((long)result
);
14726 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14727 PyObject
*resultobj
;
14728 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14730 PyObject
* obj0
= 0 ;
14731 char *kwnames
[] = {
14732 (char *) "self", NULL
14735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
14736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14739 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
14741 wxPyEndAllowThreads(__tstate
);
14742 if (PyErr_Occurred()) SWIG_fail
;
14744 resultobj
= PyInt_FromLong((long)result
);
14751 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14752 PyObject
*resultobj
;
14753 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14755 PyObject
* obj0
= 0 ;
14756 char *kwnames
[] = {
14757 (char *) "self", NULL
14760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
14761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14764 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
14766 wxPyEndAllowThreads(__tstate
);
14767 if (PyErr_Occurred()) SWIG_fail
;
14769 resultobj
= PyInt_FromLong((long)result
);
14776 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14777 PyObject
*resultobj
;
14778 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14780 PyObject
* obj0
= 0 ;
14781 char *kwnames
[] = {
14782 (char *) "self", NULL
14785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
14786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14789 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
14791 wxPyEndAllowThreads(__tstate
);
14792 if (PyErr_Occurred()) SWIG_fail
;
14795 wxSize
* resultptr
;
14796 resultptr
= new wxSize((wxSize
&) result
);
14797 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14805 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14806 PyObject
*resultobj
;
14807 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14808 wxWindow
*arg2
= (wxWindow
*) 0 ;
14809 PyObject
* obj0
= 0 ;
14810 PyObject
* obj1
= 0 ;
14811 char *kwnames
[] = {
14812 (char *) "self",(char *) "child", NULL
14815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14817 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14820 (arg1
)->base_AddChild(arg2
);
14822 wxPyEndAllowThreads(__tstate
);
14823 if (PyErr_Occurred()) SWIG_fail
;
14825 Py_INCREF(Py_None
); resultobj
= Py_None
;
14832 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14833 PyObject
*resultobj
;
14834 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
14835 wxWindow
*arg2
= (wxWindow
*) 0 ;
14836 PyObject
* obj0
= 0 ;
14837 PyObject
* obj1
= 0 ;
14838 char *kwnames
[] = {
14839 (char *) "self",(char *) "child", NULL
14842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14844 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14847 (arg1
)->base_RemoveChild(arg2
);
14849 wxPyEndAllowThreads(__tstate
);
14850 if (PyErr_Occurred()) SWIG_fail
;
14852 Py_INCREF(Py_None
); resultobj
= Py_None
;
14859 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
14861 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14862 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
14864 return Py_BuildValue((char *)"");
14866 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
14867 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
14872 static PyObject
*_wrap_PrintoutTitleStr_get() {
14877 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
14879 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
14886 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
14887 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
14892 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
14897 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
14899 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
14906 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14907 PyObject
*resultobj
;
14908 wxPrintData
*result
;
14909 char *kwnames
[] = {
14913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
14915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14916 result
= (wxPrintData
*)new wxPrintData();
14918 wxPyEndAllowThreads(__tstate
);
14919 if (PyErr_Occurred()) SWIG_fail
;
14921 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 1);
14928 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14929 PyObject
*resultobj
;
14930 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14931 PyObject
* obj0
= 0 ;
14932 char *kwnames
[] = {
14933 (char *) "self", NULL
14936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
14937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14942 wxPyEndAllowThreads(__tstate
);
14943 if (PyErr_Occurred()) SWIG_fail
;
14945 Py_INCREF(Py_None
); resultobj
= Py_None
;
14952 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14953 PyObject
*resultobj
;
14954 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14956 PyObject
* obj0
= 0 ;
14957 char *kwnames
[] = {
14958 (char *) "self", NULL
14961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
14962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14965 result
= (int)(arg1
)->GetNoCopies();
14967 wxPyEndAllowThreads(__tstate
);
14968 if (PyErr_Occurred()) SWIG_fail
;
14970 resultobj
= PyInt_FromLong((long)result
);
14977 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14978 PyObject
*resultobj
;
14979 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
14981 PyObject
* obj0
= 0 ;
14982 char *kwnames
[] = {
14983 (char *) "self", NULL
14986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
14987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14990 result
= (bool)(arg1
)->GetCollate();
14992 wxPyEndAllowThreads(__tstate
);
14993 if (PyErr_Occurred()) SWIG_fail
;
14995 resultobj
= PyInt_FromLong((long)result
);
15002 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15003 PyObject
*resultobj
;
15004 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15006 PyObject
* obj0
= 0 ;
15007 char *kwnames
[] = {
15008 (char *) "self", NULL
15011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
15012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15015 result
= (int)(arg1
)->GetOrientation();
15017 wxPyEndAllowThreads(__tstate
);
15018 if (PyErr_Occurred()) SWIG_fail
;
15020 resultobj
= PyInt_FromLong((long)result
);
15027 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15028 PyObject
*resultobj
;
15029 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15031 PyObject
* obj0
= 0 ;
15032 char *kwnames
[] = {
15033 (char *) "self", NULL
15036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
15037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15040 result
= (bool)(arg1
)->Ok();
15042 wxPyEndAllowThreads(__tstate
);
15043 if (PyErr_Occurred()) SWIG_fail
;
15045 resultobj
= PyInt_FromLong((long)result
);
15052 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15053 PyObject
*resultobj
;
15054 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15056 PyObject
* obj0
= 0 ;
15057 char *kwnames
[] = {
15058 (char *) "self", NULL
15061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
15062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15066 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
15067 result
= (wxString
*) &_result_ref
;
15070 wxPyEndAllowThreads(__tstate
);
15071 if (PyErr_Occurred()) SWIG_fail
;
15075 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15077 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15086 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15087 PyObject
*resultobj
;
15088 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15090 PyObject
* obj0
= 0 ;
15091 char *kwnames
[] = {
15092 (char *) "self", NULL
15095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
15096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15099 result
= (bool)(arg1
)->GetColour();
15101 wxPyEndAllowThreads(__tstate
);
15102 if (PyErr_Occurred()) SWIG_fail
;
15104 resultobj
= PyInt_FromLong((long)result
);
15111 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15112 PyObject
*resultobj
;
15113 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15115 PyObject
* obj0
= 0 ;
15116 char *kwnames
[] = {
15117 (char *) "self", NULL
15120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
15121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15124 result
= (int)(arg1
)->GetDuplex();
15126 wxPyEndAllowThreads(__tstate
);
15127 if (PyErr_Occurred()) SWIG_fail
;
15129 resultobj
= PyInt_FromLong((long)result
);
15136 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15137 PyObject
*resultobj
;
15138 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15140 PyObject
* obj0
= 0 ;
15141 char *kwnames
[] = {
15142 (char *) "self", NULL
15145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
15146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15149 result
= (int)(arg1
)->GetPaperId();
15151 wxPyEndAllowThreads(__tstate
);
15152 if (PyErr_Occurred()) SWIG_fail
;
15154 resultobj
= PyInt_FromLong((long)result
);
15161 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15162 PyObject
*resultobj
;
15163 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15165 PyObject
* obj0
= 0 ;
15166 char *kwnames
[] = {
15167 (char *) "self", NULL
15170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
15171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15175 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
15176 result
= (wxSize
*) &_result_ref
;
15179 wxPyEndAllowThreads(__tstate
);
15180 if (PyErr_Occurred()) SWIG_fail
;
15182 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
15189 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15190 PyObject
*resultobj
;
15191 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15193 PyObject
* obj0
= 0 ;
15194 char *kwnames
[] = {
15195 (char *) "self", NULL
15198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
15199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15202 result
= (int)(arg1
)->GetQuality();
15204 wxPyEndAllowThreads(__tstate
);
15205 if (PyErr_Occurred()) SWIG_fail
;
15207 resultobj
= PyInt_FromLong((long)result
);
15214 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15215 PyObject
*resultobj
;
15216 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15218 PyObject
* obj0
= 0 ;
15219 char *kwnames
[] = {
15220 (char *) "self",(char *) "v", NULL
15223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetNoCopies",kwnames
,&obj0
,&arg2
)) goto fail
;
15224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15227 (arg1
)->SetNoCopies(arg2
);
15229 wxPyEndAllowThreads(__tstate
);
15230 if (PyErr_Occurred()) SWIG_fail
;
15232 Py_INCREF(Py_None
); resultobj
= Py_None
;
15239 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15240 PyObject
*resultobj
;
15241 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15243 PyObject
* obj0
= 0 ;
15244 PyObject
* obj1
= 0 ;
15245 char *kwnames
[] = {
15246 (char *) "self",(char *) "flag", NULL
15249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
15250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15252 arg2
= (bool) SPyObj_AsBool(obj1
);
15253 if (PyErr_Occurred()) SWIG_fail
;
15256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15257 (arg1
)->SetCollate(arg2
);
15259 wxPyEndAllowThreads(__tstate
);
15260 if (PyErr_Occurred()) SWIG_fail
;
15262 Py_INCREF(Py_None
); resultobj
= Py_None
;
15269 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15270 PyObject
*resultobj
;
15271 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15273 PyObject
* obj0
= 0 ;
15274 char *kwnames
[] = {
15275 (char *) "self",(char *) "orient", NULL
15278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
15279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15282 (arg1
)->SetOrientation(arg2
);
15284 wxPyEndAllowThreads(__tstate
);
15285 if (PyErr_Occurred()) SWIG_fail
;
15287 Py_INCREF(Py_None
); resultobj
= Py_None
;
15294 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15295 PyObject
*resultobj
;
15296 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15297 wxString
*arg2
= 0 ;
15298 bool temp2
= False
;
15299 PyObject
* obj0
= 0 ;
15300 PyObject
* obj1
= 0 ;
15301 char *kwnames
[] = {
15302 (char *) "self",(char *) "name", NULL
15305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
15306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15308 arg2
= wxString_in_helper(obj1
);
15309 if (arg2
== NULL
) SWIG_fail
;
15313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15314 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
15316 wxPyEndAllowThreads(__tstate
);
15317 if (PyErr_Occurred()) SWIG_fail
;
15319 Py_INCREF(Py_None
); resultobj
= Py_None
;
15334 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15335 PyObject
*resultobj
;
15336 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15338 PyObject
* obj0
= 0 ;
15339 PyObject
* obj1
= 0 ;
15340 char *kwnames
[] = {
15341 (char *) "self",(char *) "colour", NULL
15344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15347 arg2
= (bool) SPyObj_AsBool(obj1
);
15348 if (PyErr_Occurred()) SWIG_fail
;
15351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15352 (arg1
)->SetColour(arg2
);
15354 wxPyEndAllowThreads(__tstate
);
15355 if (PyErr_Occurred()) SWIG_fail
;
15357 Py_INCREF(Py_None
); resultobj
= Py_None
;
15364 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15365 PyObject
*resultobj
;
15366 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15368 PyObject
* obj0
= 0 ;
15369 char *kwnames
[] = {
15370 (char *) "self",(char *) "duplex", NULL
15373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetDuplex",kwnames
,&obj0
,&arg2
)) goto fail
;
15374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15377 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
15379 wxPyEndAllowThreads(__tstate
);
15380 if (PyErr_Occurred()) SWIG_fail
;
15382 Py_INCREF(Py_None
); resultobj
= Py_None
;
15389 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15390 PyObject
*resultobj
;
15391 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15393 PyObject
* obj0
= 0 ;
15394 char *kwnames
[] = {
15395 (char *) "self",(char *) "sizeId", NULL
15398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetPaperId",kwnames
,&obj0
,&arg2
)) goto fail
;
15399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15402 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
15404 wxPyEndAllowThreads(__tstate
);
15405 if (PyErr_Occurred()) SWIG_fail
;
15407 Py_INCREF(Py_None
); resultobj
= Py_None
;
15414 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15415 PyObject
*resultobj
;
15416 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15419 PyObject
* obj0
= 0 ;
15420 PyObject
* obj1
= 0 ;
15421 char *kwnames
[] = {
15422 (char *) "self",(char *) "sz", NULL
15425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15429 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15433 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
15435 wxPyEndAllowThreads(__tstate
);
15436 if (PyErr_Occurred()) SWIG_fail
;
15438 Py_INCREF(Py_None
); resultobj
= Py_None
;
15445 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15446 PyObject
*resultobj
;
15447 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15449 PyObject
* obj0
= 0 ;
15450 char *kwnames
[] = {
15451 (char *) "self",(char *) "quality", NULL
15454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetQuality",kwnames
,&obj0
,&arg2
)) goto fail
;
15455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15458 (arg1
)->SetQuality(arg2
);
15460 wxPyEndAllowThreads(__tstate
);
15461 if (PyErr_Occurred()) SWIG_fail
;
15463 Py_INCREF(Py_None
); resultobj
= Py_None
;
15470 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15471 PyObject
*resultobj
;
15472 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15474 PyObject
* obj0
= 0 ;
15475 char *kwnames
[] = {
15476 (char *) "self", NULL
15479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
15480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15484 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
15485 result
= (wxString
*) &_result_ref
;
15488 wxPyEndAllowThreads(__tstate
);
15489 if (PyErr_Occurred()) SWIG_fail
;
15493 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15495 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15504 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15505 PyObject
*resultobj
;
15506 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15508 PyObject
* obj0
= 0 ;
15509 char *kwnames
[] = {
15510 (char *) "self", NULL
15513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
15514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15518 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
15519 result
= (wxString
*) &_result_ref
;
15522 wxPyEndAllowThreads(__tstate
);
15523 if (PyErr_Occurred()) SWIG_fail
;
15527 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15529 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15538 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15539 PyObject
*resultobj
;
15540 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15542 PyObject
* obj0
= 0 ;
15543 char *kwnames
[] = {
15544 (char *) "self", NULL
15547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
15548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15552 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
15553 result
= (wxString
*) &_result_ref
;
15556 wxPyEndAllowThreads(__tstate
);
15557 if (PyErr_Occurred()) SWIG_fail
;
15561 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15563 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15572 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15573 PyObject
*resultobj
;
15574 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15576 PyObject
* obj0
= 0 ;
15577 char *kwnames
[] = {
15578 (char *) "self", NULL
15581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
15582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15586 wxString
const &_result_ref
= (arg1
)->GetFilename();
15587 result
= (wxString
*) &_result_ref
;
15590 wxPyEndAllowThreads(__tstate
);
15591 if (PyErr_Occurred()) SWIG_fail
;
15595 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15597 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15606 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15607 PyObject
*resultobj
;
15608 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15610 PyObject
* obj0
= 0 ;
15611 char *kwnames
[] = {
15612 (char *) "self", NULL
15615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
15616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15620 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
15621 result
= (wxString
*) &_result_ref
;
15624 wxPyEndAllowThreads(__tstate
);
15625 if (PyErr_Occurred()) SWIG_fail
;
15629 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15631 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15640 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15641 PyObject
*resultobj
;
15642 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15644 PyObject
* obj0
= 0 ;
15645 char *kwnames
[] = {
15646 (char *) "self", NULL
15649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
15650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15653 result
= (double)(arg1
)->GetPrinterScaleX();
15655 wxPyEndAllowThreads(__tstate
);
15656 if (PyErr_Occurred()) SWIG_fail
;
15658 resultobj
= PyFloat_FromDouble(result
);
15665 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15666 PyObject
*resultobj
;
15667 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15669 PyObject
* obj0
= 0 ;
15670 char *kwnames
[] = {
15671 (char *) "self", NULL
15674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
15675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15678 result
= (double)(arg1
)->GetPrinterScaleY();
15680 wxPyEndAllowThreads(__tstate
);
15681 if (PyErr_Occurred()) SWIG_fail
;
15683 resultobj
= PyFloat_FromDouble(result
);
15690 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15691 PyObject
*resultobj
;
15692 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15694 PyObject
* obj0
= 0 ;
15695 char *kwnames
[] = {
15696 (char *) "self", NULL
15699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
15700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15703 result
= (long)(arg1
)->GetPrinterTranslateX();
15705 wxPyEndAllowThreads(__tstate
);
15706 if (PyErr_Occurred()) SWIG_fail
;
15708 resultobj
= PyInt_FromLong((long)result
);
15715 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15716 PyObject
*resultobj
;
15717 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15719 PyObject
* obj0
= 0 ;
15720 char *kwnames
[] = {
15721 (char *) "self", NULL
15724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
15725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15728 result
= (long)(arg1
)->GetPrinterTranslateY();
15730 wxPyEndAllowThreads(__tstate
);
15731 if (PyErr_Occurred()) SWIG_fail
;
15733 resultobj
= PyInt_FromLong((long)result
);
15740 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15741 PyObject
*resultobj
;
15742 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15744 PyObject
* obj0
= 0 ;
15745 char *kwnames
[] = {
15746 (char *) "self", NULL
15749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
15750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15753 result
= (int)(arg1
)->GetPrintMode();
15755 wxPyEndAllowThreads(__tstate
);
15756 if (PyErr_Occurred()) SWIG_fail
;
15758 resultobj
= PyInt_FromLong((long)result
);
15765 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15766 PyObject
*resultobj
;
15767 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15768 wxString
*arg2
= 0 ;
15769 bool temp2
= False
;
15770 PyObject
* obj0
= 0 ;
15771 PyObject
* obj1
= 0 ;
15772 char *kwnames
[] = {
15773 (char *) "self",(char *) "command", NULL
15776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
15777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15779 arg2
= wxString_in_helper(obj1
);
15780 if (arg2
== NULL
) SWIG_fail
;
15784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15785 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
15787 wxPyEndAllowThreads(__tstate
);
15788 if (PyErr_Occurred()) SWIG_fail
;
15790 Py_INCREF(Py_None
); resultobj
= Py_None
;
15805 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15806 PyObject
*resultobj
;
15807 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15808 wxString
*arg2
= 0 ;
15809 bool temp2
= False
;
15810 PyObject
* obj0
= 0 ;
15811 PyObject
* obj1
= 0 ;
15812 char *kwnames
[] = {
15813 (char *) "self",(char *) "options", NULL
15816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
15817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15819 arg2
= wxString_in_helper(obj1
);
15820 if (arg2
== NULL
) SWIG_fail
;
15824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15825 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
15827 wxPyEndAllowThreads(__tstate
);
15828 if (PyErr_Occurred()) SWIG_fail
;
15830 Py_INCREF(Py_None
); resultobj
= Py_None
;
15845 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15846 PyObject
*resultobj
;
15847 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15848 wxString
*arg2
= 0 ;
15849 bool temp2
= False
;
15850 PyObject
* obj0
= 0 ;
15851 PyObject
* obj1
= 0 ;
15852 char *kwnames
[] = {
15853 (char *) "self",(char *) "command", NULL
15856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
15857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15859 arg2
= wxString_in_helper(obj1
);
15860 if (arg2
== NULL
) SWIG_fail
;
15864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15865 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
15867 wxPyEndAllowThreads(__tstate
);
15868 if (PyErr_Occurred()) SWIG_fail
;
15870 Py_INCREF(Py_None
); resultobj
= Py_None
;
15885 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15886 PyObject
*resultobj
;
15887 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15888 wxString
*arg2
= 0 ;
15889 bool temp2
= False
;
15890 PyObject
* obj0
= 0 ;
15891 PyObject
* obj1
= 0 ;
15892 char *kwnames
[] = {
15893 (char *) "self",(char *) "filename", NULL
15896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
15897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15899 arg2
= wxString_in_helper(obj1
);
15900 if (arg2
== NULL
) SWIG_fail
;
15904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15905 (arg1
)->SetFilename((wxString
const &)*arg2
);
15907 wxPyEndAllowThreads(__tstate
);
15908 if (PyErr_Occurred()) SWIG_fail
;
15910 Py_INCREF(Py_None
); resultobj
= Py_None
;
15925 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15926 PyObject
*resultobj
;
15927 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15928 wxString
*arg2
= 0 ;
15929 bool temp2
= False
;
15930 PyObject
* obj0
= 0 ;
15931 PyObject
* obj1
= 0 ;
15932 char *kwnames
[] = {
15933 (char *) "self",(char *) "path", NULL
15936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
15937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15939 arg2
= wxString_in_helper(obj1
);
15940 if (arg2
== NULL
) SWIG_fail
;
15944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15945 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
15947 wxPyEndAllowThreads(__tstate
);
15948 if (PyErr_Occurred()) SWIG_fail
;
15950 Py_INCREF(Py_None
); resultobj
= Py_None
;
15965 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15966 PyObject
*resultobj
;
15967 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15969 PyObject
* obj0
= 0 ;
15970 char *kwnames
[] = {
15971 (char *) "self",(char *) "x", NULL
15974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&arg2
)) goto fail
;
15975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15978 (arg1
)->SetPrinterScaleX(arg2
);
15980 wxPyEndAllowThreads(__tstate
);
15981 if (PyErr_Occurred()) SWIG_fail
;
15983 Py_INCREF(Py_None
); resultobj
= Py_None
;
15990 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15991 PyObject
*resultobj
;
15992 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15994 PyObject
* obj0
= 0 ;
15995 char *kwnames
[] = {
15996 (char *) "self",(char *) "y", NULL
15999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&arg2
)) goto fail
;
16000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16003 (arg1
)->SetPrinterScaleY(arg2
);
16005 wxPyEndAllowThreads(__tstate
);
16006 if (PyErr_Occurred()) SWIG_fail
;
16008 Py_INCREF(Py_None
); resultobj
= Py_None
;
16015 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16016 PyObject
*resultobj
;
16017 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16020 PyObject
* obj0
= 0 ;
16021 char *kwnames
[] = {
16022 (char *) "self",(char *) "x",(char *) "y", NULL
16025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PrintData_SetPrinterScaling",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16029 (arg1
)->SetPrinterScaling(arg2
,arg3
);
16031 wxPyEndAllowThreads(__tstate
);
16032 if (PyErr_Occurred()) SWIG_fail
;
16034 Py_INCREF(Py_None
); resultobj
= Py_None
;
16041 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16042 PyObject
*resultobj
;
16043 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16045 PyObject
* obj0
= 0 ;
16046 char *kwnames
[] = {
16047 (char *) "self",(char *) "x", NULL
16050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&arg2
)) goto fail
;
16051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16054 (arg1
)->SetPrinterTranslateX(arg2
);
16056 wxPyEndAllowThreads(__tstate
);
16057 if (PyErr_Occurred()) SWIG_fail
;
16059 Py_INCREF(Py_None
); resultobj
= Py_None
;
16066 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16067 PyObject
*resultobj
;
16068 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16070 PyObject
* obj0
= 0 ;
16071 char *kwnames
[] = {
16072 (char *) "self",(char *) "y", NULL
16075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&arg2
)) goto fail
;
16076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16079 (arg1
)->SetPrinterTranslateY(arg2
);
16081 wxPyEndAllowThreads(__tstate
);
16082 if (PyErr_Occurred()) SWIG_fail
;
16084 Py_INCREF(Py_None
); resultobj
= Py_None
;
16091 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16092 PyObject
*resultobj
;
16093 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16096 PyObject
* obj0
= 0 ;
16097 char *kwnames
[] = {
16098 (char *) "self",(char *) "x",(char *) "y", NULL
16101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16105 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
16107 wxPyEndAllowThreads(__tstate
);
16108 if (PyErr_Occurred()) SWIG_fail
;
16110 Py_INCREF(Py_None
); resultobj
= Py_None
;
16117 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16118 PyObject
*resultobj
;
16119 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16121 PyObject
* obj0
= 0 ;
16122 char *kwnames
[] = {
16123 (char *) "self",(char *) "printMode", NULL
16126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintData_SetPrintMode",kwnames
,&obj0
,&arg2
)) goto fail
;
16127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16130 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
16132 wxPyEndAllowThreads(__tstate
);
16133 if (PyErr_Occurred()) SWIG_fail
;
16135 Py_INCREF(Py_None
); resultobj
= Py_None
;
16142 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
16144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16145 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
16147 return Py_BuildValue((char *)"");
16149 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16150 PyObject
*resultobj
;
16151 wxPageSetupDialogData
*result
;
16152 char *kwnames
[] = {
16156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
16158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16159 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
16161 wxPyEndAllowThreads(__tstate
);
16162 if (PyErr_Occurred()) SWIG_fail
;
16164 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 1);
16171 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16172 PyObject
*resultobj
;
16173 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16174 PyObject
* obj0
= 0 ;
16175 char *kwnames
[] = {
16176 (char *) "self", NULL
16179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
16180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16185 wxPyEndAllowThreads(__tstate
);
16186 if (PyErr_Occurred()) SWIG_fail
;
16188 Py_INCREF(Py_None
); resultobj
= Py_None
;
16195 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16196 PyObject
*resultobj
;
16197 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16199 PyObject
* obj0
= 0 ;
16200 PyObject
* obj1
= 0 ;
16201 char *kwnames
[] = {
16202 (char *) "self",(char *) "flag", NULL
16205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16208 arg2
= (bool) SPyObj_AsBool(obj1
);
16209 if (PyErr_Occurred()) SWIG_fail
;
16212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16213 (arg1
)->EnableHelp(arg2
);
16215 wxPyEndAllowThreads(__tstate
);
16216 if (PyErr_Occurred()) SWIG_fail
;
16218 Py_INCREF(Py_None
); resultobj
= Py_None
;
16225 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16226 PyObject
*resultobj
;
16227 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16229 PyObject
* obj0
= 0 ;
16230 PyObject
* obj1
= 0 ;
16231 char *kwnames
[] = {
16232 (char *) "self",(char *) "flag", NULL
16235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16238 arg2
= (bool) SPyObj_AsBool(obj1
);
16239 if (PyErr_Occurred()) SWIG_fail
;
16242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16243 (arg1
)->EnableMargins(arg2
);
16245 wxPyEndAllowThreads(__tstate
);
16246 if (PyErr_Occurred()) SWIG_fail
;
16248 Py_INCREF(Py_None
); resultobj
= Py_None
;
16255 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16256 PyObject
*resultobj
;
16257 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16259 PyObject
* obj0
= 0 ;
16260 PyObject
* obj1
= 0 ;
16261 char *kwnames
[] = {
16262 (char *) "self",(char *) "flag", NULL
16265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16268 arg2
= (bool) SPyObj_AsBool(obj1
);
16269 if (PyErr_Occurred()) SWIG_fail
;
16272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16273 (arg1
)->EnableOrientation(arg2
);
16275 wxPyEndAllowThreads(__tstate
);
16276 if (PyErr_Occurred()) SWIG_fail
;
16278 Py_INCREF(Py_None
); resultobj
= Py_None
;
16285 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16286 PyObject
*resultobj
;
16287 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16289 PyObject
* obj0
= 0 ;
16290 PyObject
* obj1
= 0 ;
16291 char *kwnames
[] = {
16292 (char *) "self",(char *) "flag", NULL
16295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
16296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16298 arg2
= (bool) SPyObj_AsBool(obj1
);
16299 if (PyErr_Occurred()) SWIG_fail
;
16302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16303 (arg1
)->EnablePaper(arg2
);
16305 wxPyEndAllowThreads(__tstate
);
16306 if (PyErr_Occurred()) SWIG_fail
;
16308 Py_INCREF(Py_None
); resultobj
= Py_None
;
16315 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16316 PyObject
*resultobj
;
16317 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16319 PyObject
* obj0
= 0 ;
16320 PyObject
* obj1
= 0 ;
16321 char *kwnames
[] = {
16322 (char *) "self",(char *) "flag", NULL
16325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
16326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16328 arg2
= (bool) SPyObj_AsBool(obj1
);
16329 if (PyErr_Occurred()) SWIG_fail
;
16332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16333 (arg1
)->EnablePrinter(arg2
);
16335 wxPyEndAllowThreads(__tstate
);
16336 if (PyErr_Occurred()) SWIG_fail
;
16338 Py_INCREF(Py_None
); resultobj
= Py_None
;
16345 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16346 PyObject
*resultobj
;
16347 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16349 PyObject
* obj0
= 0 ;
16350 char *kwnames
[] = {
16351 (char *) "self", NULL
16354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
16355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16358 result
= (bool)(arg1
)->GetDefaultMinMargins();
16360 wxPyEndAllowThreads(__tstate
);
16361 if (PyErr_Occurred()) SWIG_fail
;
16363 resultobj
= PyInt_FromLong((long)result
);
16370 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16371 PyObject
*resultobj
;
16372 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16374 PyObject
* obj0
= 0 ;
16375 char *kwnames
[] = {
16376 (char *) "self", NULL
16379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
16380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16383 result
= (bool)(arg1
)->GetEnableMargins();
16385 wxPyEndAllowThreads(__tstate
);
16386 if (PyErr_Occurred()) SWIG_fail
;
16388 resultobj
= PyInt_FromLong((long)result
);
16395 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16396 PyObject
*resultobj
;
16397 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16399 PyObject
* obj0
= 0 ;
16400 char *kwnames
[] = {
16401 (char *) "self", NULL
16404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
16405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16408 result
= (bool)(arg1
)->GetEnableOrientation();
16410 wxPyEndAllowThreads(__tstate
);
16411 if (PyErr_Occurred()) SWIG_fail
;
16413 resultobj
= PyInt_FromLong((long)result
);
16420 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16421 PyObject
*resultobj
;
16422 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16424 PyObject
* obj0
= 0 ;
16425 char *kwnames
[] = {
16426 (char *) "self", NULL
16429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
16430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16433 result
= (bool)(arg1
)->GetEnablePaper();
16435 wxPyEndAllowThreads(__tstate
);
16436 if (PyErr_Occurred()) SWIG_fail
;
16438 resultobj
= PyInt_FromLong((long)result
);
16445 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16446 PyObject
*resultobj
;
16447 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16449 PyObject
* obj0
= 0 ;
16450 char *kwnames
[] = {
16451 (char *) "self", NULL
16454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
16455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16458 result
= (bool)(arg1
)->GetEnablePrinter();
16460 wxPyEndAllowThreads(__tstate
);
16461 if (PyErr_Occurred()) SWIG_fail
;
16463 resultobj
= PyInt_FromLong((long)result
);
16470 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16471 PyObject
*resultobj
;
16472 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16474 PyObject
* obj0
= 0 ;
16475 char *kwnames
[] = {
16476 (char *) "self", NULL
16479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
16480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16483 result
= (bool)(arg1
)->GetEnableHelp();
16485 wxPyEndAllowThreads(__tstate
);
16486 if (PyErr_Occurred()) SWIG_fail
;
16488 resultobj
= PyInt_FromLong((long)result
);
16495 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16496 PyObject
*resultobj
;
16497 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16499 PyObject
* obj0
= 0 ;
16500 char *kwnames
[] = {
16501 (char *) "self", NULL
16504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
16505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16508 result
= (bool)(arg1
)->GetDefaultInfo();
16510 wxPyEndAllowThreads(__tstate
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16513 resultobj
= PyInt_FromLong((long)result
);
16520 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16521 PyObject
*resultobj
;
16522 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16524 PyObject
* obj0
= 0 ;
16525 char *kwnames
[] = {
16526 (char *) "self", NULL
16529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
16530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16533 result
= (arg1
)->GetMarginTopLeft();
16535 wxPyEndAllowThreads(__tstate
);
16536 if (PyErr_Occurred()) SWIG_fail
;
16539 wxPoint
* resultptr
;
16540 resultptr
= new wxPoint((wxPoint
&) result
);
16541 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16549 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16550 PyObject
*resultobj
;
16551 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16553 PyObject
* obj0
= 0 ;
16554 char *kwnames
[] = {
16555 (char *) "self", NULL
16558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
16559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16562 result
= (arg1
)->GetMarginBottomRight();
16564 wxPyEndAllowThreads(__tstate
);
16565 if (PyErr_Occurred()) SWIG_fail
;
16568 wxPoint
* resultptr
;
16569 resultptr
= new wxPoint((wxPoint
&) result
);
16570 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16578 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16579 PyObject
*resultobj
;
16580 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16582 PyObject
* obj0
= 0 ;
16583 char *kwnames
[] = {
16584 (char *) "self", NULL
16587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
16588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16591 result
= (arg1
)->GetMinMarginTopLeft();
16593 wxPyEndAllowThreads(__tstate
);
16594 if (PyErr_Occurred()) SWIG_fail
;
16597 wxPoint
* resultptr
;
16598 resultptr
= new wxPoint((wxPoint
&) result
);
16599 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16607 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16608 PyObject
*resultobj
;
16609 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16611 PyObject
* obj0
= 0 ;
16612 char *kwnames
[] = {
16613 (char *) "self", NULL
16616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
16617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16620 result
= (arg1
)->GetMinMarginBottomRight();
16622 wxPyEndAllowThreads(__tstate
);
16623 if (PyErr_Occurred()) SWIG_fail
;
16626 wxPoint
* resultptr
;
16627 resultptr
= new wxPoint((wxPoint
&) result
);
16628 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16636 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16637 PyObject
*resultobj
;
16638 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16640 PyObject
* obj0
= 0 ;
16641 char *kwnames
[] = {
16642 (char *) "self", NULL
16645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
16646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16649 result
= (int)(arg1
)->GetPaperId();
16651 wxPyEndAllowThreads(__tstate
);
16652 if (PyErr_Occurred()) SWIG_fail
;
16654 resultobj
= PyInt_FromLong((long)result
);
16661 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16662 PyObject
*resultobj
;
16663 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16665 PyObject
* obj0
= 0 ;
16666 char *kwnames
[] = {
16667 (char *) "self", NULL
16670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
16671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16674 result
= (arg1
)->GetPaperSize();
16676 wxPyEndAllowThreads(__tstate
);
16677 if (PyErr_Occurred()) SWIG_fail
;
16680 wxSize
* resultptr
;
16681 resultptr
= new wxSize((wxSize
&) result
);
16682 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16690 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16691 PyObject
*resultobj
;
16692 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16693 wxPrintData
*result
;
16694 PyObject
* obj0
= 0 ;
16695 char *kwnames
[] = {
16696 (char *) "self", NULL
16699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
16700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16704 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
16705 result
= (wxPrintData
*) &_result_ref
;
16708 wxPyEndAllowThreads(__tstate
);
16709 if (PyErr_Occurred()) SWIG_fail
;
16711 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
16718 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16719 PyObject
*resultobj
;
16720 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16722 PyObject
* obj0
= 0 ;
16723 char *kwnames
[] = {
16724 (char *) "self", NULL
16727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
16728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16731 result
= (bool)(arg1
)->Ok();
16733 wxPyEndAllowThreads(__tstate
);
16734 if (PyErr_Occurred()) SWIG_fail
;
16736 resultobj
= PyInt_FromLong((long)result
);
16743 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16744 PyObject
*resultobj
;
16745 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16747 PyObject
* obj0
= 0 ;
16748 PyObject
* obj1
= 0 ;
16749 char *kwnames
[] = {
16750 (char *) "self",(char *) "flag", NULL
16753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
16754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16756 arg2
= (bool) SPyObj_AsBool(obj1
);
16757 if (PyErr_Occurred()) SWIG_fail
;
16760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16761 (arg1
)->SetDefaultInfo(arg2
);
16763 wxPyEndAllowThreads(__tstate
);
16764 if (PyErr_Occurred()) SWIG_fail
;
16766 Py_INCREF(Py_None
); resultobj
= Py_None
;
16773 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16774 PyObject
*resultobj
;
16775 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16777 PyObject
* obj0
= 0 ;
16778 PyObject
* obj1
= 0 ;
16779 char *kwnames
[] = {
16780 (char *) "self",(char *) "flag", NULL
16783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16786 arg2
= (bool) SPyObj_AsBool(obj1
);
16787 if (PyErr_Occurred()) SWIG_fail
;
16790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16791 (arg1
)->SetDefaultMinMargins(arg2
);
16793 wxPyEndAllowThreads(__tstate
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16796 Py_INCREF(Py_None
); resultobj
= Py_None
;
16803 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16804 PyObject
*resultobj
;
16805 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16806 wxPoint
*arg2
= 0 ;
16808 PyObject
* obj0
= 0 ;
16809 PyObject
* obj1
= 0 ;
16810 char *kwnames
[] = {
16811 (char *) "self",(char *) "pt", NULL
16814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
16815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16818 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16822 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
16824 wxPyEndAllowThreads(__tstate
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16827 Py_INCREF(Py_None
); resultobj
= Py_None
;
16834 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16835 PyObject
*resultobj
;
16836 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16837 wxPoint
*arg2
= 0 ;
16839 PyObject
* obj0
= 0 ;
16840 PyObject
* obj1
= 0 ;
16841 char *kwnames
[] = {
16842 (char *) "self",(char *) "pt", NULL
16845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
16846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16849 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16853 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
16855 wxPyEndAllowThreads(__tstate
);
16856 if (PyErr_Occurred()) SWIG_fail
;
16858 Py_INCREF(Py_None
); resultobj
= Py_None
;
16865 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16866 PyObject
*resultobj
;
16867 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16868 wxPoint
*arg2
= 0 ;
16870 PyObject
* obj0
= 0 ;
16871 PyObject
* obj1
= 0 ;
16872 char *kwnames
[] = {
16873 (char *) "self",(char *) "pt", NULL
16876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
16877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16880 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16884 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
16886 wxPyEndAllowThreads(__tstate
);
16887 if (PyErr_Occurred()) SWIG_fail
;
16889 Py_INCREF(Py_None
); resultobj
= Py_None
;
16896 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16897 PyObject
*resultobj
;
16898 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16899 wxPoint
*arg2
= 0 ;
16901 PyObject
* obj0
= 0 ;
16902 PyObject
* obj1
= 0 ;
16903 char *kwnames
[] = {
16904 (char *) "self",(char *) "pt", NULL
16907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
16908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16911 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16915 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
16917 wxPyEndAllowThreads(__tstate
);
16918 if (PyErr_Occurred()) SWIG_fail
;
16920 Py_INCREF(Py_None
); resultobj
= Py_None
;
16927 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16928 PyObject
*resultobj
;
16929 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16931 PyObject
* obj0
= 0 ;
16932 char *kwnames
[] = {
16933 (char *) "self",(char *) "id", NULL
16936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&arg2
)) goto fail
;
16937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16940 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
16942 wxPyEndAllowThreads(__tstate
);
16943 if (PyErr_Occurred()) SWIG_fail
;
16945 Py_INCREF(Py_None
); resultobj
= Py_None
;
16952 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16953 PyObject
*resultobj
;
16954 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16957 PyObject
* obj0
= 0 ;
16958 PyObject
* obj1
= 0 ;
16959 char *kwnames
[] = {
16960 (char *) "self",(char *) "size", NULL
16963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16967 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16971 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
16973 wxPyEndAllowThreads(__tstate
);
16974 if (PyErr_Occurred()) SWIG_fail
;
16976 Py_INCREF(Py_None
); resultobj
= Py_None
;
16983 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16984 PyObject
*resultobj
;
16985 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
16986 wxPrintData
*arg2
= 0 ;
16987 PyObject
* obj0
= 0 ;
16988 PyObject
* obj1
= 0 ;
16989 char *kwnames
[] = {
16990 (char *) "self",(char *) "printData", NULL
16993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
16994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16995 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16996 if (arg2
== NULL
) {
16997 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17001 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
17003 wxPyEndAllowThreads(__tstate
);
17004 if (PyErr_Occurred()) SWIG_fail
;
17006 Py_INCREF(Py_None
); resultobj
= Py_None
;
17013 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
17015 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17016 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
17018 return Py_BuildValue((char *)"");
17020 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17021 PyObject
*resultobj
;
17022 wxWindow
*arg1
= (wxWindow
*) 0 ;
17023 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
17024 wxPageSetupDialog
*result
;
17025 PyObject
* obj0
= 0 ;
17026 PyObject
* obj1
= 0 ;
17027 char *kwnames
[] = {
17028 (char *) "parent",(char *) "data", NULL
17031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
17032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17034 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17038 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
17040 wxPyEndAllowThreads(__tstate
);
17041 if (PyErr_Occurred()) SWIG_fail
;
17043 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialog
, 1);
17050 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17051 PyObject
*resultobj
;
17052 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
17053 wxPageSetupDialogData
*result
;
17054 PyObject
* obj0
= 0 ;
17055 char *kwnames
[] = {
17056 (char *) "self", NULL
17059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
17060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17064 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
17065 result
= (wxPageSetupDialogData
*) &_result_ref
;
17068 wxPyEndAllowThreads(__tstate
);
17069 if (PyErr_Occurred()) SWIG_fail
;
17071 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 0);
17078 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17079 PyObject
*resultobj
;
17080 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
17082 PyObject
* obj0
= 0 ;
17083 char *kwnames
[] = {
17084 (char *) "self", NULL
17087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
17088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17091 result
= (int)(arg1
)->ShowModal();
17093 wxPyEndAllowThreads(__tstate
);
17094 if (PyErr_Occurred()) SWIG_fail
;
17096 resultobj
= PyInt_FromLong((long)result
);
17103 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
17105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17106 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
17108 return Py_BuildValue((char *)"");
17110 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17111 PyObject
*resultobj
;
17112 wxPrintDialogData
*result
;
17113 char *kwnames
[] = {
17117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintDialogData",kwnames
)) goto fail
;
17119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17120 result
= (wxPrintDialogData
*)new wxPrintDialogData();
17122 wxPyEndAllowThreads(__tstate
);
17123 if (PyErr_Occurred()) SWIG_fail
;
17125 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 1);
17132 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17133 PyObject
*resultobj
;
17134 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17135 PyObject
* obj0
= 0 ;
17136 char *kwnames
[] = {
17137 (char *) "self", NULL
17140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
17141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17146 wxPyEndAllowThreads(__tstate
);
17147 if (PyErr_Occurred()) SWIG_fail
;
17149 Py_INCREF(Py_None
); resultobj
= Py_None
;
17156 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17157 PyObject
*resultobj
;
17158 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17160 PyObject
* obj0
= 0 ;
17161 char *kwnames
[] = {
17162 (char *) "self", NULL
17165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
17166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17169 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
17171 wxPyEndAllowThreads(__tstate
);
17172 if (PyErr_Occurred()) SWIG_fail
;
17174 resultobj
= PyInt_FromLong((long)result
);
17181 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17182 PyObject
*resultobj
;
17183 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17185 PyObject
* obj0
= 0 ;
17186 char *kwnames
[] = {
17187 (char *) "self", NULL
17190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
17191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17194 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
17196 wxPyEndAllowThreads(__tstate
);
17197 if (PyErr_Occurred()) SWIG_fail
;
17199 resultobj
= PyInt_FromLong((long)result
);
17206 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17207 PyObject
*resultobj
;
17208 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17210 PyObject
* obj0
= 0 ;
17211 char *kwnames
[] = {
17212 (char *) "self", NULL
17215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
17216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17219 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
17221 wxPyEndAllowThreads(__tstate
);
17222 if (PyErr_Occurred()) SWIG_fail
;
17224 resultobj
= PyInt_FromLong((long)result
);
17231 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17232 PyObject
*resultobj
;
17233 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17235 PyObject
* obj0
= 0 ;
17236 char *kwnames
[] = {
17237 (char *) "self", NULL
17240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
17241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17244 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
17246 wxPyEndAllowThreads(__tstate
);
17247 if (PyErr_Occurred()) SWIG_fail
;
17249 resultobj
= PyInt_FromLong((long)result
);
17256 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17257 PyObject
*resultobj
;
17258 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17260 PyObject
* obj0
= 0 ;
17261 char *kwnames
[] = {
17262 (char *) "self", NULL
17265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
17266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17269 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
17271 wxPyEndAllowThreads(__tstate
);
17272 if (PyErr_Occurred()) SWIG_fail
;
17274 resultobj
= PyInt_FromLong((long)result
);
17281 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17282 PyObject
*resultobj
;
17283 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17285 PyObject
* obj0
= 0 ;
17286 char *kwnames
[] = {
17287 (char *) "self", NULL
17290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
17291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17294 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
17296 wxPyEndAllowThreads(__tstate
);
17297 if (PyErr_Occurred()) SWIG_fail
;
17299 resultobj
= PyInt_FromLong((long)result
);
17306 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17307 PyObject
*resultobj
;
17308 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17310 PyObject
* obj0
= 0 ;
17311 char *kwnames
[] = {
17312 (char *) "self", NULL
17315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
17316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17319 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
17321 wxPyEndAllowThreads(__tstate
);
17322 if (PyErr_Occurred()) SWIG_fail
;
17324 resultobj
= PyInt_FromLong((long)result
);
17331 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17332 PyObject
*resultobj
;
17333 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17335 PyObject
* obj0
= 0 ;
17336 char *kwnames
[] = {
17337 (char *) "self", NULL
17340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
17341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17344 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
17346 wxPyEndAllowThreads(__tstate
);
17347 if (PyErr_Occurred()) SWIG_fail
;
17349 resultobj
= PyInt_FromLong((long)result
);
17356 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17357 PyObject
*resultobj
;
17358 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17360 PyObject
* obj0
= 0 ;
17361 char *kwnames
[] = {
17362 (char *) "self", NULL
17365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
17366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17369 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
17371 wxPyEndAllowThreads(__tstate
);
17372 if (PyErr_Occurred()) SWIG_fail
;
17374 resultobj
= PyInt_FromLong((long)result
);
17381 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17382 PyObject
*resultobj
;
17383 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17385 PyObject
* obj0
= 0 ;
17386 char *kwnames
[] = {
17387 (char *) "self", NULL
17390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
17391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17394 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
17396 wxPyEndAllowThreads(__tstate
);
17397 if (PyErr_Occurred()) SWIG_fail
;
17399 resultobj
= PyInt_FromLong((long)result
);
17406 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17407 PyObject
*resultobj
;
17408 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17410 PyObject
* obj0
= 0 ;
17411 char *kwnames
[] = {
17412 (char *) "self",(char *) "v", NULL
17415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetFromPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17419 (arg1
)->SetFromPage(arg2
);
17421 wxPyEndAllowThreads(__tstate
);
17422 if (PyErr_Occurred()) SWIG_fail
;
17424 Py_INCREF(Py_None
); resultobj
= Py_None
;
17431 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17432 PyObject
*resultobj
;
17433 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17435 PyObject
* obj0
= 0 ;
17436 char *kwnames
[] = {
17437 (char *) "self",(char *) "v", NULL
17440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetToPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17444 (arg1
)->SetToPage(arg2
);
17446 wxPyEndAllowThreads(__tstate
);
17447 if (PyErr_Occurred()) SWIG_fail
;
17449 Py_INCREF(Py_None
); resultobj
= Py_None
;
17456 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17457 PyObject
*resultobj
;
17458 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17460 PyObject
* obj0
= 0 ;
17461 char *kwnames
[] = {
17462 (char *) "self",(char *) "v", NULL
17465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetMinPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17469 (arg1
)->SetMinPage(arg2
);
17471 wxPyEndAllowThreads(__tstate
);
17472 if (PyErr_Occurred()) SWIG_fail
;
17474 Py_INCREF(Py_None
); resultobj
= Py_None
;
17481 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17482 PyObject
*resultobj
;
17483 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17485 PyObject
* obj0
= 0 ;
17486 char *kwnames
[] = {
17487 (char *) "self",(char *) "v", NULL
17490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&arg2
)) goto fail
;
17491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17494 (arg1
)->SetMaxPage(arg2
);
17496 wxPyEndAllowThreads(__tstate
);
17497 if (PyErr_Occurred()) SWIG_fail
;
17499 Py_INCREF(Py_None
); resultobj
= Py_None
;
17506 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17507 PyObject
*resultobj
;
17508 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17510 PyObject
* obj0
= 0 ;
17511 char *kwnames
[] = {
17512 (char *) "self",(char *) "v", NULL
17515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&arg2
)) goto fail
;
17516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17519 (arg1
)->SetNoCopies(arg2
);
17521 wxPyEndAllowThreads(__tstate
);
17522 if (PyErr_Occurred()) SWIG_fail
;
17524 Py_INCREF(Py_None
); resultobj
= Py_None
;
17531 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17532 PyObject
*resultobj
;
17533 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17535 PyObject
* obj0
= 0 ;
17536 PyObject
* obj1
= 0 ;
17537 char *kwnames
[] = {
17538 (char *) "self",(char *) "flag", NULL
17541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
17542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17544 arg2
= (bool) SPyObj_AsBool(obj1
);
17545 if (PyErr_Occurred()) SWIG_fail
;
17548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17549 (arg1
)->SetAllPages(arg2
);
17551 wxPyEndAllowThreads(__tstate
);
17552 if (PyErr_Occurred()) SWIG_fail
;
17554 Py_INCREF(Py_None
); resultobj
= Py_None
;
17561 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17562 PyObject
*resultobj
;
17563 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17565 PyObject
* obj0
= 0 ;
17566 PyObject
* obj1
= 0 ;
17567 char *kwnames
[] = {
17568 (char *) "self",(char *) "flag", NULL
17571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17574 arg2
= (bool) SPyObj_AsBool(obj1
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17579 (arg1
)->SetSelection(arg2
);
17581 wxPyEndAllowThreads(__tstate
);
17582 if (PyErr_Occurred()) SWIG_fail
;
17584 Py_INCREF(Py_None
); resultobj
= Py_None
;
17591 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17592 PyObject
*resultobj
;
17593 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17595 PyObject
* obj0
= 0 ;
17596 PyObject
* obj1
= 0 ;
17597 char *kwnames
[] = {
17598 (char *) "self",(char *) "flag", NULL
17601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
17602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17604 arg2
= (bool) SPyObj_AsBool(obj1
);
17605 if (PyErr_Occurred()) SWIG_fail
;
17608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17609 (arg1
)->SetCollate(arg2
);
17611 wxPyEndAllowThreads(__tstate
);
17612 if (PyErr_Occurred()) SWIG_fail
;
17614 Py_INCREF(Py_None
); resultobj
= Py_None
;
17621 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17622 PyObject
*resultobj
;
17623 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17625 PyObject
* obj0
= 0 ;
17626 PyObject
* obj1
= 0 ;
17627 char *kwnames
[] = {
17628 (char *) "self",(char *) "flag", NULL
17631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
17632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17634 arg2
= (bool) SPyObj_AsBool(obj1
);
17635 if (PyErr_Occurred()) SWIG_fail
;
17638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17639 (arg1
)->SetPrintToFile(arg2
);
17641 wxPyEndAllowThreads(__tstate
);
17642 if (PyErr_Occurred()) SWIG_fail
;
17644 Py_INCREF(Py_None
); resultobj
= Py_None
;
17651 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17652 PyObject
*resultobj
;
17653 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17655 PyObject
* obj0
= 0 ;
17656 PyObject
* obj1
= 0 ;
17657 char *kwnames
[] = {
17658 (char *) "self",(char *) "flag", NULL
17661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
17662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17664 arg2
= (bool) SPyObj_AsBool(obj1
);
17665 if (PyErr_Occurred()) SWIG_fail
;
17668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17669 (arg1
)->SetSetupDialog(arg2
);
17671 wxPyEndAllowThreads(__tstate
);
17672 if (PyErr_Occurred()) SWIG_fail
;
17674 Py_INCREF(Py_None
); resultobj
= Py_None
;
17681 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17682 PyObject
*resultobj
;
17683 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17685 PyObject
* obj0
= 0 ;
17686 PyObject
* obj1
= 0 ;
17687 char *kwnames
[] = {
17688 (char *) "self",(char *) "flag", NULL
17691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
17692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17694 arg2
= (bool) SPyObj_AsBool(obj1
);
17695 if (PyErr_Occurred()) SWIG_fail
;
17698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17699 (arg1
)->EnablePrintToFile(arg2
);
17701 wxPyEndAllowThreads(__tstate
);
17702 if (PyErr_Occurred()) SWIG_fail
;
17704 Py_INCREF(Py_None
); resultobj
= Py_None
;
17711 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17712 PyObject
*resultobj
;
17713 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17715 PyObject
* obj0
= 0 ;
17716 PyObject
* obj1
= 0 ;
17717 char *kwnames
[] = {
17718 (char *) "self",(char *) "flag", NULL
17721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17724 arg2
= (bool) SPyObj_AsBool(obj1
);
17725 if (PyErr_Occurred()) SWIG_fail
;
17728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17729 (arg1
)->EnableSelection(arg2
);
17731 wxPyEndAllowThreads(__tstate
);
17732 if (PyErr_Occurred()) SWIG_fail
;
17734 Py_INCREF(Py_None
); resultobj
= Py_None
;
17741 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17742 PyObject
*resultobj
;
17743 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17745 PyObject
* obj0
= 0 ;
17746 PyObject
* obj1
= 0 ;
17747 char *kwnames
[] = {
17748 (char *) "self",(char *) "flag", NULL
17751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
17752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17754 arg2
= (bool) SPyObj_AsBool(obj1
);
17755 if (PyErr_Occurred()) SWIG_fail
;
17758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17759 (arg1
)->EnablePageNumbers(arg2
);
17761 wxPyEndAllowThreads(__tstate
);
17762 if (PyErr_Occurred()) SWIG_fail
;
17764 Py_INCREF(Py_None
); resultobj
= Py_None
;
17771 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17772 PyObject
*resultobj
;
17773 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17775 PyObject
* obj0
= 0 ;
17776 PyObject
* obj1
= 0 ;
17777 char *kwnames
[] = {
17778 (char *) "self",(char *) "flag", NULL
17781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17784 arg2
= (bool) SPyObj_AsBool(obj1
);
17785 if (PyErr_Occurred()) SWIG_fail
;
17788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17789 (arg1
)->EnableHelp(arg2
);
17791 wxPyEndAllowThreads(__tstate
);
17792 if (PyErr_Occurred()) SWIG_fail
;
17794 Py_INCREF(Py_None
); resultobj
= Py_None
;
17801 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17802 PyObject
*resultobj
;
17803 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17805 PyObject
* obj0
= 0 ;
17806 char *kwnames
[] = {
17807 (char *) "self", NULL
17810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
17811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17814 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
17816 wxPyEndAllowThreads(__tstate
);
17817 if (PyErr_Occurred()) SWIG_fail
;
17819 resultobj
= PyInt_FromLong((long)result
);
17826 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17827 PyObject
*resultobj
;
17828 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17830 PyObject
* obj0
= 0 ;
17831 char *kwnames
[] = {
17832 (char *) "self", NULL
17835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
17836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17839 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
17841 wxPyEndAllowThreads(__tstate
);
17842 if (PyErr_Occurred()) SWIG_fail
;
17844 resultobj
= PyInt_FromLong((long)result
);
17851 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17852 PyObject
*resultobj
;
17853 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17855 PyObject
* obj0
= 0 ;
17856 char *kwnames
[] = {
17857 (char *) "self", NULL
17860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
17861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17864 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
17866 wxPyEndAllowThreads(__tstate
);
17867 if (PyErr_Occurred()) SWIG_fail
;
17869 resultobj
= PyInt_FromLong((long)result
);
17876 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17877 PyObject
*resultobj
;
17878 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17880 PyObject
* obj0
= 0 ;
17881 char *kwnames
[] = {
17882 (char *) "self", NULL
17885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
17886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17889 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
17891 wxPyEndAllowThreads(__tstate
);
17892 if (PyErr_Occurred()) SWIG_fail
;
17894 resultobj
= PyInt_FromLong((long)result
);
17901 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17902 PyObject
*resultobj
;
17903 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17905 PyObject
* obj0
= 0 ;
17906 char *kwnames
[] = {
17907 (char *) "self", NULL
17910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
17911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17914 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
17916 wxPyEndAllowThreads(__tstate
);
17917 if (PyErr_Occurred()) SWIG_fail
;
17919 resultobj
= PyInt_FromLong((long)result
);
17926 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17927 PyObject
*resultobj
;
17928 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17929 wxPrintData
*result
;
17930 PyObject
* obj0
= 0 ;
17931 char *kwnames
[] = {
17932 (char *) "self", NULL
17935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
17936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17940 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
17941 result
= (wxPrintData
*) &_result_ref
;
17944 wxPyEndAllowThreads(__tstate
);
17945 if (PyErr_Occurred()) SWIG_fail
;
17947 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
17954 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17955 PyObject
*resultobj
;
17956 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
17957 wxPrintData
*arg2
= 0 ;
17958 PyObject
* obj0
= 0 ;
17959 PyObject
* obj1
= 0 ;
17960 char *kwnames
[] = {
17961 (char *) "self",(char *) "printData", NULL
17964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
17965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17966 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17967 if (arg2
== NULL
) {
17968 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17972 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
17974 wxPyEndAllowThreads(__tstate
);
17975 if (PyErr_Occurred()) SWIG_fail
;
17977 Py_INCREF(Py_None
); resultobj
= Py_None
;
17984 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
17986 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17987 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
17989 return Py_BuildValue((char *)"");
17991 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17992 PyObject
*resultobj
;
17993 wxWindow
*arg1
= (wxWindow
*) 0 ;
17994 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
17995 wxPrintDialog
*result
;
17996 PyObject
* obj0
= 0 ;
17997 PyObject
* obj1
= 0 ;
17998 char *kwnames
[] = {
17999 (char *) "parent",(char *) "data", NULL
18002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
18003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18005 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18009 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
18011 wxPyEndAllowThreads(__tstate
);
18012 if (PyErr_Occurred()) SWIG_fail
;
18014 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialog
, 1);
18021 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18022 PyObject
*resultobj
;
18023 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
18024 wxPrintDialogData
*result
;
18025 PyObject
* obj0
= 0 ;
18026 char *kwnames
[] = {
18027 (char *) "self", NULL
18030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
18031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18035 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
18036 result
= (wxPrintDialogData
*) &_result_ref
;
18039 wxPyEndAllowThreads(__tstate
);
18040 if (PyErr_Occurred()) SWIG_fail
;
18042 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
18049 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18050 PyObject
*resultobj
;
18051 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
18053 PyObject
* obj0
= 0 ;
18054 char *kwnames
[] = {
18055 (char *) "self", NULL
18058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
18059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18062 result
= (wxDC
*)(arg1
)->GetPrintDC();
18064 wxPyEndAllowThreads(__tstate
);
18065 if (PyErr_Occurred()) SWIG_fail
;
18068 resultobj
= wxPyMake_wxObject(result
);
18076 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18077 PyObject
*resultobj
;
18078 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
18080 PyObject
* obj0
= 0 ;
18081 char *kwnames
[] = {
18082 (char *) "self", NULL
18085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
18086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18089 result
= (int)(arg1
)->ShowModal();
18091 wxPyEndAllowThreads(__tstate
);
18092 if (PyErr_Occurred()) SWIG_fail
;
18094 resultobj
= PyInt_FromLong((long)result
);
18101 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
18103 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18104 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
18106 return Py_BuildValue((char *)"");
18108 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18109 PyObject
*resultobj
;
18110 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
18112 PyObject
* obj0
= 0 ;
18113 char *kwnames
[] = {
18114 (char *) "data", NULL
18117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
18119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18123 result
= (wxPrinter
*)new wxPrinter(arg1
);
18125 wxPyEndAllowThreads(__tstate
);
18126 if (PyErr_Occurred()) SWIG_fail
;
18128 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrinter
, 1);
18135 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18136 PyObject
*resultobj
;
18137 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18138 PyObject
* obj0
= 0 ;
18139 char *kwnames
[] = {
18140 (char *) "self", NULL
18143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
18144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18149 wxPyEndAllowThreads(__tstate
);
18150 if (PyErr_Occurred()) SWIG_fail
;
18152 Py_INCREF(Py_None
); resultobj
= Py_None
;
18159 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18160 PyObject
*resultobj
;
18161 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18162 wxWindow
*arg2
= (wxWindow
*) 0 ;
18163 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
18164 PyObject
* obj0
= 0 ;
18165 PyObject
* obj1
= 0 ;
18166 PyObject
* obj2
= 0 ;
18167 char *kwnames
[] = {
18168 (char *) "self",(char *) "parent",(char *) "printout", NULL
18171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18173 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18174 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18177 (arg1
)->CreateAbortWindow(arg2
,arg3
);
18179 wxPyEndAllowThreads(__tstate
);
18180 if (PyErr_Occurred()) SWIG_fail
;
18182 Py_INCREF(Py_None
); resultobj
= Py_None
;
18189 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18190 PyObject
*resultobj
;
18191 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18192 wxPrintDialogData
*result
;
18193 PyObject
* obj0
= 0 ;
18194 char *kwnames
[] = {
18195 (char *) "self", NULL
18198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
18199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18203 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
18204 result
= (wxPrintDialogData
*) &_result_ref
;
18207 wxPyEndAllowThreads(__tstate
);
18208 if (PyErr_Occurred()) SWIG_fail
;
18210 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
18217 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18218 PyObject
*resultobj
;
18219 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18220 wxWindow
*arg2
= (wxWindow
*) 0 ;
18221 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
18222 int arg4
= (int) True
;
18224 PyObject
* obj0
= 0 ;
18225 PyObject
* obj1
= 0 ;
18226 PyObject
* obj2
= 0 ;
18227 char *kwnames
[] = {
18228 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
18231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
18232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18233 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18234 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18237 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
18239 wxPyEndAllowThreads(__tstate
);
18240 if (PyErr_Occurred()) SWIG_fail
;
18242 resultobj
= PyInt_FromLong((long)result
);
18249 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18250 PyObject
*resultobj
;
18251 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18252 wxWindow
*arg2
= (wxWindow
*) 0 ;
18254 PyObject
* obj0
= 0 ;
18255 PyObject
* obj1
= 0 ;
18256 char *kwnames
[] = {
18257 (char *) "self",(char *) "parent", NULL
18260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
18261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18262 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18265 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
18267 wxPyEndAllowThreads(__tstate
);
18268 if (PyErr_Occurred()) SWIG_fail
;
18271 resultobj
= wxPyMake_wxObject(result
);
18279 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18280 PyObject
*resultobj
;
18281 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18282 wxWindow
*arg2
= (wxWindow
*) 0 ;
18283 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
18284 wxString
*arg4
= 0 ;
18285 bool temp4
= False
;
18286 PyObject
* obj0
= 0 ;
18287 PyObject
* obj1
= 0 ;
18288 PyObject
* obj2
= 0 ;
18289 PyObject
* obj3
= 0 ;
18290 char *kwnames
[] = {
18291 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
18294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18296 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18297 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18299 arg4
= wxString_in_helper(obj3
);
18300 if (arg4
== NULL
) SWIG_fail
;
18304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18305 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
18307 wxPyEndAllowThreads(__tstate
);
18308 if (PyErr_Occurred()) SWIG_fail
;
18310 Py_INCREF(Py_None
); resultobj
= Py_None
;
18325 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18326 PyObject
*resultobj
;
18327 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18328 wxWindow
*arg2
= (wxWindow
*) 0 ;
18330 PyObject
* obj0
= 0 ;
18331 PyObject
* obj1
= 0 ;
18332 char *kwnames
[] = {
18333 (char *) "self",(char *) "parent", NULL
18336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
18337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18338 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18341 result
= (bool)(arg1
)->Setup(arg2
);
18343 wxPyEndAllowThreads(__tstate
);
18344 if (PyErr_Occurred()) SWIG_fail
;
18346 resultobj
= PyInt_FromLong((long)result
);
18353 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18354 PyObject
*resultobj
;
18355 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
18357 PyObject
* obj0
= 0 ;
18358 char *kwnames
[] = {
18359 (char *) "self", NULL
18362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
18363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18366 result
= (bool)(arg1
)->GetAbort();
18368 wxPyEndAllowThreads(__tstate
);
18369 if (PyErr_Occurred()) SWIG_fail
;
18371 resultobj
= PyInt_FromLong((long)result
);
18378 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18379 PyObject
*resultobj
;
18381 char *kwnames
[] = {
18385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
18387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18388 result
= (int)wxPrinter::GetLastError();
18390 wxPyEndAllowThreads(__tstate
);
18391 if (PyErr_Occurred()) SWIG_fail
;
18393 resultobj
= PyInt_FromLong((long)result
);
18400 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
18402 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18403 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
18405 return Py_BuildValue((char *)"");
18407 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18408 PyObject
*resultobj
;
18409 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
18410 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18411 wxPyPrintout
*result
;
18412 bool temp1
= False
;
18413 PyObject
* obj0
= 0 ;
18414 char *kwnames
[] = {
18415 (char *) "title", NULL
18418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
18421 arg1
= wxString_in_helper(obj0
);
18422 if (arg1
== NULL
) SWIG_fail
;
18427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18428 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
18430 wxPyEndAllowThreads(__tstate
);
18431 if (PyErr_Occurred()) SWIG_fail
;
18434 resultobj
= wxPyMake_wxObject(result
);
18450 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18451 PyObject
*resultobj
;
18452 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18453 PyObject
*arg2
= (PyObject
*) 0 ;
18454 PyObject
*arg3
= (PyObject
*) 0 ;
18455 PyObject
* obj0
= 0 ;
18456 PyObject
* obj1
= 0 ;
18457 PyObject
* obj2
= 0 ;
18458 char *kwnames
[] = {
18459 (char *) "self",(char *) "self",(char *) "_class", NULL
18462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18468 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18470 wxPyEndAllowThreads(__tstate
);
18471 if (PyErr_Occurred()) SWIG_fail
;
18473 Py_INCREF(Py_None
); resultobj
= Py_None
;
18480 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18481 PyObject
*resultobj
;
18482 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18484 PyObject
* obj0
= 0 ;
18485 char *kwnames
[] = {
18486 (char *) "self", NULL
18489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
18490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18493 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
18495 wxPyEndAllowThreads(__tstate
);
18496 if (PyErr_Occurred()) SWIG_fail
;
18500 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18502 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18511 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18512 PyObject
*resultobj
;
18513 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18515 PyObject
* obj0
= 0 ;
18516 char *kwnames
[] = {
18517 (char *) "self", NULL
18520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
18521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18524 result
= (wxDC
*)(arg1
)->GetDC();
18526 wxPyEndAllowThreads(__tstate
);
18527 if (PyErr_Occurred()) SWIG_fail
;
18530 resultobj
= wxPyMake_wxObject(result
);
18538 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18539 PyObject
*resultobj
;
18540 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18541 wxDC
*arg2
= (wxDC
*) 0 ;
18542 PyObject
* obj0
= 0 ;
18543 PyObject
* obj1
= 0 ;
18544 char *kwnames
[] = {
18545 (char *) "self",(char *) "dc", NULL
18548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
18549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18550 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18553 (arg1
)->SetDC(arg2
);
18555 wxPyEndAllowThreads(__tstate
);
18556 if (PyErr_Occurred()) SWIG_fail
;
18558 Py_INCREF(Py_None
); resultobj
= Py_None
;
18565 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18566 PyObject
*resultobj
;
18567 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18570 PyObject
* obj0
= 0 ;
18571 char *kwnames
[] = {
18572 (char *) "self",(char *) "w",(char *) "h", NULL
18575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPageSizePixels",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18579 (arg1
)->SetPageSizePixels(arg2
,arg3
);
18581 wxPyEndAllowThreads(__tstate
);
18582 if (PyErr_Occurred()) SWIG_fail
;
18584 Py_INCREF(Py_None
); resultobj
= Py_None
;
18591 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18592 PyObject
*resultobj
;
18593 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18594 int *arg2
= (int *) 0 ;
18595 int *arg3
= (int *) 0 ;
18598 PyObject
* obj0
= 0 ;
18599 char *kwnames
[] = {
18600 (char *) "self", NULL
18605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
18606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18609 (arg1
)->GetPageSizePixels(arg2
,arg3
);
18611 wxPyEndAllowThreads(__tstate
);
18612 if (PyErr_Occurred()) SWIG_fail
;
18614 Py_INCREF(Py_None
); resultobj
= Py_None
;
18616 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18617 resultobj
= t_output_helper(resultobj
,o
);
18620 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18621 resultobj
= t_output_helper(resultobj
,o
);
18629 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18630 PyObject
*resultobj
;
18631 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18634 PyObject
* obj0
= 0 ;
18635 char *kwnames
[] = {
18636 (char *) "self",(char *) "w",(char *) "h", NULL
18639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPageSizeMM",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18643 (arg1
)->SetPageSizeMM(arg2
,arg3
);
18645 wxPyEndAllowThreads(__tstate
);
18646 if (PyErr_Occurred()) SWIG_fail
;
18648 Py_INCREF(Py_None
); resultobj
= Py_None
;
18655 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18656 PyObject
*resultobj
;
18657 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18658 int *arg2
= (int *) 0 ;
18659 int *arg3
= (int *) 0 ;
18662 PyObject
* obj0
= 0 ;
18663 char *kwnames
[] = {
18664 (char *) "self", NULL
18669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
18670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18673 (arg1
)->GetPageSizeMM(arg2
,arg3
);
18675 wxPyEndAllowThreads(__tstate
);
18676 if (PyErr_Occurred()) SWIG_fail
;
18678 Py_INCREF(Py_None
); resultobj
= Py_None
;
18680 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18681 resultobj
= t_output_helper(resultobj
,o
);
18684 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18685 resultobj
= t_output_helper(resultobj
,o
);
18693 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18694 PyObject
*resultobj
;
18695 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18698 PyObject
* obj0
= 0 ;
18699 char *kwnames
[] = {
18700 (char *) "self",(char *) "x",(char *) "y", NULL
18703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPPIScreen",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18707 (arg1
)->SetPPIScreen(arg2
,arg3
);
18709 wxPyEndAllowThreads(__tstate
);
18710 if (PyErr_Occurred()) SWIG_fail
;
18712 Py_INCREF(Py_None
); resultobj
= Py_None
;
18719 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18720 PyObject
*resultobj
;
18721 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18722 int *arg2
= (int *) 0 ;
18723 int *arg3
= (int *) 0 ;
18726 PyObject
* obj0
= 0 ;
18727 char *kwnames
[] = {
18728 (char *) "self", NULL
18733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
18734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18737 (arg1
)->GetPPIScreen(arg2
,arg3
);
18739 wxPyEndAllowThreads(__tstate
);
18740 if (PyErr_Occurred()) SWIG_fail
;
18742 Py_INCREF(Py_None
); resultobj
= Py_None
;
18744 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18745 resultobj
= t_output_helper(resultobj
,o
);
18748 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18749 resultobj
= t_output_helper(resultobj
,o
);
18757 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18758 PyObject
*resultobj
;
18759 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18762 PyObject
* obj0
= 0 ;
18763 char *kwnames
[] = {
18764 (char *) "self",(char *) "x",(char *) "y", NULL
18767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_SetPPIPrinter",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18771 (arg1
)->SetPPIPrinter(arg2
,arg3
);
18773 wxPyEndAllowThreads(__tstate
);
18774 if (PyErr_Occurred()) SWIG_fail
;
18776 Py_INCREF(Py_None
); resultobj
= Py_None
;
18783 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18784 PyObject
*resultobj
;
18785 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18786 int *arg2
= (int *) 0 ;
18787 int *arg3
= (int *) 0 ;
18790 PyObject
* obj0
= 0 ;
18791 char *kwnames
[] = {
18792 (char *) "self", NULL
18797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
18798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18801 (arg1
)->GetPPIPrinter(arg2
,arg3
);
18803 wxPyEndAllowThreads(__tstate
);
18804 if (PyErr_Occurred()) SWIG_fail
;
18806 Py_INCREF(Py_None
); resultobj
= Py_None
;
18808 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
18809 resultobj
= t_output_helper(resultobj
,o
);
18812 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
18813 resultobj
= t_output_helper(resultobj
,o
);
18821 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18822 PyObject
*resultobj
;
18823 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18825 PyObject
* obj0
= 0 ;
18826 char *kwnames
[] = {
18827 (char *) "self", NULL
18830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
18831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18834 result
= (bool)(arg1
)->IsPreview();
18836 wxPyEndAllowThreads(__tstate
);
18837 if (PyErr_Occurred()) SWIG_fail
;
18839 resultobj
= PyInt_FromLong((long)result
);
18846 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18847 PyObject
*resultobj
;
18848 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18850 PyObject
* obj0
= 0 ;
18851 PyObject
* obj1
= 0 ;
18852 char *kwnames
[] = {
18853 (char *) "self",(char *) "p", NULL
18856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
18857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18859 arg2
= (bool) SPyObj_AsBool(obj1
);
18860 if (PyErr_Occurred()) SWIG_fail
;
18863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18864 (arg1
)->SetIsPreview(arg2
);
18866 wxPyEndAllowThreads(__tstate
);
18867 if (PyErr_Occurred()) SWIG_fail
;
18869 Py_INCREF(Py_None
); resultobj
= Py_None
;
18876 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18877 PyObject
*resultobj
;
18878 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18882 PyObject
* obj0
= 0 ;
18883 char *kwnames
[] = {
18884 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
18887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Printout_base_OnBeginDocument",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18891 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
18893 wxPyEndAllowThreads(__tstate
);
18894 if (PyErr_Occurred()) SWIG_fail
;
18896 resultobj
= PyInt_FromLong((long)result
);
18903 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18904 PyObject
*resultobj
;
18905 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18906 PyObject
* obj0
= 0 ;
18907 char *kwnames
[] = {
18908 (char *) "self", NULL
18911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
18912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18915 (arg1
)->base_OnEndDocument();
18917 wxPyEndAllowThreads(__tstate
);
18918 if (PyErr_Occurred()) SWIG_fail
;
18920 Py_INCREF(Py_None
); resultobj
= Py_None
;
18927 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18928 PyObject
*resultobj
;
18929 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18930 PyObject
* obj0
= 0 ;
18931 char *kwnames
[] = {
18932 (char *) "self", NULL
18935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
18936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18939 (arg1
)->base_OnBeginPrinting();
18941 wxPyEndAllowThreads(__tstate
);
18942 if (PyErr_Occurred()) SWIG_fail
;
18944 Py_INCREF(Py_None
); resultobj
= Py_None
;
18951 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18952 PyObject
*resultobj
;
18953 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18954 PyObject
* obj0
= 0 ;
18955 char *kwnames
[] = {
18956 (char *) "self", NULL
18959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
18960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18963 (arg1
)->base_OnEndPrinting();
18965 wxPyEndAllowThreads(__tstate
);
18966 if (PyErr_Occurred()) SWIG_fail
;
18968 Py_INCREF(Py_None
); resultobj
= Py_None
;
18975 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18976 PyObject
*resultobj
;
18977 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
18978 PyObject
* obj0
= 0 ;
18979 char *kwnames
[] = {
18980 (char *) "self", NULL
18983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
18984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18987 (arg1
)->base_OnPreparePrinting();
18989 wxPyEndAllowThreads(__tstate
);
18990 if (PyErr_Occurred()) SWIG_fail
;
18992 Py_INCREF(Py_None
); resultobj
= Py_None
;
18999 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19000 PyObject
*resultobj
;
19001 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19004 PyObject
* obj0
= 0 ;
19005 char *kwnames
[] = {
19006 (char *) "self",(char *) "page", NULL
19009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Printout_base_HasPage",kwnames
,&obj0
,&arg2
)) goto fail
;
19010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19013 result
= (bool)(arg1
)->base_HasPage(arg2
);
19015 wxPyEndAllowThreads(__tstate
);
19016 if (PyErr_Occurred()) SWIG_fail
;
19018 resultobj
= PyInt_FromLong((long)result
);
19025 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19026 PyObject
*resultobj
;
19027 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19028 int *arg2
= (int *) 0 ;
19029 int *arg3
= (int *) 0 ;
19030 int *arg4
= (int *) 0 ;
19031 int *arg5
= (int *) 0 ;
19036 PyObject
* obj0
= 0 ;
19037 char *kwnames
[] = {
19038 (char *) "self", NULL
19045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
19046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19049 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
19051 wxPyEndAllowThreads(__tstate
);
19052 if (PyErr_Occurred()) SWIG_fail
;
19054 Py_INCREF(Py_None
); resultobj
= Py_None
;
19056 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
19057 resultobj
= t_output_helper(resultobj
,o
);
19060 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19061 resultobj
= t_output_helper(resultobj
,o
);
19064 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
19065 resultobj
= t_output_helper(resultobj
,o
);
19068 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
19069 resultobj
= t_output_helper(resultobj
,o
);
19077 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
19079 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19080 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
19082 return Py_BuildValue((char *)"");
19084 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19085 PyObject
*resultobj
;
19086 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19087 wxWindow
*arg2
= (wxWindow
*) 0 ;
19088 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19089 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19090 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19091 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19092 long arg5
= (long) 0 ;
19093 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
19094 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19095 wxPreviewCanvas
*result
;
19098 bool temp6
= False
;
19099 PyObject
* obj0
= 0 ;
19100 PyObject
* obj1
= 0 ;
19101 PyObject
* obj2
= 0 ;
19102 PyObject
* obj3
= 0 ;
19103 PyObject
* obj5
= 0 ;
19104 char *kwnames
[] = {
19105 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOlO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
19109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19110 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19114 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19120 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19125 arg6
= wxString_in_helper(obj5
);
19126 if (arg6
== NULL
) SWIG_fail
;
19131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19132 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19134 wxPyEndAllowThreads(__tstate
);
19135 if (PyErr_Occurred()) SWIG_fail
;
19137 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 1);
19152 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
19154 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19155 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
19157 return Py_BuildValue((char *)"");
19159 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19160 PyObject
*resultobj
;
19161 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19162 wxFrame
*arg2
= (wxFrame
*) 0 ;
19163 wxString
*arg3
= 0 ;
19164 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19165 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19166 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19167 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19168 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
19169 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
19170 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19171 wxPreviewFrame
*result
;
19172 bool temp3
= False
;
19175 bool temp7
= False
;
19176 PyObject
* obj0
= 0 ;
19177 PyObject
* obj1
= 0 ;
19178 PyObject
* obj2
= 0 ;
19179 PyObject
* obj3
= 0 ;
19180 PyObject
* obj4
= 0 ;
19181 PyObject
* obj6
= 0 ;
19182 char *kwnames
[] = {
19183 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOlO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
19187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19188 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19190 arg3
= wxString_in_helper(obj2
);
19191 if (arg3
== NULL
) SWIG_fail
;
19197 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19203 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19208 arg7
= wxString_in_helper(obj6
);
19209 if (arg7
== NULL
) SWIG_fail
;
19214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19215 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19217 wxPyEndAllowThreads(__tstate
);
19218 if (PyErr_Occurred()) SWIG_fail
;
19220 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewFrame
, 1);
19243 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19244 PyObject
*resultobj
;
19245 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19246 PyObject
* obj0
= 0 ;
19247 char *kwnames
[] = {
19248 (char *) "self", NULL
19251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
19252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19255 (arg1
)->Initialize();
19257 wxPyEndAllowThreads(__tstate
);
19258 if (PyErr_Occurred()) SWIG_fail
;
19260 Py_INCREF(Py_None
); resultobj
= Py_None
;
19267 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19268 PyObject
*resultobj
;
19269 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19270 PyObject
* obj0
= 0 ;
19271 char *kwnames
[] = {
19272 (char *) "self", NULL
19275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
19276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19279 (arg1
)->CreateControlBar();
19281 wxPyEndAllowThreads(__tstate
);
19282 if (PyErr_Occurred()) SWIG_fail
;
19284 Py_INCREF(Py_None
); resultobj
= Py_None
;
19291 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19292 PyObject
*resultobj
;
19293 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19294 PyObject
* obj0
= 0 ;
19295 char *kwnames
[] = {
19296 (char *) "self", NULL
19299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
19300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19303 (arg1
)->CreateCanvas();
19305 wxPyEndAllowThreads(__tstate
);
19306 if (PyErr_Occurred()) SWIG_fail
;
19308 Py_INCREF(Py_None
); resultobj
= Py_None
;
19315 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19316 PyObject
*resultobj
;
19317 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
19318 wxPreviewControlBar
*result
;
19319 PyObject
* obj0
= 0 ;
19320 char *kwnames
[] = {
19321 (char *) "self", NULL
19324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
19325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19328 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
19330 wxPyEndAllowThreads(__tstate
);
19331 if (PyErr_Occurred()) SWIG_fail
;
19333 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 0);
19340 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
19342 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19343 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
19345 return Py_BuildValue((char *)"");
19347 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19348 PyObject
*resultobj
;
19349 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19351 wxWindow
*arg3
= (wxWindow
*) 0 ;
19352 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19353 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19354 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19355 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19356 long arg6
= (long) wxTAB_TRAVERSAL
;
19357 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
19358 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19359 wxPreviewControlBar
*result
;
19362 bool temp7
= False
;
19363 PyObject
* obj0
= 0 ;
19364 PyObject
* obj2
= 0 ;
19365 PyObject
* obj3
= 0 ;
19366 PyObject
* obj4
= 0 ;
19367 PyObject
* obj6
= 0 ;
19368 char *kwnames
[] = {
19369 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
19373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19374 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19378 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19384 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19389 arg7
= wxString_in_helper(obj6
);
19390 if (arg7
== NULL
) SWIG_fail
;
19395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19396 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19398 wxPyEndAllowThreads(__tstate
);
19399 if (PyErr_Occurred()) SWIG_fail
;
19401 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 1);
19416 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19417 PyObject
*resultobj
;
19418 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19420 PyObject
* obj0
= 0 ;
19421 char *kwnames
[] = {
19422 (char *) "self", NULL
19425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
19426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19429 result
= (int)(arg1
)->GetZoomControl();
19431 wxPyEndAllowThreads(__tstate
);
19432 if (PyErr_Occurred()) SWIG_fail
;
19434 resultobj
= PyInt_FromLong((long)result
);
19441 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19442 PyObject
*resultobj
;
19443 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19445 PyObject
* obj0
= 0 ;
19446 char *kwnames
[] = {
19447 (char *) "self",(char *) "zoom", NULL
19450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&arg2
)) goto fail
;
19451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19454 (arg1
)->SetZoomControl(arg2
);
19456 wxPyEndAllowThreads(__tstate
);
19457 if (PyErr_Occurred()) SWIG_fail
;
19459 Py_INCREF(Py_None
); resultobj
= Py_None
;
19466 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19467 PyObject
*resultobj
;
19468 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19469 wxPrintPreview
*result
;
19470 PyObject
* obj0
= 0 ;
19471 char *kwnames
[] = {
19472 (char *) "self", NULL
19475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
19476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19479 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
19481 wxPyEndAllowThreads(__tstate
);
19482 if (PyErr_Occurred()) SWIG_fail
;
19484 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 0);
19491 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19492 PyObject
*resultobj
;
19493 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19494 PyObject
* obj0
= 0 ;
19495 char *kwnames
[] = {
19496 (char *) "self", NULL
19499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
19500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19505 wxPyEndAllowThreads(__tstate
);
19506 if (PyErr_Occurred()) SWIG_fail
;
19508 Py_INCREF(Py_None
); resultobj
= Py_None
;
19515 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19516 PyObject
*resultobj
;
19517 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19518 PyObject
* obj0
= 0 ;
19519 char *kwnames
[] = {
19520 (char *) "self", NULL
19523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
19524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19527 (arg1
)->OnPrevious();
19529 wxPyEndAllowThreads(__tstate
);
19530 if (PyErr_Occurred()) SWIG_fail
;
19532 Py_INCREF(Py_None
); resultobj
= Py_None
;
19539 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19540 PyObject
*resultobj
;
19541 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19542 PyObject
* obj0
= 0 ;
19543 char *kwnames
[] = {
19544 (char *) "self", NULL
19547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
19548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19553 wxPyEndAllowThreads(__tstate
);
19554 if (PyErr_Occurred()) SWIG_fail
;
19556 Py_INCREF(Py_None
); resultobj
= Py_None
;
19563 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19564 PyObject
*resultobj
;
19565 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19566 PyObject
* obj0
= 0 ;
19567 char *kwnames
[] = {
19568 (char *) "self", NULL
19571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
19572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19577 wxPyEndAllowThreads(__tstate
);
19578 if (PyErr_Occurred()) SWIG_fail
;
19580 Py_INCREF(Py_None
); resultobj
= Py_None
;
19587 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19588 PyObject
*resultobj
;
19589 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
19590 PyObject
* obj0
= 0 ;
19591 char *kwnames
[] = {
19592 (char *) "self", NULL
19595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
19596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19601 wxPyEndAllowThreads(__tstate
);
19602 if (PyErr_Occurred()) SWIG_fail
;
19604 Py_INCREF(Py_None
); resultobj
= Py_None
;
19611 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
19613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19614 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
19616 return Py_BuildValue((char *)"");
19618 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19619 PyObject
*resultobj
;
19620 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19621 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
19622 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
19623 wxPrintPreview
*result
;
19624 PyObject
* obj0
= 0 ;
19625 PyObject
* obj1
= 0 ;
19626 PyObject
* obj2
= 0 ;
19627 char *kwnames
[] = {
19628 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19633 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19635 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19639 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
19641 wxPyEndAllowThreads(__tstate
);
19642 if (PyErr_Occurred()) SWIG_fail
;
19644 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 1);
19651 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19652 PyObject
*resultobj
;
19653 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19656 PyObject
* obj0
= 0 ;
19657 char *kwnames
[] = {
19658 (char *) "self",(char *) "pageNum", NULL
19661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&arg2
)) goto fail
;
19662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19665 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
19667 wxPyEndAllowThreads(__tstate
);
19668 if (PyErr_Occurred()) SWIG_fail
;
19670 resultobj
= PyInt_FromLong((long)result
);
19677 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19678 PyObject
*resultobj
;
19679 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19681 PyObject
* obj0
= 0 ;
19682 char *kwnames
[] = {
19683 (char *) "self", NULL
19686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
19687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19690 result
= (int)(arg1
)->GetCurrentPage();
19692 wxPyEndAllowThreads(__tstate
);
19693 if (PyErr_Occurred()) SWIG_fail
;
19695 resultobj
= PyInt_FromLong((long)result
);
19702 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19703 PyObject
*resultobj
;
19704 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19705 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
19706 PyObject
* obj0
= 0 ;
19707 PyObject
* obj1
= 0 ;
19708 char *kwnames
[] = {
19709 (char *) "self",(char *) "printout", NULL
19712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
19713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19714 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19717 (arg1
)->SetPrintout(arg2
);
19719 wxPyEndAllowThreads(__tstate
);
19720 if (PyErr_Occurred()) SWIG_fail
;
19722 Py_INCREF(Py_None
); resultobj
= Py_None
;
19729 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19730 PyObject
*resultobj
;
19731 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19732 wxPyPrintout
*result
;
19733 PyObject
* obj0
= 0 ;
19734 char *kwnames
[] = {
19735 (char *) "self", NULL
19738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
19739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19742 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
19744 wxPyEndAllowThreads(__tstate
);
19745 if (PyErr_Occurred()) SWIG_fail
;
19748 resultobj
= wxPyMake_wxObject(result
);
19756 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19757 PyObject
*resultobj
;
19758 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19759 wxPyPrintout
*result
;
19760 PyObject
* obj0
= 0 ;
19761 char *kwnames
[] = {
19762 (char *) "self", NULL
19765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
19766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19769 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
19771 wxPyEndAllowThreads(__tstate
);
19772 if (PyErr_Occurred()) SWIG_fail
;
19775 resultobj
= wxPyMake_wxObject(result
);
19783 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19784 PyObject
*resultobj
;
19785 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19786 wxFrame
*arg2
= (wxFrame
*) 0 ;
19787 PyObject
* obj0
= 0 ;
19788 PyObject
* obj1
= 0 ;
19789 char *kwnames
[] = {
19790 (char *) "self",(char *) "frame", NULL
19793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
19794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19795 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19798 (arg1
)->SetFrame(arg2
);
19800 wxPyEndAllowThreads(__tstate
);
19801 if (PyErr_Occurred()) SWIG_fail
;
19803 Py_INCREF(Py_None
); resultobj
= Py_None
;
19810 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19811 PyObject
*resultobj
;
19812 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19813 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19814 PyObject
* obj0
= 0 ;
19815 PyObject
* obj1
= 0 ;
19816 char *kwnames
[] = {
19817 (char *) "self",(char *) "canvas", NULL
19820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
19821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19822 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19825 (arg1
)->SetCanvas(arg2
);
19827 wxPyEndAllowThreads(__tstate
);
19828 if (PyErr_Occurred()) SWIG_fail
;
19830 Py_INCREF(Py_None
); resultobj
= Py_None
;
19837 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19838 PyObject
*resultobj
;
19839 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19841 PyObject
* obj0
= 0 ;
19842 char *kwnames
[] = {
19843 (char *) "self", NULL
19846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
19847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19850 result
= (wxFrame
*)(arg1
)->GetFrame();
19852 wxPyEndAllowThreads(__tstate
);
19853 if (PyErr_Occurred()) SWIG_fail
;
19856 resultobj
= wxPyMake_wxObject(result
);
19864 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19865 PyObject
*resultobj
;
19866 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19867 wxPreviewCanvas
*result
;
19868 PyObject
* obj0
= 0 ;
19869 char *kwnames
[] = {
19870 (char *) "self", NULL
19873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
19874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19877 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
19879 wxPyEndAllowThreads(__tstate
);
19880 if (PyErr_Occurred()) SWIG_fail
;
19882 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 0);
19889 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19890 PyObject
*resultobj
;
19891 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19892 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19895 PyObject
* obj0
= 0 ;
19896 PyObject
* obj1
= 0 ;
19897 PyObject
* obj2
= 0 ;
19898 char *kwnames
[] = {
19899 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19904 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19905 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19906 if (arg3
== NULL
) {
19907 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19911 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
19913 wxPyEndAllowThreads(__tstate
);
19914 if (PyErr_Occurred()) SWIG_fail
;
19916 resultobj
= PyInt_FromLong((long)result
);
19923 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19924 PyObject
*resultobj
;
19925 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19926 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19929 PyObject
* obj0
= 0 ;
19930 PyObject
* obj1
= 0 ;
19931 PyObject
* obj2
= 0 ;
19932 char *kwnames
[] = {
19933 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19938 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19939 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19940 if (arg3
== NULL
) {
19941 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19945 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
19947 wxPyEndAllowThreads(__tstate
);
19948 if (PyErr_Occurred()) SWIG_fail
;
19950 resultobj
= PyInt_FromLong((long)result
);
19957 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19958 PyObject
*resultobj
;
19959 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19962 PyObject
* obj0
= 0 ;
19963 char *kwnames
[] = {
19964 (char *) "self",(char *) "pageNum", NULL
19967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_RenderPage",kwnames
,&obj0
,&arg2
)) goto fail
;
19968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19971 result
= (bool)(arg1
)->RenderPage(arg2
);
19973 wxPyEndAllowThreads(__tstate
);
19974 if (PyErr_Occurred()) SWIG_fail
;
19976 resultobj
= PyInt_FromLong((long)result
);
19983 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19984 PyObject
*resultobj
;
19985 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
19986 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
19987 PyObject
* obj0
= 0 ;
19988 PyObject
* obj1
= 0 ;
19989 char *kwnames
[] = {
19990 (char *) "self",(char *) "canvas", NULL
19993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
19994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19995 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19998 (arg1
)->AdjustScrollbars(arg2
);
20000 wxPyEndAllowThreads(__tstate
);
20001 if (PyErr_Occurred()) SWIG_fail
;
20003 Py_INCREF(Py_None
); resultobj
= Py_None
;
20010 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20011 PyObject
*resultobj
;
20012 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20013 wxPrintDialogData
*result
;
20014 PyObject
* obj0
= 0 ;
20015 char *kwnames
[] = {
20016 (char *) "self", NULL
20019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
20020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20024 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
20025 result
= (wxPrintDialogData
*) &_result_ref
;
20028 wxPyEndAllowThreads(__tstate
);
20029 if (PyErr_Occurred()) SWIG_fail
;
20031 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
20038 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20039 PyObject
*resultobj
;
20040 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20042 PyObject
* obj0
= 0 ;
20043 char *kwnames
[] = {
20044 (char *) "self",(char *) "percent", NULL
20047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PrintPreview_SetZoom",kwnames
,&obj0
,&arg2
)) goto fail
;
20048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20051 (arg1
)->SetZoom(arg2
);
20053 wxPyEndAllowThreads(__tstate
);
20054 if (PyErr_Occurred()) SWIG_fail
;
20056 Py_INCREF(Py_None
); resultobj
= Py_None
;
20063 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20064 PyObject
*resultobj
;
20065 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20067 PyObject
* obj0
= 0 ;
20068 char *kwnames
[] = {
20069 (char *) "self", NULL
20072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
20073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20076 result
= (int)(arg1
)->GetZoom();
20078 wxPyEndAllowThreads(__tstate
);
20079 if (PyErr_Occurred()) SWIG_fail
;
20081 resultobj
= PyInt_FromLong((long)result
);
20088 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20089 PyObject
*resultobj
;
20090 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20092 PyObject
* obj0
= 0 ;
20093 char *kwnames
[] = {
20094 (char *) "self", NULL
20097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20101 result
= (int)(arg1
)->GetMaxPage();
20103 wxPyEndAllowThreads(__tstate
);
20104 if (PyErr_Occurred()) SWIG_fail
;
20106 resultobj
= PyInt_FromLong((long)result
);
20113 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20114 PyObject
*resultobj
;
20115 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20117 PyObject
* obj0
= 0 ;
20118 char *kwnames
[] = {
20119 (char *) "self", NULL
20122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
20123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20126 result
= (int)(arg1
)->GetMinPage();
20128 wxPyEndAllowThreads(__tstate
);
20129 if (PyErr_Occurred()) SWIG_fail
;
20131 resultobj
= PyInt_FromLong((long)result
);
20138 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20139 PyObject
*resultobj
;
20140 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20142 PyObject
* obj0
= 0 ;
20143 char *kwnames
[] = {
20144 (char *) "self", NULL
20147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
20148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20151 result
= (bool)(arg1
)->Ok();
20153 wxPyEndAllowThreads(__tstate
);
20154 if (PyErr_Occurred()) SWIG_fail
;
20156 resultobj
= PyInt_FromLong((long)result
);
20163 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20164 PyObject
*resultobj
;
20165 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20167 PyObject
* obj0
= 0 ;
20168 PyObject
* obj1
= 0 ;
20169 char *kwnames
[] = {
20170 (char *) "self",(char *) "ok", NULL
20173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
20174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20176 arg2
= (bool) SPyObj_AsBool(obj1
);
20177 if (PyErr_Occurred()) SWIG_fail
;
20180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20181 (arg1
)->SetOk(arg2
);
20183 wxPyEndAllowThreads(__tstate
);
20184 if (PyErr_Occurred()) SWIG_fail
;
20186 Py_INCREF(Py_None
); resultobj
= Py_None
;
20193 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20194 PyObject
*resultobj
;
20195 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20198 PyObject
* obj0
= 0 ;
20199 PyObject
* obj1
= 0 ;
20200 char *kwnames
[] = {
20201 (char *) "self",(char *) "interactive", NULL
20204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
20205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20207 arg2
= (bool) SPyObj_AsBool(obj1
);
20208 if (PyErr_Occurred()) SWIG_fail
;
20211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20212 result
= (bool)(arg1
)->Print(arg2
);
20214 wxPyEndAllowThreads(__tstate
);
20215 if (PyErr_Occurred()) SWIG_fail
;
20217 resultobj
= PyInt_FromLong((long)result
);
20224 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20225 PyObject
*resultobj
;
20226 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20227 PyObject
* obj0
= 0 ;
20228 char *kwnames
[] = {
20229 (char *) "self", NULL
20232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
20233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20236 (arg1
)->DetermineScaling();
20238 wxPyEndAllowThreads(__tstate
);
20239 if (PyErr_Occurred()) SWIG_fail
;
20241 Py_INCREF(Py_None
); resultobj
= Py_None
;
20248 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
20250 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20251 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
20253 return Py_BuildValue((char *)"");
20255 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20256 PyObject
*resultobj
;
20257 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20258 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
20259 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
20260 wxPyPrintPreview
*result
;
20261 PyObject
* obj0
= 0 ;
20262 PyObject
* obj1
= 0 ;
20263 PyObject
* obj2
= 0 ;
20264 char *kwnames
[] = {
20265 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
20268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PyPrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20270 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20272 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20276 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
20278 wxPyEndAllowThreads(__tstate
);
20279 if (PyErr_Occurred()) SWIG_fail
;
20281 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPrintPreview
, 1);
20288 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20289 PyObject
*resultobj
;
20290 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20291 PyObject
*arg2
= (PyObject
*) 0 ;
20292 PyObject
*arg3
= (PyObject
*) 0 ;
20293 PyObject
* obj0
= 0 ;
20294 PyObject
* obj1
= 0 ;
20295 PyObject
* obj2
= 0 ;
20296 char *kwnames
[] = {
20297 (char *) "self",(char *) "self",(char *) "_class", NULL
20300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20306 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20308 wxPyEndAllowThreads(__tstate
);
20309 if (PyErr_Occurred()) SWIG_fail
;
20311 Py_INCREF(Py_None
); resultobj
= Py_None
;
20318 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20319 PyObject
*resultobj
;
20320 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20323 PyObject
* obj0
= 0 ;
20324 char *kwnames
[] = {
20325 (char *) "self",(char *) "pageNum", NULL
20328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&arg2
)) goto fail
;
20329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20332 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
20334 wxPyEndAllowThreads(__tstate
);
20335 if (PyErr_Occurred()) SWIG_fail
;
20337 resultobj
= PyInt_FromLong((long)result
);
20344 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20345 PyObject
*resultobj
;
20346 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20347 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20350 PyObject
* obj0
= 0 ;
20351 PyObject
* obj1
= 0 ;
20352 PyObject
* obj2
= 0 ;
20353 char *kwnames
[] = {
20354 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20359 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20360 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20361 if (arg3
== NULL
) {
20362 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20366 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
20368 wxPyEndAllowThreads(__tstate
);
20369 if (PyErr_Occurred()) SWIG_fail
;
20371 resultobj
= PyInt_FromLong((long)result
);
20378 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20379 PyObject
*resultobj
;
20380 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20381 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20384 PyObject
* obj0
= 0 ;
20385 PyObject
* obj1
= 0 ;
20386 PyObject
* obj2
= 0 ;
20387 char *kwnames
[] = {
20388 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20393 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20394 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20395 if (arg3
== NULL
) {
20396 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20400 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
20402 wxPyEndAllowThreads(__tstate
);
20403 if (PyErr_Occurred()) SWIG_fail
;
20405 resultobj
= PyInt_FromLong((long)result
);
20412 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20413 PyObject
*resultobj
;
20414 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20417 PyObject
* obj0
= 0 ;
20418 char *kwnames
[] = {
20419 (char *) "self",(char *) "pageNum", NULL
20422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&arg2
)) goto fail
;
20423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20426 result
= (bool)(arg1
)->base_RenderPage(arg2
);
20428 wxPyEndAllowThreads(__tstate
);
20429 if (PyErr_Occurred()) SWIG_fail
;
20431 resultobj
= PyInt_FromLong((long)result
);
20438 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20439 PyObject
*resultobj
;
20440 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20442 PyObject
* obj0
= 0 ;
20443 char *kwnames
[] = {
20444 (char *) "self",(char *) "percent", NULL
20447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&arg2
)) goto fail
;
20448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20451 (arg1
)->base_SetZoom(arg2
);
20453 wxPyEndAllowThreads(__tstate
);
20454 if (PyErr_Occurred()) SWIG_fail
;
20456 Py_INCREF(Py_None
); resultobj
= Py_None
;
20463 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20464 PyObject
*resultobj
;
20465 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20468 PyObject
* obj0
= 0 ;
20469 PyObject
* obj1
= 0 ;
20470 char *kwnames
[] = {
20471 (char *) "self",(char *) "interactive", NULL
20474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
20475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20477 arg2
= (bool) SPyObj_AsBool(obj1
);
20478 if (PyErr_Occurred()) SWIG_fail
;
20481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20482 result
= (bool)(arg1
)->base_Print(arg2
);
20484 wxPyEndAllowThreads(__tstate
);
20485 if (PyErr_Occurred()) SWIG_fail
;
20487 resultobj
= PyInt_FromLong((long)result
);
20494 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20495 PyObject
*resultobj
;
20496 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
20497 PyObject
* obj0
= 0 ;
20498 char *kwnames
[] = {
20499 (char *) "self", NULL
20502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
20503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20506 (arg1
)->base_DetermineScaling();
20508 wxPyEndAllowThreads(__tstate
);
20509 if (PyErr_Occurred()) SWIG_fail
;
20511 Py_INCREF(Py_None
); resultobj
= Py_None
;
20518 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
20520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20521 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
20523 return Py_BuildValue((char *)"");
20525 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20526 PyObject
*resultobj
;
20527 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20528 wxFrame
*arg2
= (wxFrame
*) 0 ;
20529 wxString
*arg3
= 0 ;
20530 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20531 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20532 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20533 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20534 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20535 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20536 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20537 wxPyPreviewFrame
*result
;
20538 bool temp3
= False
;
20541 bool temp7
= False
;
20542 PyObject
* obj0
= 0 ;
20543 PyObject
* obj1
= 0 ;
20544 PyObject
* obj2
= 0 ;
20545 PyObject
* obj3
= 0 ;
20546 PyObject
* obj4
= 0 ;
20547 PyObject
* obj6
= 0 ;
20548 char *kwnames
[] = {
20549 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
20553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20554 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20556 arg3
= wxString_in_helper(obj2
);
20557 if (arg3
== NULL
) SWIG_fail
;
20563 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20569 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20574 arg7
= wxString_in_helper(obj6
);
20575 if (arg7
== NULL
) SWIG_fail
;
20580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20581 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20583 wxPyEndAllowThreads(__tstate
);
20584 if (PyErr_Occurred()) SWIG_fail
;
20586 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewFrame
, 1);
20609 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20610 PyObject
*resultobj
;
20611 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20612 PyObject
*arg2
= (PyObject
*) 0 ;
20613 PyObject
*arg3
= (PyObject
*) 0 ;
20614 PyObject
* obj0
= 0 ;
20615 PyObject
* obj1
= 0 ;
20616 PyObject
* obj2
= 0 ;
20617 char *kwnames
[] = {
20618 (char *) "self",(char *) "self",(char *) "_class", NULL
20621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20627 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20629 wxPyEndAllowThreads(__tstate
);
20630 if (PyErr_Occurred()) SWIG_fail
;
20632 Py_INCREF(Py_None
); resultobj
= Py_None
;
20639 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20640 PyObject
*resultobj
;
20641 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20642 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
20643 PyObject
* obj0
= 0 ;
20644 PyObject
* obj1
= 0 ;
20645 char *kwnames
[] = {
20646 (char *) "self",(char *) "canvas", NULL
20649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
20650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20651 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20654 (arg1
)->SetPreviewCanvas(arg2
);
20656 wxPyEndAllowThreads(__tstate
);
20657 if (PyErr_Occurred()) SWIG_fail
;
20659 Py_INCREF(Py_None
); resultobj
= Py_None
;
20666 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20667 PyObject
*resultobj
;
20668 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20669 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
20670 PyObject
* obj0
= 0 ;
20671 PyObject
* obj1
= 0 ;
20672 char *kwnames
[] = {
20673 (char *) "self",(char *) "bar", NULL
20676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
20677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20678 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20681 (arg1
)->SetControlBar(arg2
);
20683 wxPyEndAllowThreads(__tstate
);
20684 if (PyErr_Occurred()) SWIG_fail
;
20686 Py_INCREF(Py_None
); resultobj
= Py_None
;
20693 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20694 PyObject
*resultobj
;
20695 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20696 PyObject
* obj0
= 0 ;
20697 char *kwnames
[] = {
20698 (char *) "self", NULL
20701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
20702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20705 (arg1
)->base_Initialize();
20707 wxPyEndAllowThreads(__tstate
);
20708 if (PyErr_Occurred()) SWIG_fail
;
20710 Py_INCREF(Py_None
); resultobj
= Py_None
;
20717 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20718 PyObject
*resultobj
;
20719 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20720 PyObject
* obj0
= 0 ;
20721 char *kwnames
[] = {
20722 (char *) "self", NULL
20725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
20726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20729 (arg1
)->base_CreateCanvas();
20731 wxPyEndAllowThreads(__tstate
);
20732 if (PyErr_Occurred()) SWIG_fail
;
20734 Py_INCREF(Py_None
); resultobj
= Py_None
;
20741 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20742 PyObject
*resultobj
;
20743 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
20744 PyObject
* obj0
= 0 ;
20745 char *kwnames
[] = {
20746 (char *) "self", NULL
20749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
20750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20753 (arg1
)->base_CreateControlBar();
20755 wxPyEndAllowThreads(__tstate
);
20756 if (PyErr_Occurred()) SWIG_fail
;
20758 Py_INCREF(Py_None
); resultobj
= Py_None
;
20765 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
20767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20768 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
20770 return Py_BuildValue((char *)"");
20772 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20773 PyObject
*resultobj
;
20774 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20776 wxWindow
*arg3
= (wxWindow
*) 0 ;
20777 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20778 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20779 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20780 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20781 long arg6
= (long) 0 ;
20782 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
20783 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20784 wxPyPreviewControlBar
*result
;
20787 bool temp7
= False
;
20788 PyObject
* obj0
= 0 ;
20789 PyObject
* obj2
= 0 ;
20790 PyObject
* obj3
= 0 ;
20791 PyObject
* obj4
= 0 ;
20792 PyObject
* obj6
= 0 ;
20793 char *kwnames
[] = {
20794 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
20798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20799 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20803 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20809 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20814 arg7
= wxString_in_helper(obj6
);
20815 if (arg7
== NULL
) SWIG_fail
;
20820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20821 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20823 wxPyEndAllowThreads(__tstate
);
20824 if (PyErr_Occurred()) SWIG_fail
;
20826 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewControlBar
, 1);
20841 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20842 PyObject
*resultobj
;
20843 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20844 PyObject
*arg2
= (PyObject
*) 0 ;
20845 PyObject
*arg3
= (PyObject
*) 0 ;
20846 PyObject
* obj0
= 0 ;
20847 PyObject
* obj1
= 0 ;
20848 PyObject
* obj2
= 0 ;
20849 char *kwnames
[] = {
20850 (char *) "self",(char *) "self",(char *) "_class", NULL
20853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20859 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20861 wxPyEndAllowThreads(__tstate
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20864 Py_INCREF(Py_None
); resultobj
= Py_None
;
20871 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20872 PyObject
*resultobj
;
20873 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20874 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
20875 PyObject
* obj0
= 0 ;
20876 PyObject
* obj1
= 0 ;
20877 char *kwnames
[] = {
20878 (char *) "self",(char *) "preview", NULL
20881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
20882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20883 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20886 (arg1
)->SetPrintPreview(arg2
);
20888 wxPyEndAllowThreads(__tstate
);
20889 if (PyErr_Occurred()) SWIG_fail
;
20891 Py_INCREF(Py_None
); resultobj
= Py_None
;
20898 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20899 PyObject
*resultobj
;
20900 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20901 PyObject
* obj0
= 0 ;
20902 char *kwnames
[] = {
20903 (char *) "self", NULL
20906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
20907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20910 (arg1
)->base_CreateButtons();
20912 wxPyEndAllowThreads(__tstate
);
20913 if (PyErr_Occurred()) SWIG_fail
;
20915 Py_INCREF(Py_None
); resultobj
= Py_None
;
20922 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20923 PyObject
*resultobj
;
20924 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
20926 PyObject
* obj0
= 0 ;
20927 char *kwnames
[] = {
20928 (char *) "self",(char *) "zoom", NULL
20931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&arg2
)) goto fail
;
20932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20935 (arg1
)->base_SetZoomControl(arg2
);
20937 wxPyEndAllowThreads(__tstate
);
20938 if (PyErr_Occurred()) SWIG_fail
;
20940 Py_INCREF(Py_None
); resultobj
= Py_None
;
20947 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
20949 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20950 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
20952 return Py_BuildValue((char *)"");
20954 static PyMethodDef SwigMethods
[] = {
20955 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
20956 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
20957 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
20958 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
20959 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
20960 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
20961 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
20962 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
20963 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
20964 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
20965 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
20966 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
20967 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
20968 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
20969 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
20970 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
20971 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
20972 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
20973 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
20974 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
20975 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
20976 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
20977 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
20978 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
20979 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
20980 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
20981 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
20982 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
20983 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
20984 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
20985 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
20986 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
20987 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
20988 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
20989 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
20990 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
20991 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
20992 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
20993 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
20994 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
20995 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
20996 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
20997 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
20998 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
20999 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
21000 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
21001 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
21002 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
21003 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
21004 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
21005 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
21006 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
21007 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
21008 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21009 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
21010 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21011 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21012 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
21013 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
21014 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
21015 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
21016 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
21017 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
21018 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
21019 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
21020 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
21021 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
21022 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
21023 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
21024 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
21025 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
21026 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
21027 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
21028 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21029 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
21030 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
},
21031 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
21032 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
21033 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
21034 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
21035 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
21036 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
21037 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
21038 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
21039 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
21040 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
21041 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
21042 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
21043 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
21044 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
21045 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
21046 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
21047 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
21048 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
21049 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
21050 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21051 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21052 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21053 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
21054 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
21055 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
21056 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
21057 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
21058 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
21059 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
21060 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
21061 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
21062 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21063 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
21064 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
21065 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
21066 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
21067 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
21068 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
21069 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
21070 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
21071 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
21072 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
21073 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
21074 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21075 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
21076 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21077 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
21078 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
21079 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
21080 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
21081 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
21082 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
21083 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
21084 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
21085 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
21086 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
21087 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
21088 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
21089 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
21090 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
21091 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
21092 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
21093 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
21094 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
21095 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21096 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
21097 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
21098 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
21099 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
21100 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
21101 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21102 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21103 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21104 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
21105 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
21106 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
21107 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
21108 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
21109 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
21110 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
21111 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
21112 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
21113 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
21114 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
21115 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
21116 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
21117 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
21118 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
21119 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
21120 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
21121 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
21122 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
21123 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
21124 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
21125 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
21126 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
21127 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21128 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21129 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
21130 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
21131 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21132 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21133 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
21134 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
21135 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
21136 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
21137 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21138 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21139 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
21140 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
21141 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
21142 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
21143 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
21144 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21145 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
21146 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21147 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
21148 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
21149 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21150 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
21151 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
21152 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
21153 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
21154 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
21155 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
21156 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
21157 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
21158 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
21159 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
21160 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21161 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21162 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
21163 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
21164 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
21165 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
21166 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
21167 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
21168 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
21169 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21170 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21171 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
21172 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
21173 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
21174 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
21175 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
21176 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
21177 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
21178 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
21179 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
21180 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
21181 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
21182 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
21183 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
21184 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
21185 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
21186 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
21187 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21188 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
21189 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
21190 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
21191 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21192 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
21193 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
21194 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
21195 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
21196 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
21197 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
21198 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
21199 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
21200 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
21201 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21202 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
21203 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
21204 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
21205 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
21206 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
21207 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
21208 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
21209 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
21210 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
21211 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
21212 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
21213 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21214 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
21215 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
21216 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
21217 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
21218 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
21219 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
21220 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
21221 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
21222 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
21223 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
21224 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
21225 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
21226 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
21227 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
21228 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
21229 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
21230 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
21231 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
21232 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
21233 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
21234 { (char *)"ColourDialog_ShowModal", (PyCFunction
) _wrap_ColourDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21235 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
21236 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
21237 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
21238 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
21239 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
21240 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
21241 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
21242 { (char *)"DirDialog_ShowModal", (PyCFunction
) _wrap_DirDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21243 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
21244 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
21245 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
21246 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
21247 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
21248 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21249 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
21250 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
21251 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
21252 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
21253 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
21254 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
21255 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21256 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
21257 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
21258 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
21259 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
21260 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
21261 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
21262 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21263 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
21264 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
21265 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
21266 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21267 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21268 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
21269 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21270 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction
) _wrap_SingleChoiceDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21271 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
21272 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
21273 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
21274 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
21275 { (char *)"TextEntryDialog_ShowModal", (PyCFunction
) _wrap_TextEntryDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21276 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
21277 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
21278 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
21279 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
21280 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
21281 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
21282 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
21283 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
21284 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
21285 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
21286 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
21287 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
21288 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
21289 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
21290 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
21291 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
21292 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
21293 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
21294 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
21295 { (char *)"FontDialog_ShowModal", (PyCFunction
) _wrap_FontDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21296 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
21297 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
21298 { (char *)"MessageDialog_ShowModal", (PyCFunction
) _wrap_MessageDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21299 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
21300 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
21301 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
21302 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
21303 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
21304 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
21305 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21306 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21307 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21308 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
21309 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21310 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21311 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21312 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
21313 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
21314 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
21315 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21316 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21317 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21318 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
21319 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
21320 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
21321 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
21322 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21323 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
21324 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
21325 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
21326 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
21327 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
21328 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
21329 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
21330 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
21331 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
21332 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
21333 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
21334 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
21335 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
21336 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21337 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
21338 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
21339 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
21340 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
21341 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
21342 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
21343 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
21344 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
21345 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
21346 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
21347 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21348 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
21349 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
21350 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
21351 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
21352 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21353 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
21354 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
21355 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21356 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21357 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
21358 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21359 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
21360 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21361 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
21362 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
21363 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
21364 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
21365 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
21366 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
21367 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
21368 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
21369 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
21370 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
21371 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
21372 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
21373 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21374 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
21375 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
21376 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21377 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21378 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
21379 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
21380 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
21381 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
21382 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
21383 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
21384 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
21385 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
21386 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
21387 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
21388 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
21389 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
21390 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
21391 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
21392 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
21393 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
21394 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
21395 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21396 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21397 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21398 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21399 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
21400 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
21401 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
21402 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21403 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21404 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
21405 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21406 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21407 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21408 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
21409 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
21410 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
21411 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21412 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21413 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
21414 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
21415 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
21416 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
21417 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21418 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
21419 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
21420 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
21421 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
21422 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
21423 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
21424 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
21425 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
21426 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
21427 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
21428 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
21429 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
21430 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
21431 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
21432 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
21433 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
21434 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
21435 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
21436 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
21437 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21438 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21439 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21440 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
21441 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21442 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
21443 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
21444 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
21445 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
21446 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
21447 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
21448 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
21449 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21450 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
21451 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21452 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21453 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21454 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21455 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21456 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21457 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21458 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21459 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
21460 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
21461 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21462 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21463 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
21464 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
21465 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
21466 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
21467 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21468 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
21469 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
21470 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
21471 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21472 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
21473 { (char *)"new_PrintDialogData", (PyCFunction
) _wrap_new_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21474 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21475 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
21476 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
21477 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
21478 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
21479 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21480 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
21481 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21482 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21483 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21484 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
21485 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
21486 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
21487 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
21488 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
21489 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
21490 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
21491 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
21492 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
21493 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21494 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
21495 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21496 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
21497 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
21498 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21499 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
21500 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
21501 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
21502 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
21503 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21504 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21505 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
21506 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
21507 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
21508 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21509 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
21510 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
21511 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
21512 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
21513 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
21514 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
21515 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21516 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
21517 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
21518 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
21519 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
21520 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
21521 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
21522 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
21523 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
21524 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21525 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
21526 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
21527 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
21528 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
21529 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
21530 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
21531 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
21532 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
21533 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
21534 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
21535 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
21536 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
21537 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
21538 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
21539 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
21540 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
21541 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
21542 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
21543 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
21544 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
21545 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
21546 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21547 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
21548 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
21549 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
21550 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21551 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21552 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21553 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
21554 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21555 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
21556 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
21557 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21558 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
21559 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
21560 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
21561 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
21562 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
21563 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
21564 { (char *)"new_PrintPreview", (PyCFunction
) _wrap_new_PrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21565 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
21566 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
21567 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
21568 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
21569 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
21570 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
21571 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21572 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
21573 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21574 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
21575 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
21576 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
21577 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
21578 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
21579 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
21580 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
21581 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
21582 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
21583 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
21584 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
21585 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
21586 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
21587 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
21588 { (char *)"new_PyPrintPreview", (PyCFunction
) _wrap_new_PyPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21589 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21590 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
21591 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
21592 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
21593 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
21594 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
21595 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
21596 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
21597 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
21598 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
21599 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21600 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21601 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21602 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
21603 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
21604 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21605 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
21606 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
21607 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
21608 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
21609 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
21610 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
21611 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
21616 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21618 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
21619 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21621 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
21622 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
21624 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
21625 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
21627 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
21628 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
21630 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
21631 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
21633 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
21634 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
21636 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
21637 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
21639 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
21640 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21642 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
21643 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
21645 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
21646 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
21648 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
21649 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21651 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
21652 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
21654 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
21655 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
21657 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
21658 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
21660 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
21661 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
21663 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
21664 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
21666 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
21667 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
21669 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
21670 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
21672 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
21673 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
21675 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
21676 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
21678 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
21679 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
21681 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
21682 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
21684 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
21685 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
21687 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
21688 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
21690 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
21691 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21693 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
21694 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21696 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
21697 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
21699 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
21700 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
21702 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
21703 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
21705 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
21706 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
21708 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
21709 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
21711 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
21712 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
21714 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
21715 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
21717 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
21718 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
21720 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
21721 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
21723 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
21724 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
21726 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
21727 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
21729 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
21730 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
21732 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
21733 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
21735 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
21736 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
21738 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
21739 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
21741 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
21742 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
21744 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
21745 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
21747 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
21748 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
21750 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
21751 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
21753 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
21754 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
21756 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
21757 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
21759 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
21760 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
21762 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
21763 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
21765 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
21766 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
21768 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
21769 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
21771 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
21772 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
21774 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
21775 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
21777 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
21778 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
21780 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
21781 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
21783 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
21784 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
21786 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
21787 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
21789 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
21790 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
21792 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
21793 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
21795 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
21796 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
21798 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
21799 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
21801 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
21802 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
21804 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
21805 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
21807 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
21808 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
21810 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
21811 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
21813 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
21814 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
21816 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
21817 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
21819 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
21820 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
21822 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
21823 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
21825 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
21826 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
21828 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
21829 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
21831 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
21832 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
21834 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
21835 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
21837 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
21838 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21840 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
21841 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
21843 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
21844 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
21846 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
21847 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
21849 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
21850 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
21852 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
21853 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
21855 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
21856 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21858 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
21859 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
21861 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
21862 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
21864 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
21865 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
21867 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
21868 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
21870 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
21871 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
21873 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
21874 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
21876 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
21877 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
21879 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
21880 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
21882 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
21883 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
21885 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
21886 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
21888 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
21889 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
21891 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
21892 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
21894 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
21895 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
21897 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
21898 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
21900 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
21901 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
21903 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
21904 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
21906 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
21907 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
21909 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
21910 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21912 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
21913 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
21915 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
21916 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
21918 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
21919 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
21921 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
21922 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
21924 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
21925 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
21927 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
21928 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
21930 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
21931 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
21933 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
21934 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
21936 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
21937 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
21939 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
21940 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
21942 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
21943 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
21945 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
21946 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
21948 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
21949 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
21951 static void *_p_wxSizerTo_p_wxObject(void *x
) {
21952 return (void *)((wxObject
*) ((wxSizer
*) x
));
21954 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
21955 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
21957 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
21958 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
21960 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
21961 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
21963 static void *_p_wxEventTo_p_wxObject(void *x
) {
21964 return (void *)((wxObject
*) ((wxEvent
*) x
));
21966 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
21967 return (void *)((wxObject
*) ((wxFontData
*) x
));
21969 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
21970 return (void *)((wxObject
*) ((wxPrintData
*) x
));
21972 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
21973 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
21975 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
21976 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
21978 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
21979 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
21981 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
21982 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
21984 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
21985 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
21987 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
21988 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
21990 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
21991 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
21993 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
21994 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
21996 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
21997 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
21999 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
22000 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
22002 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
22003 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
22005 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
22006 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
22008 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
22009 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22011 static void *_p_wxControlTo_p_wxObject(void *x
) {
22012 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
22014 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
22015 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
22017 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
22018 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
22020 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
22021 return (void *)((wxObject
*) ((wxFSFile
*) x
));
22023 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
22024 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
22026 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
22027 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
22029 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
22030 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
22032 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
22033 return (void *)((wxObject
*) ((wxColourData
*) x
));
22035 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
22036 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
22038 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
22039 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
22041 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
22042 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
22044 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
22045 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
22047 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
22048 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
22050 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
22051 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22053 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
22054 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22056 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
22057 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
22059 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
22060 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
22062 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
22063 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
22065 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
22066 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
22068 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
22069 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
22071 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
22072 return (void *)((wxObject
*) ((wxPrinter
*) x
));
22074 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
22075 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
22077 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
22078 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
22080 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
22081 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
22083 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
22084 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
22086 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
22087 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
22089 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
22090 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
22092 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
22093 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
22095 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
22096 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
22098 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
22099 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
22101 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
22102 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
22104 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
22105 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
22107 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
22108 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
22110 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
22111 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
22113 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
22114 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
22116 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
22117 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
22119 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
22120 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
22122 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
22123 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
22125 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
22126 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
22128 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
22129 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
22131 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
22132 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
22134 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
22135 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
22137 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
22138 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
22140 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
22141 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
22143 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
22144 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22146 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
22147 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22149 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
22150 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
22152 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
22153 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
22155 static void *_p_wxImageTo_p_wxObject(void *x
) {
22156 return (void *)((wxObject
*) ((wxImage
*) x
));
22158 static void *_p_wxFrameTo_p_wxObject(void *x
) {
22159 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
22161 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
22162 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
22164 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
22165 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
22167 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
22168 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
22170 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
22171 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
22173 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
22174 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
22176 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
22177 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
22179 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
22180 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
22182 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
22183 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
22185 static void *_p_wxWindowTo_p_wxObject(void *x
) {
22186 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
22188 static void *_p_wxMenuTo_p_wxObject(void *x
) {
22189 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
22191 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
22192 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
22194 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
22195 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
22197 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
22198 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
22200 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
22201 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
22203 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
22204 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
22206 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
22207 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
22209 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
22210 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
22212 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
22213 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
22215 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
22216 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
22218 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
22219 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
22221 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
22222 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
22224 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
22225 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
22227 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
22228 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
22230 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
22231 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
22233 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
22234 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
22236 static void *_p_wxPanelTo_p_wxObject(void *x
) {
22237 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
22239 static void *_p_wxDialogTo_p_wxObject(void *x
) {
22240 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
22242 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
22243 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
22245 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
22246 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
22248 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
22249 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
22251 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
22252 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
22254 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
22255 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
22257 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
22258 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
22260 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
22261 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
22263 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
22264 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
22266 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
22267 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
22269 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
22270 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
22272 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
22273 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
22275 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
22276 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
22278 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
22279 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
22281 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
22282 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
22284 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
22285 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
22287 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
22288 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22290 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
22291 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
22293 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
22294 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
22296 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
22297 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
22299 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
22300 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
22302 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
22303 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
22305 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
22306 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
22308 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
22309 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
22311 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
22312 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
22314 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
22315 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22317 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
22318 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22320 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
22321 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
22323 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
22324 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
22326 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
22327 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
22329 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
22330 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
22332 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
22333 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
22335 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
22336 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
22338 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
22339 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
22341 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
22342 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
22344 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
22345 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
22347 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
22348 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
22350 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
22351 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
22353 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
22354 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
22356 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
22357 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
22359 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
22360 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
22362 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
22363 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
22365 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
22366 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
22368 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
22369 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
22371 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
22372 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22374 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
22375 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22377 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
22378 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
22380 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
22381 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
22383 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
22384 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
22386 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
22387 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
22389 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
22390 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
22392 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
22393 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
22395 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
22396 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
22398 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
22399 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
22401 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
22402 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
22404 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
22405 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
22407 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
22408 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
22410 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
22411 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
22413 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
22414 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22416 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
22417 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22419 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
22420 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
22422 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
22423 return (void *)((wxWindow
*) ((wxPanel
*) x
));
22425 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
22426 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
22428 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
22429 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
22431 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
22432 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
22434 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
22435 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
22437 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
22438 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
22440 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
22441 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
22443 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
22444 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
22446 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
22447 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
22449 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
22450 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
22452 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
22453 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
22455 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
22456 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
22458 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
22459 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
22461 static void *_p_wxControlTo_p_wxWindow(void *x
) {
22462 return (void *)((wxWindow
*) ((wxControl
*) x
));
22464 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
22465 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
22467 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
22468 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
22470 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
22471 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
22473 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
22474 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
22476 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
22477 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
22479 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
22480 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22482 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
22483 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22485 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
22486 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22488 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
22489 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
22491 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
22492 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22494 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
22495 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
22497 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
22498 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
22500 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
22501 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
22503 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
22504 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
22506 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
22507 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
22509 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
22510 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
22512 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
22513 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
22515 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
22516 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
22518 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
22519 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22521 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
22522 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
22524 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
22525 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
22527 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
22528 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
22530 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
22531 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
22533 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
22534 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
22536 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
22537 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
22539 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
22540 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
22542 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
22543 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
22545 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
22546 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
22548 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
22549 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
22551 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
22552 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
22554 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
22555 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
22557 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
22558 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
22560 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
22561 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
22563 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
22564 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
22566 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
22567 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
22569 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
22570 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
22572 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
22573 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
22575 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
22576 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
22578 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
22579 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22581 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
22582 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
22584 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
22585 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
22587 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
22588 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
22590 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
22591 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
22593 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
22594 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
22596 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
22597 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
22599 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
22600 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
22602 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
22603 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
22605 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
22606 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
22608 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
22609 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
22611 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
22612 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
22614 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
22615 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
22617 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
22618 static swig_type_info _swigt__p_wxPreviewFrame
[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame
},{0}};
22619 static swig_type_info _swigt__p_wxPyPreviewFrame
[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
22620 static swig_type_info _swigt__p_wxPyPanel
[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
22621 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
22622 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
22623 static swig_type_info _swigt__p_wxFontData
[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
22624 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent
},{"_p_wxEvent"},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent
},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent
},{0}};
22625 static swig_type_info _swigt__p_wxTaskBarIcon
[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
22626 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
22627 static swig_type_info _swigt__p_wxLayoutAlgorithm
[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22628 static swig_type_info _swigt__p_wxFindDialogEvent
[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22629 static swig_type_info _swigt__p_wxPreviewCanvas
[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22630 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22631 static swig_type_info _swigt__p_wxSplitterEvent
[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22632 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22633 static swig_type_info _swigt__p_wxFindReplaceData
[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22634 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22635 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22636 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22637 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22638 static swig_type_info _swigt__p_wxMDIChildFrame
[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22639 static swig_type_info _swigt__p_wxColourData
[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22640 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent
},{"_p_wxNotifyEvent"},{0}};
22641 static swig_type_info _swigt__p_wxPyWindow
[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22642 static swig_type_info _swigt__p_wxSplashScreen
[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22643 static swig_type_info _swigt__p_wxFindReplaceDialog
[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22644 static swig_type_info _swigt__p_wxProgressDialog
[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22645 static swig_type_info _swigt__p_wxMessageDialog
[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22646 static swig_type_info _swigt__p_wxTextEntryDialog
[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22647 static swig_type_info _swigt__p_wxSingleChoiceDialog
[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22648 static swig_type_info _swigt__p_wxMultiChoiceDialog
[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22649 static swig_type_info _swigt__p_wxFileDialog
[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22650 static swig_type_info _swigt__p_wxPrinter
[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
22651 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22652 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
},{"_p_wxEvtHandler"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler
},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
},{0}};
22653 static swig_type_info _swigt__p_wxCalculateLayoutEvent
[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22654 static swig_type_info _swigt__p_wxPyHtmlListBox
[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22655 static swig_type_info _swigt__p_wxPyVListBox
[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox
},{0}};
22656 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
22657 static swig_type_info _swigt__p_wxMiniFrame
[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22658 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxFrame
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame
},{"_p_wxFrame"},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame
},{0}};
22659 static swig_type_info _swigt__p_wxPyPrintout
[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22660 static swig_type_info _swigt__p_wxTaskBarIconEvent
[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22661 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22662 static swig_type_info _swigt__p_wxStatusBar
[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22663 static swig_type_info _swigt__p_wxMDIParentFrame
[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22664 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22665 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
},{"_p_wxEvent", _p_wxEventTo_p_wxObject
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject
},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
},{"_p_wxControl", _p_wxControlTo_p_wxObject
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
},{"_p_wxImage", _p_wxImageTo_p_wxObject
},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
},{0}};
22666 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22667 static swig_type_info _swigt__p_wxMDIClientWindow
[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22668 static swig_type_info _swigt__p_wxTipWindow
[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22669 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{0}};
22670 static swig_type_info _swigt__p_wxSashLayoutWindow
[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22671 static swig_type_info _swigt__p_wxSplitterWindow
[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
22672 static swig_type_info _swigt__p_wxPyVScrolledWindow
[] = {{"_p_wxPyVScrolledWindow", 0, "wxPyVScrolledWindow *", 0},{"_p_wxPyVScrolledWindow"},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPyVScrolledWindow
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow
},{0}};
22673 static swig_type_info _swigt__p_wxPopupWindow
[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0},{"_p_wxPopupWindow"},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
},{0}};
22674 static swig_type_info _swigt__p_wxSashWindow
[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow
},{0}};
22675 static swig_type_info _swigt__p_wxTopLevelWindow
[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow
},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow
},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxTopLevelWindow
},{"_p_wxTopLevelWindow"},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow
},{0}};
22676 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
},{"_p_wxWindow"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
},{"_p_wxControl", _p_wxControlTo_p_wxWindow
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow
},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
},{0}};
22677 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
},{0}};
22678 static swig_type_info _swigt__p_wxSplashScreenWindow
[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
22679 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22680 static swig_type_info _swigt__p_wxPrintPreview
[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview
},{0}};
22681 static swig_type_info _swigt__p_wxSashEvent
[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22682 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22683 static swig_type_info _swigt__p_wxPyPrintPreview
[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
22684 static swig_type_info _swigt__p_wxPageSetupDialog
[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
22685 static swig_type_info _swigt__p_wxFontDialog
[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22686 static swig_type_info _swigt__p_wxDirDialog
[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22687 static swig_type_info _swigt__p_wxColourDialog
[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22688 static swig_type_info _swigt__p_wxDialog
[] = {{"_p_wxDialog", 0, "wxDialog *", 0},{"_p_wxDialog"},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxDialog
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxDialog
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog
},{0}};
22689 static swig_type_info _swigt__p_wxPanel
[] = {{"_p_wxPanel", 0, "wxPanel *", 0},{"_p_wxPanel"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel
},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel
},{0}};
22690 static swig_type_info _swigt__p_wxPrintDialog
[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22691 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22692 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent
},{"_p_wxCommandEvent"},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent
},{0}};
22693 static swig_type_info _swigt__p_wxPreviewControlBar
[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar
},{0}};
22694 static swig_type_info _swigt__p_wxPyPreviewControlBar
[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22695 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22696 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
22697 static swig_type_info _swigt__p_wxPrintDialogData
[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
22698 static swig_type_info _swigt__p_wxPageSetupDialogData
[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
22700 static swig_type_info
*swig_types_initial
[] = {
22701 _swigt__p_wxQueryLayoutInfoEvent
,
22702 _swigt__p_wxPreviewFrame
,
22703 _swigt__p_wxPyPreviewFrame
,
22704 _swigt__p_wxPyPanel
,
22706 _swigt__p_wxPrintData
,
22707 _swigt__p_wxFontData
,
22709 _swigt__p_wxTaskBarIcon
,
22710 _swigt__p_wxIconBundle
,
22711 _swigt__p_wxLayoutAlgorithm
,
22712 _swigt__p_wxFindDialogEvent
,
22713 _swigt__p_wxPreviewCanvas
,
22715 _swigt__p_wxSplitterEvent
,
22716 _swigt__p_wxRegion
,
22717 _swigt__p_wxFindReplaceData
,
22722 _swigt__p_wxMDIChildFrame
,
22723 _swigt__p_wxColourData
,
22724 _swigt__p_wxNotifyEvent
,
22725 _swigt__p_wxPyWindow
,
22726 _swigt__p_wxSplashScreen
,
22727 _swigt__p_wxFindReplaceDialog
,
22728 _swigt__p_wxProgressDialog
,
22729 _swigt__p_wxMessageDialog
,
22730 _swigt__p_wxTextEntryDialog
,
22731 _swigt__p_wxSingleChoiceDialog
,
22732 _swigt__p_wxMultiChoiceDialog
,
22733 _swigt__p_wxFileDialog
,
22734 _swigt__p_wxPrinter
,
22735 _swigt__p_wxArrayInt
,
22736 _swigt__p_wxEvtHandler
,
22737 _swigt__p_wxCalculateLayoutEvent
,
22738 _swigt__p_wxPyHtmlListBox
,
22739 _swigt__p_wxPyVListBox
,
22741 _swigt__p_wxMiniFrame
,
22743 _swigt__p_wxPyPrintout
,
22744 _swigt__p_wxTaskBarIconEvent
,
22745 _swigt__p_wxScrollWinEvent
,
22746 _swigt__p_wxStatusBar
,
22747 _swigt__p_wxMDIParentFrame
,
22749 _swigt__p_wxObject
,
22750 _swigt__p_unsigned_long
,
22751 _swigt__p_wxMDIClientWindow
,
22752 _swigt__p_wxTipWindow
,
22753 _swigt__p_wxPyPopupTransientWindow
,
22754 _swigt__p_wxSashLayoutWindow
,
22755 _swigt__p_wxSplitterWindow
,
22756 _swigt__p_wxPyVScrolledWindow
,
22757 _swigt__p_wxPopupWindow
,
22758 _swigt__p_wxSashWindow
,
22759 _swigt__p_wxTopLevelWindow
,
22760 _swigt__p_wxWindow
,
22761 _swigt__p_wxScrolledWindow
,
22762 _swigt__p_wxSplashScreenWindow
,
22763 _swigt__p_wxMenuBar
,
22764 _swigt__p_wxPrintPreview
,
22765 _swigt__p_wxSashEvent
,
22766 _swigt__p_wxString
,
22767 _swigt__p_wxPyPrintPreview
,
22768 _swigt__p_wxPageSetupDialog
,
22769 _swigt__p_wxFontDialog
,
22770 _swigt__p_wxDirDialog
,
22771 _swigt__p_wxColourDialog
,
22772 _swigt__p_wxDialog
,
22774 _swigt__p_wxPrintDialog
,
22775 _swigt__p_wxBitmap
,
22776 _swigt__p_wxCommandEvent
,
22777 _swigt__p_wxPreviewControlBar
,
22778 _swigt__p_wxPyPreviewControlBar
,
22779 _swigt__p_wxColour
,
22780 _swigt__p_wxToolBar
,
22781 _swigt__p_wxPrintDialogData
,
22782 _swigt__p_wxPageSetupDialogData
,
22787 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22789 static swig_const_info swig_const_table
[] = {
22790 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR
, 0, 0, 0},
22791 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR
, 0, 0, 0},
22792 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR
, 0, 0, 0},
22793 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER
, 0, 0, 0},
22794 { SWIG_PY_INT
, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION
, 0, 0, 0},
22795 { SWIG_PY_INT
, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL
, 0, 0, 0},
22796 { SWIG_PY_INT
, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG
, 0, 0, 0},
22797 { SWIG_PY_INT
, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT
, 0, 0, 0},
22798 { SWIG_PY_INT
, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN
, 0, 0, 0},
22799 { SWIG_PY_INT
, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE
, 0, 0, 0},
22800 { SWIG_PY_INT
, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT
, 0, 0, 0},
22801 { SWIG_PY_INT
, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT
, 0, 0, 0},
22802 { SWIG_PY_INT
, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER
, 0, 0, 0},
22803 { SWIG_PY_INT
, (char *)"SP_NOSASH", (long) wxSP_NOSASH
, 0, 0, 0},
22804 { SWIG_PY_INT
, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT
, 0, 0, 0},
22805 { SWIG_PY_INT
, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE
, 0, 0, 0},
22806 { SWIG_PY_INT
, (char *)"SP_3DSASH", (long) wxSP_3DSASH
, 0, 0, 0},
22807 { SWIG_PY_INT
, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER
, 0, 0, 0},
22808 { SWIG_PY_INT
, (char *)"SP_BORDER", (long) wxSP_BORDER
, 0, 0, 0},
22809 { SWIG_PY_INT
, (char *)"SP_3D", (long) wxSP_3D
, 0, 0, 0},
22810 { SWIG_PY_INT
, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL
, 0, 0, 0},
22811 { SWIG_PY_INT
, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL
, 0, 0, 0},
22812 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE
, 0, 0, 0},
22813 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING
, 0, 0, 0},
22814 { SWIG_PY_INT
, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN
, 0, 0, 0},
22815 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
, 0, 0, 0},
22816 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
, 0, 0, 0},
22817 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
, 0, 0, 0},
22818 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT
, 0, 0, 0},
22819 { SWIG_PY_INT
, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE
, 0, 0, 0},
22820 { SWIG_PY_INT
, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING
, 0, 0, 0},
22821 { SWIG_PY_INT
, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN
, 0, 0, 0},
22822 { SWIG_PY_INT
, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER
, 0, 0, 0},
22823 { SWIG_PY_INT
, (char *)"SW_BORDER", (long) wxSW_BORDER
, 0, 0, 0},
22824 { SWIG_PY_INT
, (char *)"SW_3DSASH", (long) wxSW_3DSASH
, 0, 0, 0},
22825 { SWIG_PY_INT
, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER
, 0, 0, 0},
22826 { SWIG_PY_INT
, (char *)"SW_3D", (long) wxSW_3D
, 0, 0, 0},
22827 { SWIG_PY_INT
, (char *)"SASH_TOP", (long) wxSASH_TOP
, 0, 0, 0},
22828 { SWIG_PY_INT
, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT
, 0, 0, 0},
22829 { SWIG_PY_INT
, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM
, 0, 0, 0},
22830 { SWIG_PY_INT
, (char *)"SASH_LEFT", (long) wxSASH_LEFT
, 0, 0, 0},
22831 { SWIG_PY_INT
, (char *)"SASH_NONE", (long) wxSASH_NONE
, 0, 0, 0},
22832 { SWIG_PY_INT
, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK
, 0, 0, 0},
22833 { SWIG_PY_INT
, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE
, 0, 0, 0},
22834 { SWIG_PY_INT
, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED
, 0, 0, 0},
22835 { SWIG_PY_INT
, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL
, 0, 0, 0},
22836 { SWIG_PY_INT
, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL
, 0, 0, 0},
22837 { SWIG_PY_INT
, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE
, 0, 0, 0},
22838 { SWIG_PY_INT
, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP
, 0, 0, 0},
22839 { SWIG_PY_INT
, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT
, 0, 0, 0},
22840 { SWIG_PY_INT
, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT
, 0, 0, 0},
22841 { SWIG_PY_INT
, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM
, 0, 0, 0},
22842 { SWIG_PY_INT
, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y
, 0, 0, 0},
22843 { SWIG_PY_INT
, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X
, 0, 0, 0},
22844 { SWIG_PY_INT
, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH
, 0, 0, 0},
22845 { SWIG_PY_INT
, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY
, 0, 0, 0},
22846 { SWIG_PY_INT
, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO
, 0, 0, 0},
22847 { SWIG_PY_INT
, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT
, 0, 0, 0},
22848 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE
, 0, 0, 0},
22849 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN
, 0, 0, 0},
22850 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP
, 0, 0, 0},
22851 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN
, 0, 0, 0},
22852 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP
, 0, 0, 0},
22853 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK
, 0, 0, 0},
22854 { SWIG_PY_INT
, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK
, 0, 0, 0},
22855 { SWIG_PY_INT
, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE
, 0, 0, 0},
22856 { SWIG_PY_INT
, (char *)"FR_DOWN", (long) wxFR_DOWN
, 0, 0, 0},
22857 { SWIG_PY_INT
, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD
, 0, 0, 0},
22858 { SWIG_PY_INT
, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE
, 0, 0, 0},
22859 { SWIG_PY_INT
, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG
, 0, 0, 0},
22860 { SWIG_PY_INT
, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN
, 0, 0, 0},
22861 { SWIG_PY_INT
, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE
, 0, 0, 0},
22862 { SWIG_PY_INT
, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD
, 0, 0, 0},
22863 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND
, 0, 0, 0},
22864 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT
, 0, 0, 0},
22865 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE
, 0, 0, 0},
22866 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL
, 0, 0, 0},
22867 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE
, 0, 0, 0},
22868 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
22869 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
22870 { SWIG_PY_INT
, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
22871 { SWIG_PY_INT
, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
22872 { SWIG_PY_INT
, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
22873 { SWIG_PY_INT
, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
22874 { SWIG_PY_INT
, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
22875 { SWIG_PY_INT
, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
22876 { SWIG_PY_INT
, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE
, 0, 0, 0},
22877 { SWIG_PY_INT
, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW
, 0, 0, 0},
22878 { SWIG_PY_INT
, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE
, 0, 0, 0},
22879 { SWIG_PY_INT
, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER
, 0, 0, 0},
22880 { SWIG_PY_INT
, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR
, 0, 0, 0},
22881 { SWIG_PY_INT
, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED
, 0, 0, 0},
22882 { SWIG_PY_INT
, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR
, 0, 0, 0},
22883 { SWIG_PY_INT
, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT
, 0, 0, 0},
22884 { SWIG_PY_INT
, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS
, 0, 0, 0},
22885 { SWIG_PY_INT
, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT
, 0, 0, 0},
22886 { SWIG_PY_INT
, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM
, 0, 0, 0},
22887 { SWIG_PY_INT
, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST
, 0, 0, 0},
22888 { SWIG_PY_INT
, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST
, 0, 0, 0},
22889 { SWIG_PY_INT
, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO
, 0, 0, 0},
22890 { SWIG_PY_INT
, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT
, 0, 0, 0},
22891 { SWIG_PY_INT
, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE
, 0, 0, 0},
22892 { SWIG_PY_INT
, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT
, 0, 0, 0},
22893 { SWIG_PY_INT
, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS
, 0, 0, 0},
22894 { SWIG_PY_INT
, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT
, 0, 0, 0},
22895 { SWIG_PY_INT
, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM
, 0, 0, 0},
22896 { SWIG_PY_INT
, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST
, 0, 0, 0},
22897 { SWIG_PY_INT
, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST
, 0, 0, 0},
22898 { SWIG_PY_INT
, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO
, 0, 0, 0},
22908 SWIGEXPORT(void) SWIG_init(void) {
22909 static PyObject
*SWIG_globals
= 0;
22910 static int typeinit
= 0;
22913 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
22914 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
22915 d
= PyModule_GetDict(m
);
22918 for (i
= 0; swig_types_initial
[i
]; i
++) {
22919 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
22923 SWIG_InstallConstants(d
,swig_const_table
);
22925 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
22926 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
22927 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
22928 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
22929 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
22930 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
22931 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
22932 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
22933 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
22934 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
22935 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
22936 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
22937 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
22938 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
22939 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
22940 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
22942 // Map renamed classes back to their common name for OOR
22943 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
22944 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
22945 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
22947 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
22948 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
22949 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
22950 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
22951 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
22952 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
22953 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
22954 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
22955 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
22956 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
22957 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
22958 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
22959 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
22960 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
22961 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
22962 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
22963 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
22964 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
22965 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
22966 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
22968 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");