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);
127 /***********************************************************************
128 * pyrun.swg for wxPython
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
206 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharPtr(const char* cptr
);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject
* obj
);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject
* obj
, const char* type
,
209 long min_value
, long max_value
);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject
*obj
, const char* type
,
211 unsigned long max_value
);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject
*obj
, swig_type_info
* pchar_info
,
214 char** cptr
, size_t* size
);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject
*obj
, swig_type_info
* pchar_info
,
216 char* carray
, size_t size
);
217 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharArray(const char* carray
, size_t size
);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject
*obj
, py_objasdbl_conv pyconv
);
221 /* Contract support */
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
231 /* -------- TYPES TABLE (BEGIN) -------- */
233 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
234 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
235 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
236 #define SWIGTYPE_p_wxPyPanel swig_types[3]
237 #define SWIGTYPE_p_wxMenu swig_types[4]
238 #define SWIGTYPE_p_wxPrintData swig_types[5]
239 #define SWIGTYPE_p_wxFontData swig_types[6]
240 #define SWIGTYPE_p_wxEvent swig_types[7]
241 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
242 #define SWIGTYPE_p_wxIconBundle swig_types[9]
243 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
244 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
245 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
246 #define SWIGTYPE_p_wxFont swig_types[13]
247 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
248 #define SWIGTYPE_p_wxRegion swig_types[15]
249 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
250 #define SWIGTYPE_p_int swig_types[17]
251 #define SWIGTYPE_p_wxSize swig_types[18]
252 #define SWIGTYPE_p_wxDC swig_types[19]
253 #define SWIGTYPE_p_wxIcon swig_types[20]
254 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
255 #define SWIGTYPE_p_wxColourData swig_types[22]
256 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
257 #define SWIGTYPE_p_wxPyWindow swig_types[24]
258 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
259 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
260 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
261 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
262 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
263 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
264 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
265 #define SWIGTYPE_p_wxFileDialog swig_types[32]
266 #define SWIGTYPE_p_wxPrinter swig_types[33]
267 #define SWIGTYPE_p_wxArrayInt swig_types[34]
268 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
269 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
270 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
271 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
272 #define SWIGTYPE_p_wxRect swig_types[39]
273 #define SWIGTYPE_p_char swig_types[40]
274 #define SWIGTYPE_p_wxMiniFrame swig_types[41]
275 #define SWIGTYPE_p_wxFrame swig_types[42]
276 #define SWIGTYPE_p_wxPyPrintout swig_types[43]
277 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[44]
278 #define SWIGTYPE_p_wxScrollWinEvent swig_types[45]
279 #define SWIGTYPE_p_wxStatusBar swig_types[46]
280 #define SWIGTYPE_p_wxMDIParentFrame swig_types[47]
281 #define SWIGTYPE_p_wxPoint swig_types[48]
282 #define SWIGTYPE_p_wxObject swig_types[49]
283 #define SWIGTYPE_p_unsigned_long swig_types[50]
284 #define SWIGTYPE_p_wxMDIClientWindow swig_types[51]
285 #define SWIGTYPE_p_wxTipWindow swig_types[52]
286 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[53]
287 #define SWIGTYPE_p_wxSplitterWindow swig_types[54]
288 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[55]
289 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[56]
290 #define SWIGTYPE_p_wxPopupWindow swig_types[57]
291 #define SWIGTYPE_p_wxSashWindow swig_types[58]
292 #define SWIGTYPE_p_wxTopLevelWindow swig_types[59]
293 #define SWIGTYPE_p_wxWindow swig_types[60]
294 #define SWIGTYPE_p_wxScrolledWindow swig_types[61]
295 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[62]
296 #define SWIGTYPE_p_wxMenuBar swig_types[63]
297 #define SWIGTYPE_p_wxPrintPreview swig_types[64]
298 #define SWIGTYPE_p_wxSashEvent swig_types[65]
299 #define SWIGTYPE_p_wxString swig_types[66]
300 #define SWIGTYPE_p_wxPyPrintPreview swig_types[67]
301 #define SWIGTYPE_p_wxPageSetupDialog swig_types[68]
302 #define SWIGTYPE_p_wxFontDialog swig_types[69]
303 #define SWIGTYPE_p_wxDirDialog swig_types[70]
304 #define SWIGTYPE_p_wxColourDialog swig_types[71]
305 #define SWIGTYPE_p_wxDialog swig_types[72]
306 #define SWIGTYPE_p_wxPanel swig_types[73]
307 #define SWIGTYPE_p_wxPrintDialog swig_types[74]
308 #define SWIGTYPE_p_wxBitmap swig_types[75]
309 #define SWIGTYPE_p_wxCommandEvent swig_types[76]
310 #define SWIGTYPE_p_wxPreviewControlBar swig_types[77]
311 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[78]
312 #define SWIGTYPE_p_wxColour swig_types[79]
313 #define SWIGTYPE_p_wxToolBar swig_types[80]
314 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[81]
315 #define SWIGTYPE_p_wxPrintDialogData swig_types[82]
316 static swig_type_info
*swig_types
[84];
318 /* -------- TYPES TABLE (END) -------- */
321 /*-----------------------------------------------
322 @(target):= _windows.so
323 ------------------------------------------------*/
324 #define SWIG_init init_windows
326 #define SWIG_name "_windows"
334 #define SWIGSTATIC(a) static inline a
336 #define SWIGSTATIC(a) static a
342 #ifdef HAVE_NUMERIC_CAST
343 #define numeric_cast(type,a) numeric_cast<type>(a)
345 #define numeric_cast(type,a) static_cast<type>(a)
348 #define numeric_cast(type,a) (type)(a)
354 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
355 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
356 #define SWIG_PyObj_FromShort PyInt_FromLong
357 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
358 #define SWIG_PyObj_FromInt PyInt_FromLong
359 #define SWIG_PyObj_FromLong PyInt_FromLong
360 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
361 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
362 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
363 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
366 #include "wx/wxPython/wxPython.h"
367 #include "wx/wxPython/pyclasses.h"
370 static const wxString
wxPyEmptyString(wxEmptyString
);
371 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
376 SWIG_PyObj_AsInt(PyObject
*obj
)
378 return numeric_cast(int,
379 SWIG_PyObj_AsLongInRange(obj
, "int", INT_MIN
, INT_MAX
));
384 SWIG_PyObj_AsLong(PyObject
* obj
)
386 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
390 SWIGSTATIC(PyObject
*)
391 SWIG_PyObj_FromBool(bool value
)
393 PyObject
*obj
= value
? Py_True
: Py_False
;
400 SWIG_PyObj_AsBool(PyObject
*obj
)
402 return PyObject_IsTrue(obj
) ? true : false;
406 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
412 } else if (target
== Py_None
) {
416 if (!PyTuple_Check(target
)) {
418 target
= PyTuple_New(1);
419 PyTuple_SetItem(target
, 0, o2
);
422 PyTuple_SetItem(o3
, 0, o
);
425 target
= PySequence_Concat(o2
, o3
);
434 SWIG_PyObj_AsDouble(PyObject
*obj
)
436 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
438 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
440 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
442 if (PyErr_Occurred()) {
444 PyErr_SetString(PyExc_TypeError
, "a double is expected");
448 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
449 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
450 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
451 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
452 bool wxDialog_IsModalShowing(wxDialog
*self
){
454 return self
->m_modalShowing
;
461 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
463 self
->GetFieldRect(i
, r
);
466 static const wxString
wxPySplitterNameStr(wxT("splitter"));
467 static const wxString
wxPySashNameStr(wxT("sashWindow"));
468 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
470 #include <wx/popupwin.h>
473 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
476 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
477 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
478 : wxPopupTransientWindow(parent
, style
) {}
480 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
481 DEC_PYCALLBACK__(OnDismiss
);
482 DEC_PYCALLBACK_BOOL_(CanDismiss
);
487 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
488 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
489 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
492 #include <wx/tipwin.h>
494 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
495 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
498 #include <wx/tipwin.h>
501 #include <wx/vscroll.h>
504 class wxPyVScrolledWindow
: public wxVScrolledWindow
506 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
508 wxPyVScrolledWindow() : wxVScrolledWindow() {}
510 wxPyVScrolledWindow(wxWindow
*parent
,
511 wxWindowID id
= wxID_ANY
,
512 const wxPoint
& pos
= wxDefaultPosition
,
513 const wxSize
& size
= wxDefaultSize
,
515 const wxString
& name
= wxPyPanelNameStr
)
516 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
519 // Overridable virtuals
521 // this function must be overridden in the derived class and it should
522 // return the height of the given line in pixels
523 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
526 // this function doesn't have to be overridden but it may be useful to do
527 // it if calculating the lines heights is a relatively expensive operation
528 // as it gives the user code a possibility to calculate several of them at
531 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
532 // shouldn't rely on the latter being called for all lines in the interval
533 // specified here. It is also possible that OnGetLineHeight() will be
534 // called for the lines outside of this interval, so this is really just a
535 // hint, not a promise.
537 // finally note that lineMin is inclusive, while lineMax is exclusive, as
539 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
542 // when the number of lines changes, we try to estimate the total height
543 // of all lines which is a rather expensive operation in terms of lines
544 // access, so if the user code may estimate the average height
545 // better/faster than we do, it should override this function to implement
548 // this function should return the best guess for the total height it may
550 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
553 // Also expose some other interesting protected methods
556 // find the index of the line we need to show at the top of the window such
557 // that the last (fully or partially) visible line is the given one
558 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
559 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
561 // get the total height of the lines between lineMin (inclusive) and
562 // lineMax (exclusive)
563 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
564 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
570 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
572 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
573 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
574 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
577 SWIGSTATIC(PyObject
* )
578 SWIG_PyObj_FromUnsignedLong(unsigned long value
)
580 return (value
> (unsigned long)(LONG_MAX
)) ?
581 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
585 #include <wx/vlbox.h>
587 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
589 class wxPyVListBox
: public wxVListBox
591 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
593 wxPyVListBox() : wxVListBox() {}
595 wxPyVListBox(wxWindow
*parent
,
596 wxWindowID id
= wxID_ANY
,
597 const wxPoint
& pos
= wxDefaultPosition
,
598 const wxSize
& size
= wxDefaultSize
,
600 const wxString
& name
= wxPyVListBoxNameStr
)
601 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
604 // Overridable virtuals
606 // the derived class must implement this function to actually draw the item
607 // with the given index on the provided DC
608 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
609 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
612 // the derived class must implement this method to return the height of the
614 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
615 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
618 // this method may be used to draw separators between the lines; note that
619 // the rectangle may be modified, typically to deflate it a bit before
620 // passing to OnDrawItem()
622 // the base class version doesn't do anything
623 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
624 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
627 // this method is used to draw the items background and, maybe, a border
630 // the base class version implements a reasonable default behaviour which
631 // consists in drawing the selected item with the standard background
632 // colour and drawing a border around the item if it is either selected or
634 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
635 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
641 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
643 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
644 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
645 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
646 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
650 #include <wx/htmllbox.h>
653 class wxPyHtmlListBox
: public wxHtmlListBox
655 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
657 wxPyHtmlListBox() : wxHtmlListBox() {}
659 wxPyHtmlListBox(wxWindow
*parent
,
660 wxWindowID id
= wxID_ANY
,
661 const wxPoint
& pos
= wxDefaultPosition
,
662 const wxSize
& size
= wxDefaultSize
,
664 const wxString
& name
= wxPyVListBoxNameStr
)
665 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
668 // Overridable virtuals
670 // this method must be implemented in the derived class and should return
671 // the body (i.e. without <html>) of the HTML for the given item
672 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
674 // this function may be overridden to decorate HTML returned by OnGetItem()
675 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
678 // // this method allows to customize the selection appearance: it may be used
679 // // to specify the colour of the text which normally has the given colour
680 // // colFg when it is inside the selection
682 // // by default, the original colour is not used at all and all text has the
683 // // same (default for this system) colour inside selection
684 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
686 // // this is the same as GetSelectedTextColour() but allows to customize the
687 // // background colour -- this is even more rarely used as you can change it
688 // // globally using SetSelectionBackground()
689 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
696 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
698 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
699 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
706 // implement dummy classes and such for wxMac
708 class wxTaskBarIcon
: public wxEvtHandler
711 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
715 class wxTaskBarIconEvent
: public wxEvent
718 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
719 { wxPyRaiseNotImplemented(); }
720 virtual wxEvent
* Clone() const { return NULL
; }
724 wxEVT_TASKBAR_MOVE
= 0,
725 wxEVT_TASKBAR_LEFT_DOWN
= 0,
726 wxEVT_TASKBAR_LEFT_UP
= 0,
727 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
728 wxEVT_TASKBAR_RIGHT_UP
= 0,
729 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
730 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
734 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
735 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
736 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
737 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
738 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
739 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
740 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
742 self
->GetFilenames(arr
);
743 return wxArrayString2PyList_helper(arr
);
745 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
748 return wxArrayString2PyList_helper(arr
);
750 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
751 return wxArrayInt2PyList_helper(self
->GetSelections());
753 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
754 return new wxSingleChoiceDialog(parent
, message
, caption
,
755 choices
, choices_array
, NULL
, style
, pos
);
760 // C++ version of Python aware wxWindow
761 class wxPyWindow
: public wxWindow
763 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
765 wxPyWindow() : wxWindow() {}
766 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
767 const wxPoint
& pos
= wxDefaultPosition
,
768 const wxSize
& size
= wxDefaultSize
,
770 const wxString
& name
= wxPyPanelNameStr
)
771 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
774 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
775 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
776 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
777 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
779 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
780 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
781 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
783 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
784 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
786 DEC_PYCALLBACK__(InitDialog
);
787 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
788 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
789 DEC_PYCALLBACK_BOOL_(Validate
);
791 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
792 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
793 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
795 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
796 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
801 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
803 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
804 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
805 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
806 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
808 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
809 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
810 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
812 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
813 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
815 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
816 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
817 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
818 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
820 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
821 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
822 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
824 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
825 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
828 // C++ version of Python aware wxPanel
829 class wxPyPanel
: public wxPanel
831 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
833 wxPyPanel() : wxPanel() {}
834 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
835 const wxPoint
& pos
= wxDefaultPosition
,
836 const wxSize
& size
= wxDefaultSize
,
838 const wxString
& name
= wxPyPanelNameStr
)
839 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
842 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
843 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
844 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
845 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
847 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
848 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
849 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
851 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
852 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
854 DEC_PYCALLBACK__(InitDialog
);
855 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
856 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
857 DEC_PYCALLBACK_BOOL_(Validate
);
859 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
860 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
861 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
863 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
864 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
869 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
871 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
872 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
873 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
874 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
876 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
877 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
878 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
880 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
881 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
883 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
884 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
885 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
886 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
888 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
889 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
890 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
892 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
893 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
897 #include "wx/wxPython/printfw.h"
900 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
901 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
905 // Since this one would be tough and ugly to do with the Macros...
906 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
910 wxPyBeginBlockThreads();
911 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
912 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
913 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
916 val
= PyTuple_GetItem(result
, 0);
917 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
920 val
= PyTuple_GetItem(result
, 1);
921 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
924 val
= PyTuple_GetItem(result
, 2);
925 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
928 val
= PyTuple_GetItem(result
, 3);
929 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
936 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
941 wxPyEndBlockThreads();
943 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
946 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
947 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
951 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
952 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
953 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
954 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
955 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
956 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
957 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
963 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
964 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
965 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
968 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
969 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
972 wxPyBeginBlockThreads(); \
973 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
974 PyObject* win = wxPyMake_wxObject(a); \
975 PyObject* dc = wxPyMake_wxObject(&b); \
976 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
980 wxPyEndBlockThreads(); \
982 rval = PCLASS::CBNAME(a, b); \
985 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
986 return PCLASS::CBNAME(a, b); \
992 class wxPyPrintPreview
: public wxPrintPreview
994 DECLARE_CLASS(wxPyPrintPreview
)
996 wxPyPrintPreview(wxPyPrintout
* printout
,
997 wxPyPrintout
* printoutForPrinting
,
998 wxPrintData
* data
=NULL
)
999 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1002 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1003 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1004 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1005 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1006 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1007 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1008 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1013 // Stupid renamed classes... Fix this in 2.5...
1014 #if defined(__WXMSW__)
1015 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1016 #elif defined(__WXMAC__)
1017 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1019 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1022 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1023 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1024 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1025 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1026 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1027 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1028 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1031 class wxPyPreviewFrame
: public wxPreviewFrame
1033 DECLARE_CLASS(wxPyPreviewFrame
);
1035 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1036 const wxString
& title
,
1037 const wxPoint
& pos
= wxDefaultPosition
,
1038 const wxSize
& size
= wxDefaultSize
,
1039 long style
= wxDEFAULT_FRAME_STYLE
,
1040 const wxString
& name
= wxPyFrameNameStr
)
1041 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1044 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1045 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1047 DEC_PYCALLBACK_VOID_(Initialize
);
1048 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1049 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1054 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1056 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1057 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1058 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1061 class wxPyPreviewControlBar
: public wxPreviewControlBar
1063 DECLARE_CLASS(wxPyPreviewControlBar
);
1065 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1068 const wxPoint
& pos
= wxDefaultPosition
,
1069 const wxSize
& size
= wxDefaultSize
,
1071 const wxString
& name
= wxPyPanelNameStr
)
1072 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1075 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1077 DEC_PYCALLBACK_VOID_(CreateButtons
);
1078 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1083 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1084 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1085 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1090 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1091 PyObject
*resultobj
;
1092 wxWindow
*arg1
= (wxWindow
*) 0 ;
1093 int arg2
= (int) (int)-1 ;
1094 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1095 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1096 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1097 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1098 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1099 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1100 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1104 bool temp6
= False
;
1105 PyObject
* obj0
= 0 ;
1106 PyObject
* obj1
= 0 ;
1107 PyObject
* obj2
= 0 ;
1108 PyObject
* obj3
= 0 ;
1109 PyObject
* obj4
= 0 ;
1110 PyObject
* obj5
= 0 ;
1112 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1119 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
1120 if (PyErr_Occurred()) SWIG_fail
;
1126 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1132 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1137 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
1138 if (PyErr_Occurred()) SWIG_fail
;
1143 arg6
= wxString_in_helper(obj5
);
1144 if (arg6
== NULL
) SWIG_fail
;
1149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1150 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1152 wxPyEndAllowThreads(__tstate
);
1153 if (PyErr_Occurred()) SWIG_fail
;
1155 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPanel
, 1);
1170 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1171 PyObject
*resultobj
;
1177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1180 result
= (wxPanel
*)new wxPanel();
1182 wxPyEndAllowThreads(__tstate
);
1183 if (PyErr_Occurred()) SWIG_fail
;
1185 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPanel
, 1);
1192 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1193 PyObject
*resultobj
;
1194 wxPanel
*arg1
= (wxPanel
*) 0 ;
1195 wxWindow
*arg2
= (wxWindow
*) 0 ;
1197 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1198 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1199 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1200 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1201 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1202 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1203 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1207 bool temp7
= False
;
1208 PyObject
* obj0
= 0 ;
1209 PyObject
* obj1
= 0 ;
1210 PyObject
* obj2
= 0 ;
1211 PyObject
* obj3
= 0 ;
1212 PyObject
* obj4
= 0 ;
1213 PyObject
* obj5
= 0 ;
1214 PyObject
* obj6
= 0 ;
1216 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1221 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1223 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
1224 if (PyErr_Occurred()) SWIG_fail
;
1229 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1235 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1240 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1241 if (PyErr_Occurred()) SWIG_fail
;
1246 arg7
= wxString_in_helper(obj6
);
1247 if (arg7
== NULL
) SWIG_fail
;
1252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1253 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1255 wxPyEndAllowThreads(__tstate
);
1256 if (PyErr_Occurred()) SWIG_fail
;
1258 resultobj
= SWIG_PyObj_FromBool((bool)result
);
1273 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1274 PyObject
*resultobj
;
1275 wxPanel
*arg1
= (wxPanel
*) 0 ;
1276 PyObject
* obj0
= 0 ;
1278 (char *) "self", NULL
1281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1285 (arg1
)->InitDialog();
1287 wxPyEndAllowThreads(__tstate
);
1288 if (PyErr_Occurred()) SWIG_fail
;
1290 Py_INCREF(Py_None
); resultobj
= Py_None
;
1297 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1299 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1300 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1302 return Py_BuildValue((char *)"");
1304 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1305 PyObject
*resultobj
;
1306 wxWindow
*arg1
= (wxWindow
*) 0 ;
1307 int arg2
= (int) (int)-1 ;
1308 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1309 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1310 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1311 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1312 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1313 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1314 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1315 wxScrolledWindow
*result
;
1318 bool temp6
= False
;
1319 PyObject
* obj0
= 0 ;
1320 PyObject
* obj1
= 0 ;
1321 PyObject
* obj2
= 0 ;
1322 PyObject
* obj3
= 0 ;
1323 PyObject
* obj4
= 0 ;
1324 PyObject
* obj5
= 0 ;
1326 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1333 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
1334 if (PyErr_Occurred()) SWIG_fail
;
1340 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1346 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1351 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
1352 if (PyErr_Occurred()) SWIG_fail
;
1357 arg6
= wxString_in_helper(obj5
);
1358 if (arg6
== NULL
) SWIG_fail
;
1363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1364 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1366 wxPyEndAllowThreads(__tstate
);
1367 if (PyErr_Occurred()) SWIG_fail
;
1369 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrolledWindow
, 1);
1384 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1385 PyObject
*resultobj
;
1386 wxScrolledWindow
*result
;
1391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1394 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1396 wxPyEndAllowThreads(__tstate
);
1397 if (PyErr_Occurred()) SWIG_fail
;
1399 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrolledWindow
, 1);
1406 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1407 PyObject
*resultobj
;
1408 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1409 wxWindow
*arg2
= (wxWindow
*) 0 ;
1410 int arg3
= (int) (int)-1 ;
1411 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1412 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1413 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1414 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1415 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1416 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1417 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1421 bool temp7
= False
;
1422 PyObject
* obj0
= 0 ;
1423 PyObject
* obj1
= 0 ;
1424 PyObject
* obj2
= 0 ;
1425 PyObject
* obj3
= 0 ;
1426 PyObject
* obj4
= 0 ;
1427 PyObject
* obj5
= 0 ;
1428 PyObject
* obj6
= 0 ;
1430 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1435 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1438 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
1439 if (PyErr_Occurred()) SWIG_fail
;
1445 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1451 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1456 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1457 if (PyErr_Occurred()) SWIG_fail
;
1462 arg7
= wxString_in_helper(obj6
);
1463 if (arg7
== NULL
) SWIG_fail
;
1468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1469 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1471 wxPyEndAllowThreads(__tstate
);
1472 if (PyErr_Occurred()) SWIG_fail
;
1474 resultobj
= SWIG_PyObj_FromBool((bool)result
);
1489 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1490 PyObject
*resultobj
;
1491 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1496 int arg6
= (int) 0 ;
1497 int arg7
= (int) 0 ;
1498 bool arg8
= (bool) False
;
1499 PyObject
* obj0
= 0 ;
1500 PyObject
* obj1
= 0 ;
1501 PyObject
* obj2
= 0 ;
1502 PyObject
* obj3
= 0 ;
1503 PyObject
* obj4
= 0 ;
1504 PyObject
* obj5
= 0 ;
1505 PyObject
* obj6
= 0 ;
1506 PyObject
* obj7
= 0 ;
1508 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1514 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1515 if (PyErr_Occurred()) SWIG_fail
;
1518 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1519 if (PyErr_Occurred()) SWIG_fail
;
1522 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
1523 if (PyErr_Occurred()) SWIG_fail
;
1526 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
1527 if (PyErr_Occurred()) SWIG_fail
;
1531 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
1532 if (PyErr_Occurred()) SWIG_fail
;
1537 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
1538 if (PyErr_Occurred()) SWIG_fail
;
1543 arg8
= (bool) SWIG_PyObj_AsBool(obj7
);
1544 if (PyErr_Occurred()) SWIG_fail
;
1548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1549 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1551 wxPyEndAllowThreads(__tstate
);
1552 if (PyErr_Occurred()) SWIG_fail
;
1554 Py_INCREF(Py_None
); resultobj
= Py_None
;
1561 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1562 PyObject
*resultobj
;
1563 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1566 PyObject
* obj0
= 0 ;
1567 PyObject
* obj1
= 0 ;
1568 PyObject
* obj2
= 0 ;
1570 (char *) "self",(char *) "x",(char *) "y", NULL
1573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1576 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1577 if (PyErr_Occurred()) SWIG_fail
;
1580 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1581 if (PyErr_Occurred()) SWIG_fail
;
1584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1585 (arg1
)->Scroll(arg2
,arg3
);
1587 wxPyEndAllowThreads(__tstate
);
1588 if (PyErr_Occurred()) SWIG_fail
;
1590 Py_INCREF(Py_None
); resultobj
= Py_None
;
1597 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1598 PyObject
*resultobj
;
1599 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1602 PyObject
* obj0
= 0 ;
1603 PyObject
* obj1
= 0 ;
1605 (char *) "self",(char *) "orient", NULL
1608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1611 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1612 if (PyErr_Occurred()) SWIG_fail
;
1615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1616 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1618 wxPyEndAllowThreads(__tstate
);
1619 if (PyErr_Occurred()) SWIG_fail
;
1621 resultobj
= SWIG_PyObj_FromInt((int)result
);
1628 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1629 PyObject
*resultobj
;
1630 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1633 PyObject
* obj0
= 0 ;
1634 PyObject
* obj1
= 0 ;
1635 PyObject
* obj2
= 0 ;
1637 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1643 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1644 if (PyErr_Occurred()) SWIG_fail
;
1647 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1648 if (PyErr_Occurred()) SWIG_fail
;
1651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1652 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1654 wxPyEndAllowThreads(__tstate
);
1655 if (PyErr_Occurred()) SWIG_fail
;
1657 Py_INCREF(Py_None
); resultobj
= Py_None
;
1664 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1665 PyObject
*resultobj
;
1666 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1669 PyObject
* obj0
= 0 ;
1670 PyObject
* obj1
= 0 ;
1671 PyObject
* obj2
= 0 ;
1673 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1679 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1680 if (PyErr_Occurred()) SWIG_fail
;
1683 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1684 if (PyErr_Occurred()) SWIG_fail
;
1687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1688 (arg1
)->SetScrollRate(arg2
,arg3
);
1690 wxPyEndAllowThreads(__tstate
);
1691 if (PyErr_Occurred()) SWIG_fail
;
1693 Py_INCREF(Py_None
); resultobj
= Py_None
;
1700 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1701 PyObject
*resultobj
;
1702 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1703 int *arg2
= (int *) 0 ;
1704 int *arg3
= (int *) 0 ;
1707 PyObject
* obj0
= 0 ;
1709 (char *) "self", NULL
1714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1718 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1720 wxPyEndAllowThreads(__tstate
);
1721 if (PyErr_Occurred()) SWIG_fail
;
1723 Py_INCREF(Py_None
); resultobj
= Py_None
;
1725 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1726 resultobj
= t_output_helper(resultobj
,o
);
1729 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1730 resultobj
= t_output_helper(resultobj
,o
);
1738 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1739 PyObject
*resultobj
;
1740 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1743 PyObject
* obj0
= 0 ;
1744 PyObject
* obj1
= 0 ;
1745 PyObject
* obj2
= 0 ;
1747 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1753 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
1754 if (PyErr_Occurred()) SWIG_fail
;
1757 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
1758 if (PyErr_Occurred()) SWIG_fail
;
1761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1762 (arg1
)->EnableScrolling(arg2
,arg3
);
1764 wxPyEndAllowThreads(__tstate
);
1765 if (PyErr_Occurred()) SWIG_fail
;
1767 Py_INCREF(Py_None
); resultobj
= Py_None
;
1774 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1775 PyObject
*resultobj
;
1776 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1777 int *arg2
= (int *) 0 ;
1778 int *arg3
= (int *) 0 ;
1781 PyObject
* obj0
= 0 ;
1783 (char *) "self", NULL
1788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1792 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1794 wxPyEndAllowThreads(__tstate
);
1795 if (PyErr_Occurred()) SWIG_fail
;
1797 Py_INCREF(Py_None
); resultobj
= Py_None
;
1799 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1800 resultobj
= t_output_helper(resultobj
,o
);
1803 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1804 resultobj
= t_output_helper(resultobj
,o
);
1812 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1813 PyObject
*resultobj
;
1814 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1817 PyObject
* obj0
= 0 ;
1818 PyObject
* obj1
= 0 ;
1819 PyObject
* obj2
= 0 ;
1821 (char *) "self",(char *) "xs",(char *) "ys", NULL
1824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1827 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
1828 if (PyErr_Occurred()) SWIG_fail
;
1831 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
1832 if (PyErr_Occurred()) SWIG_fail
;
1835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1836 (arg1
)->SetScale(arg2
,arg3
);
1838 wxPyEndAllowThreads(__tstate
);
1839 if (PyErr_Occurred()) SWIG_fail
;
1841 Py_INCREF(Py_None
); resultobj
= Py_None
;
1848 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1849 PyObject
*resultobj
;
1850 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1852 PyObject
* obj0
= 0 ;
1854 (char *) "self", NULL
1857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
1858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1861 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
1863 wxPyEndAllowThreads(__tstate
);
1864 if (PyErr_Occurred()) SWIG_fail
;
1866 resultobj
= SWIG_PyObj_FromDouble((double)result
);
1873 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1874 PyObject
*resultobj
;
1875 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1877 PyObject
* obj0
= 0 ;
1879 (char *) "self", NULL
1882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
1883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1886 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
1888 wxPyEndAllowThreads(__tstate
);
1889 if (PyErr_Occurred()) SWIG_fail
;
1891 resultobj
= SWIG_PyObj_FromDouble((double)result
);
1898 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
1899 PyObject
*resultobj
;
1900 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1904 PyObject
* obj0
= 0 ;
1905 PyObject
* obj1
= 0 ;
1907 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
1908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1911 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1915 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
1917 wxPyEndAllowThreads(__tstate
);
1918 if (PyErr_Occurred()) SWIG_fail
;
1921 wxPoint
* resultptr
;
1922 resultptr
= new wxPoint((wxPoint
&) result
);
1923 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
1931 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
1932 PyObject
*resultobj
;
1933 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1936 int *arg4
= (int *) 0 ;
1937 int *arg5
= (int *) 0 ;
1940 PyObject
* obj0
= 0 ;
1941 PyObject
* obj1
= 0 ;
1942 PyObject
* obj2
= 0 ;
1946 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
1947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1949 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1950 if (PyErr_Occurred()) SWIG_fail
;
1953 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1954 if (PyErr_Occurred()) SWIG_fail
;
1957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1958 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
1960 wxPyEndAllowThreads(__tstate
);
1961 if (PyErr_Occurred()) SWIG_fail
;
1963 Py_INCREF(Py_None
); resultobj
= Py_None
;
1965 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1966 resultobj
= t_output_helper(resultobj
,o
);
1969 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1970 resultobj
= t_output_helper(resultobj
,o
);
1978 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
1983 argc
= PyObject_Length(args
);
1984 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
1985 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1991 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2000 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2003 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2011 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2020 SWIG_PyObj_AsInt(argv
[1]);
2021 if (PyErr_Occurred()) {
2030 SWIG_PyObj_AsInt(argv
[2]);
2031 if (PyErr_Occurred()) {
2039 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2045 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2050 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2051 PyObject
*resultobj
;
2052 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2056 PyObject
* obj0
= 0 ;
2057 PyObject
* obj1
= 0 ;
2059 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2063 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2067 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2069 wxPyEndAllowThreads(__tstate
);
2070 if (PyErr_Occurred()) SWIG_fail
;
2073 wxPoint
* resultptr
;
2074 resultptr
= new wxPoint((wxPoint
&) result
);
2075 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2083 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2084 PyObject
*resultobj
;
2085 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2088 int *arg4
= (int *) 0 ;
2089 int *arg5
= (int *) 0 ;
2092 PyObject
* obj0
= 0 ;
2093 PyObject
* obj1
= 0 ;
2094 PyObject
* obj2
= 0 ;
2098 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2101 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2102 if (PyErr_Occurred()) SWIG_fail
;
2105 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2106 if (PyErr_Occurred()) SWIG_fail
;
2109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2110 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2112 wxPyEndAllowThreads(__tstate
);
2113 if (PyErr_Occurred()) SWIG_fail
;
2115 Py_INCREF(Py_None
); resultobj
= Py_None
;
2117 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2118 resultobj
= t_output_helper(resultobj
,o
);
2121 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2122 resultobj
= t_output_helper(resultobj
,o
);
2130 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2135 argc
= PyObject_Length(args
);
2136 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2137 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2143 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2152 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2155 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2163 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2172 SWIG_PyObj_AsInt(argv
[1]);
2173 if (PyErr_Occurred()) {
2182 SWIG_PyObj_AsInt(argv
[2]);
2183 if (PyErr_Occurred()) {
2191 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2197 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2202 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2203 PyObject
*resultobj
;
2204 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2205 PyObject
* obj0
= 0 ;
2207 (char *) "self", NULL
2210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2214 (arg1
)->AdjustScrollbars();
2216 wxPyEndAllowThreads(__tstate
);
2217 if (PyErr_Occurred()) SWIG_fail
;
2219 Py_INCREF(Py_None
); resultobj
= Py_None
;
2226 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2227 PyObject
*resultobj
;
2228 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2229 wxScrollWinEvent
*arg2
= 0 ;
2231 PyObject
* obj0
= 0 ;
2232 PyObject
* obj1
= 0 ;
2234 (char *) "self",(char *) "event", NULL
2237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2239 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2241 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2245 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2247 wxPyEndAllowThreads(__tstate
);
2248 if (PyErr_Occurred()) SWIG_fail
;
2250 resultobj
= SWIG_PyObj_FromInt((int)result
);
2257 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2258 PyObject
*resultobj
;
2259 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2260 wxWindow
*arg2
= (wxWindow
*) 0 ;
2261 PyObject
* obj0
= 0 ;
2262 PyObject
* obj1
= 0 ;
2264 (char *) "self",(char *) "target", NULL
2267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2269 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2272 (arg1
)->SetTargetWindow(arg2
);
2274 wxPyEndAllowThreads(__tstate
);
2275 if (PyErr_Occurred()) SWIG_fail
;
2277 Py_INCREF(Py_None
); resultobj
= Py_None
;
2284 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
*resultobj
;
2286 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2288 PyObject
* obj0
= 0 ;
2290 (char *) "self", NULL
2293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2297 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2299 wxPyEndAllowThreads(__tstate
);
2300 if (PyErr_Occurred()) SWIG_fail
;
2303 resultobj
= wxPyMake_wxObject(result
);
2311 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2313 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2314 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2316 return Py_BuildValue((char *)"");
2318 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2319 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2324 static PyObject
*_wrap_FrameNameStr_get() {
2329 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2331 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2338 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2339 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2344 static PyObject
*_wrap_DialogNameStr_get() {
2349 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2351 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2358 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2359 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2364 static PyObject
*_wrap_StatusLineNameStr_get() {
2369 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2371 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2378 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2379 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2384 static PyObject
*_wrap_ToolBarNameStr_get() {
2389 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2391 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2398 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2399 PyObject
*resultobj
;
2400 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2401 bool arg2
= (bool) True
;
2402 PyObject
* obj0
= 0 ;
2403 PyObject
* obj1
= 0 ;
2405 (char *) "self",(char *) "maximize", NULL
2408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2412 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2413 if (PyErr_Occurred()) SWIG_fail
;
2417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2418 (arg1
)->Maximize(arg2
);
2420 wxPyEndAllowThreads(__tstate
);
2421 if (PyErr_Occurred()) SWIG_fail
;
2423 Py_INCREF(Py_None
); resultobj
= Py_None
;
2430 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2431 PyObject
*resultobj
;
2432 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2433 PyObject
* obj0
= 0 ;
2435 (char *) "self", NULL
2438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2444 wxPyEndAllowThreads(__tstate
);
2445 if (PyErr_Occurred()) SWIG_fail
;
2447 Py_INCREF(Py_None
); resultobj
= Py_None
;
2454 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2455 PyObject
*resultobj
;
2456 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2457 bool arg2
= (bool) True
;
2458 PyObject
* obj0
= 0 ;
2459 PyObject
* obj1
= 0 ;
2461 (char *) "self",(char *) "iconize", NULL
2464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2468 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2469 if (PyErr_Occurred()) SWIG_fail
;
2473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2474 (arg1
)->Iconize(arg2
);
2476 wxPyEndAllowThreads(__tstate
);
2477 if (PyErr_Occurred()) SWIG_fail
;
2479 Py_INCREF(Py_None
); resultobj
= Py_None
;
2486 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2487 PyObject
*resultobj
;
2488 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2490 PyObject
* obj0
= 0 ;
2492 (char *) "self", NULL
2495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2499 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2501 wxPyEndAllowThreads(__tstate
);
2502 if (PyErr_Occurred()) SWIG_fail
;
2504 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2511 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2512 PyObject
*resultobj
;
2513 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2515 PyObject
* obj0
= 0 ;
2517 (char *) "self", NULL
2520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2524 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2526 wxPyEndAllowThreads(__tstate
);
2527 if (PyErr_Occurred()) SWIG_fail
;
2529 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2536 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
*resultobj
;
2538 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2540 PyObject
* obj0
= 0 ;
2542 (char *) "self", NULL
2545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2549 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2551 wxPyEndAllowThreads(__tstate
);
2552 if (PyErr_Occurred()) SWIG_fail
;
2556 resultptr
= new wxIcon((wxIcon
&) result
);
2557 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1);
2565 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2566 PyObject
*resultobj
;
2567 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2569 PyObject
* obj0
= 0 ;
2570 PyObject
* obj1
= 0 ;
2572 (char *) "self",(char *) "icon", NULL
2575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2577 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2579 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2583 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2585 wxPyEndAllowThreads(__tstate
);
2586 if (PyErr_Occurred()) SWIG_fail
;
2588 Py_INCREF(Py_None
); resultobj
= Py_None
;
2595 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2596 PyObject
*resultobj
;
2597 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2598 wxIconBundle
*arg2
= 0 ;
2599 PyObject
* obj0
= 0 ;
2600 PyObject
* obj1
= 0 ;
2602 (char *) "self",(char *) "icons", NULL
2605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2607 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2609 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2613 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2615 wxPyEndAllowThreads(__tstate
);
2616 if (PyErr_Occurred()) SWIG_fail
;
2618 Py_INCREF(Py_None
); resultobj
= Py_None
;
2625 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2626 PyObject
*resultobj
;
2627 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2629 long arg3
= (long) wxFULLSCREEN_ALL
;
2631 PyObject
* obj0
= 0 ;
2632 PyObject
* obj1
= 0 ;
2633 PyObject
* obj2
= 0 ;
2635 (char *) "self",(char *) "show",(char *) "style", NULL
2638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2641 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2642 if (PyErr_Occurred()) SWIG_fail
;
2646 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
2647 if (PyErr_Occurred()) SWIG_fail
;
2651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2652 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2654 wxPyEndAllowThreads(__tstate
);
2655 if (PyErr_Occurred()) SWIG_fail
;
2657 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2664 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2665 PyObject
*resultobj
;
2666 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2668 PyObject
* obj0
= 0 ;
2670 (char *) "self", NULL
2673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2677 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2679 wxPyEndAllowThreads(__tstate
);
2680 if (PyErr_Occurred()) SWIG_fail
;
2682 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2689 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2690 PyObject
*resultobj
;
2691 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2692 wxString
*arg2
= 0 ;
2693 bool temp2
= False
;
2694 PyObject
* obj0
= 0 ;
2695 PyObject
* obj1
= 0 ;
2697 (char *) "self",(char *) "title", NULL
2700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2703 arg2
= wxString_in_helper(obj1
);
2704 if (arg2
== NULL
) SWIG_fail
;
2708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2709 (arg1
)->SetTitle((wxString
const &)*arg2
);
2711 wxPyEndAllowThreads(__tstate
);
2712 if (PyErr_Occurred()) SWIG_fail
;
2714 Py_INCREF(Py_None
); resultobj
= Py_None
;
2729 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2730 PyObject
*resultobj
;
2731 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2733 PyObject
* obj0
= 0 ;
2735 (char *) "self", NULL
2738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2742 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2744 wxPyEndAllowThreads(__tstate
);
2745 if (PyErr_Occurred()) SWIG_fail
;
2749 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2751 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2760 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2761 PyObject
*resultobj
;
2762 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2763 wxRegion
*arg2
= 0 ;
2765 PyObject
* obj0
= 0 ;
2766 PyObject
* obj1
= 0 ;
2768 (char *) "self",(char *) "region", NULL
2771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2773 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2775 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2779 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2781 wxPyEndAllowThreads(__tstate
);
2782 if (PyErr_Occurred()) SWIG_fail
;
2784 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2791 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2793 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2794 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
2796 return Py_BuildValue((char *)"");
2798 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2799 PyObject
*resultobj
;
2800 wxWindow
*arg1
= (wxWindow
*) 0 ;
2802 wxString
*arg3
= 0 ;
2803 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2804 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2805 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2806 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2807 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
2808 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
2809 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2811 bool temp3
= False
;
2814 bool temp7
= False
;
2815 PyObject
* obj0
= 0 ;
2816 PyObject
* obj1
= 0 ;
2817 PyObject
* obj2
= 0 ;
2818 PyObject
* obj3
= 0 ;
2819 PyObject
* obj4
= 0 ;
2820 PyObject
* obj5
= 0 ;
2821 PyObject
* obj6
= 0 ;
2823 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2829 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
2830 if (PyErr_Occurred()) SWIG_fail
;
2833 arg3
= wxString_in_helper(obj2
);
2834 if (arg3
== NULL
) SWIG_fail
;
2840 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2846 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2851 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
2852 if (PyErr_Occurred()) SWIG_fail
;
2857 arg7
= wxString_in_helper(obj6
);
2858 if (arg7
== NULL
) SWIG_fail
;
2863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2864 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2866 wxPyEndAllowThreads(__tstate
);
2867 if (PyErr_Occurred()) SWIG_fail
;
2870 resultobj
= wxPyMake_wxObject(result
);
2894 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2895 PyObject
*resultobj
;
2901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
2903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2904 result
= (wxFrame
*)new wxFrame();
2906 wxPyEndAllowThreads(__tstate
);
2907 if (PyErr_Occurred()) SWIG_fail
;
2910 resultobj
= wxPyMake_wxObject(result
);
2918 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2919 PyObject
*resultobj
;
2920 wxFrame
*arg1
= (wxFrame
*) 0 ;
2921 wxWindow
*arg2
= (wxWindow
*) 0 ;
2923 wxString
*arg4
= 0 ;
2924 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2925 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2926 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2927 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2928 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
2929 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
2930 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2932 bool temp4
= False
;
2935 bool temp8
= False
;
2936 PyObject
* obj0
= 0 ;
2937 PyObject
* obj1
= 0 ;
2938 PyObject
* obj2
= 0 ;
2939 PyObject
* obj3
= 0 ;
2940 PyObject
* obj4
= 0 ;
2941 PyObject
* obj5
= 0 ;
2942 PyObject
* obj6
= 0 ;
2943 PyObject
* obj7
= 0 ;
2945 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2950 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2952 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
2953 if (PyErr_Occurred()) SWIG_fail
;
2956 arg4
= wxString_in_helper(obj3
);
2957 if (arg4
== NULL
) SWIG_fail
;
2963 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2969 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2974 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
2975 if (PyErr_Occurred()) SWIG_fail
;
2980 arg8
= wxString_in_helper(obj7
);
2981 if (arg8
== NULL
) SWIG_fail
;
2986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2987 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
2989 wxPyEndAllowThreads(__tstate
);
2990 if (PyErr_Occurred()) SWIG_fail
;
2992 resultobj
= SWIG_PyObj_FromBool((bool)result
);
3015 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3016 PyObject
*resultobj
;
3017 wxFrame
*arg1
= (wxFrame
*) 0 ;
3019 PyObject
* obj0
= 0 ;
3021 (char *) "self", NULL
3024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3028 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3030 wxPyEndAllowThreads(__tstate
);
3031 if (PyErr_Occurred()) SWIG_fail
;
3034 wxPoint
* resultptr
;
3035 resultptr
= new wxPoint((wxPoint
&) result
);
3036 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3044 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3045 PyObject
*resultobj
;
3046 wxFrame
*arg1
= (wxFrame
*) 0 ;
3047 PyObject
* obj0
= 0 ;
3049 (char *) "self", NULL
3052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3056 (arg1
)->SendSizeEvent();
3058 wxPyEndAllowThreads(__tstate
);
3059 if (PyErr_Occurred()) SWIG_fail
;
3061 Py_INCREF(Py_None
); resultobj
= Py_None
;
3068 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3069 PyObject
*resultobj
;
3070 wxFrame
*arg1
= (wxFrame
*) 0 ;
3071 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3072 PyObject
* obj0
= 0 ;
3073 PyObject
* obj1
= 0 ;
3075 (char *) "self",(char *) "menubar", NULL
3078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3080 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3083 (arg1
)->SetMenuBar(arg2
);
3085 wxPyEndAllowThreads(__tstate
);
3086 if (PyErr_Occurred()) SWIG_fail
;
3088 Py_INCREF(Py_None
); resultobj
= Py_None
;
3095 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3096 PyObject
*resultobj
;
3097 wxFrame
*arg1
= (wxFrame
*) 0 ;
3099 PyObject
* obj0
= 0 ;
3101 (char *) "self", NULL
3104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3108 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3110 wxPyEndAllowThreads(__tstate
);
3111 if (PyErr_Occurred()) SWIG_fail
;
3114 resultobj
= wxPyMake_wxObject(result
);
3122 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3123 PyObject
*resultobj
;
3124 wxFrame
*arg1
= (wxFrame
*) 0 ;
3127 PyObject
* obj0
= 0 ;
3128 PyObject
* obj1
= 0 ;
3130 (char *) "self",(char *) "winid", NULL
3133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3136 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3137 if (PyErr_Occurred()) SWIG_fail
;
3140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3141 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3143 wxPyEndAllowThreads(__tstate
);
3144 if (PyErr_Occurred()) SWIG_fail
;
3146 resultobj
= SWIG_PyObj_FromBool((bool)result
);
3153 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3154 PyObject
*resultobj
;
3155 wxFrame
*arg1
= (wxFrame
*) 0 ;
3156 int arg2
= (int) 1 ;
3157 long arg3
= (long) wxST_SIZEGRIP
;
3158 int arg4
= (int) 0 ;
3159 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3160 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3161 wxStatusBar
*result
;
3162 bool temp5
= False
;
3163 PyObject
* obj0
= 0 ;
3164 PyObject
* obj1
= 0 ;
3165 PyObject
* obj2
= 0 ;
3166 PyObject
* obj3
= 0 ;
3167 PyObject
* obj4
= 0 ;
3169 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3176 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3177 if (PyErr_Occurred()) SWIG_fail
;
3182 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3183 if (PyErr_Occurred()) SWIG_fail
;
3188 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
3189 if (PyErr_Occurred()) SWIG_fail
;
3194 arg5
= wxString_in_helper(obj4
);
3195 if (arg5
== NULL
) SWIG_fail
;
3200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3201 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3203 wxPyEndAllowThreads(__tstate
);
3204 if (PyErr_Occurred()) SWIG_fail
;
3207 resultobj
= wxPyMake_wxObject(result
);
3223 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3224 PyObject
*resultobj
;
3225 wxFrame
*arg1
= (wxFrame
*) 0 ;
3226 wxStatusBar
*result
;
3227 PyObject
* obj0
= 0 ;
3229 (char *) "self", NULL
3232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3236 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3238 wxPyEndAllowThreads(__tstate
);
3239 if (PyErr_Occurred()) SWIG_fail
;
3242 resultobj
= wxPyMake_wxObject(result
);
3250 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3251 PyObject
*resultobj
;
3252 wxFrame
*arg1
= (wxFrame
*) 0 ;
3253 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3254 PyObject
* obj0
= 0 ;
3255 PyObject
* obj1
= 0 ;
3257 (char *) "self",(char *) "statBar", NULL
3260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3262 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 (arg1
)->SetStatusBar(arg2
);
3267 wxPyEndAllowThreads(__tstate
);
3268 if (PyErr_Occurred()) SWIG_fail
;
3270 Py_INCREF(Py_None
); resultobj
= Py_None
;
3277 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3278 PyObject
*resultobj
;
3279 wxFrame
*arg1
= (wxFrame
*) 0 ;
3280 wxString
*arg2
= 0 ;
3281 int arg3
= (int) 0 ;
3282 bool temp2
= False
;
3283 PyObject
* obj0
= 0 ;
3284 PyObject
* obj1
= 0 ;
3285 PyObject
* obj2
= 0 ;
3287 (char *) "self",(char *) "text",(char *) "number", NULL
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3293 arg2
= wxString_in_helper(obj1
);
3294 if (arg2
== NULL
) SWIG_fail
;
3299 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3300 if (PyErr_Occurred()) SWIG_fail
;
3304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3305 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3307 wxPyEndAllowThreads(__tstate
);
3308 if (PyErr_Occurred()) SWIG_fail
;
3310 Py_INCREF(Py_None
); resultobj
= Py_None
;
3325 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3326 PyObject
*resultobj
;
3327 wxFrame
*arg1
= (wxFrame
*) 0 ;
3329 int *arg3
= (int *) 0 ;
3330 PyObject
* obj0
= 0 ;
3331 PyObject
* obj1
= 0 ;
3333 (char *) "self",(char *) "widths", NULL
3336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3339 arg2
= PyList_Size(obj1
);
3340 arg3
= int_LIST_helper(obj1
);
3341 if (arg3
== NULL
) SWIG_fail
;
3344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3345 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3347 wxPyEndAllowThreads(__tstate
);
3348 if (PyErr_Occurred()) SWIG_fail
;
3350 Py_INCREF(Py_None
); resultobj
= Py_None
;
3352 if (arg3
) delete [] arg3
;
3357 if (arg3
) delete [] arg3
;
3363 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3364 PyObject
*resultobj
;
3365 wxFrame
*arg1
= (wxFrame
*) 0 ;
3366 wxString
*arg2
= 0 ;
3367 int arg3
= (int) 0 ;
3368 bool temp2
= False
;
3369 PyObject
* obj0
= 0 ;
3370 PyObject
* obj1
= 0 ;
3371 PyObject
* obj2
= 0 ;
3373 (char *) "self",(char *) "text",(char *) "number", NULL
3376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3379 arg2
= wxString_in_helper(obj1
);
3380 if (arg2
== NULL
) SWIG_fail
;
3385 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3386 if (PyErr_Occurred()) SWIG_fail
;
3390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3391 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3393 wxPyEndAllowThreads(__tstate
);
3394 if (PyErr_Occurred()) SWIG_fail
;
3396 Py_INCREF(Py_None
); resultobj
= Py_None
;
3411 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3412 PyObject
*resultobj
;
3413 wxFrame
*arg1
= (wxFrame
*) 0 ;
3414 int arg2
= (int) 0 ;
3415 PyObject
* obj0
= 0 ;
3416 PyObject
* obj1
= 0 ;
3418 (char *) "self",(char *) "number", NULL
3421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3425 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3426 if (PyErr_Occurred()) SWIG_fail
;
3430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3431 (arg1
)->PopStatusText(arg2
);
3433 wxPyEndAllowThreads(__tstate
);
3434 if (PyErr_Occurred()) SWIG_fail
;
3436 Py_INCREF(Py_None
); resultobj
= Py_None
;
3443 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3444 PyObject
*resultobj
;
3445 wxFrame
*arg1
= (wxFrame
*) 0 ;
3447 PyObject
* obj0
= 0 ;
3448 PyObject
* obj1
= 0 ;
3450 (char *) "self",(char *) "n", NULL
3453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3456 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3457 if (PyErr_Occurred()) SWIG_fail
;
3460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3461 (arg1
)->SetStatusBarPane(arg2
);
3463 wxPyEndAllowThreads(__tstate
);
3464 if (PyErr_Occurred()) SWIG_fail
;
3466 Py_INCREF(Py_None
); resultobj
= Py_None
;
3473 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3474 PyObject
*resultobj
;
3475 wxFrame
*arg1
= (wxFrame
*) 0 ;
3477 PyObject
* obj0
= 0 ;
3479 (char *) "self", NULL
3482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3486 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3488 wxPyEndAllowThreads(__tstate
);
3489 if (PyErr_Occurred()) SWIG_fail
;
3491 resultobj
= SWIG_PyObj_FromInt((int)result
);
3498 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3499 PyObject
*resultobj
;
3500 wxFrame
*arg1
= (wxFrame
*) 0 ;
3501 long arg2
= (long) -1 ;
3502 int arg3
= (int) -1 ;
3503 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3504 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3506 bool temp4
= False
;
3507 PyObject
* obj0
= 0 ;
3508 PyObject
* obj1
= 0 ;
3509 PyObject
* obj2
= 0 ;
3510 PyObject
* obj3
= 0 ;
3512 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3519 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3520 if (PyErr_Occurred()) SWIG_fail
;
3525 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3526 if (PyErr_Occurred()) SWIG_fail
;
3531 arg4
= wxString_in_helper(obj3
);
3532 if (arg4
== NULL
) SWIG_fail
;
3537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3538 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3540 wxPyEndAllowThreads(__tstate
);
3541 if (PyErr_Occurred()) SWIG_fail
;
3544 resultobj
= wxPyMake_wxObject(result
);
3560 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3561 PyObject
*resultobj
;
3562 wxFrame
*arg1
= (wxFrame
*) 0 ;
3564 PyObject
* obj0
= 0 ;
3566 (char *) "self", NULL
3569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3573 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3575 wxPyEndAllowThreads(__tstate
);
3576 if (PyErr_Occurred()) SWIG_fail
;
3579 resultobj
= wxPyMake_wxObject(result
);
3587 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
*resultobj
;
3589 wxFrame
*arg1
= (wxFrame
*) 0 ;
3590 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3591 PyObject
* obj0
= 0 ;
3592 PyObject
* obj1
= 0 ;
3594 (char *) "self",(char *) "toolbar", NULL
3597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3599 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3602 (arg1
)->SetToolBar(arg2
);
3604 wxPyEndAllowThreads(__tstate
);
3605 if (PyErr_Occurred()) SWIG_fail
;
3607 Py_INCREF(Py_None
); resultobj
= Py_None
;
3614 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3615 PyObject
*resultobj
;
3616 wxFrame
*arg1
= (wxFrame
*) 0 ;
3617 wxString
*arg2
= 0 ;
3619 bool temp2
= False
;
3620 PyObject
* obj0
= 0 ;
3621 PyObject
* obj1
= 0 ;
3622 PyObject
* obj2
= 0 ;
3624 (char *) "self",(char *) "text",(char *) "show", NULL
3627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3630 arg2
= wxString_in_helper(obj1
);
3631 if (arg2
== NULL
) SWIG_fail
;
3635 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
3636 if (PyErr_Occurred()) SWIG_fail
;
3639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3640 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3642 wxPyEndAllowThreads(__tstate
);
3643 if (PyErr_Occurred()) SWIG_fail
;
3645 Py_INCREF(Py_None
); resultobj
= Py_None
;
3660 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3661 PyObject
*resultobj
;
3662 wxFrame
*arg1
= (wxFrame
*) 0 ;
3663 wxMenu
*arg2
= (wxMenu
*) NULL
;
3664 PyObject
* obj0
= 0 ;
3665 PyObject
* obj1
= 0 ;
3667 (char *) "self",(char *) "menu", NULL
3670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3673 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3677 (arg1
)->DoMenuUpdates(arg2
);
3679 wxPyEndAllowThreads(__tstate
);
3680 if (PyErr_Occurred()) SWIG_fail
;
3682 Py_INCREF(Py_None
); resultobj
= Py_None
;
3689 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3692 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3694 return Py_BuildValue((char *)"");
3696 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3697 PyObject
*resultobj
;
3698 wxWindow
*arg1
= (wxWindow
*) 0 ;
3700 wxString
*arg3
= 0 ;
3701 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3702 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3703 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3704 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3705 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3706 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3707 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3709 bool temp3
= False
;
3712 bool temp7
= False
;
3713 PyObject
* obj0
= 0 ;
3714 PyObject
* obj1
= 0 ;
3715 PyObject
* obj2
= 0 ;
3716 PyObject
* obj3
= 0 ;
3717 PyObject
* obj4
= 0 ;
3718 PyObject
* obj5
= 0 ;
3719 PyObject
* obj6
= 0 ;
3721 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3727 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
3728 if (PyErr_Occurred()) SWIG_fail
;
3731 arg3
= wxString_in_helper(obj2
);
3732 if (arg3
== NULL
) SWIG_fail
;
3738 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3744 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3749 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
3750 if (PyErr_Occurred()) SWIG_fail
;
3755 arg7
= wxString_in_helper(obj6
);
3756 if (arg7
== NULL
) SWIG_fail
;
3761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3762 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3764 wxPyEndAllowThreads(__tstate
);
3765 if (PyErr_Occurred()) SWIG_fail
;
3767 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3790 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3791 PyObject
*resultobj
;
3797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
3799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3800 result
= (wxDialog
*)new wxDialog();
3802 wxPyEndAllowThreads(__tstate
);
3803 if (PyErr_Occurred()) SWIG_fail
;
3805 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3812 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3813 PyObject
*resultobj
;
3814 wxDialog
*arg1
= (wxDialog
*) 0 ;
3815 wxWindow
*arg2
= (wxWindow
*) 0 ;
3817 wxString
*arg4
= 0 ;
3818 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3819 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3820 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3821 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3822 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
3823 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
3824 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3826 bool temp4
= False
;
3829 bool temp8
= False
;
3830 PyObject
* obj0
= 0 ;
3831 PyObject
* obj1
= 0 ;
3832 PyObject
* obj2
= 0 ;
3833 PyObject
* obj3
= 0 ;
3834 PyObject
* obj4
= 0 ;
3835 PyObject
* obj5
= 0 ;
3836 PyObject
* obj6
= 0 ;
3837 PyObject
* obj7
= 0 ;
3839 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3844 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3846 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
3847 if (PyErr_Occurred()) SWIG_fail
;
3850 arg4
= wxString_in_helper(obj3
);
3851 if (arg4
== NULL
) SWIG_fail
;
3857 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3863 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3868 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
3869 if (PyErr_Occurred()) SWIG_fail
;
3874 arg8
= wxString_in_helper(obj7
);
3875 if (arg8
== NULL
) SWIG_fail
;
3880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3881 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3883 wxPyEndAllowThreads(__tstate
);
3884 if (PyErr_Occurred()) SWIG_fail
;
3886 resultobj
= SWIG_PyObj_FromBool((bool)result
);
3909 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
*resultobj
;
3911 wxDialog
*arg1
= (wxDialog
*) 0 ;
3913 PyObject
* obj0
= 0 ;
3914 PyObject
* obj1
= 0 ;
3916 (char *) "self",(char *) "returnCode", NULL
3919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
3920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3922 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3923 if (PyErr_Occurred()) SWIG_fail
;
3926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3927 (arg1
)->SetReturnCode(arg2
);
3929 wxPyEndAllowThreads(__tstate
);
3930 if (PyErr_Occurred()) SWIG_fail
;
3932 Py_INCREF(Py_None
); resultobj
= Py_None
;
3939 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3940 PyObject
*resultobj
;
3941 wxDialog
*arg1
= (wxDialog
*) 0 ;
3943 PyObject
* obj0
= 0 ;
3945 (char *) "self", NULL
3948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
3949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3952 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
3954 wxPyEndAllowThreads(__tstate
);
3955 if (PyErr_Occurred()) SWIG_fail
;
3957 resultobj
= SWIG_PyObj_FromInt((int)result
);
3964 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3965 PyObject
*resultobj
;
3966 wxDialog
*arg1
= (wxDialog
*) 0 ;
3967 wxString
*arg2
= 0 ;
3969 bool temp2
= False
;
3970 PyObject
* obj0
= 0 ;
3971 PyObject
* obj1
= 0 ;
3973 (char *) "self",(char *) "message", NULL
3976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
3977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3979 arg2
= wxString_in_helper(obj1
);
3980 if (arg2
== NULL
) SWIG_fail
;
3984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3985 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
3987 wxPyEndAllowThreads(__tstate
);
3988 if (PyErr_Occurred()) SWIG_fail
;
3991 resultobj
= wxPyMake_wxSizer(result
);
4007 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4008 PyObject
*resultobj
;
4009 wxDialog
*arg1
= (wxDialog
*) 0 ;
4012 PyObject
* obj0
= 0 ;
4013 PyObject
* obj1
= 0 ;
4015 (char *) "self",(char *) "flags", NULL
4018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4021 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
4022 if (PyErr_Occurred()) SWIG_fail
;
4025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4026 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4028 wxPyEndAllowThreads(__tstate
);
4029 if (PyErr_Occurred()) SWIG_fail
;
4032 resultobj
= wxPyMake_wxSizer(result
);
4040 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4041 PyObject
*resultobj
;
4042 wxDialog
*arg1
= (wxDialog
*) 0 ;
4044 PyObject
* obj0
= 0 ;
4046 (char *) "self", NULL
4049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4053 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4055 wxPyEndAllowThreads(__tstate
);
4056 if (PyErr_Occurred()) SWIG_fail
;
4058 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4065 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4066 PyObject
*resultobj
;
4067 wxDialog
*arg1
= (wxDialog
*) 0 ;
4069 PyObject
* obj0
= 0 ;
4071 (char *) "self", NULL
4074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4078 result
= (int)(arg1
)->ShowModal();
4080 wxPyEndAllowThreads(__tstate
);
4081 if (PyErr_Occurred()) SWIG_fail
;
4083 resultobj
= SWIG_PyObj_FromInt((int)result
);
4090 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4091 PyObject
*resultobj
;
4092 wxDialog
*arg1
= (wxDialog
*) 0 ;
4094 PyObject
* obj0
= 0 ;
4095 PyObject
* obj1
= 0 ;
4097 (char *) "self",(char *) "retCode", NULL
4100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4103 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4104 if (PyErr_Occurred()) SWIG_fail
;
4107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4108 (arg1
)->EndModal(arg2
);
4110 wxPyEndAllowThreads(__tstate
);
4111 if (PyErr_Occurred()) SWIG_fail
;
4113 Py_INCREF(Py_None
); resultobj
= Py_None
;
4120 static PyObject
*_wrap_Dialog_IsModalShowing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
*resultobj
;
4122 wxDialog
*arg1
= (wxDialog
*) 0 ;
4124 PyObject
* obj0
= 0 ;
4126 (char *) "self", NULL
4129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModalShowing",kwnames
,&obj0
)) goto fail
;
4130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4133 result
= (bool)wxDialog_IsModalShowing(arg1
);
4135 wxPyEndAllowThreads(__tstate
);
4136 if (PyErr_Occurred()) SWIG_fail
;
4138 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4145 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4148 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4150 return Py_BuildValue((char *)"");
4152 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4153 PyObject
*resultobj
;
4154 wxWindow
*arg1
= (wxWindow
*) 0 ;
4156 wxString
*arg3
= 0 ;
4157 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4158 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4159 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4160 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4161 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4162 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4163 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4164 wxMiniFrame
*result
;
4165 bool temp3
= False
;
4168 bool temp7
= False
;
4169 PyObject
* obj0
= 0 ;
4170 PyObject
* obj1
= 0 ;
4171 PyObject
* obj2
= 0 ;
4172 PyObject
* obj3
= 0 ;
4173 PyObject
* obj4
= 0 ;
4174 PyObject
* obj5
= 0 ;
4175 PyObject
* obj6
= 0 ;
4177 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4183 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
4184 if (PyErr_Occurred()) SWIG_fail
;
4187 arg3
= wxString_in_helper(obj2
);
4188 if (arg3
== NULL
) SWIG_fail
;
4194 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4200 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4205 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4206 if (PyErr_Occurred()) SWIG_fail
;
4211 arg7
= wxString_in_helper(obj6
);
4212 if (arg7
== NULL
) SWIG_fail
;
4217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4218 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4220 wxPyEndAllowThreads(__tstate
);
4221 if (PyErr_Occurred()) SWIG_fail
;
4223 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
4246 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4247 PyObject
*resultobj
;
4248 wxMiniFrame
*result
;
4253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4256 result
= (wxMiniFrame
*)new wxMiniFrame();
4258 wxPyEndAllowThreads(__tstate
);
4259 if (PyErr_Occurred()) SWIG_fail
;
4261 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
4268 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4269 PyObject
*resultobj
;
4270 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4271 wxWindow
*arg2
= (wxWindow
*) 0 ;
4273 wxString
*arg4
= 0 ;
4274 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4275 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4276 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4277 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4278 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4279 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4280 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4282 bool temp4
= False
;
4285 bool temp8
= False
;
4286 PyObject
* obj0
= 0 ;
4287 PyObject
* obj1
= 0 ;
4288 PyObject
* obj2
= 0 ;
4289 PyObject
* obj3
= 0 ;
4290 PyObject
* obj4
= 0 ;
4291 PyObject
* obj5
= 0 ;
4292 PyObject
* obj6
= 0 ;
4293 PyObject
* obj7
= 0 ;
4295 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMiniFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4300 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4302 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
4303 if (PyErr_Occurred()) SWIG_fail
;
4306 arg4
= wxString_in_helper(obj3
);
4307 if (arg4
== NULL
) SWIG_fail
;
4313 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4319 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4324 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4325 if (PyErr_Occurred()) SWIG_fail
;
4330 arg8
= wxString_in_helper(obj7
);
4331 if (arg8
== NULL
) SWIG_fail
;
4336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4337 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4339 wxPyEndAllowThreads(__tstate
);
4340 if (PyErr_Occurred()) SWIG_fail
;
4342 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4365 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4367 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4368 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4370 return Py_BuildValue((char *)"");
4372 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4373 PyObject
*resultobj
;
4374 wxBitmap
*arg1
= 0 ;
4375 wxWindow
*arg2
= (wxWindow
*) 0 ;
4377 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4378 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4379 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4380 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4381 long arg6
= (long) wxNO_BORDER
;
4382 wxSplashScreenWindow
*result
;
4385 PyObject
* obj0
= 0 ;
4386 PyObject
* obj1
= 0 ;
4387 PyObject
* obj2
= 0 ;
4388 PyObject
* obj3
= 0 ;
4389 PyObject
* obj4
= 0 ;
4390 PyObject
* obj5
= 0 ;
4392 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4398 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4400 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4402 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4403 if (PyErr_Occurred()) SWIG_fail
;
4408 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4414 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4419 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4420 if (PyErr_Occurred()) SWIG_fail
;
4424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4425 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4427 wxPyEndAllowThreads(__tstate
);
4428 if (PyErr_Occurred()) SWIG_fail
;
4430 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 1);
4437 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4438 PyObject
*resultobj
;
4439 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4440 wxBitmap
*arg2
= 0 ;
4441 PyObject
* obj0
= 0 ;
4442 PyObject
* obj1
= 0 ;
4444 (char *) "self",(char *) "bitmap", NULL
4447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4449 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4451 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4455 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4457 wxPyEndAllowThreads(__tstate
);
4458 if (PyErr_Occurred()) SWIG_fail
;
4460 Py_INCREF(Py_None
); resultobj
= Py_None
;
4467 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4468 PyObject
*resultobj
;
4469 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4471 PyObject
* obj0
= 0 ;
4473 (char *) "self", NULL
4476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4481 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4482 result
= (wxBitmap
*) &_result_ref
;
4485 wxPyEndAllowThreads(__tstate
);
4486 if (PyErr_Occurred()) SWIG_fail
;
4488 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
4495 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4497 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4498 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4500 return Py_BuildValue((char *)"");
4502 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4503 PyObject
*resultobj
;
4504 wxBitmap
*arg1
= 0 ;
4507 wxWindow
*arg4
= (wxWindow
*) 0 ;
4509 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4510 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4511 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4512 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4513 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4514 wxSplashScreen
*result
;
4517 PyObject
* obj0
= 0 ;
4518 PyObject
* obj1
= 0 ;
4519 PyObject
* obj2
= 0 ;
4520 PyObject
* obj3
= 0 ;
4521 PyObject
* obj4
= 0 ;
4522 PyObject
* obj5
= 0 ;
4523 PyObject
* obj6
= 0 ;
4524 PyObject
* obj7
= 0 ;
4526 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4532 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4535 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
4536 if (PyErr_Occurred()) SWIG_fail
;
4539 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4540 if (PyErr_Occurred()) SWIG_fail
;
4542 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4544 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4545 if (PyErr_Occurred()) SWIG_fail
;
4550 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4556 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4561 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
4562 if (PyErr_Occurred()) SWIG_fail
;
4566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4567 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4569 wxPyEndAllowThreads(__tstate
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4572 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreen
, 1);
4579 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
*resultobj
;
4581 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4583 PyObject
* obj0
= 0 ;
4585 (char *) "self", NULL
4588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4592 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4594 wxPyEndAllowThreads(__tstate
);
4595 if (PyErr_Occurred()) SWIG_fail
;
4597 resultobj
= SWIG_PyObj_FromLong((long)result
);
4604 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4605 PyObject
*resultobj
;
4606 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4607 wxSplashScreenWindow
*result
;
4608 PyObject
* obj0
= 0 ;
4610 (char *) "self", NULL
4613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4617 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4619 wxPyEndAllowThreads(__tstate
);
4620 if (PyErr_Occurred()) SWIG_fail
;
4622 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 0);
4629 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4630 PyObject
*resultobj
;
4631 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4633 PyObject
* obj0
= 0 ;
4635 (char *) "self", NULL
4638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4642 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4644 wxPyEndAllowThreads(__tstate
);
4645 if (PyErr_Occurred()) SWIG_fail
;
4647 resultobj
= SWIG_PyObj_FromInt((int)result
);
4654 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4656 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4657 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4659 return Py_BuildValue((char *)"");
4661 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
*resultobj
;
4663 wxWindow
*arg1
= (wxWindow
*) 0 ;
4664 int arg2
= (int) -1 ;
4665 long arg3
= (long) wxST_SIZEGRIP
;
4666 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4667 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4668 wxStatusBar
*result
;
4669 bool temp4
= False
;
4670 PyObject
* obj0
= 0 ;
4671 PyObject
* obj1
= 0 ;
4672 PyObject
* obj2
= 0 ;
4673 PyObject
* obj3
= 0 ;
4675 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4682 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4683 if (PyErr_Occurred()) SWIG_fail
;
4688 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
4689 if (PyErr_Occurred()) SWIG_fail
;
4694 arg4
= wxString_in_helper(obj3
);
4695 if (arg4
== NULL
) SWIG_fail
;
4700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4701 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4703 wxPyEndAllowThreads(__tstate
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4707 resultobj
= wxPyMake_wxObject(result
);
4723 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4724 PyObject
*resultobj
;
4725 wxStatusBar
*result
;
4730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4733 result
= (wxStatusBar
*)new wxStatusBar();
4735 wxPyEndAllowThreads(__tstate
);
4736 if (PyErr_Occurred()) SWIG_fail
;
4739 resultobj
= wxPyMake_wxObject(result
);
4747 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4748 PyObject
*resultobj
;
4749 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4750 wxWindow
*arg2
= (wxWindow
*) 0 ;
4752 long arg4
= (long) wxST_SIZEGRIP
;
4753 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4754 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4756 bool temp5
= False
;
4757 PyObject
* obj0
= 0 ;
4758 PyObject
* obj1
= 0 ;
4759 PyObject
* obj2
= 0 ;
4760 PyObject
* obj3
= 0 ;
4761 PyObject
* obj4
= 0 ;
4763 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4768 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4770 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4771 if (PyErr_Occurred()) SWIG_fail
;
4775 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
4776 if (PyErr_Occurred()) SWIG_fail
;
4781 arg5
= wxString_in_helper(obj4
);
4782 if (arg5
== NULL
) SWIG_fail
;
4787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4790 wxPyEndAllowThreads(__tstate
);
4791 if (PyErr_Occurred()) SWIG_fail
;
4793 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4808 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4809 PyObject
*resultobj
;
4810 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4811 int arg2
= (int) 1 ;
4812 PyObject
* obj0
= 0 ;
4813 PyObject
* obj1
= 0 ;
4815 (char *) "self",(char *) "number", NULL
4818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
4819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4822 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4823 if (PyErr_Occurred()) SWIG_fail
;
4827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4828 (arg1
)->SetFieldsCount(arg2
);
4830 wxPyEndAllowThreads(__tstate
);
4831 if (PyErr_Occurred()) SWIG_fail
;
4833 Py_INCREF(Py_None
); resultobj
= Py_None
;
4840 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4841 PyObject
*resultobj
;
4842 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4844 PyObject
* obj0
= 0 ;
4846 (char *) "self", NULL
4849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
4850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4853 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
4855 wxPyEndAllowThreads(__tstate
);
4856 if (PyErr_Occurred()) SWIG_fail
;
4858 resultobj
= SWIG_PyObj_FromInt((int)result
);
4865 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
*resultobj
;
4867 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4868 wxString
*arg2
= 0 ;
4869 int arg3
= (int) 0 ;
4870 bool temp2
= False
;
4871 PyObject
* obj0
= 0 ;
4872 PyObject
* obj1
= 0 ;
4873 PyObject
* obj2
= 0 ;
4875 (char *) "self",(char *) "text",(char *) "number", NULL
4878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4881 arg2
= wxString_in_helper(obj1
);
4882 if (arg2
== NULL
) SWIG_fail
;
4887 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4888 if (PyErr_Occurred()) SWIG_fail
;
4892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4893 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
4895 wxPyEndAllowThreads(__tstate
);
4896 if (PyErr_Occurred()) SWIG_fail
;
4898 Py_INCREF(Py_None
); resultobj
= Py_None
;
4913 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4914 PyObject
*resultobj
;
4915 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4916 int arg2
= (int) 0 ;
4918 PyObject
* obj0
= 0 ;
4919 PyObject
* obj1
= 0 ;
4921 (char *) "self",(char *) "number", NULL
4924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
4925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4928 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4929 if (PyErr_Occurred()) SWIG_fail
;
4933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4934 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
4936 wxPyEndAllowThreads(__tstate
);
4937 if (PyErr_Occurred()) SWIG_fail
;
4941 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4943 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4952 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4953 PyObject
*resultobj
;
4954 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4955 wxString
*arg2
= 0 ;
4956 int arg3
= (int) 0 ;
4957 bool temp2
= False
;
4958 PyObject
* obj0
= 0 ;
4959 PyObject
* obj1
= 0 ;
4960 PyObject
* obj2
= 0 ;
4962 (char *) "self",(char *) "text",(char *) "number", NULL
4965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4968 arg2
= wxString_in_helper(obj1
);
4969 if (arg2
== NULL
) SWIG_fail
;
4974 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4975 if (PyErr_Occurred()) SWIG_fail
;
4979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4980 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
4982 wxPyEndAllowThreads(__tstate
);
4983 if (PyErr_Occurred()) SWIG_fail
;
4985 Py_INCREF(Py_None
); resultobj
= Py_None
;
5000 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5001 PyObject
*resultobj
;
5002 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5003 int arg2
= (int) 0 ;
5004 PyObject
* obj0
= 0 ;
5005 PyObject
* obj1
= 0 ;
5007 (char *) "self",(char *) "number", NULL
5010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5014 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5015 if (PyErr_Occurred()) SWIG_fail
;
5019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5020 (arg1
)->PopStatusText(arg2
);
5022 wxPyEndAllowThreads(__tstate
);
5023 if (PyErr_Occurred()) SWIG_fail
;
5025 Py_INCREF(Py_None
); resultobj
= Py_None
;
5032 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5033 PyObject
*resultobj
;
5034 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5036 int *arg3
= (int *) 0 ;
5037 PyObject
* obj0
= 0 ;
5038 PyObject
* obj1
= 0 ;
5040 (char *) "self",(char *) "widths", NULL
5043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5046 arg2
= PyList_Size(obj1
);
5047 arg3
= int_LIST_helper(obj1
);
5048 if (arg3
== NULL
) SWIG_fail
;
5051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5052 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5054 wxPyEndAllowThreads(__tstate
);
5055 if (PyErr_Occurred()) SWIG_fail
;
5057 Py_INCREF(Py_None
); resultobj
= Py_None
;
5059 if (arg3
) delete [] arg3
;
5064 if (arg3
) delete [] arg3
;
5070 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5071 PyObject
*resultobj
;
5072 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5075 PyObject
* obj0
= 0 ;
5076 PyObject
* obj1
= 0 ;
5078 (char *) "self",(char *) "i", NULL
5081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5084 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5085 if (PyErr_Occurred()) SWIG_fail
;
5088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5096 resultptr
= new wxRect((wxRect
&) result
);
5097 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
5105 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5106 PyObject
*resultobj
;
5107 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5109 PyObject
* obj0
= 0 ;
5110 PyObject
* obj1
= 0 ;
5112 (char *) "self",(char *) "height", NULL
5115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5118 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5119 if (PyErr_Occurred()) SWIG_fail
;
5122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5123 (arg1
)->SetMinHeight(arg2
);
5125 wxPyEndAllowThreads(__tstate
);
5126 if (PyErr_Occurred()) SWIG_fail
;
5128 Py_INCREF(Py_None
); resultobj
= Py_None
;
5135 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5136 PyObject
*resultobj
;
5137 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5139 PyObject
* obj0
= 0 ;
5141 (char *) "self", NULL
5144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5148 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5150 wxPyEndAllowThreads(__tstate
);
5151 if (PyErr_Occurred()) SWIG_fail
;
5153 resultobj
= SWIG_PyObj_FromInt((int)result
);
5160 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5161 PyObject
*resultobj
;
5162 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5164 PyObject
* obj0
= 0 ;
5166 (char *) "self", NULL
5169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5175 wxPyEndAllowThreads(__tstate
);
5176 if (PyErr_Occurred()) SWIG_fail
;
5178 resultobj
= SWIG_PyObj_FromInt((int)result
);
5185 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5188 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5190 return Py_BuildValue((char *)"");
5192 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5193 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5198 static PyObject
*_wrap_SplitterNameStr_get() {
5203 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5205 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5212 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5213 PyObject
*resultobj
;
5214 wxWindow
*arg1
= (wxWindow
*) 0 ;
5216 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5217 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5218 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5219 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5220 long arg5
= (long) wxSP_3D
;
5221 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5222 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5223 wxSplitterWindow
*result
;
5226 bool temp6
= False
;
5227 PyObject
* obj0
= 0 ;
5228 PyObject
* obj1
= 0 ;
5229 PyObject
* obj2
= 0 ;
5230 PyObject
* obj3
= 0 ;
5231 PyObject
* obj4
= 0 ;
5232 PyObject
* obj5
= 0 ;
5234 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5240 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5246 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5252 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5257 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
5258 if (PyErr_Occurred()) SWIG_fail
;
5263 arg6
= wxString_in_helper(obj5
);
5264 if (arg6
== NULL
) SWIG_fail
;
5269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5270 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5272 wxPyEndAllowThreads(__tstate
);
5273 if (PyErr_Occurred()) SWIG_fail
;
5275 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
5290 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5291 PyObject
*resultobj
;
5292 wxSplitterWindow
*result
;
5297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5300 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5302 wxPyEndAllowThreads(__tstate
);
5303 if (PyErr_Occurred()) SWIG_fail
;
5305 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
5312 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5313 PyObject
*resultobj
;
5314 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5315 wxWindow
*arg2
= (wxWindow
*) 0 ;
5317 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5318 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5319 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5320 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5321 long arg6
= (long) wxSP_3D
;
5322 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5323 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5327 bool temp7
= False
;
5328 PyObject
* obj0
= 0 ;
5329 PyObject
* obj1
= 0 ;
5330 PyObject
* obj2
= 0 ;
5331 PyObject
* obj3
= 0 ;
5332 PyObject
* obj4
= 0 ;
5333 PyObject
* obj5
= 0 ;
5334 PyObject
* obj6
= 0 ;
5336 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5341 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5343 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5344 if (PyErr_Occurred()) SWIG_fail
;
5349 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5355 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5360 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
5361 if (PyErr_Occurred()) SWIG_fail
;
5366 arg7
= wxString_in_helper(obj6
);
5367 if (arg7
== NULL
) SWIG_fail
;
5372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5373 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5375 wxPyEndAllowThreads(__tstate
);
5376 if (PyErr_Occurred()) SWIG_fail
;
5378 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5393 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5394 PyObject
*resultobj
;
5395 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5397 PyObject
* obj0
= 0 ;
5399 (char *) "self", NULL
5402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5406 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5408 wxPyEndAllowThreads(__tstate
);
5409 if (PyErr_Occurred()) SWIG_fail
;
5412 resultobj
= wxPyMake_wxObject(result
);
5420 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5421 PyObject
*resultobj
;
5422 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5424 PyObject
* obj0
= 0 ;
5426 (char *) "self", NULL
5429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5433 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5435 wxPyEndAllowThreads(__tstate
);
5436 if (PyErr_Occurred()) SWIG_fail
;
5439 resultobj
= wxPyMake_wxObject(result
);
5447 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5448 PyObject
*resultobj
;
5449 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5451 PyObject
* obj0
= 0 ;
5452 PyObject
* obj1
= 0 ;
5454 (char *) "self",(char *) "mode", NULL
5457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5460 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5461 if (PyErr_Occurred()) SWIG_fail
;
5464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5465 (arg1
)->SetSplitMode(arg2
);
5467 wxPyEndAllowThreads(__tstate
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5470 Py_INCREF(Py_None
); resultobj
= Py_None
;
5477 static PyObject
*_wrap_SplitterWindow_GetSplitMode(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_GetSplitMode",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
)->GetSplitMode();
5492 wxPyEndAllowThreads(__tstate
);
5493 if (PyErr_Occurred()) SWIG_fail
;
5495 resultobj
= SWIG_PyObj_FromInt((int)result
);
5502 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5503 PyObject
*resultobj
;
5504 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5505 wxWindow
*arg2
= (wxWindow
*) 0 ;
5506 PyObject
* obj0
= 0 ;
5507 PyObject
* obj1
= 0 ;
5509 (char *) "self",(char *) "window", NULL
5512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5514 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5517 (arg1
)->Initialize(arg2
);
5519 wxPyEndAllowThreads(__tstate
);
5520 if (PyErr_Occurred()) SWIG_fail
;
5522 Py_INCREF(Py_None
); resultobj
= Py_None
;
5529 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5530 PyObject
*resultobj
;
5531 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5532 wxWindow
*arg2
= (wxWindow
*) 0 ;
5533 wxWindow
*arg3
= (wxWindow
*) 0 ;
5534 int arg4
= (int) 0 ;
5536 PyObject
* obj0
= 0 ;
5537 PyObject
* obj1
= 0 ;
5538 PyObject
* obj2
= 0 ;
5539 PyObject
* obj3
= 0 ;
5541 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5546 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5547 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5550 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5556 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5558 wxPyEndAllowThreads(__tstate
);
5559 if (PyErr_Occurred()) SWIG_fail
;
5561 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5568 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5569 PyObject
*resultobj
;
5570 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5571 wxWindow
*arg2
= (wxWindow
*) 0 ;
5572 wxWindow
*arg3
= (wxWindow
*) 0 ;
5573 int arg4
= (int) 0 ;
5575 PyObject
* obj0
= 0 ;
5576 PyObject
* obj1
= 0 ;
5577 PyObject
* obj2
= 0 ;
5578 PyObject
* obj3
= 0 ;
5580 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5585 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5586 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5589 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5590 if (PyErr_Occurred()) SWIG_fail
;
5594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5595 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5597 wxPyEndAllowThreads(__tstate
);
5598 if (PyErr_Occurred()) SWIG_fail
;
5600 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5607 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5608 PyObject
*resultobj
;
5609 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5610 wxWindow
*arg2
= (wxWindow
*) NULL
;
5612 PyObject
* obj0
= 0 ;
5613 PyObject
* obj1
= 0 ;
5615 (char *) "self",(char *) "toRemove", NULL
5618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5621 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5625 result
= (bool)(arg1
)->Unsplit(arg2
);
5627 wxPyEndAllowThreads(__tstate
);
5628 if (PyErr_Occurred()) SWIG_fail
;
5630 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5637 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5638 PyObject
*resultobj
;
5639 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5640 wxWindow
*arg2
= (wxWindow
*) 0 ;
5641 wxWindow
*arg3
= (wxWindow
*) 0 ;
5643 PyObject
* obj0
= 0 ;
5644 PyObject
* obj1
= 0 ;
5645 PyObject
* obj2
= 0 ;
5647 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5652 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5653 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5656 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5658 wxPyEndAllowThreads(__tstate
);
5659 if (PyErr_Occurred()) SWIG_fail
;
5661 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5668 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5669 PyObject
*resultobj
;
5670 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5672 PyObject
* obj0
= 0 ;
5674 (char *) "self", NULL
5677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5681 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5683 wxPyEndAllowThreads(__tstate
);
5684 if (PyErr_Occurred()) SWIG_fail
;
5686 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5693 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5694 PyObject
*resultobj
;
5695 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5697 PyObject
* obj0
= 0 ;
5698 PyObject
* obj1
= 0 ;
5700 (char *) "self",(char *) "width", NULL
5703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5706 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5707 if (PyErr_Occurred()) SWIG_fail
;
5710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5711 (arg1
)->SetSashSize(arg2
);
5713 wxPyEndAllowThreads(__tstate
);
5714 if (PyErr_Occurred()) SWIG_fail
;
5716 Py_INCREF(Py_None
); resultobj
= Py_None
;
5723 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5724 PyObject
*resultobj
;
5725 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5727 PyObject
* obj0
= 0 ;
5728 PyObject
* obj1
= 0 ;
5730 (char *) "self",(char *) "width", NULL
5733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5736 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5737 if (PyErr_Occurred()) SWIG_fail
;
5740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5741 (arg1
)->SetBorderSize(arg2
);
5743 wxPyEndAllowThreads(__tstate
);
5744 if (PyErr_Occurred()) SWIG_fail
;
5746 Py_INCREF(Py_None
); resultobj
= Py_None
;
5753 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5754 PyObject
*resultobj
;
5755 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5757 PyObject
* obj0
= 0 ;
5759 (char *) "self", NULL
5762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
5763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5766 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
5768 wxPyEndAllowThreads(__tstate
);
5769 if (PyErr_Occurred()) SWIG_fail
;
5771 resultobj
= SWIG_PyObj_FromInt((int)result
);
5778 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5779 PyObject
*resultobj
;
5780 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5782 PyObject
* obj0
= 0 ;
5784 (char *) "self", NULL
5787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
5788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5791 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
5793 wxPyEndAllowThreads(__tstate
);
5794 if (PyErr_Occurred()) SWIG_fail
;
5796 resultobj
= SWIG_PyObj_FromInt((int)result
);
5803 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5804 PyObject
*resultobj
;
5805 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5807 bool arg3
= (bool) True
;
5808 PyObject
* obj0
= 0 ;
5809 PyObject
* obj1
= 0 ;
5810 PyObject
* obj2
= 0 ;
5812 (char *) "self",(char *) "position",(char *) "redraw", NULL
5815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5818 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5823 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5829 (arg1
)->SetSashPosition(arg2
,arg3
);
5831 wxPyEndAllowThreads(__tstate
);
5832 if (PyErr_Occurred()) SWIG_fail
;
5834 Py_INCREF(Py_None
); resultobj
= Py_None
;
5841 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5842 PyObject
*resultobj
;
5843 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5845 PyObject
* obj0
= 0 ;
5847 (char *) "self", NULL
5850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
5856 wxPyEndAllowThreads(__tstate
);
5857 if (PyErr_Occurred()) SWIG_fail
;
5859 resultobj
= SWIG_PyObj_FromInt((int)result
);
5866 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5867 PyObject
*resultobj
;
5868 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5870 PyObject
* obj0
= 0 ;
5871 PyObject
* obj1
= 0 ;
5873 (char *) "self",(char *) "min", NULL
5876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5879 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5880 if (PyErr_Occurred()) SWIG_fail
;
5883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5884 (arg1
)->SetMinimumPaneSize(arg2
);
5886 wxPyEndAllowThreads(__tstate
);
5887 if (PyErr_Occurred()) SWIG_fail
;
5889 Py_INCREF(Py_None
); resultobj
= Py_None
;
5896 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5897 PyObject
*resultobj
;
5898 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5900 PyObject
* obj0
= 0 ;
5902 (char *) "self", NULL
5905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
5906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5909 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
5911 wxPyEndAllowThreads(__tstate
);
5912 if (PyErr_Occurred()) SWIG_fail
;
5914 resultobj
= SWIG_PyObj_FromInt((int)result
);
5921 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5922 PyObject
*resultobj
;
5923 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5926 int arg4
= (int) 5 ;
5928 PyObject
* obj0
= 0 ;
5929 PyObject
* obj1
= 0 ;
5930 PyObject
* obj2
= 0 ;
5931 PyObject
* obj3
= 0 ;
5933 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5939 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5940 if (PyErr_Occurred()) SWIG_fail
;
5943 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5944 if (PyErr_Occurred()) SWIG_fail
;
5948 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5949 if (PyErr_Occurred()) SWIG_fail
;
5953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5954 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
5956 wxPyEndAllowThreads(__tstate
);
5957 if (PyErr_Occurred()) SWIG_fail
;
5959 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5966 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5967 PyObject
*resultobj
;
5968 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5969 PyObject
* obj0
= 0 ;
5971 (char *) "self", NULL
5974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
5975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5978 (arg1
)->SizeWindows();
5980 wxPyEndAllowThreads(__tstate
);
5981 if (PyErr_Occurred()) SWIG_fail
;
5983 Py_INCREF(Py_None
); resultobj
= Py_None
;
5990 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
*resultobj
;
5992 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5994 PyObject
* obj0
= 0 ;
5995 PyObject
* obj1
= 0 ;
5997 (char *) "self",(char *) "needUpdating", NULL
6000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6003 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
6004 if (PyErr_Occurred()) SWIG_fail
;
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 (arg1
)->SetNeedUpdating(arg2
);
6010 wxPyEndAllowThreads(__tstate
);
6011 if (PyErr_Occurred()) SWIG_fail
;
6013 Py_INCREF(Py_None
); resultobj
= Py_None
;
6020 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6021 PyObject
*resultobj
;
6022 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6024 PyObject
* obj0
= 0 ;
6026 (char *) "self", NULL
6029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6033 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6035 wxPyEndAllowThreads(__tstate
);
6036 if (PyErr_Occurred()) SWIG_fail
;
6038 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6045 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6048 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6050 return Py_BuildValue((char *)"");
6052 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6053 PyObject
*resultobj
;
6054 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6055 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6056 wxSplitterEvent
*result
;
6057 PyObject
* obj0
= 0 ;
6058 PyObject
* obj1
= 0 ;
6060 (char *) "type",(char *) "splitter", NULL
6063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6066 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
6067 if (PyErr_Occurred()) SWIG_fail
;
6071 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6075 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6077 wxPyEndAllowThreads(__tstate
);
6078 if (PyErr_Occurred()) SWIG_fail
;
6080 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterEvent
, 1);
6087 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6088 PyObject
*resultobj
;
6089 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6091 PyObject
* obj0
= 0 ;
6092 PyObject
* obj1
= 0 ;
6094 (char *) "self",(char *) "pos", NULL
6097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6100 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6101 if (PyErr_Occurred()) SWIG_fail
;
6104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6105 (arg1
)->SetSashPosition(arg2
);
6107 wxPyEndAllowThreads(__tstate
);
6108 if (PyErr_Occurred()) SWIG_fail
;
6110 Py_INCREF(Py_None
); resultobj
= Py_None
;
6117 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6118 PyObject
*resultobj
;
6119 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6121 PyObject
* obj0
= 0 ;
6123 (char *) "self", NULL
6126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6130 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6132 wxPyEndAllowThreads(__tstate
);
6133 if (PyErr_Occurred()) SWIG_fail
;
6135 resultobj
= SWIG_PyObj_FromInt((int)result
);
6142 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6143 PyObject
*resultobj
;
6144 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6146 PyObject
* obj0
= 0 ;
6148 (char *) "self", NULL
6151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6155 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6157 wxPyEndAllowThreads(__tstate
);
6158 if (PyErr_Occurred()) SWIG_fail
;
6161 resultobj
= wxPyMake_wxObject(result
);
6169 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
;
6171 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6173 PyObject
* obj0
= 0 ;
6175 (char *) "self", NULL
6178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6182 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6184 wxPyEndAllowThreads(__tstate
);
6185 if (PyErr_Occurred()) SWIG_fail
;
6187 resultobj
= SWIG_PyObj_FromInt((int)result
);
6194 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
*resultobj
;
6196 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6198 PyObject
* obj0
= 0 ;
6200 (char *) "self", NULL
6203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6207 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6209 wxPyEndAllowThreads(__tstate
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6212 resultobj
= SWIG_PyObj_FromInt((int)result
);
6219 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6222 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6224 return Py_BuildValue((char *)"");
6226 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6227 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6232 static PyObject
*_wrap_SashNameStr_get() {
6237 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6239 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6246 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6247 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6252 static PyObject
*_wrap_SashLayoutNameStr_get() {
6257 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6259 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6266 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6267 PyObject
*resultobj
;
6268 wxWindow
*arg1
= (wxWindow
*) 0 ;
6270 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6271 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6272 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6273 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6274 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6275 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6276 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6277 wxSashWindow
*result
;
6280 bool temp6
= False
;
6281 PyObject
* obj0
= 0 ;
6282 PyObject
* obj1
= 0 ;
6283 PyObject
* obj2
= 0 ;
6284 PyObject
* obj3
= 0 ;
6285 PyObject
* obj4
= 0 ;
6286 PyObject
* obj5
= 0 ;
6288 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6294 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6295 if (PyErr_Occurred()) SWIG_fail
;
6300 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6306 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6311 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
6312 if (PyErr_Occurred()) SWIG_fail
;
6317 arg6
= wxString_in_helper(obj5
);
6318 if (arg6
== NULL
) SWIG_fail
;
6323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6324 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6326 wxPyEndAllowThreads(__tstate
);
6327 if (PyErr_Occurred()) SWIG_fail
;
6329 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
6344 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6345 PyObject
*resultobj
;
6346 wxSashWindow
*result
;
6351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6354 result
= (wxSashWindow
*)new wxSashWindow();
6356 wxPyEndAllowThreads(__tstate
);
6357 if (PyErr_Occurred()) SWIG_fail
;
6359 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
6366 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
*resultobj
;
6368 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6369 wxWindow
*arg2
= (wxWindow
*) 0 ;
6371 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6372 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6373 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6374 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6375 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6376 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6377 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6381 bool temp7
= False
;
6382 PyObject
* obj0
= 0 ;
6383 PyObject
* obj1
= 0 ;
6384 PyObject
* obj2
= 0 ;
6385 PyObject
* obj3
= 0 ;
6386 PyObject
* obj4
= 0 ;
6387 PyObject
* obj5
= 0 ;
6388 PyObject
* obj6
= 0 ;
6390 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6395 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6397 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6398 if (PyErr_Occurred()) SWIG_fail
;
6403 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6409 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6414 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
6415 if (PyErr_Occurred()) SWIG_fail
;
6420 arg7
= wxString_in_helper(obj6
);
6421 if (arg7
== NULL
) SWIG_fail
;
6426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6427 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6429 wxPyEndAllowThreads(__tstate
);
6430 if (PyErr_Occurred()) SWIG_fail
;
6432 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6447 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6448 PyObject
*resultobj
;
6449 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6452 PyObject
* obj0
= 0 ;
6453 PyObject
* obj1
= 0 ;
6454 PyObject
* obj2
= 0 ;
6456 (char *) "self",(char *) "edge",(char *) "sash", NULL
6459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6462 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
6463 if (PyErr_Occurred()) SWIG_fail
;
6466 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6467 if (PyErr_Occurred()) SWIG_fail
;
6470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6471 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6473 wxPyEndAllowThreads(__tstate
);
6474 if (PyErr_Occurred()) SWIG_fail
;
6476 Py_INCREF(Py_None
); resultobj
= Py_None
;
6483 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6484 PyObject
*resultobj
;
6485 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6488 PyObject
* obj0
= 0 ;
6489 PyObject
* obj1
= 0 ;
6491 (char *) "self",(char *) "edge", NULL
6494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6497 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
6498 if (PyErr_Occurred()) SWIG_fail
;
6501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6502 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6504 wxPyEndAllowThreads(__tstate
);
6505 if (PyErr_Occurred()) SWIG_fail
;
6507 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6514 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6515 PyObject
*resultobj
;
6516 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6519 PyObject
* obj0
= 0 ;
6520 PyObject
* obj1
= 0 ;
6521 PyObject
* obj2
= 0 ;
6523 (char *) "self",(char *) "edge",(char *) "border", NULL
6526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6529 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
6530 if (PyErr_Occurred()) SWIG_fail
;
6533 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6534 if (PyErr_Occurred()) SWIG_fail
;
6537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6538 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6540 wxPyEndAllowThreads(__tstate
);
6541 if (PyErr_Occurred()) SWIG_fail
;
6543 Py_INCREF(Py_None
); resultobj
= Py_None
;
6550 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6551 PyObject
*resultobj
;
6552 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6555 PyObject
* obj0
= 0 ;
6556 PyObject
* obj1
= 0 ;
6558 (char *) "self",(char *) "edge", NULL
6561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
6562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6564 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
6565 if (PyErr_Occurred()) SWIG_fail
;
6568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6569 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
6571 wxPyEndAllowThreads(__tstate
);
6572 if (PyErr_Occurred()) SWIG_fail
;
6574 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6581 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6582 PyObject
*resultobj
;
6583 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6586 PyObject
* obj0
= 0 ;
6587 PyObject
* obj1
= 0 ;
6589 (char *) "self",(char *) "edge", NULL
6592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
6593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6595 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
6596 if (PyErr_Occurred()) SWIG_fail
;
6599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6600 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
6602 wxPyEndAllowThreads(__tstate
);
6603 if (PyErr_Occurred()) SWIG_fail
;
6605 resultobj
= SWIG_PyObj_FromInt((int)result
);
6612 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6613 PyObject
*resultobj
;
6614 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6616 PyObject
* obj0
= 0 ;
6617 PyObject
* obj1
= 0 ;
6619 (char *) "self",(char *) "width", NULL
6622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6625 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6626 if (PyErr_Occurred()) SWIG_fail
;
6629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6630 (arg1
)->SetDefaultBorderSize(arg2
);
6632 wxPyEndAllowThreads(__tstate
);
6633 if (PyErr_Occurred()) SWIG_fail
;
6635 Py_INCREF(Py_None
); resultobj
= Py_None
;
6642 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6643 PyObject
*resultobj
;
6644 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6646 PyObject
* obj0
= 0 ;
6648 (char *) "self", NULL
6651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
6652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6655 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
6657 wxPyEndAllowThreads(__tstate
);
6658 if (PyErr_Occurred()) SWIG_fail
;
6660 resultobj
= SWIG_PyObj_FromInt((int)result
);
6667 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6668 PyObject
*resultobj
;
6669 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6671 PyObject
* obj0
= 0 ;
6672 PyObject
* obj1
= 0 ;
6674 (char *) "self",(char *) "width", NULL
6677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6680 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6681 if (PyErr_Occurred()) SWIG_fail
;
6684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6685 (arg1
)->SetExtraBorderSize(arg2
);
6687 wxPyEndAllowThreads(__tstate
);
6688 if (PyErr_Occurred()) SWIG_fail
;
6690 Py_INCREF(Py_None
); resultobj
= Py_None
;
6697 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
*resultobj
;
6699 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6701 PyObject
* obj0
= 0 ;
6703 (char *) "self", NULL
6706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
6707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6710 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
6712 wxPyEndAllowThreads(__tstate
);
6713 if (PyErr_Occurred()) SWIG_fail
;
6715 resultobj
= SWIG_PyObj_FromInt((int)result
);
6722 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6723 PyObject
*resultobj
;
6724 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6726 PyObject
* obj0
= 0 ;
6727 PyObject
* obj1
= 0 ;
6729 (char *) "self",(char *) "min", NULL
6732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6735 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6736 if (PyErr_Occurred()) SWIG_fail
;
6739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6740 (arg1
)->SetMinimumSizeX(arg2
);
6742 wxPyEndAllowThreads(__tstate
);
6743 if (PyErr_Occurred()) SWIG_fail
;
6745 Py_INCREF(Py_None
); resultobj
= Py_None
;
6752 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6753 PyObject
*resultobj
;
6754 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6756 PyObject
* obj0
= 0 ;
6757 PyObject
* obj1
= 0 ;
6759 (char *) "self",(char *) "min", NULL
6762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
6763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6765 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6766 if (PyErr_Occurred()) SWIG_fail
;
6769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6770 (arg1
)->SetMinimumSizeY(arg2
);
6772 wxPyEndAllowThreads(__tstate
);
6773 if (PyErr_Occurred()) SWIG_fail
;
6775 Py_INCREF(Py_None
); resultobj
= Py_None
;
6782 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6783 PyObject
*resultobj
;
6784 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6786 PyObject
* obj0
= 0 ;
6788 (char *) "self", NULL
6791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
6792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6795 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
6797 wxPyEndAllowThreads(__tstate
);
6798 if (PyErr_Occurred()) SWIG_fail
;
6800 resultobj
= SWIG_PyObj_FromInt((int)result
);
6807 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6808 PyObject
*resultobj
;
6809 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6811 PyObject
* obj0
= 0 ;
6813 (char *) "self", NULL
6816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
6817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6820 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
6822 wxPyEndAllowThreads(__tstate
);
6823 if (PyErr_Occurred()) SWIG_fail
;
6825 resultobj
= SWIG_PyObj_FromInt((int)result
);
6832 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6833 PyObject
*resultobj
;
6834 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6836 PyObject
* obj0
= 0 ;
6837 PyObject
* obj1
= 0 ;
6839 (char *) "self",(char *) "max", NULL
6842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6845 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6846 if (PyErr_Occurred()) SWIG_fail
;
6849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6850 (arg1
)->SetMaximumSizeX(arg2
);
6852 wxPyEndAllowThreads(__tstate
);
6853 if (PyErr_Occurred()) SWIG_fail
;
6855 Py_INCREF(Py_None
); resultobj
= Py_None
;
6862 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6863 PyObject
*resultobj
;
6864 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6866 PyObject
* obj0
= 0 ;
6867 PyObject
* obj1
= 0 ;
6869 (char *) "self",(char *) "max", NULL
6872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
6873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6875 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6876 if (PyErr_Occurred()) SWIG_fail
;
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 (arg1
)->SetMaximumSizeY(arg2
);
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6885 Py_INCREF(Py_None
); resultobj
= Py_None
;
6892 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
*resultobj
;
6894 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6896 PyObject
* obj0
= 0 ;
6898 (char *) "self", NULL
6901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
6902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6905 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
6907 wxPyEndAllowThreads(__tstate
);
6908 if (PyErr_Occurred()) SWIG_fail
;
6910 resultobj
= SWIG_PyObj_FromInt((int)result
);
6917 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6918 PyObject
*resultobj
;
6919 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6921 PyObject
* obj0
= 0 ;
6923 (char *) "self", NULL
6926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
6927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6930 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
6932 wxPyEndAllowThreads(__tstate
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6935 resultobj
= SWIG_PyObj_FromInt((int)result
);
6942 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6943 PyObject
*resultobj
;
6944 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6947 int arg4
= (int) 2 ;
6949 PyObject
* obj0
= 0 ;
6950 PyObject
* obj1
= 0 ;
6951 PyObject
* obj2
= 0 ;
6952 PyObject
* obj3
= 0 ;
6954 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6960 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6961 if (PyErr_Occurred()) SWIG_fail
;
6964 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6965 if (PyErr_Occurred()) SWIG_fail
;
6969 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
6970 if (PyErr_Occurred()) SWIG_fail
;
6974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6975 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6977 wxPyEndAllowThreads(__tstate
);
6978 if (PyErr_Occurred()) SWIG_fail
;
6980 resultobj
= SWIG_PyObj_FromInt((int)result
);
6987 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6988 PyObject
*resultobj
;
6989 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6990 PyObject
* obj0
= 0 ;
6992 (char *) "self", NULL
6995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6999 (arg1
)->SizeWindows();
7001 wxPyEndAllowThreads(__tstate
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7004 Py_INCREF(Py_None
); resultobj
= Py_None
;
7011 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7013 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7014 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7016 return Py_BuildValue((char *)"");
7018 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7019 PyObject
*resultobj
;
7020 int arg1
= (int) 0 ;
7021 int arg2
= (int) wxSASH_NONE
;
7022 wxSashEvent
*result
;
7023 PyObject
* obj0
= 0 ;
7024 PyObject
* obj1
= 0 ;
7026 (char *) "id",(char *) "edge", NULL
7029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7032 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7038 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
7039 if (PyErr_Occurred()) SWIG_fail
;
7043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7046 wxPyEndAllowThreads(__tstate
);
7047 if (PyErr_Occurred()) SWIG_fail
;
7049 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashEvent
, 1);
7056 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7057 PyObject
*resultobj
;
7058 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7060 PyObject
* obj0
= 0 ;
7061 PyObject
* obj1
= 0 ;
7063 (char *) "self",(char *) "edge", NULL
7066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7069 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
7070 if (PyErr_Occurred()) SWIG_fail
;
7073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7074 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7076 wxPyEndAllowThreads(__tstate
);
7077 if (PyErr_Occurred()) SWIG_fail
;
7079 Py_INCREF(Py_None
); resultobj
= Py_None
;
7086 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7087 PyObject
*resultobj
;
7088 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7090 PyObject
* obj0
= 0 ;
7092 (char *) "self", NULL
7095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7099 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) SWIG_fail
;
7104 resultobj
= SWIG_PyObj_FromInt((int)result
);
7111 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7112 PyObject
*resultobj
;
7113 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7116 PyObject
* obj0
= 0 ;
7117 PyObject
* obj1
= 0 ;
7119 (char *) "self",(char *) "rect", NULL
7122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7126 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7130 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7132 wxPyEndAllowThreads(__tstate
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7135 Py_INCREF(Py_None
); resultobj
= Py_None
;
7142 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7143 PyObject
*resultobj
;
7144 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7146 PyObject
* obj0
= 0 ;
7148 (char *) "self", NULL
7151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7155 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7157 wxPyEndAllowThreads(__tstate
);
7158 if (PyErr_Occurred()) SWIG_fail
;
7162 resultptr
= new wxRect((wxRect
&) result
);
7163 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
7171 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7172 PyObject
*resultobj
;
7173 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7175 PyObject
* obj0
= 0 ;
7176 PyObject
* obj1
= 0 ;
7178 (char *) "self",(char *) "status", NULL
7181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7184 arg2
= (wxSashDragStatus
) SWIG_PyObj_AsInt(obj1
);
7185 if (PyErr_Occurred()) SWIG_fail
;
7188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7189 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7194 Py_INCREF(Py_None
); resultobj
= Py_None
;
7201 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7202 PyObject
*resultobj
;
7203 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7205 PyObject
* obj0
= 0 ;
7207 (char *) "self", NULL
7210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7214 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7216 wxPyEndAllowThreads(__tstate
);
7217 if (PyErr_Occurred()) SWIG_fail
;
7219 resultobj
= SWIG_PyObj_FromInt((int)result
);
7226 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7229 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7231 return Py_BuildValue((char *)"");
7233 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7234 PyObject
*resultobj
;
7235 int arg1
= (int) 0 ;
7236 wxQueryLayoutInfoEvent
*result
;
7237 PyObject
* obj0
= 0 ;
7242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7245 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7246 if (PyErr_Occurred()) SWIG_fail
;
7250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7251 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7253 wxPyEndAllowThreads(__tstate
);
7254 if (PyErr_Occurred()) SWIG_fail
;
7256 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7263 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7264 PyObject
*resultobj
;
7265 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7267 PyObject
* obj0
= 0 ;
7268 PyObject
* obj1
= 0 ;
7270 (char *) "self",(char *) "length", NULL
7273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7276 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7277 if (PyErr_Occurred()) SWIG_fail
;
7280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7281 (arg1
)->SetRequestedLength(arg2
);
7283 wxPyEndAllowThreads(__tstate
);
7284 if (PyErr_Occurred()) SWIG_fail
;
7286 Py_INCREF(Py_None
); resultobj
= Py_None
;
7293 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
*resultobj
;
7295 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7297 PyObject
* obj0
= 0 ;
7299 (char *) "self", NULL
7302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7306 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7311 resultobj
= SWIG_PyObj_FromInt((int)result
);
7318 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7319 PyObject
*resultobj
;
7320 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7322 PyObject
* obj0
= 0 ;
7323 PyObject
* obj1
= 0 ;
7325 (char *) "self",(char *) "flags", NULL
7328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7331 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7332 if (PyErr_Occurred()) SWIG_fail
;
7335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7336 (arg1
)->SetFlags(arg2
);
7338 wxPyEndAllowThreads(__tstate
);
7339 if (PyErr_Occurred()) SWIG_fail
;
7341 Py_INCREF(Py_None
); resultobj
= Py_None
;
7348 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7349 PyObject
*resultobj
;
7350 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7352 PyObject
* obj0
= 0 ;
7354 (char *) "self", NULL
7357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7361 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7363 wxPyEndAllowThreads(__tstate
);
7364 if (PyErr_Occurred()) SWIG_fail
;
7366 resultobj
= SWIG_PyObj_FromInt((int)result
);
7373 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
*resultobj
;
7375 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7378 PyObject
* obj0
= 0 ;
7379 PyObject
* obj1
= 0 ;
7381 (char *) "self",(char *) "size", NULL
7384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7388 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7392 (arg1
)->SetSize((wxSize
const &)*arg2
);
7394 wxPyEndAllowThreads(__tstate
);
7395 if (PyErr_Occurred()) SWIG_fail
;
7397 Py_INCREF(Py_None
); resultobj
= Py_None
;
7404 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7405 PyObject
*resultobj
;
7406 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7408 PyObject
* obj0
= 0 ;
7410 (char *) "self", NULL
7413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7417 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7419 wxPyEndAllowThreads(__tstate
);
7420 if (PyErr_Occurred()) SWIG_fail
;
7424 resultptr
= new wxSize((wxSize
&) result
);
7425 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
7433 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7434 PyObject
*resultobj
;
7435 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7437 PyObject
* obj0
= 0 ;
7438 PyObject
* obj1
= 0 ;
7440 (char *) "self",(char *) "orient", NULL
7443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7446 arg2
= (wxLayoutOrientation
) SWIG_PyObj_AsInt(obj1
);
7447 if (PyErr_Occurred()) SWIG_fail
;
7450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7451 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7453 wxPyEndAllowThreads(__tstate
);
7454 if (PyErr_Occurred()) SWIG_fail
;
7456 Py_INCREF(Py_None
); resultobj
= Py_None
;
7463 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7464 PyObject
*resultobj
;
7465 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7467 PyObject
* obj0
= 0 ;
7469 (char *) "self", NULL
7472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7476 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7478 wxPyEndAllowThreads(__tstate
);
7479 if (PyErr_Occurred()) SWIG_fail
;
7481 resultobj
= SWIG_PyObj_FromInt((int)result
);
7488 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7489 PyObject
*resultobj
;
7490 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7492 PyObject
* obj0
= 0 ;
7493 PyObject
* obj1
= 0 ;
7495 (char *) "self",(char *) "align", NULL
7498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7501 arg2
= (wxLayoutAlignment
) SWIG_PyObj_AsInt(obj1
);
7502 if (PyErr_Occurred()) SWIG_fail
;
7505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7506 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7508 wxPyEndAllowThreads(__tstate
);
7509 if (PyErr_Occurred()) SWIG_fail
;
7511 Py_INCREF(Py_None
); resultobj
= Py_None
;
7518 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7519 PyObject
*resultobj
;
7520 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7522 PyObject
* obj0
= 0 ;
7524 (char *) "self", NULL
7527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7531 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
7533 wxPyEndAllowThreads(__tstate
);
7534 if (PyErr_Occurred()) SWIG_fail
;
7536 resultobj
= SWIG_PyObj_FromInt((int)result
);
7543 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7545 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7546 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7548 return Py_BuildValue((char *)"");
7550 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7551 PyObject
*resultobj
;
7552 int arg1
= (int) 0 ;
7553 wxCalculateLayoutEvent
*result
;
7554 PyObject
* obj0
= 0 ;
7559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
7562 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7563 if (PyErr_Occurred()) SWIG_fail
;
7567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7568 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
7570 wxPyEndAllowThreads(__tstate
);
7571 if (PyErr_Occurred()) SWIG_fail
;
7573 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
7580 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7581 PyObject
*resultobj
;
7582 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7584 PyObject
* obj0
= 0 ;
7585 PyObject
* obj1
= 0 ;
7587 (char *) "self",(char *) "flags", NULL
7590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7593 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7594 if (PyErr_Occurred()) SWIG_fail
;
7597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7598 (arg1
)->SetFlags(arg2
);
7600 wxPyEndAllowThreads(__tstate
);
7601 if (PyErr_Occurred()) SWIG_fail
;
7603 Py_INCREF(Py_None
); resultobj
= Py_None
;
7610 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7611 PyObject
*resultobj
;
7612 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7614 PyObject
* obj0
= 0 ;
7616 (char *) "self", NULL
7619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7623 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
7625 wxPyEndAllowThreads(__tstate
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7628 resultobj
= SWIG_PyObj_FromInt((int)result
);
7635 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7636 PyObject
*resultobj
;
7637 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7640 PyObject
* obj0
= 0 ;
7641 PyObject
* obj1
= 0 ;
7643 (char *) "self",(char *) "rect", NULL
7646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7650 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7654 (arg1
)->SetRect((wxRect
const &)*arg2
);
7656 wxPyEndAllowThreads(__tstate
);
7657 if (PyErr_Occurred()) SWIG_fail
;
7659 Py_INCREF(Py_None
); resultobj
= Py_None
;
7666 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7667 PyObject
*resultobj
;
7668 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7670 PyObject
* obj0
= 0 ;
7672 (char *) "self", NULL
7675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
7676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7679 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
7681 wxPyEndAllowThreads(__tstate
);
7682 if (PyErr_Occurred()) SWIG_fail
;
7686 resultptr
= new wxRect((wxRect
&) result
);
7687 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
7695 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7697 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7698 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
7700 return Py_BuildValue((char *)"");
7702 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7703 PyObject
*resultobj
;
7704 wxWindow
*arg1
= (wxWindow
*) 0 ;
7706 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7707 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7708 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7709 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7710 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7711 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
7712 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7713 wxSashLayoutWindow
*result
;
7716 bool temp6
= False
;
7717 PyObject
* obj0
= 0 ;
7718 PyObject
* obj1
= 0 ;
7719 PyObject
* obj2
= 0 ;
7720 PyObject
* obj3
= 0 ;
7721 PyObject
* obj4
= 0 ;
7722 PyObject
* obj5
= 0 ;
7724 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7730 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7731 if (PyErr_Occurred()) SWIG_fail
;
7736 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7742 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7747 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
7748 if (PyErr_Occurred()) SWIG_fail
;
7753 arg6
= wxString_in_helper(obj5
);
7754 if (arg6
== NULL
) SWIG_fail
;
7759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7760 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7762 wxPyEndAllowThreads(__tstate
);
7763 if (PyErr_Occurred()) SWIG_fail
;
7765 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
7780 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7781 PyObject
*resultobj
;
7782 wxSashLayoutWindow
*result
;
7787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
7789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7790 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
7792 wxPyEndAllowThreads(__tstate
);
7793 if (PyErr_Occurred()) SWIG_fail
;
7795 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
7802 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7803 PyObject
*resultobj
;
7804 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7805 wxWindow
*arg2
= (wxWindow
*) 0 ;
7807 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7808 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7809 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7810 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7811 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7812 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
7813 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7817 bool temp7
= False
;
7818 PyObject
* obj0
= 0 ;
7819 PyObject
* obj1
= 0 ;
7820 PyObject
* obj2
= 0 ;
7821 PyObject
* obj3
= 0 ;
7822 PyObject
* obj4
= 0 ;
7823 PyObject
* obj5
= 0 ;
7824 PyObject
* obj6
= 0 ;
7826 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7831 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7833 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7839 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7845 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7850 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7856 arg7
= wxString_in_helper(obj6
);
7857 if (arg7
== NULL
) SWIG_fail
;
7862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7863 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7865 wxPyEndAllowThreads(__tstate
);
7866 if (PyErr_Occurred()) SWIG_fail
;
7868 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7883 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7884 PyObject
*resultobj
;
7885 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7887 PyObject
* obj0
= 0 ;
7889 (char *) "self", NULL
7892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
7893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7896 result
= (int)(arg1
)->GetAlignment();
7898 wxPyEndAllowThreads(__tstate
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7901 resultobj
= SWIG_PyObj_FromInt((int)result
);
7908 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
*resultobj
;
7910 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7912 PyObject
* obj0
= 0 ;
7914 (char *) "self", NULL
7917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
7918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7921 result
= (int)(arg1
)->GetOrientation();
7923 wxPyEndAllowThreads(__tstate
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7926 resultobj
= SWIG_PyObj_FromInt((int)result
);
7933 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7934 PyObject
*resultobj
;
7935 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7937 PyObject
* obj0
= 0 ;
7938 PyObject
* obj1
= 0 ;
7940 (char *) "self",(char *) "alignment", NULL
7943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7946 arg2
= (wxLayoutAlignment
) SWIG_PyObj_AsInt(obj1
);
7947 if (PyErr_Occurred()) SWIG_fail
;
7950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7951 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7953 wxPyEndAllowThreads(__tstate
);
7954 if (PyErr_Occurred()) SWIG_fail
;
7956 Py_INCREF(Py_None
); resultobj
= Py_None
;
7963 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7964 PyObject
*resultobj
;
7965 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7968 PyObject
* obj0
= 0 ;
7969 PyObject
* obj1
= 0 ;
7971 (char *) "self",(char *) "size", NULL
7974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7978 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7982 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
7984 wxPyEndAllowThreads(__tstate
);
7985 if (PyErr_Occurred()) SWIG_fail
;
7987 Py_INCREF(Py_None
); resultobj
= Py_None
;
7994 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
*resultobj
;
7996 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7998 PyObject
* obj0
= 0 ;
7999 PyObject
* obj1
= 0 ;
8001 (char *) "self",(char *) "orientation", NULL
8004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8007 arg2
= (wxLayoutOrientation
) SWIG_PyObj_AsInt(obj1
);
8008 if (PyErr_Occurred()) SWIG_fail
;
8011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8012 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8014 wxPyEndAllowThreads(__tstate
);
8015 if (PyErr_Occurred()) SWIG_fail
;
8017 Py_INCREF(Py_None
); resultobj
= Py_None
;
8024 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8026 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8027 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8029 return Py_BuildValue((char *)"");
8031 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8032 PyObject
*resultobj
;
8033 wxLayoutAlgorithm
*result
;
8038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8041 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8043 wxPyEndAllowThreads(__tstate
);
8044 if (PyErr_Occurred()) SWIG_fail
;
8046 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8053 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8054 PyObject
*resultobj
;
8055 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8056 PyObject
* obj0
= 0 ;
8058 (char *) "self", NULL
8061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8067 wxPyEndAllowThreads(__tstate
);
8068 if (PyErr_Occurred()) SWIG_fail
;
8070 Py_INCREF(Py_None
); resultobj
= Py_None
;
8077 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8078 PyObject
*resultobj
;
8079 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8080 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8081 wxRect
*arg3
= (wxRect
*) NULL
;
8083 PyObject
* obj0
= 0 ;
8084 PyObject
* obj1
= 0 ;
8085 PyObject
* obj2
= 0 ;
8087 (char *) "self",(char *) "frame",(char *) "rect", NULL
8090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8092 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8094 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8098 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8100 wxPyEndAllowThreads(__tstate
);
8101 if (PyErr_Occurred()) SWIG_fail
;
8103 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8110 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8111 PyObject
*resultobj
;
8112 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8113 wxFrame
*arg2
= (wxFrame
*) 0 ;
8114 wxWindow
*arg3
= (wxWindow
*) NULL
;
8116 PyObject
* obj0
= 0 ;
8117 PyObject
* obj1
= 0 ;
8118 PyObject
* obj2
= 0 ;
8120 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8125 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8127 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8131 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8133 wxPyEndAllowThreads(__tstate
);
8134 if (PyErr_Occurred()) SWIG_fail
;
8136 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8143 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8144 PyObject
*resultobj
;
8145 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8146 wxWindow
*arg2
= (wxWindow
*) 0 ;
8147 wxWindow
*arg3
= (wxWindow
*) NULL
;
8149 PyObject
* obj0
= 0 ;
8150 PyObject
* obj1
= 0 ;
8151 PyObject
* obj2
= 0 ;
8153 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8158 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8160 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8164 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8166 wxPyEndAllowThreads(__tstate
);
8167 if (PyErr_Occurred()) SWIG_fail
;
8169 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8176 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8178 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8179 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8181 return Py_BuildValue((char *)"");
8183 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8184 PyObject
*resultobj
;
8185 wxWindow
*arg1
= (wxWindow
*) 0 ;
8186 int arg2
= (int) wxBORDER_NONE
;
8187 wxPopupWindow
*result
;
8188 PyObject
* obj0
= 0 ;
8189 PyObject
* obj1
= 0 ;
8191 (char *) "parent",(char *) "flags", NULL
8194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8198 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8199 if (PyErr_Occurred()) SWIG_fail
;
8203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8204 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8206 wxPyEndAllowThreads(__tstate
);
8207 if (PyErr_Occurred()) SWIG_fail
;
8209 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
8216 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8217 PyObject
*resultobj
;
8218 wxPopupWindow
*result
;
8223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8226 result
= (wxPopupWindow
*)new wxPopupWindow();
8228 wxPyEndAllowThreads(__tstate
);
8229 if (PyErr_Occurred()) SWIG_fail
;
8231 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
8238 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8239 PyObject
*resultobj
;
8240 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8241 wxWindow
*arg2
= (wxWindow
*) 0 ;
8242 int arg3
= (int) wxBORDER_NONE
;
8244 PyObject
* obj0
= 0 ;
8245 PyObject
* obj1
= 0 ;
8246 PyObject
* obj2
= 0 ;
8248 (char *) "self",(char *) "parent",(char *) "flags", NULL
8251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPopupWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8253 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8256 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8257 if (PyErr_Occurred()) SWIG_fail
;
8261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8262 result
= (bool)(arg1
)->Create(arg2
,arg3
);
8264 wxPyEndAllowThreads(__tstate
);
8265 if (PyErr_Occurred()) SWIG_fail
;
8267 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8274 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8275 PyObject
*resultobj
;
8276 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8281 PyObject
* obj0
= 0 ;
8282 PyObject
* obj1
= 0 ;
8283 PyObject
* obj2
= 0 ;
8285 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPopupWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8292 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8296 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
8299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8300 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8302 wxPyEndAllowThreads(__tstate
);
8303 if (PyErr_Occurred()) SWIG_fail
;
8305 Py_INCREF(Py_None
); resultobj
= Py_None
;
8312 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8314 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8315 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8317 return Py_BuildValue((char *)"");
8319 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8320 PyObject
*resultobj
;
8321 wxWindow
*arg1
= (wxWindow
*) 0 ;
8322 int arg2
= (int) wxBORDER_NONE
;
8323 wxPyPopupTransientWindow
*result
;
8324 PyObject
* obj0
= 0 ;
8325 PyObject
* obj1
= 0 ;
8327 (char *) "parent",(char *) "style", NULL
8330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8334 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8335 if (PyErr_Occurred()) SWIG_fail
;
8339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8340 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8342 wxPyEndAllowThreads(__tstate
);
8343 if (PyErr_Occurred()) SWIG_fail
;
8345 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8352 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8353 PyObject
*resultobj
;
8354 wxPyPopupTransientWindow
*result
;
8359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8362 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8364 wxPyEndAllowThreads(__tstate
);
8365 if (PyErr_Occurred()) SWIG_fail
;
8367 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8374 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8375 PyObject
*resultobj
;
8376 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8377 PyObject
*arg2
= (PyObject
*) 0 ;
8378 PyObject
*arg3
= (PyObject
*) 0 ;
8379 PyObject
* obj0
= 0 ;
8380 PyObject
* obj1
= 0 ;
8381 PyObject
* obj2
= 0 ;
8383 (char *) "self",(char *) "self",(char *) "_class", NULL
8386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8392 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8394 wxPyEndAllowThreads(__tstate
);
8395 if (PyErr_Occurred()) SWIG_fail
;
8397 Py_INCREF(Py_None
); resultobj
= Py_None
;
8404 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8405 PyObject
*resultobj
;
8406 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8407 wxWindow
*arg2
= (wxWindow
*) NULL
;
8408 PyObject
* obj0
= 0 ;
8409 PyObject
* obj1
= 0 ;
8411 (char *) "self",(char *) "focus", NULL
8414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
8415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8417 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8421 (arg1
)->Popup(arg2
);
8423 wxPyEndAllowThreads(__tstate
);
8424 if (PyErr_Occurred()) SWIG_fail
;
8426 Py_INCREF(Py_None
); resultobj
= Py_None
;
8433 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8434 PyObject
*resultobj
;
8435 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8436 PyObject
* obj0
= 0 ;
8438 (char *) "self", NULL
8441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
8442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8447 wxPyEndAllowThreads(__tstate
);
8448 if (PyErr_Occurred()) SWIG_fail
;
8450 Py_INCREF(Py_None
); resultobj
= Py_None
;
8457 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8460 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8462 return Py_BuildValue((char *)"");
8464 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8465 PyObject
*resultobj
;
8466 wxWindow
*arg1
= (wxWindow
*) 0 ;
8467 wxString
*arg2
= 0 ;
8468 int arg3
= (int) 100 ;
8469 wxRect
*arg4
= (wxRect
*) NULL
;
8470 wxTipWindow
*result
;
8471 bool temp2
= False
;
8472 PyObject
* obj0
= 0 ;
8473 PyObject
* obj1
= 0 ;
8474 PyObject
* obj2
= 0 ;
8475 PyObject
* obj3
= 0 ;
8477 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8483 arg2
= wxString_in_helper(obj1
);
8484 if (arg2
== NULL
) SWIG_fail
;
8489 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8490 if (PyErr_Occurred()) SWIG_fail
;
8494 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8498 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8500 wxPyEndAllowThreads(__tstate
);
8501 if (PyErr_Occurred()) SWIG_fail
;
8503 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTipWindow
, 1);
8518 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8519 PyObject
*resultobj
;
8520 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8523 PyObject
* obj0
= 0 ;
8524 PyObject
* obj1
= 0 ;
8526 (char *) "self",(char *) "rectBound", NULL
8529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8533 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8537 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
8539 wxPyEndAllowThreads(__tstate
);
8540 if (PyErr_Occurred()) SWIG_fail
;
8542 Py_INCREF(Py_None
); resultobj
= Py_None
;
8549 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8550 PyObject
*resultobj
;
8551 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8552 PyObject
* obj0
= 0 ;
8554 (char *) "self", NULL
8557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
8558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8563 wxPyEndAllowThreads(__tstate
);
8564 if (PyErr_Occurred()) SWIG_fail
;
8566 Py_INCREF(Py_None
); resultobj
= Py_None
;
8573 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8575 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8576 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
8578 return Py_BuildValue((char *)"");
8580 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8581 PyObject
*resultobj
;
8582 wxWindow
*arg1
= (wxWindow
*) 0 ;
8583 int arg2
= (int) wxID_ANY
;
8584 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8585 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8586 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8587 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8588 long arg5
= (long) 0 ;
8589 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8590 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8591 wxPyVScrolledWindow
*result
;
8594 bool temp6
= False
;
8595 PyObject
* obj0
= 0 ;
8596 PyObject
* obj1
= 0 ;
8597 PyObject
* obj2
= 0 ;
8598 PyObject
* obj3
= 0 ;
8599 PyObject
* obj4
= 0 ;
8600 PyObject
* obj5
= 0 ;
8602 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8609 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8610 if (PyErr_Occurred()) SWIG_fail
;
8616 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8622 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8627 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
8628 if (PyErr_Occurred()) SWIG_fail
;
8633 arg6
= wxString_in_helper(obj5
);
8634 if (arg6
== NULL
) SWIG_fail
;
8639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8640 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8642 wxPyEndAllowThreads(__tstate
);
8643 if (PyErr_Occurred()) SWIG_fail
;
8645 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8660 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8661 PyObject
*resultobj
;
8662 wxPyVScrolledWindow
*result
;
8667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
8669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8670 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
8672 wxPyEndAllowThreads(__tstate
);
8673 if (PyErr_Occurred()) SWIG_fail
;
8675 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8682 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8683 PyObject
*resultobj
;
8684 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8685 PyObject
*arg2
= (PyObject
*) 0 ;
8686 PyObject
*arg3
= (PyObject
*) 0 ;
8687 PyObject
* obj0
= 0 ;
8688 PyObject
* obj1
= 0 ;
8689 PyObject
* obj2
= 0 ;
8691 (char *) "self",(char *) "self",(char *) "_class", NULL
8694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8700 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8702 wxPyEndAllowThreads(__tstate
);
8703 if (PyErr_Occurred()) SWIG_fail
;
8705 Py_INCREF(Py_None
); resultobj
= Py_None
;
8712 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8713 PyObject
*resultobj
;
8714 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8715 wxWindow
*arg2
= (wxWindow
*) 0 ;
8716 int arg3
= (int) wxID_ANY
;
8717 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8718 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8719 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8720 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8721 long arg6
= (long) 0 ;
8722 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
8723 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8727 bool temp7
= False
;
8728 PyObject
* obj0
= 0 ;
8729 PyObject
* obj1
= 0 ;
8730 PyObject
* obj2
= 0 ;
8731 PyObject
* obj3
= 0 ;
8732 PyObject
* obj4
= 0 ;
8733 PyObject
* obj5
= 0 ;
8734 PyObject
* obj6
= 0 ;
8736 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8741 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8744 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8745 if (PyErr_Occurred()) SWIG_fail
;
8751 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8757 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8762 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
8763 if (PyErr_Occurred()) SWIG_fail
;
8768 arg7
= wxString_in_helper(obj6
);
8769 if (arg7
== NULL
) SWIG_fail
;
8774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8775 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8777 wxPyEndAllowThreads(__tstate
);
8778 if (PyErr_Occurred()) SWIG_fail
;
8780 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8795 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8796 PyObject
*resultobj
;
8797 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8799 PyObject
* obj0
= 0 ;
8800 PyObject
* obj1
= 0 ;
8802 (char *) "self",(char *) "count", NULL
8805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8808 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
8809 if (PyErr_Occurred()) SWIG_fail
;
8812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8813 (arg1
)->SetLineCount(arg2
);
8815 wxPyEndAllowThreads(__tstate
);
8816 if (PyErr_Occurred()) SWIG_fail
;
8818 Py_INCREF(Py_None
); resultobj
= Py_None
;
8825 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8826 PyObject
*resultobj
;
8827 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8830 PyObject
* obj0
= 0 ;
8831 PyObject
* obj1
= 0 ;
8833 (char *) "self",(char *) "line", NULL
8836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8839 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
8840 if (PyErr_Occurred()) SWIG_fail
;
8843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8844 result
= (bool)(arg1
)->ScrollToLine(arg2
);
8846 wxPyEndAllowThreads(__tstate
);
8847 if (PyErr_Occurred()) SWIG_fail
;
8849 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8856 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8857 PyObject
*resultobj
;
8858 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8861 PyObject
* obj0
= 0 ;
8862 PyObject
* obj1
= 0 ;
8864 (char *) "self",(char *) "lines", NULL
8867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
8868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8870 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8875 result
= (bool)(arg1
)->ScrollLines(arg2
);
8877 wxPyEndAllowThreads(__tstate
);
8878 if (PyErr_Occurred()) SWIG_fail
;
8880 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8887 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8888 PyObject
*resultobj
;
8889 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8892 PyObject
* obj0
= 0 ;
8893 PyObject
* obj1
= 0 ;
8895 (char *) "self",(char *) "pages", NULL
8898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
8899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8901 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8902 if (PyErr_Occurred()) SWIG_fail
;
8905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8906 result
= (bool)(arg1
)->ScrollPages(arg2
);
8908 wxPyEndAllowThreads(__tstate
);
8909 if (PyErr_Occurred()) SWIG_fail
;
8911 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8918 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8919 PyObject
*resultobj
;
8920 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8922 PyObject
* obj0
= 0 ;
8923 PyObject
* obj1
= 0 ;
8925 (char *) "self",(char *) "line", NULL
8928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8931 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
8932 if (PyErr_Occurred()) SWIG_fail
;
8935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8936 (arg1
)->RefreshLine(arg2
);
8938 wxPyEndAllowThreads(__tstate
);
8939 if (PyErr_Occurred()) SWIG_fail
;
8941 Py_INCREF(Py_None
); resultobj
= Py_None
;
8948 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8949 PyObject
*resultobj
;
8950 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8953 PyObject
* obj0
= 0 ;
8954 PyObject
* obj1
= 0 ;
8955 PyObject
* obj2
= 0 ;
8957 (char *) "self",(char *) "from",(char *) "to", NULL
8960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8963 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
8964 if (PyErr_Occurred()) SWIG_fail
;
8967 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
8968 if (PyErr_Occurred()) SWIG_fail
;
8971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8972 (arg1
)->RefreshLines(arg2
,arg3
);
8974 wxPyEndAllowThreads(__tstate
);
8975 if (PyErr_Occurred()) SWIG_fail
;
8977 Py_INCREF(Py_None
); resultobj
= Py_None
;
8984 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8985 PyObject
*resultobj
;
8986 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8990 PyObject
* obj0
= 0 ;
8991 PyObject
* obj1
= 0 ;
8992 PyObject
* obj2
= 0 ;
8994 (char *) "self",(char *) "x",(char *) "y", NULL
8997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9000 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9004 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9009 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9011 wxPyEndAllowThreads(__tstate
);
9012 if (PyErr_Occurred()) SWIG_fail
;
9014 resultobj
= SWIG_PyObj_FromInt((int)result
);
9021 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9022 PyObject
*resultobj
;
9023 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9027 PyObject
* obj0
= 0 ;
9028 PyObject
* obj1
= 0 ;
9030 (char *) "self",(char *) "pt", NULL
9033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9037 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9041 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9043 wxPyEndAllowThreads(__tstate
);
9044 if (PyErr_Occurred()) SWIG_fail
;
9046 resultobj
= SWIG_PyObj_FromInt((int)result
);
9053 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9054 PyObject
*resultobj
;
9055 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9056 PyObject
* obj0
= 0 ;
9058 (char *) "self", NULL
9061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9065 (arg1
)->RefreshAll();
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9070 Py_INCREF(Py_None
); resultobj
= Py_None
;
9077 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9078 PyObject
*resultobj
;
9079 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9081 PyObject
* obj0
= 0 ;
9083 (char *) "self", NULL
9086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9090 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9092 wxPyEndAllowThreads(__tstate
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9095 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
9102 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9103 PyObject
*resultobj
;
9104 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9106 PyObject
* obj0
= 0 ;
9108 (char *) "self", NULL
9111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9115 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9117 wxPyEndAllowThreads(__tstate
);
9118 if (PyErr_Occurred()) SWIG_fail
;
9120 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
9127 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9128 PyObject
*resultobj
;
9129 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9131 PyObject
* obj0
= 0 ;
9133 (char *) "self", NULL
9136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9140 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9142 wxPyEndAllowThreads(__tstate
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9145 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
9152 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
;
9154 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9157 PyObject
* obj0
= 0 ;
9158 PyObject
* obj1
= 0 ;
9160 (char *) "self",(char *) "line", NULL
9163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9166 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9171 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9173 wxPyEndAllowThreads(__tstate
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9176 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9183 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9185 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9186 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9188 return Py_BuildValue((char *)"");
9190 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9191 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9196 static PyObject
*_wrap_VListBoxNameStr_get() {
9201 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9203 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9210 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9211 PyObject
*resultobj
;
9212 wxWindow
*arg1
= (wxWindow
*) 0 ;
9213 int arg2
= (int) wxID_ANY
;
9214 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9215 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9216 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9217 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9218 long arg5
= (long) 0 ;
9219 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9220 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9221 wxPyVListBox
*result
;
9224 bool temp6
= False
;
9225 PyObject
* obj0
= 0 ;
9226 PyObject
* obj1
= 0 ;
9227 PyObject
* obj2
= 0 ;
9228 PyObject
* obj3
= 0 ;
9229 PyObject
* obj4
= 0 ;
9230 PyObject
* obj5
= 0 ;
9232 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9239 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9240 if (PyErr_Occurred()) SWIG_fail
;
9246 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9252 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9257 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
9258 if (PyErr_Occurred()) SWIG_fail
;
9263 arg6
= wxString_in_helper(obj5
);
9264 if (arg6
== NULL
) SWIG_fail
;
9269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9270 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9272 wxPyEndAllowThreads(__tstate
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9275 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
9290 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9291 PyObject
*resultobj
;
9292 wxPyVListBox
*result
;
9297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9300 result
= (wxPyVListBox
*)new wxPyVListBox();
9302 wxPyEndAllowThreads(__tstate
);
9303 if (PyErr_Occurred()) SWIG_fail
;
9305 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
9312 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9313 PyObject
*resultobj
;
9314 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9315 PyObject
*arg2
= (PyObject
*) 0 ;
9316 PyObject
*arg3
= (PyObject
*) 0 ;
9317 PyObject
* obj0
= 0 ;
9318 PyObject
* obj1
= 0 ;
9319 PyObject
* obj2
= 0 ;
9321 (char *) "self",(char *) "self",(char *) "_class", NULL
9324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9330 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9332 wxPyEndAllowThreads(__tstate
);
9333 if (PyErr_Occurred()) SWIG_fail
;
9335 Py_INCREF(Py_None
); resultobj
= Py_None
;
9342 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9343 PyObject
*resultobj
;
9344 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9345 wxWindow
*arg2
= (wxWindow
*) 0 ;
9346 int arg3
= (int) wxID_ANY
;
9347 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9348 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9349 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9350 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9351 long arg6
= (long) 0 ;
9352 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9353 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9357 bool temp7
= False
;
9358 PyObject
* obj0
= 0 ;
9359 PyObject
* obj1
= 0 ;
9360 PyObject
* obj2
= 0 ;
9361 PyObject
* obj3
= 0 ;
9362 PyObject
* obj4
= 0 ;
9363 PyObject
* obj5
= 0 ;
9364 PyObject
* obj6
= 0 ;
9366 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9371 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9374 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9375 if (PyErr_Occurred()) SWIG_fail
;
9381 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9387 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9392 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9398 arg7
= wxString_in_helper(obj6
);
9399 if (arg7
== NULL
) SWIG_fail
;
9404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9405 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9407 wxPyEndAllowThreads(__tstate
);
9408 if (PyErr_Occurred()) SWIG_fail
;
9410 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9425 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9426 PyObject
*resultobj
;
9427 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9429 PyObject
* obj0
= 0 ;
9431 (char *) "self", NULL
9434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9438 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9440 wxPyEndAllowThreads(__tstate
);
9441 if (PyErr_Occurred()) SWIG_fail
;
9443 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
9450 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9451 PyObject
*resultobj
;
9452 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9454 PyObject
* obj0
= 0 ;
9456 (char *) "self", NULL
9459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9463 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9465 wxPyEndAllowThreads(__tstate
);
9466 if (PyErr_Occurred()) SWIG_fail
;
9468 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9475 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9476 PyObject
*resultobj
;
9477 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9479 PyObject
* obj0
= 0 ;
9481 (char *) "self", NULL
9484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9488 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9490 wxPyEndAllowThreads(__tstate
);
9491 if (PyErr_Occurred()) SWIG_fail
;
9493 resultobj
= SWIG_PyObj_FromInt((int)result
);
9500 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9501 PyObject
*resultobj
;
9502 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9505 PyObject
* obj0
= 0 ;
9506 PyObject
* obj1
= 0 ;
9508 (char *) "self",(char *) "item", NULL
9511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9514 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9515 if (PyErr_Occurred()) SWIG_fail
;
9518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9519 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9521 wxPyEndAllowThreads(__tstate
);
9522 if (PyErr_Occurred()) SWIG_fail
;
9524 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9531 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9532 PyObject
*resultobj
;
9533 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9536 PyObject
* obj0
= 0 ;
9537 PyObject
* obj1
= 0 ;
9539 (char *) "self",(char *) "item", NULL
9542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9545 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9546 if (PyErr_Occurred()) SWIG_fail
;
9549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9550 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
9552 wxPyEndAllowThreads(__tstate
);
9553 if (PyErr_Occurred()) SWIG_fail
;
9555 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9562 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9563 PyObject
*resultobj
;
9564 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9566 PyObject
* obj0
= 0 ;
9568 (char *) "self", NULL
9571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
9572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9575 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
9577 wxPyEndAllowThreads(__tstate
);
9578 if (PyErr_Occurred()) SWIG_fail
;
9580 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
9587 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9588 PyObject
*resultobj
;
9589 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9590 unsigned long *arg2
= 0 ;
9592 PyObject
* obj0
= 0 ;
9593 PyObject
* obj1
= 0 ;
9595 (char *) "self",(char *) "cookie", NULL
9598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9600 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9602 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9606 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
9608 wxPyEndAllowThreads(__tstate
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9611 resultobj
= SWIG_PyObj_FromInt((int)result
);
9618 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9619 PyObject
*resultobj
;
9620 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9621 unsigned long *arg2
= 0 ;
9623 PyObject
* obj0
= 0 ;
9624 PyObject
* obj1
= 0 ;
9626 (char *) "self",(char *) "cookie", NULL
9629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9631 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9633 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9637 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
9639 wxPyEndAllowThreads(__tstate
);
9640 if (PyErr_Occurred()) SWIG_fail
;
9642 resultobj
= SWIG_PyObj_FromInt((int)result
);
9649 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9650 PyObject
*resultobj
;
9651 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9653 PyObject
* obj0
= 0 ;
9655 (char *) "self", NULL
9658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
9659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9662 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
9664 wxPyEndAllowThreads(__tstate
);
9665 if (PyErr_Occurred()) SWIG_fail
;
9668 wxPoint
* resultptr
;
9669 resultptr
= new wxPoint((wxPoint
&) result
);
9670 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
9678 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9679 PyObject
*resultobj
;
9680 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9682 PyObject
* obj0
= 0 ;
9684 (char *) "self", NULL
9687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
9688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9692 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
9693 result
= (wxColour
*) &_result_ref
;
9696 wxPyEndAllowThreads(__tstate
);
9697 if (PyErr_Occurred()) SWIG_fail
;
9699 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
9706 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9707 PyObject
*resultobj
;
9708 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9710 PyObject
* obj0
= 0 ;
9711 PyObject
* obj1
= 0 ;
9713 (char *) "self",(char *) "count", NULL
9716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9719 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9720 if (PyErr_Occurred()) SWIG_fail
;
9723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9724 (arg1
)->SetItemCount(arg2
);
9726 wxPyEndAllowThreads(__tstate
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9729 Py_INCREF(Py_None
); resultobj
= Py_None
;
9736 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9737 PyObject
*resultobj
;
9738 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9739 PyObject
* obj0
= 0 ;
9741 (char *) "self", NULL
9744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
9745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9750 wxPyEndAllowThreads(__tstate
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9753 Py_INCREF(Py_None
); resultobj
= Py_None
;
9760 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9761 PyObject
*resultobj
;
9762 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9764 PyObject
* obj0
= 0 ;
9765 PyObject
* obj1
= 0 ;
9767 (char *) "self",(char *) "selection", NULL
9770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9773 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9774 if (PyErr_Occurred()) SWIG_fail
;
9777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9778 (arg1
)->SetSelection(arg2
);
9780 wxPyEndAllowThreads(__tstate
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9783 Py_INCREF(Py_None
); resultobj
= Py_None
;
9790 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9791 PyObject
*resultobj
;
9792 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9794 bool arg3
= (bool) True
;
9796 PyObject
* obj0
= 0 ;
9797 PyObject
* obj1
= 0 ;
9798 PyObject
* obj2
= 0 ;
9800 (char *) "self",(char *) "item",(char *) "select", NULL
9803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9806 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9807 if (PyErr_Occurred()) SWIG_fail
;
9811 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
9812 if (PyErr_Occurred()) SWIG_fail
;
9816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9817 result
= (bool)(arg1
)->Select(arg2
,arg3
);
9819 wxPyEndAllowThreads(__tstate
);
9820 if (PyErr_Occurred()) SWIG_fail
;
9822 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9829 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9830 PyObject
*resultobj
;
9831 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9835 PyObject
* obj0
= 0 ;
9836 PyObject
* obj1
= 0 ;
9837 PyObject
* obj2
= 0 ;
9839 (char *) "self",(char *) "from",(char *) "to", NULL
9842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9845 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9846 if (PyErr_Occurred()) SWIG_fail
;
9849 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
9850 if (PyErr_Occurred()) SWIG_fail
;
9853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9854 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
9856 wxPyEndAllowThreads(__tstate
);
9857 if (PyErr_Occurred()) SWIG_fail
;
9859 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9866 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9867 PyObject
*resultobj
;
9868 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9870 PyObject
* obj0
= 0 ;
9871 PyObject
* obj1
= 0 ;
9873 (char *) "self",(char *) "item", NULL
9876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
9877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9879 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9884 (arg1
)->Toggle(arg2
);
9886 wxPyEndAllowThreads(__tstate
);
9887 if (PyErr_Occurred()) SWIG_fail
;
9889 Py_INCREF(Py_None
); resultobj
= Py_None
;
9896 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9897 PyObject
*resultobj
;
9898 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9900 PyObject
* obj0
= 0 ;
9902 (char *) "self", NULL
9905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
9906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9909 result
= (bool)(arg1
)->SelectAll();
9911 wxPyEndAllowThreads(__tstate
);
9912 if (PyErr_Occurred()) SWIG_fail
;
9914 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9921 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9922 PyObject
*resultobj
;
9923 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9925 PyObject
* obj0
= 0 ;
9927 (char *) "self", NULL
9930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
9931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9934 result
= (bool)(arg1
)->DeselectAll();
9936 wxPyEndAllowThreads(__tstate
);
9937 if (PyErr_Occurred()) SWIG_fail
;
9939 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9946 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9947 PyObject
*resultobj
;
9948 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9951 PyObject
* obj0
= 0 ;
9952 PyObject
* obj1
= 0 ;
9954 (char *) "self",(char *) "pt", NULL
9957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
9958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9961 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9965 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
9967 wxPyEndAllowThreads(__tstate
);
9968 if (PyErr_Occurred()) SWIG_fail
;
9970 Py_INCREF(Py_None
); resultobj
= Py_None
;
9977 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9978 PyObject
*resultobj
;
9979 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9982 PyObject
* obj0
= 0 ;
9983 PyObject
* obj1
= 0 ;
9984 PyObject
* obj2
= 0 ;
9986 (char *) "self",(char *) "x",(char *) "y", NULL
9989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9992 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9993 if (PyErr_Occurred()) SWIG_fail
;
9996 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9997 if (PyErr_Occurred()) SWIG_fail
;
10000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10001 (arg1
)->SetMargins(arg2
,arg3
);
10003 wxPyEndAllowThreads(__tstate
);
10004 if (PyErr_Occurred()) SWIG_fail
;
10006 Py_INCREF(Py_None
); resultobj
= Py_None
;
10013 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10014 PyObject
*resultobj
;
10015 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10016 wxColour
*arg2
= 0 ;
10018 PyObject
* obj0
= 0 ;
10019 PyObject
* obj1
= 0 ;
10020 char *kwnames
[] = {
10021 (char *) "self",(char *) "col", NULL
10024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10028 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10032 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10034 wxPyEndAllowThreads(__tstate
);
10035 if (PyErr_Occurred()) SWIG_fail
;
10037 Py_INCREF(Py_None
); resultobj
= Py_None
;
10044 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10047 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10049 return Py_BuildValue((char *)"");
10051 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10052 PyObject
*resultobj
;
10053 wxWindow
*arg1
= (wxWindow
*) 0 ;
10054 int arg2
= (int) wxID_ANY
;
10055 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10056 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10057 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10058 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10059 long arg5
= (long) 0 ;
10060 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10061 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10062 wxPyHtmlListBox
*result
;
10065 bool temp6
= False
;
10066 PyObject
* obj0
= 0 ;
10067 PyObject
* obj1
= 0 ;
10068 PyObject
* obj2
= 0 ;
10069 PyObject
* obj3
= 0 ;
10070 PyObject
* obj4
= 0 ;
10071 PyObject
* obj5
= 0 ;
10072 char *kwnames
[] = {
10073 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10080 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10081 if (PyErr_Occurred()) SWIG_fail
;
10087 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10093 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10098 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10104 arg6
= wxString_in_helper(obj5
);
10105 if (arg6
== NULL
) SWIG_fail
;
10110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10111 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10113 wxPyEndAllowThreads(__tstate
);
10114 if (PyErr_Occurred()) SWIG_fail
;
10116 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
10131 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10132 PyObject
*resultobj
;
10133 wxPyHtmlListBox
*result
;
10134 char *kwnames
[] = {
10138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10141 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10143 wxPyEndAllowThreads(__tstate
);
10144 if (PyErr_Occurred()) SWIG_fail
;
10146 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
10153 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10154 PyObject
*resultobj
;
10155 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10156 PyObject
*arg2
= (PyObject
*) 0 ;
10157 PyObject
*arg3
= (PyObject
*) 0 ;
10158 PyObject
* obj0
= 0 ;
10159 PyObject
* obj1
= 0 ;
10160 PyObject
* obj2
= 0 ;
10161 char *kwnames
[] = {
10162 (char *) "self",(char *) "self",(char *) "_class", NULL
10165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10171 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10173 wxPyEndAllowThreads(__tstate
);
10174 if (PyErr_Occurred()) SWIG_fail
;
10176 Py_INCREF(Py_None
); resultobj
= Py_None
;
10183 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10184 PyObject
*resultobj
;
10185 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10186 wxWindow
*arg2
= (wxWindow
*) 0 ;
10187 int arg3
= (int) wxID_ANY
;
10188 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10189 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10190 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10191 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10192 long arg6
= (long) 0 ;
10193 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10194 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10198 bool temp7
= False
;
10199 PyObject
* obj0
= 0 ;
10200 PyObject
* obj1
= 0 ;
10201 PyObject
* obj2
= 0 ;
10202 PyObject
* obj3
= 0 ;
10203 PyObject
* obj4
= 0 ;
10204 PyObject
* obj5
= 0 ;
10205 PyObject
* obj6
= 0 ;
10206 char *kwnames
[] = {
10207 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10212 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10215 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10216 if (PyErr_Occurred()) SWIG_fail
;
10222 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10228 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10233 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
10234 if (PyErr_Occurred()) SWIG_fail
;
10239 arg7
= wxString_in_helper(obj6
);
10240 if (arg7
== NULL
) SWIG_fail
;
10245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10246 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10248 wxPyEndAllowThreads(__tstate
);
10249 if (PyErr_Occurred()) SWIG_fail
;
10251 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10266 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10267 PyObject
*resultobj
;
10268 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10269 PyObject
* obj0
= 0 ;
10270 char *kwnames
[] = {
10271 (char *) "self", NULL
10274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10278 (arg1
)->RefreshAll();
10280 wxPyEndAllowThreads(__tstate
);
10281 if (PyErr_Occurred()) SWIG_fail
;
10283 Py_INCREF(Py_None
); resultobj
= Py_None
;
10290 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10291 PyObject
*resultobj
;
10292 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10294 PyObject
* obj0
= 0 ;
10295 PyObject
* obj1
= 0 ;
10296 char *kwnames
[] = {
10297 (char *) "self",(char *) "count", NULL
10300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10303 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
10304 if (PyErr_Occurred()) SWIG_fail
;
10307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10308 (arg1
)->SetItemCount(arg2
);
10310 wxPyEndAllowThreads(__tstate
);
10311 if (PyErr_Occurred()) SWIG_fail
;
10313 Py_INCREF(Py_None
); resultobj
= Py_None
;
10320 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10323 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10325 return Py_BuildValue((char *)"");
10327 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10328 PyObject
*resultobj
;
10329 wxTaskBarIcon
*result
;
10330 char *kwnames
[] = {
10334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10337 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10339 wxPyEndAllowThreads(__tstate
);
10340 if (PyErr_Occurred()) SWIG_fail
;
10342 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIcon
, 1);
10349 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10350 PyObject
*resultobj
;
10351 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10352 PyObject
* obj0
= 0 ;
10353 char *kwnames
[] = {
10354 (char *) "self", NULL
10357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10363 wxPyEndAllowThreads(__tstate
);
10364 if (PyErr_Occurred()) SWIG_fail
;
10366 Py_INCREF(Py_None
); resultobj
= Py_None
;
10373 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10374 PyObject
*resultobj
;
10375 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10377 PyObject
* obj0
= 0 ;
10378 char *kwnames
[] = {
10379 (char *) "self", NULL
10382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
10383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10386 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
10388 wxPyEndAllowThreads(__tstate
);
10389 if (PyErr_Occurred()) SWIG_fail
;
10391 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10398 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10399 PyObject
*resultobj
;
10400 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10402 PyObject
* obj0
= 0 ;
10403 char *kwnames
[] = {
10404 (char *) "self", NULL
10407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
10408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10411 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
10413 wxPyEndAllowThreads(__tstate
);
10414 if (PyErr_Occurred()) SWIG_fail
;
10416 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10423 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10424 PyObject
*resultobj
;
10425 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10427 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10428 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10430 bool temp3
= False
;
10431 PyObject
* obj0
= 0 ;
10432 PyObject
* obj1
= 0 ;
10433 PyObject
* obj2
= 0 ;
10434 char *kwnames
[] = {
10435 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10440 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10441 if (arg2
== NULL
) {
10442 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10446 arg3
= wxString_in_helper(obj2
);
10447 if (arg3
== NULL
) SWIG_fail
;
10452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10453 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
10455 wxPyEndAllowThreads(__tstate
);
10456 if (PyErr_Occurred()) SWIG_fail
;
10458 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10473 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10474 PyObject
*resultobj
;
10475 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10477 PyObject
* obj0
= 0 ;
10478 char *kwnames
[] = {
10479 (char *) "self", NULL
10482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
10483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10486 result
= (bool)(arg1
)->RemoveIcon();
10488 wxPyEndAllowThreads(__tstate
);
10489 if (PyErr_Occurred()) SWIG_fail
;
10491 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10498 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10499 PyObject
*resultobj
;
10500 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10501 wxMenu
*arg2
= (wxMenu
*) 0 ;
10503 PyObject
* obj0
= 0 ;
10504 PyObject
* obj1
= 0 ;
10505 char *kwnames
[] = {
10506 (char *) "self",(char *) "menu", NULL
10509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
10510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10511 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10514 result
= (bool)(arg1
)->PopupMenu(arg2
);
10516 wxPyEndAllowThreads(__tstate
);
10517 if (PyErr_Occurred()) SWIG_fail
;
10519 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10526 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
10528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10529 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
10531 return Py_BuildValue((char *)"");
10533 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10534 PyObject
*resultobj
;
10536 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
10537 wxTaskBarIconEvent
*result
;
10538 PyObject
* obj0
= 0 ;
10539 PyObject
* obj1
= 0 ;
10540 char *kwnames
[] = {
10541 (char *) "evtType",(char *) "tbIcon", NULL
10544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10546 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
10547 if (PyErr_Occurred()) SWIG_fail
;
10549 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10552 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
10554 wxPyEndAllowThreads(__tstate
);
10555 if (PyErr_Occurred()) SWIG_fail
;
10557 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIconEvent
, 1);
10564 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10566 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10567 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
10569 return Py_BuildValue((char *)"");
10571 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
10572 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
10577 static PyObject
*_wrap_FileSelectorPromptStr_get() {
10582 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10584 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10591 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
10592 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
10597 static PyObject
*_wrap_DirSelectorPromptStr_get() {
10602 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10604 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10611 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
10612 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
10617 static PyObject
*_wrap_DirDialogNameStr_get() {
10622 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10624 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10631 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
10632 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
10637 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
10642 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10644 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10651 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
10652 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
10657 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
10662 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10664 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10671 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
10672 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
10677 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
10682 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10684 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10691 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10692 PyObject
*resultobj
;
10693 wxColourData
*result
;
10694 char *kwnames
[] = {
10698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
10700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10701 result
= (wxColourData
*)new wxColourData();
10703 wxPyEndAllowThreads(__tstate
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10706 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 1);
10713 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10714 PyObject
*resultobj
;
10715 wxColourData
*arg1
= (wxColourData
*) 0 ;
10716 PyObject
* obj0
= 0 ;
10717 char *kwnames
[] = {
10718 (char *) "self", NULL
10721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
10722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10727 wxPyEndAllowThreads(__tstate
);
10728 if (PyErr_Occurred()) SWIG_fail
;
10730 Py_INCREF(Py_None
); resultobj
= Py_None
;
10737 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10738 PyObject
*resultobj
;
10739 wxColourData
*arg1
= (wxColourData
*) 0 ;
10741 PyObject
* obj0
= 0 ;
10742 char *kwnames
[] = {
10743 (char *) "self", NULL
10746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
10747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10750 result
= (bool)(arg1
)->GetChooseFull();
10752 wxPyEndAllowThreads(__tstate
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10755 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10762 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10763 PyObject
*resultobj
;
10764 wxColourData
*arg1
= (wxColourData
*) 0 ;
10766 PyObject
* obj0
= 0 ;
10767 char *kwnames
[] = {
10768 (char *) "self", NULL
10771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
10772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10775 result
= (arg1
)->GetColour();
10777 wxPyEndAllowThreads(__tstate
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10781 wxColour
* resultptr
;
10782 resultptr
= new wxColour((wxColour
&) result
);
10783 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10791 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10792 PyObject
*resultobj
;
10793 wxColourData
*arg1
= (wxColourData
*) 0 ;
10796 PyObject
* obj0
= 0 ;
10797 PyObject
* obj1
= 0 ;
10798 char *kwnames
[] = {
10799 (char *) "self",(char *) "i", NULL
10802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10805 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10806 if (PyErr_Occurred()) SWIG_fail
;
10809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10810 result
= (arg1
)->GetCustomColour(arg2
);
10812 wxPyEndAllowThreads(__tstate
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10816 wxColour
* resultptr
;
10817 resultptr
= new wxColour((wxColour
&) result
);
10818 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10826 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10827 PyObject
*resultobj
;
10828 wxColourData
*arg1
= (wxColourData
*) 0 ;
10830 PyObject
* obj0
= 0 ;
10831 PyObject
* obj1
= 0 ;
10832 char *kwnames
[] = {
10833 (char *) "self",(char *) "flag", NULL
10836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
10837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10839 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10840 if (PyErr_Occurred()) SWIG_fail
;
10843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10844 (arg1
)->SetChooseFull(arg2
);
10846 wxPyEndAllowThreads(__tstate
);
10847 if (PyErr_Occurred()) SWIG_fail
;
10849 Py_INCREF(Py_None
); resultobj
= Py_None
;
10856 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10857 PyObject
*resultobj
;
10858 wxColourData
*arg1
= (wxColourData
*) 0 ;
10859 wxColour
*arg2
= 0 ;
10861 PyObject
* obj0
= 0 ;
10862 PyObject
* obj1
= 0 ;
10863 char *kwnames
[] = {
10864 (char *) "self",(char *) "colour", NULL
10867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10871 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10875 (arg1
)->SetColour((wxColour
const &)*arg2
);
10877 wxPyEndAllowThreads(__tstate
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10880 Py_INCREF(Py_None
); resultobj
= Py_None
;
10887 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10888 PyObject
*resultobj
;
10889 wxColourData
*arg1
= (wxColourData
*) 0 ;
10891 wxColour
*arg3
= 0 ;
10893 PyObject
* obj0
= 0 ;
10894 PyObject
* obj1
= 0 ;
10895 PyObject
* obj2
= 0 ;
10896 char *kwnames
[] = {
10897 (char *) "self",(char *) "i",(char *) "colour", NULL
10900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10903 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10904 if (PyErr_Occurred()) SWIG_fail
;
10908 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10912 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
10914 wxPyEndAllowThreads(__tstate
);
10915 if (PyErr_Occurred()) SWIG_fail
;
10917 Py_INCREF(Py_None
); resultobj
= Py_None
;
10924 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
10926 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10927 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
10929 return Py_BuildValue((char *)"");
10931 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10932 PyObject
*resultobj
;
10933 wxWindow
*arg1
= (wxWindow
*) 0 ;
10934 wxColourData
*arg2
= (wxColourData
*) NULL
;
10935 wxColourDialog
*result
;
10936 PyObject
* obj0
= 0 ;
10937 PyObject
* obj1
= 0 ;
10938 char *kwnames
[] = {
10939 (char *) "parent",(char *) "data", NULL
10942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
10943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10945 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10949 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
10951 wxPyEndAllowThreads(__tstate
);
10952 if (PyErr_Occurred()) SWIG_fail
;
10954 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourDialog
, 1);
10961 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10962 PyObject
*resultobj
;
10963 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
10964 wxColourData
*result
;
10965 PyObject
* obj0
= 0 ;
10966 char *kwnames
[] = {
10967 (char *) "self", NULL
10970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
10971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10975 wxColourData
&_result_ref
= (arg1
)->GetColourData();
10976 result
= (wxColourData
*) &_result_ref
;
10979 wxPyEndAllowThreads(__tstate
);
10980 if (PyErr_Occurred()) SWIG_fail
;
10982 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 0);
10989 static PyObject
*_wrap_ColourDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10990 PyObject
*resultobj
;
10991 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
10993 PyObject
* obj0
= 0 ;
10994 char *kwnames
[] = {
10995 (char *) "self", NULL
10998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
10999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11002 result
= (int)(arg1
)->ShowModal();
11004 wxPyEndAllowThreads(__tstate
);
11005 if (PyErr_Occurred()) SWIG_fail
;
11007 resultobj
= SWIG_PyObj_FromInt((int)result
);
11014 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11017 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11019 return Py_BuildValue((char *)"");
11021 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11022 PyObject
*resultobj
;
11023 wxWindow
*arg1
= (wxWindow
*) 0 ;
11024 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11025 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11026 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11027 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11028 long arg4
= (long) 0 ;
11029 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11030 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11031 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11032 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11033 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11034 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11035 wxDirDialog
*result
;
11036 bool temp2
= False
;
11037 bool temp3
= False
;
11040 bool temp7
= False
;
11041 PyObject
* obj0
= 0 ;
11042 PyObject
* obj1
= 0 ;
11043 PyObject
* obj2
= 0 ;
11044 PyObject
* obj3
= 0 ;
11045 PyObject
* obj4
= 0 ;
11046 PyObject
* obj5
= 0 ;
11047 PyObject
* obj6
= 0 ;
11048 char *kwnames
[] = {
11049 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11056 arg2
= wxString_in_helper(obj1
);
11057 if (arg2
== NULL
) SWIG_fail
;
11063 arg3
= wxString_in_helper(obj2
);
11064 if (arg3
== NULL
) SWIG_fail
;
11070 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
11071 if (PyErr_Occurred()) SWIG_fail
;
11077 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11083 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11088 arg7
= wxString_in_helper(obj6
);
11089 if (arg7
== NULL
) SWIG_fail
;
11094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11095 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11097 wxPyEndAllowThreads(__tstate
);
11098 if (PyErr_Occurred()) SWIG_fail
;
11100 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirDialog
, 1);
11131 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11132 PyObject
*resultobj
;
11133 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11135 PyObject
* obj0
= 0 ;
11136 char *kwnames
[] = {
11137 (char *) "self", NULL
11140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11144 result
= (arg1
)->GetPath();
11146 wxPyEndAllowThreads(__tstate
);
11147 if (PyErr_Occurred()) SWIG_fail
;
11151 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11153 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11162 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11163 PyObject
*resultobj
;
11164 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11166 PyObject
* obj0
= 0 ;
11167 char *kwnames
[] = {
11168 (char *) "self", NULL
11171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11175 result
= (arg1
)->GetMessage();
11177 wxPyEndAllowThreads(__tstate
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11182 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11184 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11193 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11194 PyObject
*resultobj
;
11195 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11197 PyObject
* obj0
= 0 ;
11198 char *kwnames
[] = {
11199 (char *) "self", NULL
11202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11206 result
= (long)(arg1
)->GetStyle();
11208 wxPyEndAllowThreads(__tstate
);
11209 if (PyErr_Occurred()) SWIG_fail
;
11211 resultobj
= SWIG_PyObj_FromLong((long)result
);
11218 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11219 PyObject
*resultobj
;
11220 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11221 wxString
*arg2
= 0 ;
11222 bool temp2
= False
;
11223 PyObject
* obj0
= 0 ;
11224 PyObject
* obj1
= 0 ;
11225 char *kwnames
[] = {
11226 (char *) "self",(char *) "message", NULL
11229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11232 arg2
= wxString_in_helper(obj1
);
11233 if (arg2
== NULL
) SWIG_fail
;
11237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11238 (arg1
)->SetMessage((wxString
const &)*arg2
);
11240 wxPyEndAllowThreads(__tstate
);
11241 if (PyErr_Occurred()) SWIG_fail
;
11243 Py_INCREF(Py_None
); resultobj
= Py_None
;
11258 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11259 PyObject
*resultobj
;
11260 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11261 wxString
*arg2
= 0 ;
11262 bool temp2
= False
;
11263 PyObject
* obj0
= 0 ;
11264 PyObject
* obj1
= 0 ;
11265 char *kwnames
[] = {
11266 (char *) "self",(char *) "path", NULL
11269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11272 arg2
= wxString_in_helper(obj1
);
11273 if (arg2
== NULL
) SWIG_fail
;
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11278 (arg1
)->SetPath((wxString
const &)*arg2
);
11280 wxPyEndAllowThreads(__tstate
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11283 Py_INCREF(Py_None
); resultobj
= Py_None
;
11298 static PyObject
*_wrap_DirDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11299 PyObject
*resultobj
;
11300 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11302 PyObject
* obj0
= 0 ;
11303 char *kwnames
[] = {
11304 (char *) "self", NULL
11307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11311 result
= (int)(arg1
)->ShowModal();
11313 wxPyEndAllowThreads(__tstate
);
11314 if (PyErr_Occurred()) SWIG_fail
;
11316 resultobj
= SWIG_PyObj_FromInt((int)result
);
11323 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11326 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11328 return Py_BuildValue((char *)"");
11330 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11331 PyObject
*resultobj
;
11332 wxWindow
*arg1
= (wxWindow
*) 0 ;
11333 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11334 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11335 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11336 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11337 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11338 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11339 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11340 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11341 long arg6
= (long) 0 ;
11342 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11343 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11344 wxFileDialog
*result
;
11345 bool temp2
= False
;
11346 bool temp3
= False
;
11347 bool temp4
= False
;
11348 bool temp5
= False
;
11350 PyObject
* obj0
= 0 ;
11351 PyObject
* obj1
= 0 ;
11352 PyObject
* obj2
= 0 ;
11353 PyObject
* obj3
= 0 ;
11354 PyObject
* obj4
= 0 ;
11355 PyObject
* obj5
= 0 ;
11356 PyObject
* obj6
= 0 ;
11357 char *kwnames
[] = {
11358 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11365 arg2
= wxString_in_helper(obj1
);
11366 if (arg2
== NULL
) SWIG_fail
;
11372 arg3
= wxString_in_helper(obj2
);
11373 if (arg3
== NULL
) SWIG_fail
;
11379 arg4
= wxString_in_helper(obj3
);
11380 if (arg4
== NULL
) SWIG_fail
;
11386 arg5
= wxString_in_helper(obj4
);
11387 if (arg5
== NULL
) SWIG_fail
;
11393 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
11394 if (PyErr_Occurred()) SWIG_fail
;
11400 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11405 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11407 wxPyEndAllowThreads(__tstate
);
11408 if (PyErr_Occurred()) SWIG_fail
;
11410 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileDialog
, 1);
11449 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11450 PyObject
*resultobj
;
11451 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11452 wxString
*arg2
= 0 ;
11453 bool temp2
= False
;
11454 PyObject
* obj0
= 0 ;
11455 PyObject
* obj1
= 0 ;
11456 char *kwnames
[] = {
11457 (char *) "self",(char *) "message", NULL
11460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11463 arg2
= wxString_in_helper(obj1
);
11464 if (arg2
== NULL
) SWIG_fail
;
11468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11469 (arg1
)->SetMessage((wxString
const &)*arg2
);
11471 wxPyEndAllowThreads(__tstate
);
11472 if (PyErr_Occurred()) SWIG_fail
;
11474 Py_INCREF(Py_None
); resultobj
= Py_None
;
11489 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11490 PyObject
*resultobj
;
11491 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11492 wxString
*arg2
= 0 ;
11493 bool temp2
= False
;
11494 PyObject
* obj0
= 0 ;
11495 PyObject
* obj1
= 0 ;
11496 char *kwnames
[] = {
11497 (char *) "self",(char *) "path", NULL
11500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11503 arg2
= wxString_in_helper(obj1
);
11504 if (arg2
== NULL
) SWIG_fail
;
11508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11509 (arg1
)->SetPath((wxString
const &)*arg2
);
11511 wxPyEndAllowThreads(__tstate
);
11512 if (PyErr_Occurred()) SWIG_fail
;
11514 Py_INCREF(Py_None
); resultobj
= Py_None
;
11529 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11530 PyObject
*resultobj
;
11531 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11532 wxString
*arg2
= 0 ;
11533 bool temp2
= False
;
11534 PyObject
* obj0
= 0 ;
11535 PyObject
* obj1
= 0 ;
11536 char *kwnames
[] = {
11537 (char *) "self",(char *) "dir", NULL
11540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
11541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11543 arg2
= wxString_in_helper(obj1
);
11544 if (arg2
== NULL
) SWIG_fail
;
11548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11549 (arg1
)->SetDirectory((wxString
const &)*arg2
);
11551 wxPyEndAllowThreads(__tstate
);
11552 if (PyErr_Occurred()) SWIG_fail
;
11554 Py_INCREF(Py_None
); resultobj
= Py_None
;
11569 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11570 PyObject
*resultobj
;
11571 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11572 wxString
*arg2
= 0 ;
11573 bool temp2
= False
;
11574 PyObject
* obj0
= 0 ;
11575 PyObject
* obj1
= 0 ;
11576 char *kwnames
[] = {
11577 (char *) "self",(char *) "name", NULL
11580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11583 arg2
= wxString_in_helper(obj1
);
11584 if (arg2
== NULL
) SWIG_fail
;
11588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11589 (arg1
)->SetFilename((wxString
const &)*arg2
);
11591 wxPyEndAllowThreads(__tstate
);
11592 if (PyErr_Occurred()) SWIG_fail
;
11594 Py_INCREF(Py_None
); resultobj
= Py_None
;
11609 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11610 PyObject
*resultobj
;
11611 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11612 wxString
*arg2
= 0 ;
11613 bool temp2
= False
;
11614 PyObject
* obj0
= 0 ;
11615 PyObject
* obj1
= 0 ;
11616 char *kwnames
[] = {
11617 (char *) "self",(char *) "wildCard", NULL
11620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
11621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11623 arg2
= wxString_in_helper(obj1
);
11624 if (arg2
== NULL
) SWIG_fail
;
11628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11629 (arg1
)->SetWildcard((wxString
const &)*arg2
);
11631 wxPyEndAllowThreads(__tstate
);
11632 if (PyErr_Occurred()) SWIG_fail
;
11634 Py_INCREF(Py_None
); resultobj
= Py_None
;
11649 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11650 PyObject
*resultobj
;
11651 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11653 PyObject
* obj0
= 0 ;
11654 PyObject
* obj1
= 0 ;
11655 char *kwnames
[] = {
11656 (char *) "self",(char *) "style", NULL
11659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11662 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
11663 if (PyErr_Occurred()) SWIG_fail
;
11666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11667 (arg1
)->SetStyle(arg2
);
11669 wxPyEndAllowThreads(__tstate
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11672 Py_INCREF(Py_None
); resultobj
= Py_None
;
11679 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11680 PyObject
*resultobj
;
11681 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11683 PyObject
* obj0
= 0 ;
11684 PyObject
* obj1
= 0 ;
11685 char *kwnames
[] = {
11686 (char *) "self",(char *) "filterIndex", NULL
11689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
11690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11692 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11693 if (PyErr_Occurred()) SWIG_fail
;
11696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11697 (arg1
)->SetFilterIndex(arg2
);
11699 wxPyEndAllowThreads(__tstate
);
11700 if (PyErr_Occurred()) SWIG_fail
;
11702 Py_INCREF(Py_None
); resultobj
= Py_None
;
11709 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11710 PyObject
*resultobj
;
11711 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11713 PyObject
* obj0
= 0 ;
11714 char *kwnames
[] = {
11715 (char *) "self", NULL
11718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11722 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
11724 wxPyEndAllowThreads(__tstate
);
11725 if (PyErr_Occurred()) SWIG_fail
;
11729 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11731 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11740 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11741 PyObject
*resultobj
;
11742 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11744 PyObject
* obj0
= 0 ;
11745 char *kwnames
[] = {
11746 (char *) "self", NULL
11749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11753 result
= ((wxFileDialog
const *)arg1
)->GetPath();
11755 wxPyEndAllowThreads(__tstate
);
11756 if (PyErr_Occurred()) SWIG_fail
;
11760 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11762 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11771 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11772 PyObject
*resultobj
;
11773 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11775 PyObject
* obj0
= 0 ;
11776 char *kwnames
[] = {
11777 (char *) "self", NULL
11780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
11781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11784 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
11786 wxPyEndAllowThreads(__tstate
);
11787 if (PyErr_Occurred()) SWIG_fail
;
11791 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11793 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11802 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11803 PyObject
*resultobj
;
11804 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11806 PyObject
* obj0
= 0 ;
11807 char *kwnames
[] = {
11808 (char *) "self", NULL
11811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
11812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11815 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
11817 wxPyEndAllowThreads(__tstate
);
11818 if (PyErr_Occurred()) SWIG_fail
;
11822 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11824 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11833 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11834 PyObject
*resultobj
;
11835 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11837 PyObject
* obj0
= 0 ;
11838 char *kwnames
[] = {
11839 (char *) "self", NULL
11842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
11843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11846 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
11848 wxPyEndAllowThreads(__tstate
);
11849 if (PyErr_Occurred()) SWIG_fail
;
11853 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11855 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11864 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11865 PyObject
*resultobj
;
11866 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11868 PyObject
* obj0
= 0 ;
11869 char *kwnames
[] = {
11870 (char *) "self", NULL
11873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11877 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
11879 wxPyEndAllowThreads(__tstate
);
11880 if (PyErr_Occurred()) SWIG_fail
;
11882 resultobj
= SWIG_PyObj_FromLong((long)result
);
11889 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11890 PyObject
*resultobj
;
11891 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11893 PyObject
* obj0
= 0 ;
11894 char *kwnames
[] = {
11895 (char *) "self", NULL
11898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
11899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11902 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
11904 wxPyEndAllowThreads(__tstate
);
11905 if (PyErr_Occurred()) SWIG_fail
;
11907 resultobj
= SWIG_PyObj_FromInt((int)result
);
11914 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11915 PyObject
*resultobj
;
11916 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11918 PyObject
* obj0
= 0 ;
11919 char *kwnames
[] = {
11920 (char *) "self", NULL
11923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
11924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11927 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
11929 wxPyEndAllowThreads(__tstate
);
11930 if (PyErr_Occurred()) SWIG_fail
;
11932 resultobj
= result
;
11939 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11940 PyObject
*resultobj
;
11941 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11943 PyObject
* obj0
= 0 ;
11944 char *kwnames
[] = {
11945 (char *) "self", NULL
11948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
11949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11952 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
11954 wxPyEndAllowThreads(__tstate
);
11955 if (PyErr_Occurred()) SWIG_fail
;
11957 resultobj
= result
;
11964 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11966 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11967 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
11969 return Py_BuildValue((char *)"");
11971 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11972 PyObject
*resultobj
;
11973 wxWindow
*arg1
= (wxWindow
*) 0 ;
11974 wxString
*arg2
= 0 ;
11975 wxString
*arg3
= 0 ;
11977 wxString
*arg5
= (wxString
*) 0 ;
11978 long arg6
= (long) wxCHOICEDLG_STYLE
;
11979 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11980 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11981 wxMultiChoiceDialog
*result
;
11982 bool temp2
= False
;
11983 bool temp3
= False
;
11984 bool temp5
= False
;
11986 PyObject
* obj0
= 0 ;
11987 PyObject
* obj1
= 0 ;
11988 PyObject
* obj2
= 0 ;
11989 PyObject
* obj3
= 0 ;
11990 PyObject
* obj4
= 0 ;
11991 PyObject
* obj5
= 0 ;
11992 PyObject
* obj6
= 0 ;
11993 char *kwnames
[] = {
11994 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
11997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12000 arg2
= wxString_in_helper(obj1
);
12001 if (arg2
== NULL
) SWIG_fail
;
12005 arg3
= wxString_in_helper(obj2
);
12006 if (arg3
== NULL
) SWIG_fail
;
12010 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12011 if (PyErr_Occurred()) SWIG_fail
;
12014 arg5
= wxString_in_helper(obj4
);
12015 if (arg5
== NULL
) SWIG_fail
;
12020 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12027 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12032 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12034 wxPyEndAllowThreads(__tstate
);
12035 if (PyErr_Occurred()) SWIG_fail
;
12037 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12068 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12069 PyObject
*resultobj
;
12070 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12071 wxArrayInt
*arg2
= 0 ;
12072 PyObject
* obj0
= 0 ;
12073 PyObject
* obj1
= 0 ;
12074 char *kwnames
[] = {
12075 (char *) "self",(char *) "selections", NULL
12078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12081 if (! PySequence_Check(obj1
)) {
12082 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12085 arg2
= new wxArrayInt
;
12086 int i
, len
=PySequence_Length(obj1
);
12087 for (i
=0; i
<len
; i
++) {
12088 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12089 PyObject
* number
= PyNumber_Int(item
);
12090 arg2
->Add(PyInt_AS_LONG(number
));
12096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12097 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12099 wxPyEndAllowThreads(__tstate
);
12100 if (PyErr_Occurred()) SWIG_fail
;
12102 Py_INCREF(Py_None
); resultobj
= Py_None
;
12104 if (arg2
) delete arg2
;
12109 if (arg2
) delete arg2
;
12115 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12116 PyObject
*resultobj
;
12117 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12119 PyObject
* obj0
= 0 ;
12120 char *kwnames
[] = {
12121 (char *) "self", NULL
12124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12128 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12130 wxPyEndAllowThreads(__tstate
);
12131 if (PyErr_Occurred()) SWIG_fail
;
12133 resultobj
= result
;
12140 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12143 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12145 return Py_BuildValue((char *)"");
12147 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12148 PyObject
*resultobj
;
12149 wxWindow
*arg1
= (wxWindow
*) 0 ;
12150 wxString
*arg2
= 0 ;
12151 wxString
*arg3
= 0 ;
12153 wxString
*arg5
= (wxString
*) 0 ;
12154 long arg6
= (long) wxCHOICEDLG_STYLE
;
12155 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12156 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12157 wxSingleChoiceDialog
*result
;
12158 bool temp2
= False
;
12159 bool temp3
= False
;
12161 PyObject
* obj0
= 0 ;
12162 PyObject
* obj1
= 0 ;
12163 PyObject
* obj2
= 0 ;
12164 PyObject
* obj3
= 0 ;
12165 PyObject
* obj4
= 0 ;
12166 PyObject
* obj5
= 0 ;
12167 char *kwnames
[] = {
12168 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12174 arg2
= wxString_in_helper(obj1
);
12175 if (arg2
== NULL
) SWIG_fail
;
12179 arg3
= wxString_in_helper(obj2
);
12180 if (arg3
== NULL
) SWIG_fail
;
12184 arg4
= PyList_Size(obj3
);
12185 arg5
= wxString_LIST_helper(obj3
);
12186 if (arg5
== NULL
) SWIG_fail
;
12190 arg6
= (long) SWIG_PyObj_AsLong(obj4
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12197 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12202 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12204 wxPyEndAllowThreads(__tstate
);
12205 if (PyErr_Occurred()) SWIG_fail
;
12207 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12217 if (arg5
) delete [] arg5
;
12230 if (arg5
) delete [] arg5
;
12236 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12237 PyObject
*resultobj
;
12238 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12240 PyObject
* obj0
= 0 ;
12241 char *kwnames
[] = {
12242 (char *) "self", NULL
12245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 result
= (int)(arg1
)->GetSelection();
12251 wxPyEndAllowThreads(__tstate
);
12252 if (PyErr_Occurred()) SWIG_fail
;
12254 resultobj
= SWIG_PyObj_FromInt((int)result
);
12261 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12262 PyObject
*resultobj
;
12263 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12265 PyObject
* obj0
= 0 ;
12266 char *kwnames
[] = {
12267 (char *) "self", NULL
12270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12274 result
= (arg1
)->GetStringSelection();
12276 wxPyEndAllowThreads(__tstate
);
12277 if (PyErr_Occurred()) SWIG_fail
;
12281 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12283 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12292 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12293 PyObject
*resultobj
;
12294 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12296 PyObject
* obj0
= 0 ;
12297 PyObject
* obj1
= 0 ;
12298 char *kwnames
[] = {
12299 (char *) "self",(char *) "sel", NULL
12302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12305 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12306 if (PyErr_Occurred()) SWIG_fail
;
12309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12310 (arg1
)->SetSelection(arg2
);
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12315 Py_INCREF(Py_None
); resultobj
= Py_None
;
12322 static PyObject
*_wrap_SingleChoiceDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12323 PyObject
*resultobj
;
12324 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12326 PyObject
* obj0
= 0 ;
12327 char *kwnames
[] = {
12328 (char *) "self", NULL
12331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
12332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12335 result
= (int)(arg1
)->ShowModal();
12337 wxPyEndAllowThreads(__tstate
);
12338 if (PyErr_Occurred()) SWIG_fail
;
12340 resultobj
= SWIG_PyObj_FromInt((int)result
);
12347 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12349 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12350 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12352 return Py_BuildValue((char *)"");
12354 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12355 PyObject
*resultobj
;
12356 wxWindow
*arg1
= (wxWindow
*) 0 ;
12357 wxString
*arg2
= 0 ;
12358 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12359 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12360 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12361 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12362 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12363 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12364 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12365 wxTextEntryDialog
*result
;
12366 bool temp2
= False
;
12367 bool temp3
= False
;
12368 bool temp4
= False
;
12370 PyObject
* obj0
= 0 ;
12371 PyObject
* obj1
= 0 ;
12372 PyObject
* obj2
= 0 ;
12373 PyObject
* obj3
= 0 ;
12374 PyObject
* obj4
= 0 ;
12375 PyObject
* obj5
= 0 ;
12376 char *kwnames
[] = {
12377 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12383 arg2
= wxString_in_helper(obj1
);
12384 if (arg2
== NULL
) SWIG_fail
;
12389 arg3
= wxString_in_helper(obj2
);
12390 if (arg3
== NULL
) SWIG_fail
;
12396 arg4
= wxString_in_helper(obj3
);
12397 if (arg4
== NULL
) SWIG_fail
;
12403 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
12404 if (PyErr_Occurred()) SWIG_fail
;
12410 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12415 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12417 wxPyEndAllowThreads(__tstate
);
12418 if (PyErr_Occurred()) SWIG_fail
;
12420 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextEntryDialog
, 1);
12451 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12452 PyObject
*resultobj
;
12453 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12455 PyObject
* obj0
= 0 ;
12456 char *kwnames
[] = {
12457 (char *) "self", NULL
12460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 result
= (arg1
)->GetValue();
12466 wxPyEndAllowThreads(__tstate
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12471 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12473 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12482 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12483 PyObject
*resultobj
;
12484 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12485 wxString
*arg2
= 0 ;
12486 bool temp2
= False
;
12487 PyObject
* obj0
= 0 ;
12488 PyObject
* obj1
= 0 ;
12489 char *kwnames
[] = {
12490 (char *) "self",(char *) "value", NULL
12493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12496 arg2
= wxString_in_helper(obj1
);
12497 if (arg2
== NULL
) SWIG_fail
;
12501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12502 (arg1
)->SetValue((wxString
const &)*arg2
);
12504 wxPyEndAllowThreads(__tstate
);
12505 if (PyErr_Occurred()) SWIG_fail
;
12507 Py_INCREF(Py_None
); resultobj
= Py_None
;
12522 static PyObject
*_wrap_TextEntryDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12523 PyObject
*resultobj
;
12524 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12526 PyObject
* obj0
= 0 ;
12527 char *kwnames
[] = {
12528 (char *) "self", NULL
12531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
12532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12535 result
= (int)(arg1
)->ShowModal();
12537 wxPyEndAllowThreads(__tstate
);
12538 if (PyErr_Occurred()) SWIG_fail
;
12540 resultobj
= SWIG_PyObj_FromInt((int)result
);
12547 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12549 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12550 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12552 return Py_BuildValue((char *)"");
12554 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12555 PyObject
*resultobj
;
12556 wxFontData
*result
;
12557 char *kwnames
[] = {
12561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
12563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12564 result
= (wxFontData
*)new wxFontData();
12566 wxPyEndAllowThreads(__tstate
);
12567 if (PyErr_Occurred()) SWIG_fail
;
12569 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 1);
12576 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12577 PyObject
*resultobj
;
12578 wxFontData
*arg1
= (wxFontData
*) 0 ;
12579 PyObject
* obj0
= 0 ;
12580 char *kwnames
[] = {
12581 (char *) "self", NULL
12584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
12585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12590 wxPyEndAllowThreads(__tstate
);
12591 if (PyErr_Occurred()) SWIG_fail
;
12593 Py_INCREF(Py_None
); resultobj
= Py_None
;
12600 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12601 PyObject
*resultobj
;
12602 wxFontData
*arg1
= (wxFontData
*) 0 ;
12604 PyObject
* obj0
= 0 ;
12605 PyObject
* obj1
= 0 ;
12606 char *kwnames
[] = {
12607 (char *) "self",(char *) "enable", NULL
12610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
12611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12613 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12614 if (PyErr_Occurred()) SWIG_fail
;
12617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12618 (arg1
)->EnableEffects(arg2
);
12620 wxPyEndAllowThreads(__tstate
);
12621 if (PyErr_Occurred()) SWIG_fail
;
12623 Py_INCREF(Py_None
); resultobj
= Py_None
;
12630 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12631 PyObject
*resultobj
;
12632 wxFontData
*arg1
= (wxFontData
*) 0 ;
12634 PyObject
* obj0
= 0 ;
12635 char *kwnames
[] = {
12636 (char *) "self", NULL
12639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
12640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12643 result
= (bool)(arg1
)->GetAllowSymbols();
12645 wxPyEndAllowThreads(__tstate
);
12646 if (PyErr_Occurred()) SWIG_fail
;
12648 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12655 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12656 PyObject
*resultobj
;
12657 wxFontData
*arg1
= (wxFontData
*) 0 ;
12659 PyObject
* obj0
= 0 ;
12660 char *kwnames
[] = {
12661 (char *) "self", NULL
12664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
12665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12668 result
= (arg1
)->GetColour();
12670 wxPyEndAllowThreads(__tstate
);
12671 if (PyErr_Occurred()) SWIG_fail
;
12674 wxColour
* resultptr
;
12675 resultptr
= new wxColour((wxColour
&) result
);
12676 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
12684 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12685 PyObject
*resultobj
;
12686 wxFontData
*arg1
= (wxFontData
*) 0 ;
12688 PyObject
* obj0
= 0 ;
12689 char *kwnames
[] = {
12690 (char *) "self", NULL
12693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
12694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12697 result
= (arg1
)->GetChosenFont();
12699 wxPyEndAllowThreads(__tstate
);
12700 if (PyErr_Occurred()) SWIG_fail
;
12703 wxFont
* resultptr
;
12704 resultptr
= new wxFont((wxFont
&) result
);
12705 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
12713 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12714 PyObject
*resultobj
;
12715 wxFontData
*arg1
= (wxFontData
*) 0 ;
12717 PyObject
* obj0
= 0 ;
12718 char *kwnames
[] = {
12719 (char *) "self", NULL
12722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
12723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12726 result
= (bool)(arg1
)->GetEnableEffects();
12728 wxPyEndAllowThreads(__tstate
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12731 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12738 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12739 PyObject
*resultobj
;
12740 wxFontData
*arg1
= (wxFontData
*) 0 ;
12742 PyObject
* obj0
= 0 ;
12743 char *kwnames
[] = {
12744 (char *) "self", NULL
12747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
12748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12751 result
= (arg1
)->GetInitialFont();
12753 wxPyEndAllowThreads(__tstate
);
12754 if (PyErr_Occurred()) SWIG_fail
;
12757 wxFont
* resultptr
;
12758 resultptr
= new wxFont((wxFont
&) result
);
12759 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
12767 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12768 PyObject
*resultobj
;
12769 wxFontData
*arg1
= (wxFontData
*) 0 ;
12771 PyObject
* obj0
= 0 ;
12772 char *kwnames
[] = {
12773 (char *) "self", NULL
12776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
12777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12780 result
= (bool)(arg1
)->GetShowHelp();
12782 wxPyEndAllowThreads(__tstate
);
12783 if (PyErr_Occurred()) SWIG_fail
;
12785 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12792 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12793 PyObject
*resultobj
;
12794 wxFontData
*arg1
= (wxFontData
*) 0 ;
12796 PyObject
* obj0
= 0 ;
12797 PyObject
* obj1
= 0 ;
12798 char *kwnames
[] = {
12799 (char *) "self",(char *) "allowSymbols", NULL
12802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
12803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12805 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12806 if (PyErr_Occurred()) SWIG_fail
;
12809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12810 (arg1
)->SetAllowSymbols(arg2
);
12812 wxPyEndAllowThreads(__tstate
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12815 Py_INCREF(Py_None
); resultobj
= Py_None
;
12822 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12823 PyObject
*resultobj
;
12824 wxFontData
*arg1
= (wxFontData
*) 0 ;
12826 PyObject
* obj0
= 0 ;
12827 PyObject
* obj1
= 0 ;
12828 char *kwnames
[] = {
12829 (char *) "self",(char *) "font", NULL
12832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12834 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12835 if (arg2
== NULL
) {
12836 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12840 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
12842 wxPyEndAllowThreads(__tstate
);
12843 if (PyErr_Occurred()) SWIG_fail
;
12845 Py_INCREF(Py_None
); resultobj
= Py_None
;
12852 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12853 PyObject
*resultobj
;
12854 wxFontData
*arg1
= (wxFontData
*) 0 ;
12855 wxColour
*arg2
= 0 ;
12857 PyObject
* obj0
= 0 ;
12858 PyObject
* obj1
= 0 ;
12859 char *kwnames
[] = {
12860 (char *) "self",(char *) "colour", NULL
12863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12867 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12871 (arg1
)->SetColour((wxColour
const &)*arg2
);
12873 wxPyEndAllowThreads(__tstate
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12876 Py_INCREF(Py_None
); resultobj
= Py_None
;
12883 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12884 PyObject
*resultobj
;
12885 wxFontData
*arg1
= (wxFontData
*) 0 ;
12887 PyObject
* obj0
= 0 ;
12888 PyObject
* obj1
= 0 ;
12889 char *kwnames
[] = {
12890 (char *) "self",(char *) "font", NULL
12893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12895 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12896 if (arg2
== NULL
) {
12897 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12901 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
12903 wxPyEndAllowThreads(__tstate
);
12904 if (PyErr_Occurred()) SWIG_fail
;
12906 Py_INCREF(Py_None
); resultobj
= Py_None
;
12913 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12914 PyObject
*resultobj
;
12915 wxFontData
*arg1
= (wxFontData
*) 0 ;
12918 PyObject
* obj0
= 0 ;
12919 PyObject
* obj1
= 0 ;
12920 PyObject
* obj2
= 0 ;
12921 char *kwnames
[] = {
12922 (char *) "self",(char *) "min",(char *) "max", NULL
12925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12928 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12929 if (PyErr_Occurred()) SWIG_fail
;
12932 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12933 if (PyErr_Occurred()) SWIG_fail
;
12936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12937 (arg1
)->SetRange(arg2
,arg3
);
12939 wxPyEndAllowThreads(__tstate
);
12940 if (PyErr_Occurred()) SWIG_fail
;
12942 Py_INCREF(Py_None
); resultobj
= Py_None
;
12949 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12950 PyObject
*resultobj
;
12951 wxFontData
*arg1
= (wxFontData
*) 0 ;
12953 PyObject
* obj0
= 0 ;
12954 PyObject
* obj1
= 0 ;
12955 char *kwnames
[] = {
12956 (char *) "self",(char *) "showHelp", NULL
12959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
12960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12962 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12963 if (PyErr_Occurred()) SWIG_fail
;
12966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12967 (arg1
)->SetShowHelp(arg2
);
12969 wxPyEndAllowThreads(__tstate
);
12970 if (PyErr_Occurred()) SWIG_fail
;
12972 Py_INCREF(Py_None
); resultobj
= Py_None
;
12979 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
12981 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12982 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
12984 return Py_BuildValue((char *)"");
12986 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12987 PyObject
*resultobj
;
12988 wxWindow
*arg1
= (wxWindow
*) 0 ;
12989 wxFontData
*arg2
= 0 ;
12990 wxFontDialog
*result
;
12991 PyObject
* obj0
= 0 ;
12992 PyObject
* obj1
= 0 ;
12993 char *kwnames
[] = {
12994 (char *) "parent",(char *) "data", NULL
12997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
12998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12999 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13000 if (arg2
== NULL
) {
13001 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13005 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13007 wxPyEndAllowThreads(__tstate
);
13008 if (PyErr_Occurred()) SWIG_fail
;
13010 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontDialog
, 1);
13017 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13018 PyObject
*resultobj
;
13019 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13020 wxFontData
*result
;
13021 PyObject
* obj0
= 0 ;
13022 char *kwnames
[] = {
13023 (char *) "self", NULL
13026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13031 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13032 result
= (wxFontData
*) &_result_ref
;
13035 wxPyEndAllowThreads(__tstate
);
13036 if (PyErr_Occurred()) SWIG_fail
;
13038 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 0);
13045 static PyObject
*_wrap_FontDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13046 PyObject
*resultobj
;
13047 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13049 PyObject
* obj0
= 0 ;
13050 char *kwnames
[] = {
13051 (char *) "self", NULL
13054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
13055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13058 result
= (int)(arg1
)->ShowModal();
13060 wxPyEndAllowThreads(__tstate
);
13061 if (PyErr_Occurred()) SWIG_fail
;
13063 resultobj
= SWIG_PyObj_FromInt((int)result
);
13070 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13073 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13075 return Py_BuildValue((char *)"");
13077 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13078 PyObject
*resultobj
;
13079 wxWindow
*arg1
= (wxWindow
*) 0 ;
13080 wxString
*arg2
= 0 ;
13081 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13082 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13083 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13084 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13085 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13086 wxMessageDialog
*result
;
13087 bool temp2
= False
;
13088 bool temp3
= False
;
13090 PyObject
* obj0
= 0 ;
13091 PyObject
* obj1
= 0 ;
13092 PyObject
* obj2
= 0 ;
13093 PyObject
* obj3
= 0 ;
13094 PyObject
* obj4
= 0 ;
13095 char *kwnames
[] = {
13096 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13102 arg2
= wxString_in_helper(obj1
);
13103 if (arg2
== NULL
) SWIG_fail
;
13108 arg3
= wxString_in_helper(obj2
);
13109 if (arg3
== NULL
) SWIG_fail
;
13115 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
13116 if (PyErr_Occurred()) SWIG_fail
;
13122 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13127 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13129 wxPyEndAllowThreads(__tstate
);
13130 if (PyErr_Occurred()) SWIG_fail
;
13132 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMessageDialog
, 1);
13155 static PyObject
*_wrap_MessageDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13156 PyObject
*resultobj
;
13157 wxMessageDialog
*arg1
= (wxMessageDialog
*) 0 ;
13159 PyObject
* obj0
= 0 ;
13160 char *kwnames
[] = {
13161 (char *) "self", NULL
13164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MessageDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
13165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMessageDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13168 result
= (int)(arg1
)->ShowModal();
13170 wxPyEndAllowThreads(__tstate
);
13171 if (PyErr_Occurred()) SWIG_fail
;
13173 resultobj
= SWIG_PyObj_FromInt((int)result
);
13180 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13183 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13185 return Py_BuildValue((char *)"");
13187 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13188 PyObject
*resultobj
;
13189 wxString
*arg1
= 0 ;
13190 wxString
*arg2
= 0 ;
13191 int arg3
= (int) 100 ;
13192 wxWindow
*arg4
= (wxWindow
*) NULL
;
13193 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13194 wxProgressDialog
*result
;
13195 bool temp1
= False
;
13196 bool temp2
= False
;
13197 PyObject
* obj0
= 0 ;
13198 PyObject
* obj1
= 0 ;
13199 PyObject
* obj2
= 0 ;
13200 PyObject
* obj3
= 0 ;
13201 PyObject
* obj4
= 0 ;
13202 char *kwnames
[] = {
13203 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13208 arg1
= wxString_in_helper(obj0
);
13209 if (arg1
== NULL
) SWIG_fail
;
13213 arg2
= wxString_in_helper(obj1
);
13214 if (arg2
== NULL
) SWIG_fail
;
13219 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13220 if (PyErr_Occurred()) SWIG_fail
;
13224 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13228 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13229 if (PyErr_Occurred()) SWIG_fail
;
13233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13234 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13236 wxPyEndAllowThreads(__tstate
);
13237 if (PyErr_Occurred()) SWIG_fail
;
13239 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxProgressDialog
, 1);
13262 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13263 PyObject
*resultobj
;
13264 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13266 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13267 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13269 bool temp3
= False
;
13270 PyObject
* obj0
= 0 ;
13271 PyObject
* obj1
= 0 ;
13272 PyObject
* obj2
= 0 ;
13273 char *kwnames
[] = {
13274 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13280 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13281 if (PyErr_Occurred()) SWIG_fail
;
13285 arg3
= wxString_in_helper(obj2
);
13286 if (arg3
== NULL
) SWIG_fail
;
13291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13292 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13294 wxPyEndAllowThreads(__tstate
);
13295 if (PyErr_Occurred()) SWIG_fail
;
13297 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13312 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13313 PyObject
*resultobj
;
13314 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13315 PyObject
* obj0
= 0 ;
13316 char *kwnames
[] = {
13317 (char *) "self", NULL
13320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13326 wxPyEndAllowThreads(__tstate
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13329 Py_INCREF(Py_None
); resultobj
= Py_None
;
13336 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13338 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13339 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13341 return Py_BuildValue((char *)"");
13343 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13344 PyObject
*resultobj
;
13345 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13346 int arg2
= (int) 0 ;
13347 wxFindDialogEvent
*result
;
13348 PyObject
* obj0
= 0 ;
13349 PyObject
* obj1
= 0 ;
13350 char *kwnames
[] = {
13351 (char *) "commandType",(char *) "id", NULL
13354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13357 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
13358 if (PyErr_Occurred()) SWIG_fail
;
13363 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13369 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13371 wxPyEndAllowThreads(__tstate
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13374 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindDialogEvent
, 1);
13381 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13382 PyObject
*resultobj
;
13383 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13385 PyObject
* obj0
= 0 ;
13386 char *kwnames
[] = {
13387 (char *) "self", NULL
13390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13394 result
= (int)(arg1
)->GetFlags();
13396 wxPyEndAllowThreads(__tstate
);
13397 if (PyErr_Occurred()) SWIG_fail
;
13399 resultobj
= SWIG_PyObj_FromInt((int)result
);
13406 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13407 PyObject
*resultobj
;
13408 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13410 PyObject
* obj0
= 0 ;
13411 char *kwnames
[] = {
13412 (char *) "self", NULL
13415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13420 wxString
const &_result_ref
= (arg1
)->GetFindString();
13421 result
= (wxString
*) &_result_ref
;
13424 wxPyEndAllowThreads(__tstate
);
13425 if (PyErr_Occurred()) SWIG_fail
;
13429 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13431 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13440 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13441 PyObject
*resultobj
;
13442 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13444 PyObject
* obj0
= 0 ;
13445 char *kwnames
[] = {
13446 (char *) "self", NULL
13449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13454 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13455 result
= (wxString
*) &_result_ref
;
13458 wxPyEndAllowThreads(__tstate
);
13459 if (PyErr_Occurred()) SWIG_fail
;
13463 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13465 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13474 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13475 PyObject
*resultobj
;
13476 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13477 wxFindReplaceDialog
*result
;
13478 PyObject
* obj0
= 0 ;
13479 char *kwnames
[] = {
13480 (char *) "self", NULL
13483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13487 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13489 wxPyEndAllowThreads(__tstate
);
13490 if (PyErr_Occurred()) SWIG_fail
;
13492 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 0);
13499 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13500 PyObject
*resultobj
;
13501 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13503 PyObject
* obj0
= 0 ;
13504 PyObject
* obj1
= 0 ;
13505 char *kwnames
[] = {
13506 (char *) "self",(char *) "flags", NULL
13509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13512 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13513 if (PyErr_Occurred()) SWIG_fail
;
13516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13517 (arg1
)->SetFlags(arg2
);
13519 wxPyEndAllowThreads(__tstate
);
13520 if (PyErr_Occurred()) SWIG_fail
;
13522 Py_INCREF(Py_None
); resultobj
= Py_None
;
13529 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13530 PyObject
*resultobj
;
13531 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13532 wxString
*arg2
= 0 ;
13533 bool temp2
= False
;
13534 PyObject
* obj0
= 0 ;
13535 PyObject
* obj1
= 0 ;
13536 char *kwnames
[] = {
13537 (char *) "self",(char *) "str", NULL
13540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13543 arg2
= wxString_in_helper(obj1
);
13544 if (arg2
== NULL
) SWIG_fail
;
13548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13549 (arg1
)->SetFindString((wxString
const &)*arg2
);
13551 wxPyEndAllowThreads(__tstate
);
13552 if (PyErr_Occurred()) SWIG_fail
;
13554 Py_INCREF(Py_None
); resultobj
= Py_None
;
13569 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13570 PyObject
*resultobj
;
13571 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13572 wxString
*arg2
= 0 ;
13573 bool temp2
= False
;
13574 PyObject
* obj0
= 0 ;
13575 PyObject
* obj1
= 0 ;
13576 char *kwnames
[] = {
13577 (char *) "self",(char *) "str", NULL
13580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13583 arg2
= wxString_in_helper(obj1
);
13584 if (arg2
== NULL
) SWIG_fail
;
13588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13589 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13591 wxPyEndAllowThreads(__tstate
);
13592 if (PyErr_Occurred()) SWIG_fail
;
13594 Py_INCREF(Py_None
); resultobj
= Py_None
;
13609 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13612 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
13614 return Py_BuildValue((char *)"");
13616 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13617 PyObject
*resultobj
;
13618 int arg1
= (int) 0 ;
13619 wxFindReplaceData
*result
;
13620 PyObject
* obj0
= 0 ;
13621 char *kwnames
[] = {
13622 (char *) "flags", NULL
13625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13628 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
13629 if (PyErr_Occurred()) SWIG_fail
;
13633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13634 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
13636 wxPyEndAllowThreads(__tstate
);
13637 if (PyErr_Occurred()) SWIG_fail
;
13639 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 1);
13646 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13647 PyObject
*resultobj
;
13648 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13649 PyObject
* obj0
= 0 ;
13650 char *kwnames
[] = {
13651 (char *) "self", NULL
13654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13660 wxPyEndAllowThreads(__tstate
);
13661 if (PyErr_Occurred()) SWIG_fail
;
13663 Py_INCREF(Py_None
); resultobj
= Py_None
;
13670 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13671 PyObject
*resultobj
;
13672 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13674 PyObject
* obj0
= 0 ;
13675 char *kwnames
[] = {
13676 (char *) "self", NULL
13679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
13680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13684 wxString
const &_result_ref
= (arg1
)->GetFindString();
13685 result
= (wxString
*) &_result_ref
;
13688 wxPyEndAllowThreads(__tstate
);
13689 if (PyErr_Occurred()) SWIG_fail
;
13693 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13695 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13704 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13705 PyObject
*resultobj
;
13706 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13708 PyObject
* obj0
= 0 ;
13709 char *kwnames
[] = {
13710 (char *) "self", NULL
13713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13718 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13719 result
= (wxString
*) &_result_ref
;
13722 wxPyEndAllowThreads(__tstate
);
13723 if (PyErr_Occurred()) SWIG_fail
;
13727 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13729 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13738 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13739 PyObject
*resultobj
;
13740 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13742 PyObject
* obj0
= 0 ;
13743 char *kwnames
[] = {
13744 (char *) "self", NULL
13747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
13748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13751 result
= (int)(arg1
)->GetFlags();
13753 wxPyEndAllowThreads(__tstate
);
13754 if (PyErr_Occurred()) SWIG_fail
;
13756 resultobj
= SWIG_PyObj_FromInt((int)result
);
13763 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13764 PyObject
*resultobj
;
13765 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13767 PyObject
* obj0
= 0 ;
13768 PyObject
* obj1
= 0 ;
13769 char *kwnames
[] = {
13770 (char *) "self",(char *) "flags", NULL
13773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13776 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13777 if (PyErr_Occurred()) SWIG_fail
;
13780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13781 (arg1
)->SetFlags(arg2
);
13783 wxPyEndAllowThreads(__tstate
);
13784 if (PyErr_Occurred()) SWIG_fail
;
13786 Py_INCREF(Py_None
); resultobj
= Py_None
;
13793 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13794 PyObject
*resultobj
;
13795 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13796 wxString
*arg2
= 0 ;
13797 bool temp2
= False
;
13798 PyObject
* obj0
= 0 ;
13799 PyObject
* obj1
= 0 ;
13800 char *kwnames
[] = {
13801 (char *) "self",(char *) "str", NULL
13804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13807 arg2
= wxString_in_helper(obj1
);
13808 if (arg2
== NULL
) SWIG_fail
;
13812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13813 (arg1
)->SetFindString((wxString
const &)*arg2
);
13815 wxPyEndAllowThreads(__tstate
);
13816 if (PyErr_Occurred()) SWIG_fail
;
13818 Py_INCREF(Py_None
); resultobj
= Py_None
;
13833 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13834 PyObject
*resultobj
;
13835 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13836 wxString
*arg2
= 0 ;
13837 bool temp2
= False
;
13838 PyObject
* obj0
= 0 ;
13839 PyObject
* obj1
= 0 ;
13840 char *kwnames
[] = {
13841 (char *) "self",(char *) "str", NULL
13844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13847 arg2
= wxString_in_helper(obj1
);
13848 if (arg2
== NULL
) SWIG_fail
;
13852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13853 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13855 wxPyEndAllowThreads(__tstate
);
13856 if (PyErr_Occurred()) SWIG_fail
;
13858 Py_INCREF(Py_None
); resultobj
= Py_None
;
13873 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
13875 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13876 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
13878 return Py_BuildValue((char *)"");
13880 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13881 PyObject
*resultobj
;
13882 wxWindow
*arg1
= (wxWindow
*) 0 ;
13883 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
13884 wxString
*arg3
= 0 ;
13885 int arg4
= (int) 0 ;
13886 wxFindReplaceDialog
*result
;
13887 bool temp3
= False
;
13888 PyObject
* obj0
= 0 ;
13889 PyObject
* obj1
= 0 ;
13890 PyObject
* obj2
= 0 ;
13891 PyObject
* obj3
= 0 ;
13892 char *kwnames
[] = {
13893 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13898 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13900 arg3
= wxString_in_helper(obj2
);
13901 if (arg3
== NULL
) SWIG_fail
;
13906 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
13907 if (PyErr_Occurred()) SWIG_fail
;
13911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13912 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13914 wxPyEndAllowThreads(__tstate
);
13915 if (PyErr_Occurred()) SWIG_fail
;
13917 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
13932 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13933 PyObject
*resultobj
;
13934 wxFindReplaceDialog
*result
;
13935 char *kwnames
[] = {
13939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
13941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13942 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
13944 wxPyEndAllowThreads(__tstate
);
13945 if (PyErr_Occurred()) SWIG_fail
;
13947 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
13954 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13955 PyObject
*resultobj
;
13956 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13957 wxWindow
*arg2
= (wxWindow
*) 0 ;
13958 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
13959 wxString
*arg4
= 0 ;
13960 int arg5
= (int) 0 ;
13962 bool temp4
= False
;
13963 PyObject
* obj0
= 0 ;
13964 PyObject
* obj1
= 0 ;
13965 PyObject
* obj2
= 0 ;
13966 PyObject
* obj3
= 0 ;
13967 PyObject
* obj4
= 0 ;
13968 char *kwnames
[] = {
13969 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13974 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13975 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13977 arg4
= wxString_in_helper(obj3
);
13978 if (arg4
== NULL
) SWIG_fail
;
13983 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13984 if (PyErr_Occurred()) SWIG_fail
;
13988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13989 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13991 wxPyEndAllowThreads(__tstate
);
13992 if (PyErr_Occurred()) SWIG_fail
;
13994 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14009 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14010 PyObject
*resultobj
;
14011 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14012 wxFindReplaceData
*result
;
14013 PyObject
* obj0
= 0 ;
14014 char *kwnames
[] = {
14015 (char *) "self", NULL
14018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14022 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14024 wxPyEndAllowThreads(__tstate
);
14025 if (PyErr_Occurred()) SWIG_fail
;
14027 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 0);
14034 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14035 PyObject
*resultobj
;
14036 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14037 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14038 PyObject
* obj0
= 0 ;
14039 PyObject
* obj1
= 0 ;
14040 char *kwnames
[] = {
14041 (char *) "self",(char *) "data", NULL
14044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14046 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14049 (arg1
)->SetData(arg2
);
14051 wxPyEndAllowThreads(__tstate
);
14052 if (PyErr_Occurred()) SWIG_fail
;
14054 Py_INCREF(Py_None
); resultobj
= Py_None
;
14061 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14063 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14064 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14066 return Py_BuildValue((char *)"");
14068 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14069 PyObject
*resultobj
;
14070 wxWindow
*arg1
= (wxWindow
*) 0 ;
14072 wxString
*arg3
= 0 ;
14073 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14074 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14075 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14076 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14077 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14078 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14079 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14080 wxMDIParentFrame
*result
;
14081 bool temp3
= False
;
14084 bool temp7
= False
;
14085 PyObject
* obj0
= 0 ;
14086 PyObject
* obj1
= 0 ;
14087 PyObject
* obj2
= 0 ;
14088 PyObject
* obj3
= 0 ;
14089 PyObject
* obj4
= 0 ;
14090 PyObject
* obj5
= 0 ;
14091 PyObject
* obj6
= 0 ;
14092 char *kwnames
[] = {
14093 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14099 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
14100 if (PyErr_Occurred()) SWIG_fail
;
14103 arg3
= wxString_in_helper(obj2
);
14104 if (arg3
== NULL
) SWIG_fail
;
14110 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14116 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14121 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14127 arg7
= wxString_in_helper(obj6
);
14128 if (arg7
== NULL
) SWIG_fail
;
14133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14134 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14136 wxPyEndAllowThreads(__tstate
);
14137 if (PyErr_Occurred()) SWIG_fail
;
14139 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
14162 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14163 PyObject
*resultobj
;
14164 wxMDIParentFrame
*result
;
14165 char *kwnames
[] = {
14169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14172 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14174 wxPyEndAllowThreads(__tstate
);
14175 if (PyErr_Occurred()) SWIG_fail
;
14177 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
14184 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14185 PyObject
*resultobj
;
14186 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14187 wxWindow
*arg2
= (wxWindow
*) 0 ;
14189 wxString
*arg4
= 0 ;
14190 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14191 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14192 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14193 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14194 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14195 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14196 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14198 bool temp4
= False
;
14201 bool temp8
= False
;
14202 PyObject
* obj0
= 0 ;
14203 PyObject
* obj1
= 0 ;
14204 PyObject
* obj2
= 0 ;
14205 PyObject
* obj3
= 0 ;
14206 PyObject
* obj4
= 0 ;
14207 PyObject
* obj5
= 0 ;
14208 PyObject
* obj6
= 0 ;
14209 PyObject
* obj7
= 0 ;
14210 char *kwnames
[] = {
14211 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14216 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14218 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
14219 if (PyErr_Occurred()) SWIG_fail
;
14222 arg4
= wxString_in_helper(obj3
);
14223 if (arg4
== NULL
) SWIG_fail
;
14229 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14235 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14240 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14246 arg8
= wxString_in_helper(obj7
);
14247 if (arg8
== NULL
) SWIG_fail
;
14252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14253 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14255 wxPyEndAllowThreads(__tstate
);
14256 if (PyErr_Occurred()) SWIG_fail
;
14258 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14281 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14282 PyObject
*resultobj
;
14283 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14284 PyObject
* obj0
= 0 ;
14285 char *kwnames
[] = {
14286 (char *) "self", NULL
14289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14293 (arg1
)->ActivateNext();
14295 wxPyEndAllowThreads(__tstate
);
14296 if (PyErr_Occurred()) SWIG_fail
;
14298 Py_INCREF(Py_None
); resultobj
= Py_None
;
14305 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14306 PyObject
*resultobj
;
14307 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14308 PyObject
* obj0
= 0 ;
14309 char *kwnames
[] = {
14310 (char *) "self", NULL
14313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14317 (arg1
)->ActivatePrevious();
14319 wxPyEndAllowThreads(__tstate
);
14320 if (PyErr_Occurred()) SWIG_fail
;
14322 Py_INCREF(Py_None
); resultobj
= Py_None
;
14329 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14330 PyObject
*resultobj
;
14331 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14332 PyObject
* obj0
= 0 ;
14333 char *kwnames
[] = {
14334 (char *) "self", NULL
14337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14341 (arg1
)->ArrangeIcons();
14343 wxPyEndAllowThreads(__tstate
);
14344 if (PyErr_Occurred()) SWIG_fail
;
14346 Py_INCREF(Py_None
); resultobj
= Py_None
;
14353 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14354 PyObject
*resultobj
;
14355 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14356 PyObject
* obj0
= 0 ;
14357 char *kwnames
[] = {
14358 (char *) "self", NULL
14361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14367 wxPyEndAllowThreads(__tstate
);
14368 if (PyErr_Occurred()) SWIG_fail
;
14370 Py_INCREF(Py_None
); resultobj
= Py_None
;
14377 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14378 PyObject
*resultobj
;
14379 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14380 wxMDIChildFrame
*result
;
14381 PyObject
* obj0
= 0 ;
14382 char *kwnames
[] = {
14383 (char *) "self", NULL
14386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14390 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14392 wxPyEndAllowThreads(__tstate
);
14393 if (PyErr_Occurred()) SWIG_fail
;
14396 resultobj
= wxPyMake_wxObject(result
);
14404 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14405 PyObject
*resultobj
;
14406 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14407 wxMDIClientWindow
*result
;
14408 PyObject
* obj0
= 0 ;
14409 char *kwnames
[] = {
14410 (char *) "self", NULL
14413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14417 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14419 wxPyEndAllowThreads(__tstate
);
14420 if (PyErr_Occurred()) SWIG_fail
;
14423 resultobj
= wxPyMake_wxObject(result
);
14431 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14432 PyObject
*resultobj
;
14433 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14435 PyObject
* obj0
= 0 ;
14436 char *kwnames
[] = {
14437 (char *) "self", NULL
14440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14444 result
= (wxWindow
*)(arg1
)->GetToolBar();
14446 wxPyEndAllowThreads(__tstate
);
14447 if (PyErr_Occurred()) SWIG_fail
;
14450 resultobj
= wxPyMake_wxObject(result
);
14458 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14459 PyObject
*resultobj
;
14460 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14461 PyObject
* obj0
= 0 ;
14462 char *kwnames
[] = {
14463 (char *) "self", NULL
14466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14472 wxPyEndAllowThreads(__tstate
);
14473 if (PyErr_Occurred()) SWIG_fail
;
14475 Py_INCREF(Py_None
); resultobj
= Py_None
;
14482 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14484 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14485 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14487 return Py_BuildValue((char *)"");
14489 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14490 PyObject
*resultobj
;
14491 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14493 wxString
*arg3
= 0 ;
14494 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14495 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14496 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14497 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14498 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14499 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14500 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14501 wxMDIChildFrame
*result
;
14502 bool temp3
= False
;
14505 bool temp7
= False
;
14506 PyObject
* obj0
= 0 ;
14507 PyObject
* obj1
= 0 ;
14508 PyObject
* obj2
= 0 ;
14509 PyObject
* obj3
= 0 ;
14510 PyObject
* obj4
= 0 ;
14511 PyObject
* obj5
= 0 ;
14512 PyObject
* obj6
= 0 ;
14513 char *kwnames
[] = {
14514 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14520 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
14521 if (PyErr_Occurred()) SWIG_fail
;
14524 arg3
= wxString_in_helper(obj2
);
14525 if (arg3
== NULL
) SWIG_fail
;
14531 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14537 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14542 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14548 arg7
= wxString_in_helper(obj6
);
14549 if (arg7
== NULL
) SWIG_fail
;
14554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14555 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14557 wxPyEndAllowThreads(__tstate
);
14558 if (PyErr_Occurred()) SWIG_fail
;
14561 resultobj
= wxPyMake_wxObject(result
);
14585 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14586 PyObject
*resultobj
;
14587 wxMDIChildFrame
*result
;
14588 char *kwnames
[] = {
14592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
14594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14595 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
14597 wxPyEndAllowThreads(__tstate
);
14598 if (PyErr_Occurred()) SWIG_fail
;
14601 resultobj
= wxPyMake_wxObject(result
);
14609 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14610 PyObject
*resultobj
;
14611 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14612 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14614 wxString
*arg4
= 0 ;
14615 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14616 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14617 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14618 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14619 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
14620 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14621 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14623 bool temp4
= False
;
14626 bool temp8
= False
;
14627 PyObject
* obj0
= 0 ;
14628 PyObject
* obj1
= 0 ;
14629 PyObject
* obj2
= 0 ;
14630 PyObject
* obj3
= 0 ;
14631 PyObject
* obj4
= 0 ;
14632 PyObject
* obj5
= 0 ;
14633 PyObject
* obj6
= 0 ;
14634 PyObject
* obj7
= 0 ;
14635 char *kwnames
[] = {
14636 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14641 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14643 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
14644 if (PyErr_Occurred()) SWIG_fail
;
14647 arg4
= wxString_in_helper(obj3
);
14648 if (arg4
== NULL
) SWIG_fail
;
14654 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14660 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14665 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
14666 if (PyErr_Occurred()) SWIG_fail
;
14671 arg8
= wxString_in_helper(obj7
);
14672 if (arg8
== NULL
) SWIG_fail
;
14677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14678 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14680 wxPyEndAllowThreads(__tstate
);
14681 if (PyErr_Occurred()) SWIG_fail
;
14683 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14706 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14707 PyObject
*resultobj
;
14708 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14709 PyObject
* obj0
= 0 ;
14710 char *kwnames
[] = {
14711 (char *) "self", NULL
14714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
14715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14718 (arg1
)->Activate();
14720 wxPyEndAllowThreads(__tstate
);
14721 if (PyErr_Occurred()) SWIG_fail
;
14723 Py_INCREF(Py_None
); resultobj
= Py_None
;
14730 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14731 PyObject
*resultobj
;
14732 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14734 PyObject
* obj0
= 0 ;
14735 PyObject
* obj1
= 0 ;
14736 char *kwnames
[] = {
14737 (char *) "self",(char *) "maximize", NULL
14740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
14741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14743 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14744 if (PyErr_Occurred()) SWIG_fail
;
14747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14748 (arg1
)->Maximize(arg2
);
14750 wxPyEndAllowThreads(__tstate
);
14751 if (PyErr_Occurred()) SWIG_fail
;
14753 Py_INCREF(Py_None
); resultobj
= Py_None
;
14760 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14761 PyObject
*resultobj
;
14762 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14763 PyObject
* obj0
= 0 ;
14764 char *kwnames
[] = {
14765 (char *) "self", NULL
14768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
14769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14774 wxPyEndAllowThreads(__tstate
);
14775 if (PyErr_Occurred()) SWIG_fail
;
14777 Py_INCREF(Py_None
); resultobj
= Py_None
;
14784 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14786 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14787 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
14789 return Py_BuildValue((char *)"");
14791 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14792 PyObject
*resultobj
;
14793 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14794 long arg2
= (long) 0 ;
14795 wxMDIClientWindow
*result
;
14796 PyObject
* obj0
= 0 ;
14797 PyObject
* obj1
= 0 ;
14798 char *kwnames
[] = {
14799 (char *) "parent",(char *) "style", NULL
14802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
14803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14806 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14812 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
14814 wxPyEndAllowThreads(__tstate
);
14815 if (PyErr_Occurred()) SWIG_fail
;
14818 resultobj
= wxPyMake_wxObject(result
);
14826 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14827 PyObject
*resultobj
;
14828 wxMDIClientWindow
*result
;
14829 char *kwnames
[] = {
14833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
14835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14836 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
14838 wxPyEndAllowThreads(__tstate
);
14839 if (PyErr_Occurred()) SWIG_fail
;
14842 resultobj
= wxPyMake_wxObject(result
);
14850 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14851 PyObject
*resultobj
;
14852 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
14853 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14854 long arg3
= (long) 0 ;
14856 PyObject
* obj0
= 0 ;
14857 PyObject
* obj1
= 0 ;
14858 PyObject
* obj2
= 0 ;
14859 char *kwnames
[] = {
14860 (char *) "self",(char *) "parent",(char *) "style", NULL
14863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIClientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14865 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14868 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
14869 if (PyErr_Occurred()) SWIG_fail
;
14873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14874 result
= (bool)(arg1
)->Create(arg2
,arg3
);
14876 wxPyEndAllowThreads(__tstate
);
14877 if (PyErr_Occurred()) SWIG_fail
;
14879 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14886 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
14888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14889 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
14891 return Py_BuildValue((char *)"");
14893 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14894 PyObject
*resultobj
;
14895 wxWindow
*arg1
= (wxWindow
*) 0 ;
14897 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14898 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14899 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14900 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14901 long arg5
= (long) 0 ;
14902 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
14903 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14904 wxPyWindow
*result
;
14907 bool temp6
= False
;
14908 PyObject
* obj0
= 0 ;
14909 PyObject
* obj1
= 0 ;
14910 PyObject
* obj2
= 0 ;
14911 PyObject
* obj3
= 0 ;
14912 PyObject
* obj4
= 0 ;
14913 PyObject
* obj5
= 0 ;
14914 char *kwnames
[] = {
14915 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14921 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
14922 if (PyErr_Occurred()) SWIG_fail
;
14927 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14933 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14938 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
14939 if (PyErr_Occurred()) SWIG_fail
;
14944 arg6
= wxString_in_helper(obj5
);
14945 if (arg6
== NULL
) SWIG_fail
;
14950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14951 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14953 wxPyEndAllowThreads(__tstate
);
14954 if (PyErr_Occurred()) SWIG_fail
;
14956 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyWindow
, 1);
14971 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14972 PyObject
*resultobj
;
14973 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14974 PyObject
*arg2
= (PyObject
*) 0 ;
14975 PyObject
*arg3
= (PyObject
*) 0 ;
14976 PyObject
* obj0
= 0 ;
14977 PyObject
* obj1
= 0 ;
14978 PyObject
* obj2
= 0 ;
14979 char *kwnames
[] = {
14980 (char *) "self",(char *) "self",(char *) "_class", NULL
14983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14989 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14991 wxPyEndAllowThreads(__tstate
);
14992 if (PyErr_Occurred()) SWIG_fail
;
14994 Py_INCREF(Py_None
); resultobj
= Py_None
;
15001 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15002 PyObject
*resultobj
;
15003 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15008 PyObject
* obj0
= 0 ;
15009 PyObject
* obj1
= 0 ;
15010 PyObject
* obj2
= 0 ;
15011 PyObject
* obj3
= 0 ;
15012 PyObject
* obj4
= 0 ;
15013 char *kwnames
[] = {
15014 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15020 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15021 if (PyErr_Occurred()) SWIG_fail
;
15024 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15025 if (PyErr_Occurred()) SWIG_fail
;
15028 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15029 if (PyErr_Occurred()) SWIG_fail
;
15032 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
15033 if (PyErr_Occurred()) SWIG_fail
;
15036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15037 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15039 wxPyEndAllowThreads(__tstate
);
15040 if (PyErr_Occurred()) SWIG_fail
;
15042 Py_INCREF(Py_None
); resultobj
= Py_None
;
15049 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15050 PyObject
*resultobj
;
15051 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15056 int arg6
= (int) wxSIZE_AUTO
;
15057 PyObject
* obj0
= 0 ;
15058 PyObject
* obj1
= 0 ;
15059 PyObject
* obj2
= 0 ;
15060 PyObject
* obj3
= 0 ;
15061 PyObject
* obj4
= 0 ;
15062 PyObject
* obj5
= 0 ;
15063 char *kwnames
[] = {
15064 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15070 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15071 if (PyErr_Occurred()) SWIG_fail
;
15074 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15075 if (PyErr_Occurred()) SWIG_fail
;
15078 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15079 if (PyErr_Occurred()) SWIG_fail
;
15082 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
15083 if (PyErr_Occurred()) SWIG_fail
;
15087 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
15088 if (PyErr_Occurred()) SWIG_fail
;
15092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15093 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15095 wxPyEndAllowThreads(__tstate
);
15096 if (PyErr_Occurred()) SWIG_fail
;
15098 Py_INCREF(Py_None
); resultobj
= Py_None
;
15105 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15106 PyObject
*resultobj
;
15107 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15110 PyObject
* obj0
= 0 ;
15111 PyObject
* obj1
= 0 ;
15112 PyObject
* obj2
= 0 ;
15113 char *kwnames
[] = {
15114 (char *) "self",(char *) "width",(char *) "height", NULL
15117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15120 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15121 if (PyErr_Occurred()) SWIG_fail
;
15124 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15125 if (PyErr_Occurred()) SWIG_fail
;
15128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15129 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15131 wxPyEndAllowThreads(__tstate
);
15132 if (PyErr_Occurred()) SWIG_fail
;
15134 Py_INCREF(Py_None
); resultobj
= Py_None
;
15141 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15142 PyObject
*resultobj
;
15143 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15146 PyObject
* obj0
= 0 ;
15147 PyObject
* obj1
= 0 ;
15148 PyObject
* obj2
= 0 ;
15149 char *kwnames
[] = {
15150 (char *) "self",(char *) "x",(char *) "y", NULL
15153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15156 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15157 if (PyErr_Occurred()) SWIG_fail
;
15160 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15161 if (PyErr_Occurred()) SWIG_fail
;
15164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15165 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15167 wxPyEndAllowThreads(__tstate
);
15168 if (PyErr_Occurred()) SWIG_fail
;
15170 Py_INCREF(Py_None
); resultobj
= Py_None
;
15177 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15178 PyObject
*resultobj
;
15179 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15180 int *arg2
= (int *) 0 ;
15181 int *arg3
= (int *) 0 ;
15184 PyObject
* obj0
= 0 ;
15185 char *kwnames
[] = {
15186 (char *) "self", NULL
15191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15195 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15197 wxPyEndAllowThreads(__tstate
);
15198 if (PyErr_Occurred()) SWIG_fail
;
15200 Py_INCREF(Py_None
); resultobj
= Py_None
;
15202 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15203 resultobj
= t_output_helper(resultobj
,o
);
15206 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15207 resultobj
= t_output_helper(resultobj
,o
);
15215 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15216 PyObject
*resultobj
;
15217 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15218 int *arg2
= (int *) 0 ;
15219 int *arg3
= (int *) 0 ;
15222 PyObject
* obj0
= 0 ;
15223 char *kwnames
[] = {
15224 (char *) "self", NULL
15229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15233 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15235 wxPyEndAllowThreads(__tstate
);
15236 if (PyErr_Occurred()) SWIG_fail
;
15238 Py_INCREF(Py_None
); resultobj
= Py_None
;
15240 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15241 resultobj
= t_output_helper(resultobj
,o
);
15244 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15245 resultobj
= t_output_helper(resultobj
,o
);
15253 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15254 PyObject
*resultobj
;
15255 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15256 int *arg2
= (int *) 0 ;
15257 int *arg3
= (int *) 0 ;
15260 PyObject
* obj0
= 0 ;
15261 char *kwnames
[] = {
15262 (char *) "self", NULL
15267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15271 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15273 wxPyEndAllowThreads(__tstate
);
15274 if (PyErr_Occurred()) SWIG_fail
;
15276 Py_INCREF(Py_None
); resultobj
= Py_None
;
15278 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15279 resultobj
= t_output_helper(resultobj
,o
);
15282 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15283 resultobj
= t_output_helper(resultobj
,o
);
15291 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15292 PyObject
*resultobj
;
15293 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15295 PyObject
* obj0
= 0 ;
15296 char *kwnames
[] = {
15297 (char *) "self", NULL
15300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15304 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15306 wxPyEndAllowThreads(__tstate
);
15307 if (PyErr_Occurred()) SWIG_fail
;
15310 wxSize
* resultptr
;
15311 resultptr
= new wxSize((wxSize
&) result
);
15312 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15320 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15321 PyObject
*resultobj
;
15322 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15324 PyObject
* obj0
= 0 ;
15325 char *kwnames
[] = {
15326 (char *) "self", NULL
15329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15333 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15335 wxPyEndAllowThreads(__tstate
);
15336 if (PyErr_Occurred()) SWIG_fail
;
15339 wxSize
* resultptr
;
15340 resultptr
= new wxSize((wxSize
&) result
);
15341 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15349 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15350 PyObject
*resultobj
;
15351 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15352 PyObject
* obj0
= 0 ;
15353 char *kwnames
[] = {
15354 (char *) "self", NULL
15357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15361 (arg1
)->base_InitDialog();
15363 wxPyEndAllowThreads(__tstate
);
15364 if (PyErr_Occurred()) SWIG_fail
;
15366 Py_INCREF(Py_None
); resultobj
= Py_None
;
15373 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15374 PyObject
*resultobj
;
15375 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15377 PyObject
* obj0
= 0 ;
15378 char *kwnames
[] = {
15379 (char *) "self", NULL
15382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15386 result
= (bool)(arg1
)->base_TransferDataToWindow();
15388 wxPyEndAllowThreads(__tstate
);
15389 if (PyErr_Occurred()) SWIG_fail
;
15391 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15398 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15399 PyObject
*resultobj
;
15400 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15402 PyObject
* obj0
= 0 ;
15403 char *kwnames
[] = {
15404 (char *) "self", NULL
15407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15411 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15413 wxPyEndAllowThreads(__tstate
);
15414 if (PyErr_Occurred()) SWIG_fail
;
15416 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15423 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15424 PyObject
*resultobj
;
15425 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15427 PyObject
* obj0
= 0 ;
15428 char *kwnames
[] = {
15429 (char *) "self", NULL
15432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15436 result
= (bool)(arg1
)->base_Validate();
15438 wxPyEndAllowThreads(__tstate
);
15439 if (PyErr_Occurred()) SWIG_fail
;
15441 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15448 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15449 PyObject
*resultobj
;
15450 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15452 PyObject
* obj0
= 0 ;
15453 char *kwnames
[] = {
15454 (char *) "self", NULL
15457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15461 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15463 wxPyEndAllowThreads(__tstate
);
15464 if (PyErr_Occurred()) SWIG_fail
;
15466 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15473 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15474 PyObject
*resultobj
;
15475 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15477 PyObject
* obj0
= 0 ;
15478 char *kwnames
[] = {
15479 (char *) "self", NULL
15482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15486 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15488 wxPyEndAllowThreads(__tstate
);
15489 if (PyErr_Occurred()) SWIG_fail
;
15491 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15498 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15499 PyObject
*resultobj
;
15500 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15502 PyObject
* obj0
= 0 ;
15503 char *kwnames
[] = {
15504 (char *) "self", NULL
15507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15511 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
15513 wxPyEndAllowThreads(__tstate
);
15514 if (PyErr_Occurred()) SWIG_fail
;
15517 wxSize
* resultptr
;
15518 resultptr
= new wxSize((wxSize
&) result
);
15519 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15527 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15528 PyObject
*resultobj
;
15529 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15530 wxWindow
*arg2
= (wxWindow
*) 0 ;
15531 PyObject
* obj0
= 0 ;
15532 PyObject
* obj1
= 0 ;
15533 char *kwnames
[] = {
15534 (char *) "self",(char *) "child", NULL
15537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15539 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15542 (arg1
)->base_AddChild(arg2
);
15544 wxPyEndAllowThreads(__tstate
);
15545 if (PyErr_Occurred()) SWIG_fail
;
15547 Py_INCREF(Py_None
); resultobj
= Py_None
;
15554 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15555 PyObject
*resultobj
;
15556 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15557 wxWindow
*arg2
= (wxWindow
*) 0 ;
15558 PyObject
* obj0
= 0 ;
15559 PyObject
* obj1
= 0 ;
15560 char *kwnames
[] = {
15561 (char *) "self",(char *) "child", NULL
15564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15566 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15569 (arg1
)->base_RemoveChild(arg2
);
15571 wxPyEndAllowThreads(__tstate
);
15572 if (PyErr_Occurred()) SWIG_fail
;
15574 Py_INCREF(Py_None
); resultobj
= Py_None
;
15581 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15584 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
15586 return Py_BuildValue((char *)"");
15588 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15589 PyObject
*resultobj
;
15590 wxWindow
*arg1
= (wxWindow
*) 0 ;
15592 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15593 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15594 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15595 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15596 long arg5
= (long) 0 ;
15597 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15598 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15602 bool temp6
= False
;
15603 PyObject
* obj0
= 0 ;
15604 PyObject
* obj1
= 0 ;
15605 PyObject
* obj2
= 0 ;
15606 PyObject
* obj3
= 0 ;
15607 PyObject
* obj4
= 0 ;
15608 PyObject
* obj5
= 0 ;
15609 char *kwnames
[] = {
15610 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15616 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
15617 if (PyErr_Occurred()) SWIG_fail
;
15622 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15628 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15633 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
15634 if (PyErr_Occurred()) SWIG_fail
;
15639 arg6
= wxString_in_helper(obj5
);
15640 if (arg6
== NULL
) SWIG_fail
;
15645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15646 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15648 wxPyEndAllowThreads(__tstate
);
15649 if (PyErr_Occurred()) SWIG_fail
;
15651 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPanel
, 1);
15666 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15667 PyObject
*resultobj
;
15668 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15669 PyObject
*arg2
= (PyObject
*) 0 ;
15670 PyObject
*arg3
= (PyObject
*) 0 ;
15671 PyObject
* obj0
= 0 ;
15672 PyObject
* obj1
= 0 ;
15673 PyObject
* obj2
= 0 ;
15674 char *kwnames
[] = {
15675 (char *) "self",(char *) "self",(char *) "_class", NULL
15678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15684 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15686 wxPyEndAllowThreads(__tstate
);
15687 if (PyErr_Occurred()) SWIG_fail
;
15689 Py_INCREF(Py_None
); resultobj
= Py_None
;
15696 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15697 PyObject
*resultobj
;
15698 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15703 PyObject
* obj0
= 0 ;
15704 PyObject
* obj1
= 0 ;
15705 PyObject
* obj2
= 0 ;
15706 PyObject
* obj3
= 0 ;
15707 PyObject
* obj4
= 0 ;
15708 char *kwnames
[] = {
15709 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15715 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15716 if (PyErr_Occurred()) SWIG_fail
;
15719 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15720 if (PyErr_Occurred()) SWIG_fail
;
15723 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15724 if (PyErr_Occurred()) SWIG_fail
;
15727 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
15728 if (PyErr_Occurred()) SWIG_fail
;
15731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15732 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15734 wxPyEndAllowThreads(__tstate
);
15735 if (PyErr_Occurred()) SWIG_fail
;
15737 Py_INCREF(Py_None
); resultobj
= Py_None
;
15744 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15745 PyObject
*resultobj
;
15746 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15751 int arg6
= (int) wxSIZE_AUTO
;
15752 PyObject
* obj0
= 0 ;
15753 PyObject
* obj1
= 0 ;
15754 PyObject
* obj2
= 0 ;
15755 PyObject
* obj3
= 0 ;
15756 PyObject
* obj4
= 0 ;
15757 PyObject
* obj5
= 0 ;
15758 char *kwnames
[] = {
15759 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15765 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15766 if (PyErr_Occurred()) SWIG_fail
;
15769 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15770 if (PyErr_Occurred()) SWIG_fail
;
15773 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15774 if (PyErr_Occurred()) SWIG_fail
;
15777 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
15778 if (PyErr_Occurred()) SWIG_fail
;
15782 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
15783 if (PyErr_Occurred()) SWIG_fail
;
15787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15788 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15790 wxPyEndAllowThreads(__tstate
);
15791 if (PyErr_Occurred()) SWIG_fail
;
15793 Py_INCREF(Py_None
); resultobj
= Py_None
;
15800 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15801 PyObject
*resultobj
;
15802 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15805 PyObject
* obj0
= 0 ;
15806 PyObject
* obj1
= 0 ;
15807 PyObject
* obj2
= 0 ;
15808 char *kwnames
[] = {
15809 (char *) "self",(char *) "width",(char *) "height", NULL
15812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15815 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15816 if (PyErr_Occurred()) SWIG_fail
;
15819 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15820 if (PyErr_Occurred()) SWIG_fail
;
15823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15824 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15826 wxPyEndAllowThreads(__tstate
);
15827 if (PyErr_Occurred()) SWIG_fail
;
15829 Py_INCREF(Py_None
); resultobj
= Py_None
;
15836 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15837 PyObject
*resultobj
;
15838 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15841 PyObject
* obj0
= 0 ;
15842 PyObject
* obj1
= 0 ;
15843 PyObject
* obj2
= 0 ;
15844 char *kwnames
[] = {
15845 (char *) "self",(char *) "x",(char *) "y", NULL
15848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15851 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15852 if (PyErr_Occurred()) SWIG_fail
;
15855 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15856 if (PyErr_Occurred()) SWIG_fail
;
15859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15860 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15862 wxPyEndAllowThreads(__tstate
);
15863 if (PyErr_Occurred()) SWIG_fail
;
15865 Py_INCREF(Py_None
); resultobj
= Py_None
;
15872 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15873 PyObject
*resultobj
;
15874 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15875 int *arg2
= (int *) 0 ;
15876 int *arg3
= (int *) 0 ;
15879 PyObject
* obj0
= 0 ;
15880 char *kwnames
[] = {
15881 (char *) "self", NULL
15886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15890 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15892 wxPyEndAllowThreads(__tstate
);
15893 if (PyErr_Occurred()) SWIG_fail
;
15895 Py_INCREF(Py_None
); resultobj
= Py_None
;
15897 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15898 resultobj
= t_output_helper(resultobj
,o
);
15901 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15902 resultobj
= t_output_helper(resultobj
,o
);
15910 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15911 PyObject
*resultobj
;
15912 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15913 int *arg2
= (int *) 0 ;
15914 int *arg3
= (int *) 0 ;
15917 PyObject
* obj0
= 0 ;
15918 char *kwnames
[] = {
15919 (char *) "self", NULL
15924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15928 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15930 wxPyEndAllowThreads(__tstate
);
15931 if (PyErr_Occurred()) SWIG_fail
;
15933 Py_INCREF(Py_None
); resultobj
= Py_None
;
15935 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15936 resultobj
= t_output_helper(resultobj
,o
);
15939 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15940 resultobj
= t_output_helper(resultobj
,o
);
15948 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15949 PyObject
*resultobj
;
15950 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15951 int *arg2
= (int *) 0 ;
15952 int *arg3
= (int *) 0 ;
15955 PyObject
* obj0
= 0 ;
15956 char *kwnames
[] = {
15957 (char *) "self", NULL
15962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15966 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15968 wxPyEndAllowThreads(__tstate
);
15969 if (PyErr_Occurred()) SWIG_fail
;
15971 Py_INCREF(Py_None
); resultobj
= Py_None
;
15973 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15974 resultobj
= t_output_helper(resultobj
,o
);
15977 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15978 resultobj
= t_output_helper(resultobj
,o
);
15986 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15987 PyObject
*resultobj
;
15988 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15990 PyObject
* obj0
= 0 ;
15991 char *kwnames
[] = {
15992 (char *) "self", NULL
15995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15999 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16001 wxPyEndAllowThreads(__tstate
);
16002 if (PyErr_Occurred()) SWIG_fail
;
16005 wxSize
* resultptr
;
16006 resultptr
= new wxSize((wxSize
&) result
);
16007 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16015 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16016 PyObject
*resultobj
;
16017 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16019 PyObject
* obj0
= 0 ;
16020 char *kwnames
[] = {
16021 (char *) "self", NULL
16024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16028 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16030 wxPyEndAllowThreads(__tstate
);
16031 if (PyErr_Occurred()) SWIG_fail
;
16034 wxSize
* resultptr
;
16035 resultptr
= new wxSize((wxSize
&) result
);
16036 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16044 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16045 PyObject
*resultobj
;
16046 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16047 PyObject
* obj0
= 0 ;
16048 char *kwnames
[] = {
16049 (char *) "self", NULL
16052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16056 (arg1
)->base_InitDialog();
16058 wxPyEndAllowThreads(__tstate
);
16059 if (PyErr_Occurred()) SWIG_fail
;
16061 Py_INCREF(Py_None
); resultobj
= Py_None
;
16068 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16069 PyObject
*resultobj
;
16070 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16072 PyObject
* obj0
= 0 ;
16073 char *kwnames
[] = {
16074 (char *) "self", NULL
16077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16081 result
= (bool)(arg1
)->base_TransferDataToWindow();
16083 wxPyEndAllowThreads(__tstate
);
16084 if (PyErr_Occurred()) SWIG_fail
;
16086 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16093 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16094 PyObject
*resultobj
;
16095 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16097 PyObject
* obj0
= 0 ;
16098 char *kwnames
[] = {
16099 (char *) "self", NULL
16102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16106 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16108 wxPyEndAllowThreads(__tstate
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16111 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16118 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16119 PyObject
*resultobj
;
16120 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16122 PyObject
* obj0
= 0 ;
16123 char *kwnames
[] = {
16124 (char *) "self", NULL
16127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16131 result
= (bool)(arg1
)->base_Validate();
16133 wxPyEndAllowThreads(__tstate
);
16134 if (PyErr_Occurred()) SWIG_fail
;
16136 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16143 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16144 PyObject
*resultobj
;
16145 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16147 PyObject
* obj0
= 0 ;
16148 char *kwnames
[] = {
16149 (char *) "self", NULL
16152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16156 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16158 wxPyEndAllowThreads(__tstate
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16161 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16168 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16169 PyObject
*resultobj
;
16170 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16172 PyObject
* obj0
= 0 ;
16173 char *kwnames
[] = {
16174 (char *) "self", NULL
16177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16181 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16183 wxPyEndAllowThreads(__tstate
);
16184 if (PyErr_Occurred()) SWIG_fail
;
16186 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16193 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16194 PyObject
*resultobj
;
16195 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16197 PyObject
* obj0
= 0 ;
16198 char *kwnames
[] = {
16199 (char *) "self", NULL
16202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16206 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16208 wxPyEndAllowThreads(__tstate
);
16209 if (PyErr_Occurred()) SWIG_fail
;
16212 wxSize
* resultptr
;
16213 resultptr
= new wxSize((wxSize
&) result
);
16214 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16222 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16223 PyObject
*resultobj
;
16224 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16225 wxWindow
*arg2
= (wxWindow
*) 0 ;
16226 PyObject
* obj0
= 0 ;
16227 PyObject
* obj1
= 0 ;
16228 char *kwnames
[] = {
16229 (char *) "self",(char *) "child", NULL
16232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16234 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16237 (arg1
)->base_AddChild(arg2
);
16239 wxPyEndAllowThreads(__tstate
);
16240 if (PyErr_Occurred()) SWIG_fail
;
16242 Py_INCREF(Py_None
); resultobj
= Py_None
;
16249 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16250 PyObject
*resultobj
;
16251 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16252 wxWindow
*arg2
= (wxWindow
*) 0 ;
16253 PyObject
* obj0
= 0 ;
16254 PyObject
* obj1
= 0 ;
16255 char *kwnames
[] = {
16256 (char *) "self",(char *) "child", NULL
16259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16261 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16264 (arg1
)->base_RemoveChild(arg2
);
16266 wxPyEndAllowThreads(__tstate
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16269 Py_INCREF(Py_None
); resultobj
= Py_None
;
16276 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
16278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16279 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
16281 return Py_BuildValue((char *)"");
16283 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
16284 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
16289 static PyObject
*_wrap_PrintoutTitleStr_get() {
16294 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
16296 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
16303 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
16304 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
16309 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
16314 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
16316 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
16323 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16324 PyObject
*resultobj
;
16325 wxPrintData
*result
;
16326 char *kwnames
[] = {
16330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
16332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16333 result
= (wxPrintData
*)new wxPrintData();
16335 wxPyEndAllowThreads(__tstate
);
16336 if (PyErr_Occurred()) SWIG_fail
;
16338 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 1);
16345 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16346 PyObject
*resultobj
;
16347 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16348 PyObject
* obj0
= 0 ;
16349 char *kwnames
[] = {
16350 (char *) "self", NULL
16353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
16354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16359 wxPyEndAllowThreads(__tstate
);
16360 if (PyErr_Occurred()) SWIG_fail
;
16362 Py_INCREF(Py_None
); resultobj
= Py_None
;
16369 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16370 PyObject
*resultobj
;
16371 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16373 PyObject
* obj0
= 0 ;
16374 char *kwnames
[] = {
16375 (char *) "self", NULL
16378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
16379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16382 result
= (int)(arg1
)->GetNoCopies();
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16387 resultobj
= SWIG_PyObj_FromInt((int)result
);
16394 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16395 PyObject
*resultobj
;
16396 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16398 PyObject
* obj0
= 0 ;
16399 char *kwnames
[] = {
16400 (char *) "self", NULL
16403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
16404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16407 result
= (bool)(arg1
)->GetCollate();
16409 wxPyEndAllowThreads(__tstate
);
16410 if (PyErr_Occurred()) SWIG_fail
;
16412 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16419 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16420 PyObject
*resultobj
;
16421 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16423 PyObject
* obj0
= 0 ;
16424 char *kwnames
[] = {
16425 (char *) "self", NULL
16428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
16429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16432 result
= (int)(arg1
)->GetOrientation();
16434 wxPyEndAllowThreads(__tstate
);
16435 if (PyErr_Occurred()) SWIG_fail
;
16437 resultobj
= SWIG_PyObj_FromInt((int)result
);
16444 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16445 PyObject
*resultobj
;
16446 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16448 PyObject
* obj0
= 0 ;
16449 char *kwnames
[] = {
16450 (char *) "self", NULL
16453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
16454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16457 result
= (bool)(arg1
)->Ok();
16459 wxPyEndAllowThreads(__tstate
);
16460 if (PyErr_Occurred()) SWIG_fail
;
16462 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16469 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16470 PyObject
*resultobj
;
16471 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16473 PyObject
* obj0
= 0 ;
16474 char *kwnames
[] = {
16475 (char *) "self", NULL
16478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
16479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16483 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
16484 result
= (wxString
*) &_result_ref
;
16487 wxPyEndAllowThreads(__tstate
);
16488 if (PyErr_Occurred()) SWIG_fail
;
16492 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16494 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16503 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16504 PyObject
*resultobj
;
16505 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16507 PyObject
* obj0
= 0 ;
16508 char *kwnames
[] = {
16509 (char *) "self", NULL
16512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
16513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16516 result
= (bool)(arg1
)->GetColour();
16518 wxPyEndAllowThreads(__tstate
);
16519 if (PyErr_Occurred()) SWIG_fail
;
16521 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16528 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16529 PyObject
*resultobj
;
16530 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16532 PyObject
* obj0
= 0 ;
16533 char *kwnames
[] = {
16534 (char *) "self", NULL
16537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
16538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16541 result
= (int)(arg1
)->GetDuplex();
16543 wxPyEndAllowThreads(__tstate
);
16544 if (PyErr_Occurred()) SWIG_fail
;
16546 resultobj
= SWIG_PyObj_FromInt((int)result
);
16553 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16554 PyObject
*resultobj
;
16555 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16557 PyObject
* obj0
= 0 ;
16558 char *kwnames
[] = {
16559 (char *) "self", NULL
16562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
16563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16566 result
= (int)(arg1
)->GetPaperId();
16568 wxPyEndAllowThreads(__tstate
);
16569 if (PyErr_Occurred()) SWIG_fail
;
16571 resultobj
= SWIG_PyObj_FromInt((int)result
);
16578 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16579 PyObject
*resultobj
;
16580 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16582 PyObject
* obj0
= 0 ;
16583 char *kwnames
[] = {
16584 (char *) "self", NULL
16587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
16588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16592 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
16593 result
= (wxSize
*) &_result_ref
;
16596 wxPyEndAllowThreads(__tstate
);
16597 if (PyErr_Occurred()) SWIG_fail
;
16599 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
16606 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16607 PyObject
*resultobj
;
16608 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16610 PyObject
* obj0
= 0 ;
16611 char *kwnames
[] = {
16612 (char *) "self", NULL
16615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
16616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16619 result
= (int)(arg1
)->GetQuality();
16621 wxPyEndAllowThreads(__tstate
);
16622 if (PyErr_Occurred()) SWIG_fail
;
16624 resultobj
= SWIG_PyObj_FromInt((int)result
);
16631 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16632 PyObject
*resultobj
;
16633 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16635 PyObject
* obj0
= 0 ;
16636 PyObject
* obj1
= 0 ;
16637 char *kwnames
[] = {
16638 (char *) "self",(char *) "v", NULL
16641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
16642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16644 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16645 if (PyErr_Occurred()) SWIG_fail
;
16648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16649 (arg1
)->SetNoCopies(arg2
);
16651 wxPyEndAllowThreads(__tstate
);
16652 if (PyErr_Occurred()) SWIG_fail
;
16654 Py_INCREF(Py_None
); resultobj
= Py_None
;
16661 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16662 PyObject
*resultobj
;
16663 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16665 PyObject
* obj0
= 0 ;
16666 PyObject
* obj1
= 0 ;
16667 char *kwnames
[] = {
16668 (char *) "self",(char *) "flag", NULL
16671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
16672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16674 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16675 if (PyErr_Occurred()) SWIG_fail
;
16678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16679 (arg1
)->SetCollate(arg2
);
16681 wxPyEndAllowThreads(__tstate
);
16682 if (PyErr_Occurred()) SWIG_fail
;
16684 Py_INCREF(Py_None
); resultobj
= Py_None
;
16691 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16692 PyObject
*resultobj
;
16693 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16695 PyObject
* obj0
= 0 ;
16696 PyObject
* obj1
= 0 ;
16697 char *kwnames
[] = {
16698 (char *) "self",(char *) "orient", NULL
16701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16704 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16709 (arg1
)->SetOrientation(arg2
);
16711 wxPyEndAllowThreads(__tstate
);
16712 if (PyErr_Occurred()) SWIG_fail
;
16714 Py_INCREF(Py_None
); resultobj
= Py_None
;
16721 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16722 PyObject
*resultobj
;
16723 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16724 wxString
*arg2
= 0 ;
16725 bool temp2
= False
;
16726 PyObject
* obj0
= 0 ;
16727 PyObject
* obj1
= 0 ;
16728 char *kwnames
[] = {
16729 (char *) "self",(char *) "name", NULL
16732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
16733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16735 arg2
= wxString_in_helper(obj1
);
16736 if (arg2
== NULL
) SWIG_fail
;
16740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16741 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
16743 wxPyEndAllowThreads(__tstate
);
16744 if (PyErr_Occurred()) SWIG_fail
;
16746 Py_INCREF(Py_None
); resultobj
= Py_None
;
16761 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16762 PyObject
*resultobj
;
16763 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16765 PyObject
* obj0
= 0 ;
16766 PyObject
* obj1
= 0 ;
16767 char *kwnames
[] = {
16768 (char *) "self",(char *) "colour", NULL
16771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16774 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16775 if (PyErr_Occurred()) SWIG_fail
;
16778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16779 (arg1
)->SetColour(arg2
);
16781 wxPyEndAllowThreads(__tstate
);
16782 if (PyErr_Occurred()) SWIG_fail
;
16784 Py_INCREF(Py_None
); resultobj
= Py_None
;
16791 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16792 PyObject
*resultobj
;
16793 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16795 PyObject
* obj0
= 0 ;
16796 PyObject
* obj1
= 0 ;
16797 char *kwnames
[] = {
16798 (char *) "self",(char *) "duplex", NULL
16801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
16802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16804 arg2
= (wxDuplexMode
) SWIG_PyObj_AsInt(obj1
);
16805 if (PyErr_Occurred()) SWIG_fail
;
16808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16809 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
16811 wxPyEndAllowThreads(__tstate
);
16812 if (PyErr_Occurred()) SWIG_fail
;
16814 Py_INCREF(Py_None
); resultobj
= Py_None
;
16821 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16822 PyObject
*resultobj
;
16823 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16825 PyObject
* obj0
= 0 ;
16826 PyObject
* obj1
= 0 ;
16827 char *kwnames
[] = {
16828 (char *) "self",(char *) "sizeId", NULL
16831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
16832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16834 arg2
= (wxPaperSize
) SWIG_PyObj_AsInt(obj1
);
16835 if (PyErr_Occurred()) SWIG_fail
;
16838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16839 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
16841 wxPyEndAllowThreads(__tstate
);
16842 if (PyErr_Occurred()) SWIG_fail
;
16844 Py_INCREF(Py_None
); resultobj
= Py_None
;
16851 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16852 PyObject
*resultobj
;
16853 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16856 PyObject
* obj0
= 0 ;
16857 PyObject
* obj1
= 0 ;
16858 char *kwnames
[] = {
16859 (char *) "self",(char *) "sz", NULL
16862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16866 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16870 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
16872 wxPyEndAllowThreads(__tstate
);
16873 if (PyErr_Occurred()) SWIG_fail
;
16875 Py_INCREF(Py_None
); resultobj
= Py_None
;
16882 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16883 PyObject
*resultobj
;
16884 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16886 PyObject
* obj0
= 0 ;
16887 PyObject
* obj1
= 0 ;
16888 char *kwnames
[] = {
16889 (char *) "self",(char *) "quality", NULL
16892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
16893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16895 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16896 if (PyErr_Occurred()) SWIG_fail
;
16899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16900 (arg1
)->SetQuality(arg2
);
16902 wxPyEndAllowThreads(__tstate
);
16903 if (PyErr_Occurred()) SWIG_fail
;
16905 Py_INCREF(Py_None
); resultobj
= Py_None
;
16912 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16913 PyObject
*resultobj
;
16914 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16916 PyObject
* obj0
= 0 ;
16917 char *kwnames
[] = {
16918 (char *) "self", NULL
16921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
16922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16926 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
16927 result
= (wxString
*) &_result_ref
;
16930 wxPyEndAllowThreads(__tstate
);
16931 if (PyErr_Occurred()) SWIG_fail
;
16935 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16937 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16946 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16947 PyObject
*resultobj
;
16948 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16950 PyObject
* obj0
= 0 ;
16951 char *kwnames
[] = {
16952 (char *) "self", NULL
16955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
16956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16960 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
16961 result
= (wxString
*) &_result_ref
;
16964 wxPyEndAllowThreads(__tstate
);
16965 if (PyErr_Occurred()) SWIG_fail
;
16969 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16971 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16980 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16981 PyObject
*resultobj
;
16982 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16984 PyObject
* obj0
= 0 ;
16985 char *kwnames
[] = {
16986 (char *) "self", NULL
16989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
16990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16994 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
16995 result
= (wxString
*) &_result_ref
;
16998 wxPyEndAllowThreads(__tstate
);
16999 if (PyErr_Occurred()) SWIG_fail
;
17003 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17005 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17014 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17015 PyObject
*resultobj
;
17016 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17018 PyObject
* obj0
= 0 ;
17019 char *kwnames
[] = {
17020 (char *) "self", NULL
17023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
17024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17028 wxString
const &_result_ref
= (arg1
)->GetFilename();
17029 result
= (wxString
*) &_result_ref
;
17032 wxPyEndAllowThreads(__tstate
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17037 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17039 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17048 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17049 PyObject
*resultobj
;
17050 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17052 PyObject
* obj0
= 0 ;
17053 char *kwnames
[] = {
17054 (char *) "self", NULL
17057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
17058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17062 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
17063 result
= (wxString
*) &_result_ref
;
17066 wxPyEndAllowThreads(__tstate
);
17067 if (PyErr_Occurred()) SWIG_fail
;
17071 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17073 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17082 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17083 PyObject
*resultobj
;
17084 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17086 PyObject
* obj0
= 0 ;
17087 char *kwnames
[] = {
17088 (char *) "self", NULL
17091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
17092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17095 result
= (double)(arg1
)->GetPrinterScaleX();
17097 wxPyEndAllowThreads(__tstate
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17100 resultobj
= SWIG_PyObj_FromDouble((double)result
);
17107 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17108 PyObject
*resultobj
;
17109 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17111 PyObject
* obj0
= 0 ;
17112 char *kwnames
[] = {
17113 (char *) "self", NULL
17116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
17117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17120 result
= (double)(arg1
)->GetPrinterScaleY();
17122 wxPyEndAllowThreads(__tstate
);
17123 if (PyErr_Occurred()) SWIG_fail
;
17125 resultobj
= SWIG_PyObj_FromDouble((double)result
);
17132 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17133 PyObject
*resultobj
;
17134 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17136 PyObject
* obj0
= 0 ;
17137 char *kwnames
[] = {
17138 (char *) "self", NULL
17141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
17142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17145 result
= (long)(arg1
)->GetPrinterTranslateX();
17147 wxPyEndAllowThreads(__tstate
);
17148 if (PyErr_Occurred()) SWIG_fail
;
17150 resultobj
= SWIG_PyObj_FromLong((long)result
);
17157 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17158 PyObject
*resultobj
;
17159 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17161 PyObject
* obj0
= 0 ;
17162 char *kwnames
[] = {
17163 (char *) "self", NULL
17166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
17167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17170 result
= (long)(arg1
)->GetPrinterTranslateY();
17172 wxPyEndAllowThreads(__tstate
);
17173 if (PyErr_Occurred()) SWIG_fail
;
17175 resultobj
= SWIG_PyObj_FromLong((long)result
);
17182 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17183 PyObject
*resultobj
;
17184 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17186 PyObject
* obj0
= 0 ;
17187 char *kwnames
[] = {
17188 (char *) "self", NULL
17191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
17192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17195 result
= (int)(arg1
)->GetPrintMode();
17197 wxPyEndAllowThreads(__tstate
);
17198 if (PyErr_Occurred()) SWIG_fail
;
17200 resultobj
= SWIG_PyObj_FromInt((int)result
);
17207 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17208 PyObject
*resultobj
;
17209 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17210 wxString
*arg2
= 0 ;
17211 bool temp2
= False
;
17212 PyObject
* obj0
= 0 ;
17213 PyObject
* obj1
= 0 ;
17214 char *kwnames
[] = {
17215 (char *) "self",(char *) "command", NULL
17218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
17219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17221 arg2
= wxString_in_helper(obj1
);
17222 if (arg2
== NULL
) SWIG_fail
;
17226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17227 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
17229 wxPyEndAllowThreads(__tstate
);
17230 if (PyErr_Occurred()) SWIG_fail
;
17232 Py_INCREF(Py_None
); resultobj
= Py_None
;
17247 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17248 PyObject
*resultobj
;
17249 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17250 wxString
*arg2
= 0 ;
17251 bool temp2
= False
;
17252 PyObject
* obj0
= 0 ;
17253 PyObject
* obj1
= 0 ;
17254 char *kwnames
[] = {
17255 (char *) "self",(char *) "options", NULL
17258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
17259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17261 arg2
= wxString_in_helper(obj1
);
17262 if (arg2
== NULL
) SWIG_fail
;
17266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17267 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
17269 wxPyEndAllowThreads(__tstate
);
17270 if (PyErr_Occurred()) SWIG_fail
;
17272 Py_INCREF(Py_None
); resultobj
= Py_None
;
17287 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17288 PyObject
*resultobj
;
17289 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17290 wxString
*arg2
= 0 ;
17291 bool temp2
= False
;
17292 PyObject
* obj0
= 0 ;
17293 PyObject
* obj1
= 0 ;
17294 char *kwnames
[] = {
17295 (char *) "self",(char *) "command", NULL
17298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
17299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17301 arg2
= wxString_in_helper(obj1
);
17302 if (arg2
== NULL
) SWIG_fail
;
17306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17307 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
17309 wxPyEndAllowThreads(__tstate
);
17310 if (PyErr_Occurred()) SWIG_fail
;
17312 Py_INCREF(Py_None
); resultobj
= Py_None
;
17327 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17328 PyObject
*resultobj
;
17329 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17330 wxString
*arg2
= 0 ;
17331 bool temp2
= False
;
17332 PyObject
* obj0
= 0 ;
17333 PyObject
* obj1
= 0 ;
17334 char *kwnames
[] = {
17335 (char *) "self",(char *) "filename", NULL
17338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
17339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17341 arg2
= wxString_in_helper(obj1
);
17342 if (arg2
== NULL
) SWIG_fail
;
17346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17347 (arg1
)->SetFilename((wxString
const &)*arg2
);
17349 wxPyEndAllowThreads(__tstate
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17352 Py_INCREF(Py_None
); resultobj
= Py_None
;
17367 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17368 PyObject
*resultobj
;
17369 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17370 wxString
*arg2
= 0 ;
17371 bool temp2
= False
;
17372 PyObject
* obj0
= 0 ;
17373 PyObject
* obj1
= 0 ;
17374 char *kwnames
[] = {
17375 (char *) "self",(char *) "path", NULL
17378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
17379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17381 arg2
= wxString_in_helper(obj1
);
17382 if (arg2
== NULL
) SWIG_fail
;
17386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17387 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
17389 wxPyEndAllowThreads(__tstate
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17392 Py_INCREF(Py_None
); resultobj
= Py_None
;
17407 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17408 PyObject
*resultobj
;
17409 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17411 PyObject
* obj0
= 0 ;
17412 PyObject
* obj1
= 0 ;
17413 char *kwnames
[] = {
17414 (char *) "self",(char *) "x", NULL
17417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
17418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17420 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
17421 if (PyErr_Occurred()) SWIG_fail
;
17424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17425 (arg1
)->SetPrinterScaleX(arg2
);
17427 wxPyEndAllowThreads(__tstate
);
17428 if (PyErr_Occurred()) SWIG_fail
;
17430 Py_INCREF(Py_None
); resultobj
= Py_None
;
17437 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17438 PyObject
*resultobj
;
17439 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17441 PyObject
* obj0
= 0 ;
17442 PyObject
* obj1
= 0 ;
17443 char *kwnames
[] = {
17444 (char *) "self",(char *) "y", NULL
17447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
17448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17450 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
17451 if (PyErr_Occurred()) SWIG_fail
;
17454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17455 (arg1
)->SetPrinterScaleY(arg2
);
17457 wxPyEndAllowThreads(__tstate
);
17458 if (PyErr_Occurred()) SWIG_fail
;
17460 Py_INCREF(Py_None
); resultobj
= Py_None
;
17467 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17468 PyObject
*resultobj
;
17469 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17472 PyObject
* obj0
= 0 ;
17473 PyObject
* obj1
= 0 ;
17474 PyObject
* obj2
= 0 ;
17475 char *kwnames
[] = {
17476 (char *) "self",(char *) "x",(char *) "y", NULL
17479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17482 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
17483 if (PyErr_Occurred()) SWIG_fail
;
17486 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
17487 if (PyErr_Occurred()) SWIG_fail
;
17490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17491 (arg1
)->SetPrinterScaling(arg2
,arg3
);
17493 wxPyEndAllowThreads(__tstate
);
17494 if (PyErr_Occurred()) SWIG_fail
;
17496 Py_INCREF(Py_None
); resultobj
= Py_None
;
17503 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17504 PyObject
*resultobj
;
17505 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17507 PyObject
* obj0
= 0 ;
17508 PyObject
* obj1
= 0 ;
17509 char *kwnames
[] = {
17510 (char *) "self",(char *) "x", NULL
17513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
17514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17516 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17517 if (PyErr_Occurred()) SWIG_fail
;
17520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17521 (arg1
)->SetPrinterTranslateX(arg2
);
17523 wxPyEndAllowThreads(__tstate
);
17524 if (PyErr_Occurred()) SWIG_fail
;
17526 Py_INCREF(Py_None
); resultobj
= Py_None
;
17533 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17534 PyObject
*resultobj
;
17535 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17537 PyObject
* obj0
= 0 ;
17538 PyObject
* obj1
= 0 ;
17539 char *kwnames
[] = {
17540 (char *) "self",(char *) "y", NULL
17543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
17544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17546 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17547 if (PyErr_Occurred()) SWIG_fail
;
17550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17551 (arg1
)->SetPrinterTranslateY(arg2
);
17553 wxPyEndAllowThreads(__tstate
);
17554 if (PyErr_Occurred()) SWIG_fail
;
17556 Py_INCREF(Py_None
); resultobj
= Py_None
;
17563 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17564 PyObject
*resultobj
;
17565 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17568 PyObject
* obj0
= 0 ;
17569 PyObject
* obj1
= 0 ;
17570 PyObject
* obj2
= 0 ;
17571 char *kwnames
[] = {
17572 (char *) "self",(char *) "x",(char *) "y", NULL
17575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17578 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17579 if (PyErr_Occurred()) SWIG_fail
;
17582 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
17583 if (PyErr_Occurred()) SWIG_fail
;
17586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17587 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
17589 wxPyEndAllowThreads(__tstate
);
17590 if (PyErr_Occurred()) SWIG_fail
;
17592 Py_INCREF(Py_None
); resultobj
= Py_None
;
17599 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17600 PyObject
*resultobj
;
17601 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17603 PyObject
* obj0
= 0 ;
17604 PyObject
* obj1
= 0 ;
17605 char *kwnames
[] = {
17606 (char *) "self",(char *) "printMode", NULL
17609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
17610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17612 arg2
= (wxPrintMode
) SWIG_PyObj_AsInt(obj1
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17617 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
17619 wxPyEndAllowThreads(__tstate
);
17620 if (PyErr_Occurred()) SWIG_fail
;
17622 Py_INCREF(Py_None
); resultobj
= Py_None
;
17629 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
17631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17632 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
17634 return Py_BuildValue((char *)"");
17636 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17637 PyObject
*resultobj
;
17638 wxPageSetupDialogData
*result
;
17639 char *kwnames
[] = {
17643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
17645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17646 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
17648 wxPyEndAllowThreads(__tstate
);
17649 if (PyErr_Occurred()) SWIG_fail
;
17651 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 1);
17658 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17659 PyObject
*resultobj
;
17660 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17661 PyObject
* obj0
= 0 ;
17662 char *kwnames
[] = {
17663 (char *) "self", NULL
17666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
17667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17672 wxPyEndAllowThreads(__tstate
);
17673 if (PyErr_Occurred()) SWIG_fail
;
17675 Py_INCREF(Py_None
); resultobj
= Py_None
;
17682 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17683 PyObject
*resultobj
;
17684 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17686 PyObject
* obj0
= 0 ;
17687 PyObject
* obj1
= 0 ;
17688 char *kwnames
[] = {
17689 (char *) "self",(char *) "flag", NULL
17692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17695 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17696 if (PyErr_Occurred()) SWIG_fail
;
17699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17700 (arg1
)->EnableHelp(arg2
);
17702 wxPyEndAllowThreads(__tstate
);
17703 if (PyErr_Occurred()) SWIG_fail
;
17705 Py_INCREF(Py_None
); resultobj
= Py_None
;
17712 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17713 PyObject
*resultobj
;
17714 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17716 PyObject
* obj0
= 0 ;
17717 PyObject
* obj1
= 0 ;
17718 char *kwnames
[] = {
17719 (char *) "self",(char *) "flag", NULL
17722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17725 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17726 if (PyErr_Occurred()) SWIG_fail
;
17729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17730 (arg1
)->EnableMargins(arg2
);
17732 wxPyEndAllowThreads(__tstate
);
17733 if (PyErr_Occurred()) SWIG_fail
;
17735 Py_INCREF(Py_None
); resultobj
= Py_None
;
17742 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17743 PyObject
*resultobj
;
17744 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17746 PyObject
* obj0
= 0 ;
17747 PyObject
* obj1
= 0 ;
17748 char *kwnames
[] = {
17749 (char *) "self",(char *) "flag", NULL
17752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
17753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17755 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17756 if (PyErr_Occurred()) SWIG_fail
;
17759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17760 (arg1
)->EnableOrientation(arg2
);
17762 wxPyEndAllowThreads(__tstate
);
17763 if (PyErr_Occurred()) SWIG_fail
;
17765 Py_INCREF(Py_None
); resultobj
= Py_None
;
17772 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17773 PyObject
*resultobj
;
17774 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17776 PyObject
* obj0
= 0 ;
17777 PyObject
* obj1
= 0 ;
17778 char *kwnames
[] = {
17779 (char *) "self",(char *) "flag", NULL
17782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
17783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17785 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17786 if (PyErr_Occurred()) SWIG_fail
;
17789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17790 (arg1
)->EnablePaper(arg2
);
17792 wxPyEndAllowThreads(__tstate
);
17793 if (PyErr_Occurred()) SWIG_fail
;
17795 Py_INCREF(Py_None
); resultobj
= Py_None
;
17802 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17803 PyObject
*resultobj
;
17804 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17806 PyObject
* obj0
= 0 ;
17807 PyObject
* obj1
= 0 ;
17808 char *kwnames
[] = {
17809 (char *) "self",(char *) "flag", NULL
17812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
17813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17815 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17816 if (PyErr_Occurred()) SWIG_fail
;
17819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17820 (arg1
)->EnablePrinter(arg2
);
17822 wxPyEndAllowThreads(__tstate
);
17823 if (PyErr_Occurred()) SWIG_fail
;
17825 Py_INCREF(Py_None
); resultobj
= Py_None
;
17832 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17833 PyObject
*resultobj
;
17834 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17836 PyObject
* obj0
= 0 ;
17837 char *kwnames
[] = {
17838 (char *) "self", NULL
17841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
17842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17845 result
= (bool)(arg1
)->GetDefaultMinMargins();
17847 wxPyEndAllowThreads(__tstate
);
17848 if (PyErr_Occurred()) SWIG_fail
;
17850 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17857 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17858 PyObject
*resultobj
;
17859 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17861 PyObject
* obj0
= 0 ;
17862 char *kwnames
[] = {
17863 (char *) "self", NULL
17866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
17867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17870 result
= (bool)(arg1
)->GetEnableMargins();
17872 wxPyEndAllowThreads(__tstate
);
17873 if (PyErr_Occurred()) SWIG_fail
;
17875 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17882 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17883 PyObject
*resultobj
;
17884 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17886 PyObject
* obj0
= 0 ;
17887 char *kwnames
[] = {
17888 (char *) "self", NULL
17891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
17892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17895 result
= (bool)(arg1
)->GetEnableOrientation();
17897 wxPyEndAllowThreads(__tstate
);
17898 if (PyErr_Occurred()) SWIG_fail
;
17900 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17907 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17908 PyObject
*resultobj
;
17909 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17911 PyObject
* obj0
= 0 ;
17912 char *kwnames
[] = {
17913 (char *) "self", NULL
17916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
17917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17920 result
= (bool)(arg1
)->GetEnablePaper();
17922 wxPyEndAllowThreads(__tstate
);
17923 if (PyErr_Occurred()) SWIG_fail
;
17925 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17932 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17933 PyObject
*resultobj
;
17934 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17936 PyObject
* obj0
= 0 ;
17937 char *kwnames
[] = {
17938 (char *) "self", NULL
17941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
17942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17945 result
= (bool)(arg1
)->GetEnablePrinter();
17947 wxPyEndAllowThreads(__tstate
);
17948 if (PyErr_Occurred()) SWIG_fail
;
17950 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17957 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17958 PyObject
*resultobj
;
17959 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17961 PyObject
* obj0
= 0 ;
17962 char *kwnames
[] = {
17963 (char *) "self", NULL
17966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
17967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17970 result
= (bool)(arg1
)->GetEnableHelp();
17972 wxPyEndAllowThreads(__tstate
);
17973 if (PyErr_Occurred()) SWIG_fail
;
17975 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17982 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17983 PyObject
*resultobj
;
17984 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17986 PyObject
* obj0
= 0 ;
17987 char *kwnames
[] = {
17988 (char *) "self", NULL
17991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
17992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17995 result
= (bool)(arg1
)->GetDefaultInfo();
17997 wxPyEndAllowThreads(__tstate
);
17998 if (PyErr_Occurred()) SWIG_fail
;
18000 resultobj
= SWIG_PyObj_FromBool((bool)result
);
18007 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18008 PyObject
*resultobj
;
18009 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18011 PyObject
* obj0
= 0 ;
18012 char *kwnames
[] = {
18013 (char *) "self", NULL
18016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
18017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18020 result
= (arg1
)->GetMarginTopLeft();
18022 wxPyEndAllowThreads(__tstate
);
18023 if (PyErr_Occurred()) SWIG_fail
;
18026 wxPoint
* resultptr
;
18027 resultptr
= new wxPoint((wxPoint
&) result
);
18028 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
18036 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18037 PyObject
*resultobj
;
18038 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18040 PyObject
* obj0
= 0 ;
18041 char *kwnames
[] = {
18042 (char *) "self", NULL
18045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
18046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18049 result
= (arg1
)->GetMarginBottomRight();
18051 wxPyEndAllowThreads(__tstate
);
18052 if (PyErr_Occurred()) SWIG_fail
;
18055 wxPoint
* resultptr
;
18056 resultptr
= new wxPoint((wxPoint
&) result
);
18057 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
18065 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18066 PyObject
*resultobj
;
18067 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18069 PyObject
* obj0
= 0 ;
18070 char *kwnames
[] = {
18071 (char *) "self", NULL
18074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
18075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18078 result
= (arg1
)->GetMinMarginTopLeft();
18080 wxPyEndAllowThreads(__tstate
);
18081 if (PyErr_Occurred()) SWIG_fail
;
18084 wxPoint
* resultptr
;
18085 resultptr
= new wxPoint((wxPoint
&) result
);
18086 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
18094 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18095 PyObject
*resultobj
;
18096 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18098 PyObject
* obj0
= 0 ;
18099 char *kwnames
[] = {
18100 (char *) "self", NULL
18103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
18104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18107 result
= (arg1
)->GetMinMarginBottomRight();
18109 wxPyEndAllowThreads(__tstate
);
18110 if (PyErr_Occurred()) SWIG_fail
;
18113 wxPoint
* resultptr
;
18114 resultptr
= new wxPoint((wxPoint
&) result
);
18115 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
18123 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18124 PyObject
*resultobj
;
18125 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18127 PyObject
* obj0
= 0 ;
18128 char *kwnames
[] = {
18129 (char *) "self", NULL
18132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18136 result
= (int)(arg1
)->GetPaperId();
18138 wxPyEndAllowThreads(__tstate
);
18139 if (PyErr_Occurred()) SWIG_fail
;
18141 resultobj
= SWIG_PyObj_FromInt((int)result
);
18148 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18149 PyObject
*resultobj
;
18150 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18152 PyObject
* obj0
= 0 ;
18153 char *kwnames
[] = {
18154 (char *) "self", NULL
18157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18161 result
= (arg1
)->GetPaperSize();
18163 wxPyEndAllowThreads(__tstate
);
18164 if (PyErr_Occurred()) SWIG_fail
;
18167 wxSize
* resultptr
;
18168 resultptr
= new wxSize((wxSize
&) result
);
18169 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
18177 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18178 PyObject
*resultobj
;
18179 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18180 wxPrintData
*result
;
18181 PyObject
* obj0
= 0 ;
18182 char *kwnames
[] = {
18183 (char *) "self", NULL
18186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
18187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18191 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
18192 result
= (wxPrintData
*) &_result_ref
;
18195 wxPyEndAllowThreads(__tstate
);
18196 if (PyErr_Occurred()) SWIG_fail
;
18198 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
18205 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18206 PyObject
*resultobj
;
18207 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18209 PyObject
* obj0
= 0 ;
18210 char *kwnames
[] = {
18211 (char *) "self", NULL
18214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
18215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18218 result
= (bool)(arg1
)->Ok();
18220 wxPyEndAllowThreads(__tstate
);
18221 if (PyErr_Occurred()) SWIG_fail
;
18223 resultobj
= SWIG_PyObj_FromBool((bool)result
);
18230 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18231 PyObject
*resultobj
;
18232 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18234 PyObject
* obj0
= 0 ;
18235 PyObject
* obj1
= 0 ;
18236 char *kwnames
[] = {
18237 (char *) "self",(char *) "flag", NULL
18240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
18241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18243 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18244 if (PyErr_Occurred()) SWIG_fail
;
18247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18248 (arg1
)->SetDefaultInfo(arg2
);
18250 wxPyEndAllowThreads(__tstate
);
18251 if (PyErr_Occurred()) SWIG_fail
;
18253 Py_INCREF(Py_None
); resultobj
= Py_None
;
18260 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18261 PyObject
*resultobj
;
18262 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18264 PyObject
* obj0
= 0 ;
18265 PyObject
* obj1
= 0 ;
18266 char *kwnames
[] = {
18267 (char *) "self",(char *) "flag", NULL
18270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18273 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18274 if (PyErr_Occurred()) SWIG_fail
;
18277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18278 (arg1
)->SetDefaultMinMargins(arg2
);
18280 wxPyEndAllowThreads(__tstate
);
18281 if (PyErr_Occurred()) SWIG_fail
;
18283 Py_INCREF(Py_None
); resultobj
= Py_None
;
18290 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18291 PyObject
*resultobj
;
18292 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18293 wxPoint
*arg2
= 0 ;
18295 PyObject
* obj0
= 0 ;
18296 PyObject
* obj1
= 0 ;
18297 char *kwnames
[] = {
18298 (char *) "self",(char *) "pt", NULL
18301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
18302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18305 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18309 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
18311 wxPyEndAllowThreads(__tstate
);
18312 if (PyErr_Occurred()) SWIG_fail
;
18314 Py_INCREF(Py_None
); resultobj
= Py_None
;
18321 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18322 PyObject
*resultobj
;
18323 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18324 wxPoint
*arg2
= 0 ;
18326 PyObject
* obj0
= 0 ;
18327 PyObject
* obj1
= 0 ;
18328 char *kwnames
[] = {
18329 (char *) "self",(char *) "pt", NULL
18332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
18333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18336 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18340 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
18342 wxPyEndAllowThreads(__tstate
);
18343 if (PyErr_Occurred()) SWIG_fail
;
18345 Py_INCREF(Py_None
); resultobj
= Py_None
;
18352 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18353 PyObject
*resultobj
;
18354 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18355 wxPoint
*arg2
= 0 ;
18357 PyObject
* obj0
= 0 ;
18358 PyObject
* obj1
= 0 ;
18359 char *kwnames
[] = {
18360 (char *) "self",(char *) "pt", NULL
18363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
18364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18367 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18371 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
18373 wxPyEndAllowThreads(__tstate
);
18374 if (PyErr_Occurred()) SWIG_fail
;
18376 Py_INCREF(Py_None
); resultobj
= Py_None
;
18383 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18384 PyObject
*resultobj
;
18385 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18386 wxPoint
*arg2
= 0 ;
18388 PyObject
* obj0
= 0 ;
18389 PyObject
* obj1
= 0 ;
18390 char *kwnames
[] = {
18391 (char *) "self",(char *) "pt", NULL
18394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
18395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18398 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18402 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
18404 wxPyEndAllowThreads(__tstate
);
18405 if (PyErr_Occurred()) SWIG_fail
;
18407 Py_INCREF(Py_None
); resultobj
= Py_None
;
18414 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18415 PyObject
*resultobj
;
18416 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18418 PyObject
* obj0
= 0 ;
18419 PyObject
* obj1
= 0 ;
18420 char *kwnames
[] = {
18421 (char *) "self",(char *) "id", NULL
18424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18427 arg2
= (wxPaperSize
) SWIG_PyObj_AsInt(obj1
);
18428 if (PyErr_Occurred()) SWIG_fail
;
18431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18432 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18434 wxPyEndAllowThreads(__tstate
);
18435 if (PyErr_Occurred()) SWIG_fail
;
18437 Py_INCREF(Py_None
); resultobj
= Py_None
;
18444 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18445 PyObject
*resultobj
;
18446 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18449 PyObject
* obj0
= 0 ;
18450 PyObject
* obj1
= 0 ;
18451 char *kwnames
[] = {
18452 (char *) "self",(char *) "size", NULL
18455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18459 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18463 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18465 wxPyEndAllowThreads(__tstate
);
18466 if (PyErr_Occurred()) SWIG_fail
;
18468 Py_INCREF(Py_None
); resultobj
= Py_None
;
18475 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18476 PyObject
*resultobj
;
18477 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18478 wxPrintData
*arg2
= 0 ;
18479 PyObject
* obj0
= 0 ;
18480 PyObject
* obj1
= 0 ;
18481 char *kwnames
[] = {
18482 (char *) "self",(char *) "printData", NULL
18485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
18486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18487 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18488 if (arg2
== NULL
) {
18489 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18493 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
18495 wxPyEndAllowThreads(__tstate
);
18496 if (PyErr_Occurred()) SWIG_fail
;
18498 Py_INCREF(Py_None
); resultobj
= Py_None
;
18505 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
18507 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18508 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
18510 return Py_BuildValue((char *)"");
18512 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18513 PyObject
*resultobj
;
18514 wxWindow
*arg1
= (wxWindow
*) 0 ;
18515 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
18516 wxPageSetupDialog
*result
;
18517 PyObject
* obj0
= 0 ;
18518 PyObject
* obj1
= 0 ;
18519 char *kwnames
[] = {
18520 (char *) "parent",(char *) "data", NULL
18523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
18524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18526 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18530 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
18532 wxPyEndAllowThreads(__tstate
);
18533 if (PyErr_Occurred()) SWIG_fail
;
18535 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialog
, 1);
18542 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18543 PyObject
*resultobj
;
18544 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
18545 wxPageSetupDialogData
*result
;
18546 PyObject
* obj0
= 0 ;
18547 char *kwnames
[] = {
18548 (char *) "self", NULL
18551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
18552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18556 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
18557 result
= (wxPageSetupDialogData
*) &_result_ref
;
18560 wxPyEndAllowThreads(__tstate
);
18561 if (PyErr_Occurred()) SWIG_fail
;
18563 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 0);
18570 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18571 PyObject
*resultobj
;
18572 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
18574 PyObject
* obj0
= 0 ;
18575 char *kwnames
[] = {
18576 (char *) "self", NULL
18579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
18580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18583 result
= (int)(arg1
)->ShowModal();
18585 wxPyEndAllowThreads(__tstate
);
18586 if (PyErr_Occurred()) SWIG_fail
;
18588 resultobj
= SWIG_PyObj_FromInt((int)result
);
18595 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
18597 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18598 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
18600 return Py_BuildValue((char *)"");
18602 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18603 PyObject
*resultobj
;
18604 wxPrintDialogData
*result
;
18605 char *kwnames
[] = {
18609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintDialogData",kwnames
)) goto fail
;
18611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18612 result
= (wxPrintDialogData
*)new wxPrintDialogData();
18614 wxPyEndAllowThreads(__tstate
);
18615 if (PyErr_Occurred()) SWIG_fail
;
18617 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 1);
18624 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18625 PyObject
*resultobj
;
18626 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18627 PyObject
* obj0
= 0 ;
18628 char *kwnames
[] = {
18629 (char *) "self", NULL
18632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
18633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18638 wxPyEndAllowThreads(__tstate
);
18639 if (PyErr_Occurred()) SWIG_fail
;
18641 Py_INCREF(Py_None
); resultobj
= Py_None
;
18648 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18649 PyObject
*resultobj
;
18650 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18652 PyObject
* obj0
= 0 ;
18653 char *kwnames
[] = {
18654 (char *) "self", NULL
18657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
18658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18661 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
18663 wxPyEndAllowThreads(__tstate
);
18664 if (PyErr_Occurred()) SWIG_fail
;
18666 resultobj
= SWIG_PyObj_FromInt((int)result
);
18673 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18674 PyObject
*resultobj
;
18675 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18677 PyObject
* obj0
= 0 ;
18678 char *kwnames
[] = {
18679 (char *) "self", NULL
18682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
18683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18686 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
18688 wxPyEndAllowThreads(__tstate
);
18689 if (PyErr_Occurred()) SWIG_fail
;
18691 resultobj
= SWIG_PyObj_FromInt((int)result
);
18698 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18699 PyObject
*resultobj
;
18700 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18702 PyObject
* obj0
= 0 ;
18703 char *kwnames
[] = {
18704 (char *) "self", NULL
18707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
18708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18711 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
18713 wxPyEndAllowThreads(__tstate
);
18714 if (PyErr_Occurred()) SWIG_fail
;
18716 resultobj
= SWIG_PyObj_FromInt((int)result
);
18723 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18724 PyObject
*resultobj
;
18725 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18727 PyObject
* obj0
= 0 ;
18728 char *kwnames
[] = {
18729 (char *) "self", NULL
18732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
18733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18736 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
18738 wxPyEndAllowThreads(__tstate
);
18739 if (PyErr_Occurred()) SWIG_fail
;
18741 resultobj
= SWIG_PyObj_FromInt((int)result
);
18748 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18749 PyObject
*resultobj
;
18750 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18752 PyObject
* obj0
= 0 ;
18753 char *kwnames
[] = {
18754 (char *) "self", NULL
18757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18761 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
18763 wxPyEndAllowThreads(__tstate
);
18764 if (PyErr_Occurred()) SWIG_fail
;
18766 resultobj
= SWIG_PyObj_FromInt((int)result
);
18773 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18774 PyObject
*resultobj
;
18775 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18777 PyObject
* obj0
= 0 ;
18778 char *kwnames
[] = {
18779 (char *) "self", NULL
18782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
18783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18786 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
18788 wxPyEndAllowThreads(__tstate
);
18789 if (PyErr_Occurred()) SWIG_fail
;
18791 resultobj
= SWIG_PyObj_FromBool((bool)result
);
18798 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18799 PyObject
*resultobj
;
18800 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18802 PyObject
* obj0
= 0 ;
18803 char *kwnames
[] = {
18804 (char *) "self", NULL
18807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
18808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18811 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
18813 wxPyEndAllowThreads(__tstate
);
18814 if (PyErr_Occurred()) SWIG_fail
;
18816 resultobj
= SWIG_PyObj_FromBool((bool)result
);
18823 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18824 PyObject
*resultobj
;
18825 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18827 PyObject
* obj0
= 0 ;
18828 char *kwnames
[] = {
18829 (char *) "self", NULL
18832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
18833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18836 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
18838 wxPyEndAllowThreads(__tstate
);
18839 if (PyErr_Occurred()) SWIG_fail
;
18841 resultobj
= SWIG_PyObj_FromBool((bool)result
);
18848 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18849 PyObject
*resultobj
;
18850 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18852 PyObject
* obj0
= 0 ;
18853 char *kwnames
[] = {
18854 (char *) "self", NULL
18857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
18858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18861 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
18863 wxPyEndAllowThreads(__tstate
);
18864 if (PyErr_Occurred()) SWIG_fail
;
18866 resultobj
= SWIG_PyObj_FromBool((bool)result
);
18873 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18874 PyObject
*resultobj
;
18875 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18877 PyObject
* obj0
= 0 ;
18878 char *kwnames
[] = {
18879 (char *) "self", NULL
18882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
18883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18886 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
18888 wxPyEndAllowThreads(__tstate
);
18889 if (PyErr_Occurred()) SWIG_fail
;
18891 resultobj
= SWIG_PyObj_FromBool((bool)result
);
18898 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18899 PyObject
*resultobj
;
18900 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18902 PyObject
* obj0
= 0 ;
18903 PyObject
* obj1
= 0 ;
18904 char *kwnames
[] = {
18905 (char *) "self",(char *) "v", NULL
18908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
18909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18911 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18912 if (PyErr_Occurred()) SWIG_fail
;
18915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18916 (arg1
)->SetFromPage(arg2
);
18918 wxPyEndAllowThreads(__tstate
);
18919 if (PyErr_Occurred()) SWIG_fail
;
18921 Py_INCREF(Py_None
); resultobj
= Py_None
;
18928 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18929 PyObject
*resultobj
;
18930 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18932 PyObject
* obj0
= 0 ;
18933 PyObject
* obj1
= 0 ;
18934 char *kwnames
[] = {
18935 (char *) "self",(char *) "v", NULL
18938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
18939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18941 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18942 if (PyErr_Occurred()) SWIG_fail
;
18945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18946 (arg1
)->SetToPage(arg2
);
18948 wxPyEndAllowThreads(__tstate
);
18949 if (PyErr_Occurred()) SWIG_fail
;
18951 Py_INCREF(Py_None
); resultobj
= Py_None
;
18958 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18959 PyObject
*resultobj
;
18960 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18962 PyObject
* obj0
= 0 ;
18963 PyObject
* obj1
= 0 ;
18964 char *kwnames
[] = {
18965 (char *) "self",(char *) "v", NULL
18968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
18969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18971 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18972 if (PyErr_Occurred()) SWIG_fail
;
18975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18976 (arg1
)->SetMinPage(arg2
);
18978 wxPyEndAllowThreads(__tstate
);
18979 if (PyErr_Occurred()) SWIG_fail
;
18981 Py_INCREF(Py_None
); resultobj
= Py_None
;
18988 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18989 PyObject
*resultobj
;
18990 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18992 PyObject
* obj0
= 0 ;
18993 PyObject
* obj1
= 0 ;
18994 char *kwnames
[] = {
18995 (char *) "self",(char *) "v", NULL
18998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
18999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19001 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19002 if (PyErr_Occurred()) SWIG_fail
;
19005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19006 (arg1
)->SetMaxPage(arg2
);
19008 wxPyEndAllowThreads(__tstate
);
19009 if (PyErr_Occurred()) SWIG_fail
;
19011 Py_INCREF(Py_None
); resultobj
= Py_None
;
19018 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19019 PyObject
*resultobj
;
19020 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19022 PyObject
* obj0
= 0 ;
19023 PyObject
* obj1
= 0 ;
19024 char *kwnames
[] = {
19025 (char *) "self",(char *) "v", NULL
19028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
19029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19031 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19032 if (PyErr_Occurred()) SWIG_fail
;
19035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19036 (arg1
)->SetNoCopies(arg2
);
19038 wxPyEndAllowThreads(__tstate
);
19039 if (PyErr_Occurred()) SWIG_fail
;
19041 Py_INCREF(Py_None
); resultobj
= Py_None
;
19048 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19049 PyObject
*resultobj
;
19050 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19052 PyObject
* obj0
= 0 ;
19053 PyObject
* obj1
= 0 ;
19054 char *kwnames
[] = {
19055 (char *) "self",(char *) "flag", NULL
19058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
19059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19061 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19062 if (PyErr_Occurred()) SWIG_fail
;
19065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19066 (arg1
)->SetAllPages(arg2
);
19068 wxPyEndAllowThreads(__tstate
);
19069 if (PyErr_Occurred()) SWIG_fail
;
19071 Py_INCREF(Py_None
); resultobj
= Py_None
;
19078 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19079 PyObject
*resultobj
;
19080 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19082 PyObject
* obj0
= 0 ;
19083 PyObject
* obj1
= 0 ;
19084 char *kwnames
[] = {
19085 (char *) "self",(char *) "flag", NULL
19088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
19089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19091 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19092 if (PyErr_Occurred()) SWIG_fail
;
19095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19096 (arg1
)->SetSelection(arg2
);
19098 wxPyEndAllowThreads(__tstate
);
19099 if (PyErr_Occurred()) SWIG_fail
;
19101 Py_INCREF(Py_None
); resultobj
= Py_None
;
19108 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19109 PyObject
*resultobj
;
19110 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19112 PyObject
* obj0
= 0 ;
19113 PyObject
* obj1
= 0 ;
19114 char *kwnames
[] = {
19115 (char *) "self",(char *) "flag", NULL
19118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
19119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19121 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19122 if (PyErr_Occurred()) SWIG_fail
;
19125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19126 (arg1
)->SetCollate(arg2
);
19128 wxPyEndAllowThreads(__tstate
);
19129 if (PyErr_Occurred()) SWIG_fail
;
19131 Py_INCREF(Py_None
); resultobj
= Py_None
;
19138 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19139 PyObject
*resultobj
;
19140 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19142 PyObject
* obj0
= 0 ;
19143 PyObject
* obj1
= 0 ;
19144 char *kwnames
[] = {
19145 (char *) "self",(char *) "flag", NULL
19148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
19149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19151 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19152 if (PyErr_Occurred()) SWIG_fail
;
19155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19156 (arg1
)->SetPrintToFile(arg2
);
19158 wxPyEndAllowThreads(__tstate
);
19159 if (PyErr_Occurred()) SWIG_fail
;
19161 Py_INCREF(Py_None
); resultobj
= Py_None
;
19168 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19169 PyObject
*resultobj
;
19170 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19172 PyObject
* obj0
= 0 ;
19173 PyObject
* obj1
= 0 ;
19174 char *kwnames
[] = {
19175 (char *) "self",(char *) "flag", NULL
19178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19181 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19182 if (PyErr_Occurred()) SWIG_fail
;
19185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19186 (arg1
)->SetSetupDialog(arg2
);
19188 wxPyEndAllowThreads(__tstate
);
19189 if (PyErr_Occurred()) SWIG_fail
;
19191 Py_INCREF(Py_None
); resultobj
= Py_None
;
19198 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19199 PyObject
*resultobj
;
19200 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19202 PyObject
* obj0
= 0 ;
19203 PyObject
* obj1
= 0 ;
19204 char *kwnames
[] = {
19205 (char *) "self",(char *) "flag", NULL
19208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
19209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19211 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19212 if (PyErr_Occurred()) SWIG_fail
;
19215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19216 (arg1
)->EnablePrintToFile(arg2
);
19218 wxPyEndAllowThreads(__tstate
);
19219 if (PyErr_Occurred()) SWIG_fail
;
19221 Py_INCREF(Py_None
); resultobj
= Py_None
;
19228 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19229 PyObject
*resultobj
;
19230 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19232 PyObject
* obj0
= 0 ;
19233 PyObject
* obj1
= 0 ;
19234 char *kwnames
[] = {
19235 (char *) "self",(char *) "flag", NULL
19238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
19239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19241 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19242 if (PyErr_Occurred()) SWIG_fail
;
19245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19246 (arg1
)->EnableSelection(arg2
);
19248 wxPyEndAllowThreads(__tstate
);
19249 if (PyErr_Occurred()) SWIG_fail
;
19251 Py_INCREF(Py_None
); resultobj
= Py_None
;
19258 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19259 PyObject
*resultobj
;
19260 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19262 PyObject
* obj0
= 0 ;
19263 PyObject
* obj1
= 0 ;
19264 char *kwnames
[] = {
19265 (char *) "self",(char *) "flag", NULL
19268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
19269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19271 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19272 if (PyErr_Occurred()) SWIG_fail
;
19275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19276 (arg1
)->EnablePageNumbers(arg2
);
19278 wxPyEndAllowThreads(__tstate
);
19279 if (PyErr_Occurred()) SWIG_fail
;
19281 Py_INCREF(Py_None
); resultobj
= Py_None
;
19288 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19289 PyObject
*resultobj
;
19290 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19292 PyObject
* obj0
= 0 ;
19293 PyObject
* obj1
= 0 ;
19294 char *kwnames
[] = {
19295 (char *) "self",(char *) "flag", NULL
19298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19301 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19302 if (PyErr_Occurred()) SWIG_fail
;
19305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19306 (arg1
)->EnableHelp(arg2
);
19308 wxPyEndAllowThreads(__tstate
);
19309 if (PyErr_Occurred()) SWIG_fail
;
19311 Py_INCREF(Py_None
); resultobj
= Py_None
;
19318 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19319 PyObject
*resultobj
;
19320 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19322 PyObject
* obj0
= 0 ;
19323 char *kwnames
[] = {
19324 (char *) "self", NULL
19327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
19328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19331 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
19333 wxPyEndAllowThreads(__tstate
);
19334 if (PyErr_Occurred()) SWIG_fail
;
19336 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19343 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19344 PyObject
*resultobj
;
19345 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19347 PyObject
* obj0
= 0 ;
19348 char *kwnames
[] = {
19349 (char *) "self", NULL
19352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
19353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19356 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
19358 wxPyEndAllowThreads(__tstate
);
19359 if (PyErr_Occurred()) SWIG_fail
;
19361 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19368 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19369 PyObject
*resultobj
;
19370 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19372 PyObject
* obj0
= 0 ;
19373 char *kwnames
[] = {
19374 (char *) "self", NULL
19377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
19378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19381 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
19383 wxPyEndAllowThreads(__tstate
);
19384 if (PyErr_Occurred()) SWIG_fail
;
19386 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19393 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19394 PyObject
*resultobj
;
19395 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19397 PyObject
* obj0
= 0 ;
19398 char *kwnames
[] = {
19399 (char *) "self", NULL
19402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19406 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
19408 wxPyEndAllowThreads(__tstate
);
19409 if (PyErr_Occurred()) SWIG_fail
;
19411 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19418 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19419 PyObject
*resultobj
;
19420 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19422 PyObject
* obj0
= 0 ;
19423 char *kwnames
[] = {
19424 (char *) "self", NULL
19427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19431 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
19433 wxPyEndAllowThreads(__tstate
);
19434 if (PyErr_Occurred()) SWIG_fail
;
19436 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19443 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19444 PyObject
*resultobj
;
19445 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19446 wxPrintData
*result
;
19447 PyObject
* obj0
= 0 ;
19448 char *kwnames
[] = {
19449 (char *) "self", NULL
19452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19457 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19458 result
= (wxPrintData
*) &_result_ref
;
19461 wxPyEndAllowThreads(__tstate
);
19462 if (PyErr_Occurred()) SWIG_fail
;
19464 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
19471 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19472 PyObject
*resultobj
;
19473 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19474 wxPrintData
*arg2
= 0 ;
19475 PyObject
* obj0
= 0 ;
19476 PyObject
* obj1
= 0 ;
19477 char *kwnames
[] = {
19478 (char *) "self",(char *) "printData", NULL
19481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
19482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19483 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19484 if (arg2
== NULL
) {
19485 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19489 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
19491 wxPyEndAllowThreads(__tstate
);
19492 if (PyErr_Occurred()) SWIG_fail
;
19494 Py_INCREF(Py_None
); resultobj
= Py_None
;
19501 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
19503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19504 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
19506 return Py_BuildValue((char *)"");
19508 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19509 PyObject
*resultobj
;
19510 wxWindow
*arg1
= (wxWindow
*) 0 ;
19511 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
19512 wxPrintDialog
*result
;
19513 PyObject
* obj0
= 0 ;
19514 PyObject
* obj1
= 0 ;
19515 char *kwnames
[] = {
19516 (char *) "parent",(char *) "data", NULL
19519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19522 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19526 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
19528 wxPyEndAllowThreads(__tstate
);
19529 if (PyErr_Occurred()) SWIG_fail
;
19531 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialog
, 1);
19538 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19539 PyObject
*resultobj
;
19540 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19541 wxPrintDialogData
*result
;
19542 PyObject
* obj0
= 0 ;
19543 char *kwnames
[] = {
19544 (char *) "self", NULL
19547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
19548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19552 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
19553 result
= (wxPrintDialogData
*) &_result_ref
;
19556 wxPyEndAllowThreads(__tstate
);
19557 if (PyErr_Occurred()) SWIG_fail
;
19559 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
19566 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19567 PyObject
*resultobj
;
19568 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19570 PyObject
* obj0
= 0 ;
19571 char *kwnames
[] = {
19572 (char *) "self", NULL
19575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
19576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19579 result
= (wxDC
*)(arg1
)->GetPrintDC();
19581 wxPyEndAllowThreads(__tstate
);
19582 if (PyErr_Occurred()) SWIG_fail
;
19585 resultobj
= wxPyMake_wxObject(result
);
19593 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19594 PyObject
*resultobj
;
19595 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19597 PyObject
* obj0
= 0 ;
19598 char *kwnames
[] = {
19599 (char *) "self", NULL
19602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
19603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19606 result
= (int)(arg1
)->ShowModal();
19608 wxPyEndAllowThreads(__tstate
);
19609 if (PyErr_Occurred()) SWIG_fail
;
19611 resultobj
= SWIG_PyObj_FromInt((int)result
);
19618 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
19620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19621 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
19623 return Py_BuildValue((char *)"");
19625 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19626 PyObject
*resultobj
;
19627 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
19629 PyObject
* obj0
= 0 ;
19630 char *kwnames
[] = {
19631 (char *) "data", NULL
19634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
19636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19640 result
= (wxPrinter
*)new wxPrinter(arg1
);
19642 wxPyEndAllowThreads(__tstate
);
19643 if (PyErr_Occurred()) SWIG_fail
;
19645 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrinter
, 1);
19652 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19653 PyObject
*resultobj
;
19654 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19655 PyObject
* obj0
= 0 ;
19656 char *kwnames
[] = {
19657 (char *) "self", NULL
19660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
19661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19666 wxPyEndAllowThreads(__tstate
);
19667 if (PyErr_Occurred()) SWIG_fail
;
19669 Py_INCREF(Py_None
); resultobj
= Py_None
;
19676 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19677 PyObject
*resultobj
;
19678 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19679 wxWindow
*arg2
= (wxWindow
*) 0 ;
19680 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19681 PyObject
* obj0
= 0 ;
19682 PyObject
* obj1
= 0 ;
19683 PyObject
* obj2
= 0 ;
19684 char *kwnames
[] = {
19685 (char *) "self",(char *) "parent",(char *) "printout", NULL
19688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19690 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19691 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19694 (arg1
)->CreateAbortWindow(arg2
,arg3
);
19696 wxPyEndAllowThreads(__tstate
);
19697 if (PyErr_Occurred()) SWIG_fail
;
19699 Py_INCREF(Py_None
); resultobj
= Py_None
;
19706 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19707 PyObject
*resultobj
;
19708 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19709 wxPrintDialogData
*result
;
19710 PyObject
* obj0
= 0 ;
19711 char *kwnames
[] = {
19712 (char *) "self", NULL
19715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
19716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19720 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
19721 result
= (wxPrintDialogData
*) &_result_ref
;
19724 wxPyEndAllowThreads(__tstate
);
19725 if (PyErr_Occurred()) SWIG_fail
;
19727 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
19734 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19735 PyObject
*resultobj
;
19736 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19737 wxWindow
*arg2
= (wxWindow
*) 0 ;
19738 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19739 int arg4
= (int) True
;
19741 PyObject
* obj0
= 0 ;
19742 PyObject
* obj1
= 0 ;
19743 PyObject
* obj2
= 0 ;
19744 PyObject
* obj3
= 0 ;
19745 char *kwnames
[] = {
19746 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
19749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19751 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19752 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19755 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
19756 if (PyErr_Occurred()) SWIG_fail
;
19760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19761 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
19763 wxPyEndAllowThreads(__tstate
);
19764 if (PyErr_Occurred()) SWIG_fail
;
19766 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19773 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19774 PyObject
*resultobj
;
19775 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19776 wxWindow
*arg2
= (wxWindow
*) 0 ;
19778 PyObject
* obj0
= 0 ;
19779 PyObject
* obj1
= 0 ;
19780 char *kwnames
[] = {
19781 (char *) "self",(char *) "parent", NULL
19784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19786 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19789 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
19791 wxPyEndAllowThreads(__tstate
);
19792 if (PyErr_Occurred()) SWIG_fail
;
19795 resultobj
= wxPyMake_wxObject(result
);
19803 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19804 PyObject
*resultobj
;
19805 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19806 wxWindow
*arg2
= (wxWindow
*) 0 ;
19807 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19808 wxString
*arg4
= 0 ;
19809 bool temp4
= False
;
19810 PyObject
* obj0
= 0 ;
19811 PyObject
* obj1
= 0 ;
19812 PyObject
* obj2
= 0 ;
19813 PyObject
* obj3
= 0 ;
19814 char *kwnames
[] = {
19815 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
19818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19820 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19821 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19823 arg4
= wxString_in_helper(obj3
);
19824 if (arg4
== NULL
) SWIG_fail
;
19828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19829 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
19831 wxPyEndAllowThreads(__tstate
);
19832 if (PyErr_Occurred()) SWIG_fail
;
19834 Py_INCREF(Py_None
); resultobj
= Py_None
;
19849 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19850 PyObject
*resultobj
;
19851 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19852 wxWindow
*arg2
= (wxWindow
*) 0 ;
19854 PyObject
* obj0
= 0 ;
19855 PyObject
* obj1
= 0 ;
19856 char *kwnames
[] = {
19857 (char *) "self",(char *) "parent", NULL
19860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
19861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19862 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19865 result
= (bool)(arg1
)->Setup(arg2
);
19867 wxPyEndAllowThreads(__tstate
);
19868 if (PyErr_Occurred()) SWIG_fail
;
19870 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19877 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19878 PyObject
*resultobj
;
19879 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19881 PyObject
* obj0
= 0 ;
19882 char *kwnames
[] = {
19883 (char *) "self", NULL
19886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
19887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19890 result
= (bool)(arg1
)->GetAbort();
19892 wxPyEndAllowThreads(__tstate
);
19893 if (PyErr_Occurred()) SWIG_fail
;
19895 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19902 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19903 PyObject
*resultobj
;
19905 char *kwnames
[] = {
19909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
19911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19912 result
= (int)wxPrinter::GetLastError();
19914 wxPyEndAllowThreads(__tstate
);
19915 if (PyErr_Occurred()) SWIG_fail
;
19917 resultobj
= SWIG_PyObj_FromInt((int)result
);
19924 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
19926 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19927 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
19929 return Py_BuildValue((char *)"");
19931 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19932 PyObject
*resultobj
;
19933 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
19934 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
19935 wxPyPrintout
*result
;
19936 bool temp1
= False
;
19937 PyObject
* obj0
= 0 ;
19938 char *kwnames
[] = {
19939 (char *) "title", NULL
19942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
19945 arg1
= wxString_in_helper(obj0
);
19946 if (arg1
== NULL
) SWIG_fail
;
19951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19952 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
19954 wxPyEndAllowThreads(__tstate
);
19955 if (PyErr_Occurred()) SWIG_fail
;
19958 resultobj
= wxPyMake_wxObject(result
);
19974 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19975 PyObject
*resultobj
;
19976 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19977 PyObject
*arg2
= (PyObject
*) 0 ;
19978 PyObject
*arg3
= (PyObject
*) 0 ;
19979 PyObject
* obj0
= 0 ;
19980 PyObject
* obj1
= 0 ;
19981 PyObject
* obj2
= 0 ;
19982 char *kwnames
[] = {
19983 (char *) "self",(char *) "self",(char *) "_class", NULL
19986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19992 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19994 wxPyEndAllowThreads(__tstate
);
19995 if (PyErr_Occurred()) SWIG_fail
;
19997 Py_INCREF(Py_None
); resultobj
= Py_None
;
20004 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20005 PyObject
*resultobj
;
20006 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20008 PyObject
* obj0
= 0 ;
20009 char *kwnames
[] = {
20010 (char *) "self", NULL
20013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
20014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20017 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
20019 wxPyEndAllowThreads(__tstate
);
20020 if (PyErr_Occurred()) SWIG_fail
;
20024 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20026 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20035 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20036 PyObject
*resultobj
;
20037 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20039 PyObject
* obj0
= 0 ;
20040 char *kwnames
[] = {
20041 (char *) "self", NULL
20044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
20045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20048 result
= (wxDC
*)(arg1
)->GetDC();
20050 wxPyEndAllowThreads(__tstate
);
20051 if (PyErr_Occurred()) SWIG_fail
;
20054 resultobj
= wxPyMake_wxObject(result
);
20062 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20063 PyObject
*resultobj
;
20064 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20065 wxDC
*arg2
= (wxDC
*) 0 ;
20066 PyObject
* obj0
= 0 ;
20067 PyObject
* obj1
= 0 ;
20068 char *kwnames
[] = {
20069 (char *) "self",(char *) "dc", NULL
20072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
20073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20074 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20077 (arg1
)->SetDC(arg2
);
20079 wxPyEndAllowThreads(__tstate
);
20080 if (PyErr_Occurred()) SWIG_fail
;
20082 Py_INCREF(Py_None
); resultobj
= Py_None
;
20089 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20090 PyObject
*resultobj
;
20091 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20094 PyObject
* obj0
= 0 ;
20095 PyObject
* obj1
= 0 ;
20096 PyObject
* obj2
= 0 ;
20097 char *kwnames
[] = {
20098 (char *) "self",(char *) "w",(char *) "h", NULL
20101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20104 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20105 if (PyErr_Occurred()) SWIG_fail
;
20108 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20109 if (PyErr_Occurred()) SWIG_fail
;
20112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20113 (arg1
)->SetPageSizePixels(arg2
,arg3
);
20115 wxPyEndAllowThreads(__tstate
);
20116 if (PyErr_Occurred()) SWIG_fail
;
20118 Py_INCREF(Py_None
); resultobj
= Py_None
;
20125 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20126 PyObject
*resultobj
;
20127 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20128 int *arg2
= (int *) 0 ;
20129 int *arg3
= (int *) 0 ;
20132 PyObject
* obj0
= 0 ;
20133 char *kwnames
[] = {
20134 (char *) "self", NULL
20139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
20140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20143 (arg1
)->GetPageSizePixels(arg2
,arg3
);
20145 wxPyEndAllowThreads(__tstate
);
20146 if (PyErr_Occurred()) SWIG_fail
;
20148 Py_INCREF(Py_None
); resultobj
= Py_None
;
20150 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20151 resultobj
= t_output_helper(resultobj
,o
);
20154 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20155 resultobj
= t_output_helper(resultobj
,o
);
20163 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20164 PyObject
*resultobj
;
20165 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20168 PyObject
* obj0
= 0 ;
20169 PyObject
* obj1
= 0 ;
20170 PyObject
* obj2
= 0 ;
20171 char *kwnames
[] = {
20172 (char *) "self",(char *) "w",(char *) "h", NULL
20175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20178 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20179 if (PyErr_Occurred()) SWIG_fail
;
20182 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20183 if (PyErr_Occurred()) SWIG_fail
;
20186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20187 (arg1
)->SetPageSizeMM(arg2
,arg3
);
20189 wxPyEndAllowThreads(__tstate
);
20190 if (PyErr_Occurred()) SWIG_fail
;
20192 Py_INCREF(Py_None
); resultobj
= Py_None
;
20199 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20200 PyObject
*resultobj
;
20201 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20202 int *arg2
= (int *) 0 ;
20203 int *arg3
= (int *) 0 ;
20206 PyObject
* obj0
= 0 ;
20207 char *kwnames
[] = {
20208 (char *) "self", NULL
20213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
20214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20217 (arg1
)->GetPageSizeMM(arg2
,arg3
);
20219 wxPyEndAllowThreads(__tstate
);
20220 if (PyErr_Occurred()) SWIG_fail
;
20222 Py_INCREF(Py_None
); resultobj
= Py_None
;
20224 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20225 resultobj
= t_output_helper(resultobj
,o
);
20228 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20229 resultobj
= t_output_helper(resultobj
,o
);
20237 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20238 PyObject
*resultobj
;
20239 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20242 PyObject
* obj0
= 0 ;
20243 PyObject
* obj1
= 0 ;
20244 PyObject
* obj2
= 0 ;
20245 char *kwnames
[] = {
20246 (char *) "self",(char *) "x",(char *) "y", NULL
20249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20252 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20253 if (PyErr_Occurred()) SWIG_fail
;
20256 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20257 if (PyErr_Occurred()) SWIG_fail
;
20260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20261 (arg1
)->SetPPIScreen(arg2
,arg3
);
20263 wxPyEndAllowThreads(__tstate
);
20264 if (PyErr_Occurred()) SWIG_fail
;
20266 Py_INCREF(Py_None
); resultobj
= Py_None
;
20273 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20274 PyObject
*resultobj
;
20275 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20276 int *arg2
= (int *) 0 ;
20277 int *arg3
= (int *) 0 ;
20280 PyObject
* obj0
= 0 ;
20281 char *kwnames
[] = {
20282 (char *) "self", NULL
20287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
20288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20291 (arg1
)->GetPPIScreen(arg2
,arg3
);
20293 wxPyEndAllowThreads(__tstate
);
20294 if (PyErr_Occurred()) SWIG_fail
;
20296 Py_INCREF(Py_None
); resultobj
= Py_None
;
20298 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20299 resultobj
= t_output_helper(resultobj
,o
);
20302 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20303 resultobj
= t_output_helper(resultobj
,o
);
20311 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20312 PyObject
*resultobj
;
20313 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20316 PyObject
* obj0
= 0 ;
20317 PyObject
* obj1
= 0 ;
20318 PyObject
* obj2
= 0 ;
20319 char *kwnames
[] = {
20320 (char *) "self",(char *) "x",(char *) "y", NULL
20323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20326 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20327 if (PyErr_Occurred()) SWIG_fail
;
20330 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20331 if (PyErr_Occurred()) SWIG_fail
;
20334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20335 (arg1
)->SetPPIPrinter(arg2
,arg3
);
20337 wxPyEndAllowThreads(__tstate
);
20338 if (PyErr_Occurred()) SWIG_fail
;
20340 Py_INCREF(Py_None
); resultobj
= Py_None
;
20347 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20348 PyObject
*resultobj
;
20349 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20350 int *arg2
= (int *) 0 ;
20351 int *arg3
= (int *) 0 ;
20354 PyObject
* obj0
= 0 ;
20355 char *kwnames
[] = {
20356 (char *) "self", NULL
20361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
20362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20365 (arg1
)->GetPPIPrinter(arg2
,arg3
);
20367 wxPyEndAllowThreads(__tstate
);
20368 if (PyErr_Occurred()) SWIG_fail
;
20370 Py_INCREF(Py_None
); resultobj
= Py_None
;
20372 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20373 resultobj
= t_output_helper(resultobj
,o
);
20376 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20377 resultobj
= t_output_helper(resultobj
,o
);
20385 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20386 PyObject
*resultobj
;
20387 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20389 PyObject
* obj0
= 0 ;
20390 char *kwnames
[] = {
20391 (char *) "self", NULL
20394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
20395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20398 result
= (bool)(arg1
)->IsPreview();
20400 wxPyEndAllowThreads(__tstate
);
20401 if (PyErr_Occurred()) SWIG_fail
;
20403 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20410 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20411 PyObject
*resultobj
;
20412 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20414 PyObject
* obj0
= 0 ;
20415 PyObject
* obj1
= 0 ;
20416 char *kwnames
[] = {
20417 (char *) "self",(char *) "p", NULL
20420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
20421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20423 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
20424 if (PyErr_Occurred()) SWIG_fail
;
20427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20428 (arg1
)->SetIsPreview(arg2
);
20430 wxPyEndAllowThreads(__tstate
);
20431 if (PyErr_Occurred()) SWIG_fail
;
20433 Py_INCREF(Py_None
); resultobj
= Py_None
;
20440 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20441 PyObject
*resultobj
;
20442 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20446 PyObject
* obj0
= 0 ;
20447 PyObject
* obj1
= 0 ;
20448 PyObject
* obj2
= 0 ;
20449 char *kwnames
[] = {
20450 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
20453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20456 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20457 if (PyErr_Occurred()) SWIG_fail
;
20460 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20461 if (PyErr_Occurred()) SWIG_fail
;
20464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20465 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
20467 wxPyEndAllowThreads(__tstate
);
20468 if (PyErr_Occurred()) SWIG_fail
;
20470 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20477 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20478 PyObject
*resultobj
;
20479 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20480 PyObject
* obj0
= 0 ;
20481 char *kwnames
[] = {
20482 (char *) "self", NULL
20485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
20486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20489 (arg1
)->base_OnEndDocument();
20491 wxPyEndAllowThreads(__tstate
);
20492 if (PyErr_Occurred()) SWIG_fail
;
20494 Py_INCREF(Py_None
); resultobj
= Py_None
;
20501 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20502 PyObject
*resultobj
;
20503 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20504 PyObject
* obj0
= 0 ;
20505 char *kwnames
[] = {
20506 (char *) "self", NULL
20509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
20510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20513 (arg1
)->base_OnBeginPrinting();
20515 wxPyEndAllowThreads(__tstate
);
20516 if (PyErr_Occurred()) SWIG_fail
;
20518 Py_INCREF(Py_None
); resultobj
= Py_None
;
20525 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20526 PyObject
*resultobj
;
20527 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20528 PyObject
* obj0
= 0 ;
20529 char *kwnames
[] = {
20530 (char *) "self", NULL
20533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
20534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20537 (arg1
)->base_OnEndPrinting();
20539 wxPyEndAllowThreads(__tstate
);
20540 if (PyErr_Occurred()) SWIG_fail
;
20542 Py_INCREF(Py_None
); resultobj
= Py_None
;
20549 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20550 PyObject
*resultobj
;
20551 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20552 PyObject
* obj0
= 0 ;
20553 char *kwnames
[] = {
20554 (char *) "self", NULL
20557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
20558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20561 (arg1
)->base_OnPreparePrinting();
20563 wxPyEndAllowThreads(__tstate
);
20564 if (PyErr_Occurred()) SWIG_fail
;
20566 Py_INCREF(Py_None
); resultobj
= Py_None
;
20573 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20574 PyObject
*resultobj
;
20575 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20578 PyObject
* obj0
= 0 ;
20579 PyObject
* obj1
= 0 ;
20580 char *kwnames
[] = {
20581 (char *) "self",(char *) "page", NULL
20584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20587 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20588 if (PyErr_Occurred()) SWIG_fail
;
20591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20592 result
= (bool)(arg1
)->base_HasPage(arg2
);
20594 wxPyEndAllowThreads(__tstate
);
20595 if (PyErr_Occurred()) SWIG_fail
;
20597 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20604 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20605 PyObject
*resultobj
;
20606 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20607 int *arg2
= (int *) 0 ;
20608 int *arg3
= (int *) 0 ;
20609 int *arg4
= (int *) 0 ;
20610 int *arg5
= (int *) 0 ;
20615 PyObject
* obj0
= 0 ;
20616 char *kwnames
[] = {
20617 (char *) "self", NULL
20624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
20625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20628 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
20630 wxPyEndAllowThreads(__tstate
);
20631 if (PyErr_Occurred()) SWIG_fail
;
20633 Py_INCREF(Py_None
); resultobj
= Py_None
;
20635 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20636 resultobj
= t_output_helper(resultobj
,o
);
20639 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20640 resultobj
= t_output_helper(resultobj
,o
);
20643 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
20644 resultobj
= t_output_helper(resultobj
,o
);
20647 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
20648 resultobj
= t_output_helper(resultobj
,o
);
20656 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
20658 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20659 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
20661 return Py_BuildValue((char *)"");
20663 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20664 PyObject
*resultobj
;
20665 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20666 wxWindow
*arg2
= (wxWindow
*) 0 ;
20667 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20668 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20669 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20670 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20671 long arg5
= (long) 0 ;
20672 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
20673 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20674 wxPreviewCanvas
*result
;
20677 bool temp6
= False
;
20678 PyObject
* obj0
= 0 ;
20679 PyObject
* obj1
= 0 ;
20680 PyObject
* obj2
= 0 ;
20681 PyObject
* obj3
= 0 ;
20682 PyObject
* obj4
= 0 ;
20683 PyObject
* obj5
= 0 ;
20684 char *kwnames
[] = {
20685 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20690 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20694 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20700 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20705 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
20706 if (PyErr_Occurred()) SWIG_fail
;
20711 arg6
= wxString_in_helper(obj5
);
20712 if (arg6
== NULL
) SWIG_fail
;
20717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20718 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20720 wxPyEndAllowThreads(__tstate
);
20721 if (PyErr_Occurred()) SWIG_fail
;
20723 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 1);
20738 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
20740 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20741 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
20743 return Py_BuildValue((char *)"");
20745 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20746 PyObject
*resultobj
;
20747 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20748 wxFrame
*arg2
= (wxFrame
*) 0 ;
20749 wxString
*arg3
= 0 ;
20750 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20751 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20752 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20753 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20754 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20755 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20756 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20757 wxPreviewFrame
*result
;
20758 bool temp3
= False
;
20761 bool temp7
= False
;
20762 PyObject
* obj0
= 0 ;
20763 PyObject
* obj1
= 0 ;
20764 PyObject
* obj2
= 0 ;
20765 PyObject
* obj3
= 0 ;
20766 PyObject
* obj4
= 0 ;
20767 PyObject
* obj5
= 0 ;
20768 PyObject
* obj6
= 0 ;
20769 char *kwnames
[] = {
20770 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20775 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20777 arg3
= wxString_in_helper(obj2
);
20778 if (arg3
== NULL
) SWIG_fail
;
20784 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20790 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20795 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
20796 if (PyErr_Occurred()) SWIG_fail
;
20801 arg7
= wxString_in_helper(obj6
);
20802 if (arg7
== NULL
) SWIG_fail
;
20807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20808 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20810 wxPyEndAllowThreads(__tstate
);
20811 if (PyErr_Occurred()) SWIG_fail
;
20813 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewFrame
, 1);
20836 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20837 PyObject
*resultobj
;
20838 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20839 PyObject
* obj0
= 0 ;
20840 char *kwnames
[] = {
20841 (char *) "self", NULL
20844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
20845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20848 (arg1
)->Initialize();
20850 wxPyEndAllowThreads(__tstate
);
20851 if (PyErr_Occurred()) SWIG_fail
;
20853 Py_INCREF(Py_None
); resultobj
= Py_None
;
20860 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20861 PyObject
*resultobj
;
20862 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20863 PyObject
* obj0
= 0 ;
20864 char *kwnames
[] = {
20865 (char *) "self", NULL
20868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
20869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20872 (arg1
)->CreateControlBar();
20874 wxPyEndAllowThreads(__tstate
);
20875 if (PyErr_Occurred()) SWIG_fail
;
20877 Py_INCREF(Py_None
); resultobj
= Py_None
;
20884 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20885 PyObject
*resultobj
;
20886 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20887 PyObject
* obj0
= 0 ;
20888 char *kwnames
[] = {
20889 (char *) "self", NULL
20892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
20893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20896 (arg1
)->CreateCanvas();
20898 wxPyEndAllowThreads(__tstate
);
20899 if (PyErr_Occurred()) SWIG_fail
;
20901 Py_INCREF(Py_None
); resultobj
= Py_None
;
20908 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20909 PyObject
*resultobj
;
20910 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20911 wxPreviewControlBar
*result
;
20912 PyObject
* obj0
= 0 ;
20913 char *kwnames
[] = {
20914 (char *) "self", NULL
20917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
20918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20921 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
20923 wxPyEndAllowThreads(__tstate
);
20924 if (PyErr_Occurred()) SWIG_fail
;
20926 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 0);
20933 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
20935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20936 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
20938 return Py_BuildValue((char *)"");
20940 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20941 PyObject
*resultobj
;
20942 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20944 wxWindow
*arg3
= (wxWindow
*) 0 ;
20945 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20946 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20947 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20948 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20949 long arg6
= (long) wxTAB_TRAVERSAL
;
20950 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
20951 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20952 wxPreviewControlBar
*result
;
20955 bool temp7
= False
;
20956 PyObject
* obj0
= 0 ;
20957 PyObject
* obj1
= 0 ;
20958 PyObject
* obj2
= 0 ;
20959 PyObject
* obj3
= 0 ;
20960 PyObject
* obj4
= 0 ;
20961 PyObject
* obj5
= 0 ;
20962 PyObject
* obj6
= 0 ;
20963 char *kwnames
[] = {
20964 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20970 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20971 if (PyErr_Occurred()) SWIG_fail
;
20973 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20977 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20983 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20988 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
20989 if (PyErr_Occurred()) SWIG_fail
;
20994 arg7
= wxString_in_helper(obj6
);
20995 if (arg7
== NULL
) SWIG_fail
;
21000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21001 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21003 wxPyEndAllowThreads(__tstate
);
21004 if (PyErr_Occurred()) SWIG_fail
;
21006 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 1);
21021 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21022 PyObject
*resultobj
;
21023 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21025 PyObject
* obj0
= 0 ;
21026 char *kwnames
[] = {
21027 (char *) "self", NULL
21030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
21031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21034 result
= (int)(arg1
)->GetZoomControl();
21036 wxPyEndAllowThreads(__tstate
);
21037 if (PyErr_Occurred()) SWIG_fail
;
21039 resultobj
= SWIG_PyObj_FromInt((int)result
);
21046 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21047 PyObject
*resultobj
;
21048 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21050 PyObject
* obj0
= 0 ;
21051 PyObject
* obj1
= 0 ;
21052 char *kwnames
[] = {
21053 (char *) "self",(char *) "zoom", NULL
21056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
21057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21059 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21060 if (PyErr_Occurred()) SWIG_fail
;
21063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21064 (arg1
)->SetZoomControl(arg2
);
21066 wxPyEndAllowThreads(__tstate
);
21067 if (PyErr_Occurred()) SWIG_fail
;
21069 Py_INCREF(Py_None
); resultobj
= Py_None
;
21076 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21077 PyObject
*resultobj
;
21078 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21079 wxPrintPreview
*result
;
21080 PyObject
* obj0
= 0 ;
21081 char *kwnames
[] = {
21082 (char *) "self", NULL
21085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
21086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21089 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
21091 wxPyEndAllowThreads(__tstate
);
21092 if (PyErr_Occurred()) SWIG_fail
;
21094 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 0);
21101 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21102 PyObject
*resultobj
;
21103 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21104 PyObject
* obj0
= 0 ;
21105 char *kwnames
[] = {
21106 (char *) "self", NULL
21109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
21110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21115 wxPyEndAllowThreads(__tstate
);
21116 if (PyErr_Occurred()) SWIG_fail
;
21118 Py_INCREF(Py_None
); resultobj
= Py_None
;
21125 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21126 PyObject
*resultobj
;
21127 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21128 PyObject
* obj0
= 0 ;
21129 char *kwnames
[] = {
21130 (char *) "self", NULL
21133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
21134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21137 (arg1
)->OnPrevious();
21139 wxPyEndAllowThreads(__tstate
);
21140 if (PyErr_Occurred()) SWIG_fail
;
21142 Py_INCREF(Py_None
); resultobj
= Py_None
;
21149 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21150 PyObject
*resultobj
;
21151 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21152 PyObject
* obj0
= 0 ;
21153 char *kwnames
[] = {
21154 (char *) "self", NULL
21157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
21158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21163 wxPyEndAllowThreads(__tstate
);
21164 if (PyErr_Occurred()) SWIG_fail
;
21166 Py_INCREF(Py_None
); resultobj
= Py_None
;
21173 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21174 PyObject
*resultobj
;
21175 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21176 PyObject
* obj0
= 0 ;
21177 char *kwnames
[] = {
21178 (char *) "self", NULL
21181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
21182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21187 wxPyEndAllowThreads(__tstate
);
21188 if (PyErr_Occurred()) SWIG_fail
;
21190 Py_INCREF(Py_None
); resultobj
= Py_None
;
21197 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21198 PyObject
*resultobj
;
21199 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21200 PyObject
* obj0
= 0 ;
21201 char *kwnames
[] = {
21202 (char *) "self", NULL
21205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
21206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21211 wxPyEndAllowThreads(__tstate
);
21212 if (PyErr_Occurred()) SWIG_fail
;
21214 Py_INCREF(Py_None
); resultobj
= Py_None
;
21221 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
21223 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21224 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
21226 return Py_BuildValue((char *)"");
21228 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21229 PyObject
*resultobj
;
21230 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21231 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21232 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
21233 wxPrintPreview
*result
;
21234 PyObject
* obj0
= 0 ;
21235 PyObject
* obj1
= 0 ;
21236 PyObject
* obj2
= 0 ;
21237 char *kwnames
[] = {
21238 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
21241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21243 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21245 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21249 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
21251 wxPyEndAllowThreads(__tstate
);
21252 if (PyErr_Occurred()) SWIG_fail
;
21254 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 1);
21261 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21262 PyObject
*resultobj
;
21263 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21266 PyObject
* obj0
= 0 ;
21267 PyObject
* obj1
= 0 ;
21268 char *kwnames
[] = {
21269 (char *) "self",(char *) "pageNum", NULL
21272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21275 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21276 if (PyErr_Occurred()) SWIG_fail
;
21279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21280 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
21282 wxPyEndAllowThreads(__tstate
);
21283 if (PyErr_Occurred()) SWIG_fail
;
21285 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21292 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21293 PyObject
*resultobj
;
21294 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21296 PyObject
* obj0
= 0 ;
21297 char *kwnames
[] = {
21298 (char *) "self", NULL
21301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
21302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21305 result
= (int)(arg1
)->GetCurrentPage();
21307 wxPyEndAllowThreads(__tstate
);
21308 if (PyErr_Occurred()) SWIG_fail
;
21310 resultobj
= SWIG_PyObj_FromInt((int)result
);
21317 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21318 PyObject
*resultobj
;
21319 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21320 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21321 PyObject
* obj0
= 0 ;
21322 PyObject
* obj1
= 0 ;
21323 char *kwnames
[] = {
21324 (char *) "self",(char *) "printout", NULL
21327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
21328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21329 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21332 (arg1
)->SetPrintout(arg2
);
21334 wxPyEndAllowThreads(__tstate
);
21335 if (PyErr_Occurred()) SWIG_fail
;
21337 Py_INCREF(Py_None
); resultobj
= Py_None
;
21344 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21345 PyObject
*resultobj
;
21346 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21347 wxPyPrintout
*result
;
21348 PyObject
* obj0
= 0 ;
21349 char *kwnames
[] = {
21350 (char *) "self", NULL
21353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
21354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21357 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
21359 wxPyEndAllowThreads(__tstate
);
21360 if (PyErr_Occurred()) SWIG_fail
;
21363 resultobj
= wxPyMake_wxObject(result
);
21371 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21372 PyObject
*resultobj
;
21373 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21374 wxPyPrintout
*result
;
21375 PyObject
* obj0
= 0 ;
21376 char *kwnames
[] = {
21377 (char *) "self", NULL
21380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
21381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21384 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
21386 wxPyEndAllowThreads(__tstate
);
21387 if (PyErr_Occurred()) SWIG_fail
;
21390 resultobj
= wxPyMake_wxObject(result
);
21398 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21399 PyObject
*resultobj
;
21400 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21401 wxFrame
*arg2
= (wxFrame
*) 0 ;
21402 PyObject
* obj0
= 0 ;
21403 PyObject
* obj1
= 0 ;
21404 char *kwnames
[] = {
21405 (char *) "self",(char *) "frame", NULL
21408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
21409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21410 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21413 (arg1
)->SetFrame(arg2
);
21415 wxPyEndAllowThreads(__tstate
);
21416 if (PyErr_Occurred()) SWIG_fail
;
21418 Py_INCREF(Py_None
); resultobj
= Py_None
;
21425 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21426 PyObject
*resultobj
;
21427 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21428 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21429 PyObject
* obj0
= 0 ;
21430 PyObject
* obj1
= 0 ;
21431 char *kwnames
[] = {
21432 (char *) "self",(char *) "canvas", NULL
21435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
21436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21437 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21440 (arg1
)->SetCanvas(arg2
);
21442 wxPyEndAllowThreads(__tstate
);
21443 if (PyErr_Occurred()) SWIG_fail
;
21445 Py_INCREF(Py_None
); resultobj
= Py_None
;
21452 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21453 PyObject
*resultobj
;
21454 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21456 PyObject
* obj0
= 0 ;
21457 char *kwnames
[] = {
21458 (char *) "self", NULL
21461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
21462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21465 result
= (wxFrame
*)(arg1
)->GetFrame();
21467 wxPyEndAllowThreads(__tstate
);
21468 if (PyErr_Occurred()) SWIG_fail
;
21471 resultobj
= wxPyMake_wxObject(result
);
21479 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21480 PyObject
*resultobj
;
21481 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21482 wxPreviewCanvas
*result
;
21483 PyObject
* obj0
= 0 ;
21484 char *kwnames
[] = {
21485 (char *) "self", NULL
21488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
21489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21492 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
21494 wxPyEndAllowThreads(__tstate
);
21495 if (PyErr_Occurred()) SWIG_fail
;
21497 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 0);
21504 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21505 PyObject
*resultobj
;
21506 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21507 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21510 PyObject
* obj0
= 0 ;
21511 PyObject
* obj1
= 0 ;
21512 PyObject
* obj2
= 0 ;
21513 char *kwnames
[] = {
21514 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21519 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21520 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21521 if (arg3
== NULL
) {
21522 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21526 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
21528 wxPyEndAllowThreads(__tstate
);
21529 if (PyErr_Occurred()) SWIG_fail
;
21531 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21538 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21539 PyObject
*resultobj
;
21540 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21541 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21544 PyObject
* obj0
= 0 ;
21545 PyObject
* obj1
= 0 ;
21546 PyObject
* obj2
= 0 ;
21547 char *kwnames
[] = {
21548 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21553 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21554 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21555 if (arg3
== NULL
) {
21556 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21560 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
21562 wxPyEndAllowThreads(__tstate
);
21563 if (PyErr_Occurred()) SWIG_fail
;
21565 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21572 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21573 PyObject
*resultobj
;
21574 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21577 PyObject
* obj0
= 0 ;
21578 PyObject
* obj1
= 0 ;
21579 char *kwnames
[] = {
21580 (char *) "self",(char *) "pageNum", NULL
21583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21586 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21587 if (PyErr_Occurred()) SWIG_fail
;
21590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21591 result
= (bool)(arg1
)->RenderPage(arg2
);
21593 wxPyEndAllowThreads(__tstate
);
21594 if (PyErr_Occurred()) SWIG_fail
;
21596 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21603 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21604 PyObject
*resultobj
;
21605 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21606 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21607 PyObject
* obj0
= 0 ;
21608 PyObject
* obj1
= 0 ;
21609 char *kwnames
[] = {
21610 (char *) "self",(char *) "canvas", NULL
21613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
21614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21615 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21618 (arg1
)->AdjustScrollbars(arg2
);
21620 wxPyEndAllowThreads(__tstate
);
21621 if (PyErr_Occurred()) SWIG_fail
;
21623 Py_INCREF(Py_None
); resultobj
= Py_None
;
21630 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21631 PyObject
*resultobj
;
21632 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21633 wxPrintDialogData
*result
;
21634 PyObject
* obj0
= 0 ;
21635 char *kwnames
[] = {
21636 (char *) "self", NULL
21639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21644 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21645 result
= (wxPrintDialogData
*) &_result_ref
;
21648 wxPyEndAllowThreads(__tstate
);
21649 if (PyErr_Occurred()) SWIG_fail
;
21651 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
21658 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21659 PyObject
*resultobj
;
21660 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21662 PyObject
* obj0
= 0 ;
21663 PyObject
* obj1
= 0 ;
21664 char *kwnames
[] = {
21665 (char *) "self",(char *) "percent", NULL
21668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
21669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21671 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21672 if (PyErr_Occurred()) SWIG_fail
;
21675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21676 (arg1
)->SetZoom(arg2
);
21678 wxPyEndAllowThreads(__tstate
);
21679 if (PyErr_Occurred()) SWIG_fail
;
21681 Py_INCREF(Py_None
); resultobj
= Py_None
;
21688 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21689 PyObject
*resultobj
;
21690 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21692 PyObject
* obj0
= 0 ;
21693 char *kwnames
[] = {
21694 (char *) "self", NULL
21697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
21698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21701 result
= (int)(arg1
)->GetZoom();
21703 wxPyEndAllowThreads(__tstate
);
21704 if (PyErr_Occurred()) SWIG_fail
;
21706 resultobj
= SWIG_PyObj_FromInt((int)result
);
21713 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21714 PyObject
*resultobj
;
21715 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21717 PyObject
* obj0
= 0 ;
21718 char *kwnames
[] = {
21719 (char *) "self", NULL
21722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
21723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21726 result
= (int)(arg1
)->GetMaxPage();
21728 wxPyEndAllowThreads(__tstate
);
21729 if (PyErr_Occurred()) SWIG_fail
;
21731 resultobj
= SWIG_PyObj_FromInt((int)result
);
21738 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21739 PyObject
*resultobj
;
21740 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21742 PyObject
* obj0
= 0 ;
21743 char *kwnames
[] = {
21744 (char *) "self", NULL
21747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
21748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21751 result
= (int)(arg1
)->GetMinPage();
21753 wxPyEndAllowThreads(__tstate
);
21754 if (PyErr_Occurred()) SWIG_fail
;
21756 resultobj
= SWIG_PyObj_FromInt((int)result
);
21763 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21764 PyObject
*resultobj
;
21765 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21767 PyObject
* obj0
= 0 ;
21768 char *kwnames
[] = {
21769 (char *) "self", NULL
21772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
21773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21776 result
= (bool)(arg1
)->Ok();
21778 wxPyEndAllowThreads(__tstate
);
21779 if (PyErr_Occurred()) SWIG_fail
;
21781 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21788 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21789 PyObject
*resultobj
;
21790 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21792 PyObject
* obj0
= 0 ;
21793 PyObject
* obj1
= 0 ;
21794 char *kwnames
[] = {
21795 (char *) "self",(char *) "ok", NULL
21798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
21799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21801 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
21802 if (PyErr_Occurred()) SWIG_fail
;
21805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21806 (arg1
)->SetOk(arg2
);
21808 wxPyEndAllowThreads(__tstate
);
21809 if (PyErr_Occurred()) SWIG_fail
;
21811 Py_INCREF(Py_None
); resultobj
= Py_None
;
21818 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21819 PyObject
*resultobj
;
21820 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21823 PyObject
* obj0
= 0 ;
21824 PyObject
* obj1
= 0 ;
21825 char *kwnames
[] = {
21826 (char *) "self",(char *) "interactive", NULL
21829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
21830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21832 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
21833 if (PyErr_Occurred()) SWIG_fail
;
21836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21837 result
= (bool)(arg1
)->Print(arg2
);
21839 wxPyEndAllowThreads(__tstate
);
21840 if (PyErr_Occurred()) SWIG_fail
;
21842 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21849 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21850 PyObject
*resultobj
;
21851 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21852 PyObject
* obj0
= 0 ;
21853 char *kwnames
[] = {
21854 (char *) "self", NULL
21857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
21858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21861 (arg1
)->DetermineScaling();
21863 wxPyEndAllowThreads(__tstate
);
21864 if (PyErr_Occurred()) SWIG_fail
;
21866 Py_INCREF(Py_None
); resultobj
= Py_None
;
21873 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
21875 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21876 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
21878 return Py_BuildValue((char *)"");
21880 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21881 PyObject
*resultobj
;
21882 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21883 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21884 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
21885 wxPyPrintPreview
*result
;
21886 PyObject
* obj0
= 0 ;
21887 PyObject
* obj1
= 0 ;
21888 PyObject
* obj2
= 0 ;
21889 char *kwnames
[] = {
21890 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
21893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PyPrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21895 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21897 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21901 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
21903 wxPyEndAllowThreads(__tstate
);
21904 if (PyErr_Occurred()) SWIG_fail
;
21906 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPrintPreview
, 1);
21913 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21914 PyObject
*resultobj
;
21915 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
21916 PyObject
*arg2
= (PyObject
*) 0 ;
21917 PyObject
*arg3
= (PyObject
*) 0 ;
21918 PyObject
* obj0
= 0 ;
21919 PyObject
* obj1
= 0 ;
21920 PyObject
* obj2
= 0 ;
21921 char *kwnames
[] = {
21922 (char *) "self",(char *) "self",(char *) "_class", NULL
21925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21931 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21933 wxPyEndAllowThreads(__tstate
);
21934 if (PyErr_Occurred()) SWIG_fail
;
21936 Py_INCREF(Py_None
); resultobj
= Py_None
;
21943 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21944 PyObject
*resultobj
;
21945 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
21948 PyObject
* obj0
= 0 ;
21949 PyObject
* obj1
= 0 ;
21950 char *kwnames
[] = {
21951 (char *) "self",(char *) "pageNum", NULL
21954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21957 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21958 if (PyErr_Occurred()) SWIG_fail
;
21961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21962 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
21964 wxPyEndAllowThreads(__tstate
);
21965 if (PyErr_Occurred()) SWIG_fail
;
21967 resultobj
= SWIG_PyObj_FromBool((bool)result
);
21974 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21975 PyObject
*resultobj
;
21976 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
21977 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21980 PyObject
* obj0
= 0 ;
21981 PyObject
* obj1
= 0 ;
21982 PyObject
* obj2
= 0 ;
21983 char *kwnames
[] = {
21984 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21989 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21990 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21991 if (arg3
== NULL
) {
21992 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21996 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
21998 wxPyEndAllowThreads(__tstate
);
21999 if (PyErr_Occurred()) SWIG_fail
;
22001 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22008 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22009 PyObject
*resultobj
;
22010 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22011 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22014 PyObject
* obj0
= 0 ;
22015 PyObject
* obj1
= 0 ;
22016 PyObject
* obj2
= 0 ;
22017 char *kwnames
[] = {
22018 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22023 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22024 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22025 if (arg3
== NULL
) {
22026 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22030 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
22032 wxPyEndAllowThreads(__tstate
);
22033 if (PyErr_Occurred()) SWIG_fail
;
22035 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22042 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22043 PyObject
*resultobj
;
22044 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22047 PyObject
* obj0
= 0 ;
22048 PyObject
* obj1
= 0 ;
22049 char *kwnames
[] = {
22050 (char *) "self",(char *) "pageNum", NULL
22053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22056 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22057 if (PyErr_Occurred()) SWIG_fail
;
22060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22061 result
= (bool)(arg1
)->base_RenderPage(arg2
);
22063 wxPyEndAllowThreads(__tstate
);
22064 if (PyErr_Occurred()) SWIG_fail
;
22066 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22073 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22074 PyObject
*resultobj
;
22075 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22077 PyObject
* obj0
= 0 ;
22078 PyObject
* obj1
= 0 ;
22079 char *kwnames
[] = {
22080 (char *) "self",(char *) "percent", NULL
22083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
22084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22086 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22087 if (PyErr_Occurred()) SWIG_fail
;
22090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22091 (arg1
)->base_SetZoom(arg2
);
22093 wxPyEndAllowThreads(__tstate
);
22094 if (PyErr_Occurred()) SWIG_fail
;
22096 Py_INCREF(Py_None
); resultobj
= Py_None
;
22103 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22104 PyObject
*resultobj
;
22105 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22108 PyObject
* obj0
= 0 ;
22109 PyObject
* obj1
= 0 ;
22110 char *kwnames
[] = {
22111 (char *) "self",(char *) "interactive", NULL
22114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
22115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22117 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
22118 if (PyErr_Occurred()) SWIG_fail
;
22121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22122 result
= (bool)(arg1
)->base_Print(arg2
);
22124 wxPyEndAllowThreads(__tstate
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22127 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22134 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22135 PyObject
*resultobj
;
22136 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22137 PyObject
* obj0
= 0 ;
22138 char *kwnames
[] = {
22139 (char *) "self", NULL
22142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
22143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22146 (arg1
)->base_DetermineScaling();
22148 wxPyEndAllowThreads(__tstate
);
22149 if (PyErr_Occurred()) SWIG_fail
;
22151 Py_INCREF(Py_None
); resultobj
= Py_None
;
22158 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
22160 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22161 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
22163 return Py_BuildValue((char *)"");
22165 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22166 PyObject
*resultobj
;
22167 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22168 wxFrame
*arg2
= (wxFrame
*) 0 ;
22169 wxString
*arg3
= 0 ;
22170 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22171 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22172 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22173 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22174 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22175 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22176 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22177 wxPyPreviewFrame
*result
;
22178 bool temp3
= False
;
22181 bool temp7
= False
;
22182 PyObject
* obj0
= 0 ;
22183 PyObject
* obj1
= 0 ;
22184 PyObject
* obj2
= 0 ;
22185 PyObject
* obj3
= 0 ;
22186 PyObject
* obj4
= 0 ;
22187 PyObject
* obj5
= 0 ;
22188 PyObject
* obj6
= 0 ;
22189 char *kwnames
[] = {
22190 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22195 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22197 arg3
= wxString_in_helper(obj2
);
22198 if (arg3
== NULL
) SWIG_fail
;
22204 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22210 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22215 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
22216 if (PyErr_Occurred()) SWIG_fail
;
22221 arg7
= wxString_in_helper(obj6
);
22222 if (arg7
== NULL
) SWIG_fail
;
22227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22228 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22230 wxPyEndAllowThreads(__tstate
);
22231 if (PyErr_Occurred()) SWIG_fail
;
22233 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewFrame
, 1);
22256 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22257 PyObject
*resultobj
;
22258 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22259 PyObject
*arg2
= (PyObject
*) 0 ;
22260 PyObject
*arg3
= (PyObject
*) 0 ;
22261 PyObject
* obj0
= 0 ;
22262 PyObject
* obj1
= 0 ;
22263 PyObject
* obj2
= 0 ;
22264 char *kwnames
[] = {
22265 (char *) "self",(char *) "self",(char *) "_class", NULL
22268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22274 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22276 wxPyEndAllowThreads(__tstate
);
22277 if (PyErr_Occurred()) SWIG_fail
;
22279 Py_INCREF(Py_None
); resultobj
= Py_None
;
22286 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22287 PyObject
*resultobj
;
22288 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22289 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22290 PyObject
* obj0
= 0 ;
22291 PyObject
* obj1
= 0 ;
22292 char *kwnames
[] = {
22293 (char *) "self",(char *) "canvas", NULL
22296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
22297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22298 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22301 (arg1
)->SetPreviewCanvas(arg2
);
22303 wxPyEndAllowThreads(__tstate
);
22304 if (PyErr_Occurred()) SWIG_fail
;
22306 Py_INCREF(Py_None
); resultobj
= Py_None
;
22313 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22314 PyObject
*resultobj
;
22315 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22316 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
22317 PyObject
* obj0
= 0 ;
22318 PyObject
* obj1
= 0 ;
22319 char *kwnames
[] = {
22320 (char *) "self",(char *) "bar", NULL
22323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
22324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22325 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22328 (arg1
)->SetControlBar(arg2
);
22330 wxPyEndAllowThreads(__tstate
);
22331 if (PyErr_Occurred()) SWIG_fail
;
22333 Py_INCREF(Py_None
); resultobj
= Py_None
;
22340 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22341 PyObject
*resultobj
;
22342 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22343 PyObject
* obj0
= 0 ;
22344 char *kwnames
[] = {
22345 (char *) "self", NULL
22348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
22349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22352 (arg1
)->base_Initialize();
22354 wxPyEndAllowThreads(__tstate
);
22355 if (PyErr_Occurred()) SWIG_fail
;
22357 Py_INCREF(Py_None
); resultobj
= Py_None
;
22364 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22365 PyObject
*resultobj
;
22366 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22367 PyObject
* obj0
= 0 ;
22368 char *kwnames
[] = {
22369 (char *) "self", NULL
22372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22376 (arg1
)->base_CreateCanvas();
22378 wxPyEndAllowThreads(__tstate
);
22379 if (PyErr_Occurred()) SWIG_fail
;
22381 Py_INCREF(Py_None
); resultobj
= Py_None
;
22388 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22389 PyObject
*resultobj
;
22390 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22391 PyObject
* obj0
= 0 ;
22392 char *kwnames
[] = {
22393 (char *) "self", NULL
22396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22400 (arg1
)->base_CreateControlBar();
22402 wxPyEndAllowThreads(__tstate
);
22403 if (PyErr_Occurred()) SWIG_fail
;
22405 Py_INCREF(Py_None
); resultobj
= Py_None
;
22412 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22414 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22415 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
22417 return Py_BuildValue((char *)"");
22419 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22420 PyObject
*resultobj
;
22421 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22423 wxWindow
*arg3
= (wxWindow
*) 0 ;
22424 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22425 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22426 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22427 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22428 long arg6
= (long) 0 ;
22429 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22430 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22431 wxPyPreviewControlBar
*result
;
22434 bool temp7
= False
;
22435 PyObject
* obj0
= 0 ;
22436 PyObject
* obj1
= 0 ;
22437 PyObject
* obj2
= 0 ;
22438 PyObject
* obj3
= 0 ;
22439 PyObject
* obj4
= 0 ;
22440 PyObject
* obj5
= 0 ;
22441 PyObject
* obj6
= 0 ;
22442 char *kwnames
[] = {
22443 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22449 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22450 if (PyErr_Occurred()) SWIG_fail
;
22452 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22456 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22462 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22467 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
22468 if (PyErr_Occurred()) SWIG_fail
;
22473 arg7
= wxString_in_helper(obj6
);
22474 if (arg7
== NULL
) SWIG_fail
;
22479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22480 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22482 wxPyEndAllowThreads(__tstate
);
22483 if (PyErr_Occurred()) SWIG_fail
;
22485 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewControlBar
, 1);
22500 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22501 PyObject
*resultobj
;
22502 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22503 PyObject
*arg2
= (PyObject
*) 0 ;
22504 PyObject
*arg3
= (PyObject
*) 0 ;
22505 PyObject
* obj0
= 0 ;
22506 PyObject
* obj1
= 0 ;
22507 PyObject
* obj2
= 0 ;
22508 char *kwnames
[] = {
22509 (char *) "self",(char *) "self",(char *) "_class", NULL
22512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22518 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22520 wxPyEndAllowThreads(__tstate
);
22521 if (PyErr_Occurred()) SWIG_fail
;
22523 Py_INCREF(Py_None
); resultobj
= Py_None
;
22530 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22531 PyObject
*resultobj
;
22532 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22533 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
22534 PyObject
* obj0
= 0 ;
22535 PyObject
* obj1
= 0 ;
22536 char *kwnames
[] = {
22537 (char *) "self",(char *) "preview", NULL
22540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22542 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22545 (arg1
)->SetPrintPreview(arg2
);
22547 wxPyEndAllowThreads(__tstate
);
22548 if (PyErr_Occurred()) SWIG_fail
;
22550 Py_INCREF(Py_None
); resultobj
= Py_None
;
22557 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22558 PyObject
*resultobj
;
22559 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22560 PyObject
* obj0
= 0 ;
22561 char *kwnames
[] = {
22562 (char *) "self", NULL
22565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
22566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22569 (arg1
)->base_CreateButtons();
22571 wxPyEndAllowThreads(__tstate
);
22572 if (PyErr_Occurred()) SWIG_fail
;
22574 Py_INCREF(Py_None
); resultobj
= Py_None
;
22581 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22582 PyObject
*resultobj
;
22583 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22585 PyObject
* obj0
= 0 ;
22586 PyObject
* obj1
= 0 ;
22587 char *kwnames
[] = {
22588 (char *) "self",(char *) "zoom", NULL
22591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22594 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22595 if (PyErr_Occurred()) SWIG_fail
;
22598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22599 (arg1
)->base_SetZoomControl(arg2
);
22601 wxPyEndAllowThreads(__tstate
);
22602 if (PyErr_Occurred()) SWIG_fail
;
22604 Py_INCREF(Py_None
); resultobj
= Py_None
;
22611 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
22613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22614 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
22616 return Py_BuildValue((char *)"");
22618 static PyMethodDef SwigMethods
[] = {
22619 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
22620 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
22621 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
22622 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
22623 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
22624 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
22625 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
22626 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22627 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
22628 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
22629 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
22630 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
22631 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
22632 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
22633 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
22634 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
22635 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
22636 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
22637 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
22638 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
22639 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
22640 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
22641 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
22642 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
22643 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
22644 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
22645 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
22646 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
22647 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
22648 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
22649 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
22650 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
22651 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
22652 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
22653 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
22654 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
22655 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
22656 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
22657 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
22658 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
22659 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
22660 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
22661 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
22662 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
22663 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
22664 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
22665 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
22666 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
22667 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22668 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22669 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22670 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22671 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
22672 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22673 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22674 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
22675 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
22676 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
22677 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
22678 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
22679 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
22680 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
22681 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
22682 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
22683 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
22684 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
22685 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
22686 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
22687 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
22688 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
22689 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
22690 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
22691 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
22692 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
},
22693 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
22694 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
22695 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
22696 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
22697 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
22698 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
22699 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
22700 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
22701 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
22702 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
22703 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
22704 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
22705 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
22706 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
22707 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22708 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22709 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
22710 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
22711 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
22712 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22713 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22714 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22715 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22716 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
22717 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
22718 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
22719 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
22720 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
22721 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
22722 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
22723 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
22724 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22725 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
22726 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
22727 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
22728 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
22729 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
22730 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
22731 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
22732 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
22733 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
22734 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
22735 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
22736 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22737 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
22738 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22739 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
22740 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
22741 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
22742 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
22743 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
22744 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
22745 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
22746 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
22747 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
22748 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
22749 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
22750 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
22751 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
22752 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
22753 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
22754 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
22755 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
22756 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
22757 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22758 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
22759 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
22760 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
22761 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
22762 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
22763 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22764 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22765 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22766 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22767 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
22768 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
22769 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
22770 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
22771 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
22772 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
22773 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
22774 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
22775 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
22776 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
22777 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
22778 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
22779 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
22780 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
22781 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
22782 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
22783 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
22784 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
22785 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
22786 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
22787 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
22788 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
22789 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22790 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22791 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
22792 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
22793 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
22794 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
22795 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
22796 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
22797 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
22798 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
22799 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22800 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22801 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
22802 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
22803 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
22804 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
22805 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
22806 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22807 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
22808 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
22809 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
22810 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
22811 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
22812 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
22813 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
22814 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
22815 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
22816 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
22817 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
22818 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
22819 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
22820 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
22821 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22822 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
22823 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
22824 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
22825 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
22826 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
22827 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
22828 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
22829 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
22830 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
22831 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
22832 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
22833 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
22834 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
22835 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
22836 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
22837 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22838 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
22839 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
22840 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
22841 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
22842 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
22843 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
22844 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
22845 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
22846 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
22847 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
22848 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
22849 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
22850 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
22851 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
22852 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
22853 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
22854 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
22855 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
22856 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
22857 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
22858 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
22859 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
22860 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
22861 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
22862 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
22863 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
22864 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
22865 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
22866 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
22867 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
22868 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
22869 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
22870 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
22871 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
22872 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
22873 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
22874 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
22875 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
22876 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
22877 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
22878 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
22879 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
22880 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
22881 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
22882 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
22883 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
22884 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
22885 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
22886 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
22887 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
22888 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
22889 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
22890 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
22891 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
22892 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
22893 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
22894 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
22895 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
22896 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
22897 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
22898 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
22899 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
22900 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
22901 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
22902 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
22903 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
22904 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
22905 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
22906 { (char *)"ColourDialog_ShowModal", (PyCFunction
) _wrap_ColourDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
22907 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
22908 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
22909 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
22910 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
22911 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
22912 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
22913 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
22914 { (char *)"DirDialog_ShowModal", (PyCFunction
) _wrap_DirDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
22915 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
22916 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
22917 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
22918 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
22919 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
22920 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
22921 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
22922 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
22923 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
22924 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
22925 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
22926 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
22927 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
22928 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
22929 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
22930 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
22931 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
22932 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
22933 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
22934 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
22935 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
22936 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
22937 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
22938 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
22939 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
22940 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
22941 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
22942 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction
) _wrap_SingleChoiceDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
22943 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
22944 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
22945 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
22946 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
22947 { (char *)"TextEntryDialog_ShowModal", (PyCFunction
) _wrap_TextEntryDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
22948 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
22949 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
22950 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
22951 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
22952 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
22953 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
22954 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
22955 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
22956 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
22957 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
22958 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
22959 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
22960 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
22961 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
22962 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
22963 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
22964 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
22965 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
22966 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
22967 { (char *)"FontDialog_ShowModal", (PyCFunction
) _wrap_FontDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
22968 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
22969 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
22970 { (char *)"MessageDialog_ShowModal", (PyCFunction
) _wrap_MessageDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
22971 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
22972 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
22973 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
22974 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
22975 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
22976 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
22977 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22978 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
22979 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
22980 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
22981 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22982 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
22983 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
22984 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
22985 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
22986 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
22987 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
22988 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
22989 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22990 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22991 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
22992 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
22993 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
22994 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
22995 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
22996 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
22997 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
22998 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
22999 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
23000 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
23001 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
23002 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
23003 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
23004 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
23005 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
23006 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
23007 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
23008 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23009 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
23010 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
23011 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
23012 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
23013 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
23014 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
23015 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
23016 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
23017 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
23018 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
23019 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23020 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23021 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
23022 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
23023 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
23024 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23025 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
23026 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
23027 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23028 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23029 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
23030 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23031 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
23032 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23033 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
23034 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
23035 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
23036 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
23037 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
23038 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
23039 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
23040 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
23041 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
23042 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
23043 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
23044 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
23045 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23046 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
23047 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
23048 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23049 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23050 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
23051 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23052 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
23053 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23054 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
23055 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
23056 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
23057 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
23058 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
23059 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
23060 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
23061 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
23062 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
23063 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
23064 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
23065 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
23066 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
23067 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23068 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23069 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23070 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23071 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
23072 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
23073 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
23074 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23075 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23076 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
23077 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23078 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23079 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23080 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
23081 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
23082 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
23083 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23084 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23085 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
23086 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
23087 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
23088 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
23089 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
23090 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
23091 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
23092 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
23093 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
23094 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
23095 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
23096 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
23097 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
23098 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
23099 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
23100 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
23101 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
23102 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
23103 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
23104 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
23105 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
23106 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
23107 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
23108 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
23109 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23110 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23111 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23112 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
23113 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23114 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
23115 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
23116 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
23117 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
23118 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23119 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
23120 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
23121 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23122 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
23123 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23124 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23125 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23126 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23127 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23128 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23129 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23130 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23131 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
23132 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
23133 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23134 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23135 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23136 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23137 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23138 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23139 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23140 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
23141 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
23142 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
23143 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23144 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
23145 { (char *)"new_PrintDialogData", (PyCFunction
) _wrap_new_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23146 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23147 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
23148 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
23149 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
23150 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
23151 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23152 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
23153 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23154 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23155 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23156 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
23157 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
23158 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
23159 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
23160 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
23161 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23162 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
23163 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23164 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23165 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23166 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
23167 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23168 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
23169 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
23170 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23171 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23172 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
23173 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
23174 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23175 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23176 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23177 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23178 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
23179 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
23180 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23181 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
23182 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23183 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
23184 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
23185 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
23186 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
23187 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23188 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
23189 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
23190 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
23191 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
23192 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
23193 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
23194 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
23195 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
23196 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23197 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
23198 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
23199 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
23200 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
23201 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
23202 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
23203 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
23204 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
23205 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
23206 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
23207 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
23208 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
23209 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
23210 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
23211 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
23212 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
23213 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
23214 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
23215 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
23216 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
23217 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
23218 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23219 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
23220 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
23221 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
23222 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23223 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23224 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23225 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
23226 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23227 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
23228 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
23229 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
23230 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
23231 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
23232 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
23233 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
23234 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
23235 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
23236 { (char *)"new_PrintPreview", (PyCFunction
) _wrap_new_PrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
23237 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
23238 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
23239 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
23240 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
23241 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
23242 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
23243 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23244 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
23245 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23246 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
23247 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
23248 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
23249 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
23250 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23251 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
23252 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
23253 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
23254 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
23255 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23256 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
23257 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
23258 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
23259 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
23260 { (char *)"new_PyPrintPreview", (PyCFunction
) _wrap_new_PyPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
23261 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23262 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
23263 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
23264 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
23265 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
23266 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
23267 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
23268 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
23269 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
23270 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
23271 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23272 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23273 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23274 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
23275 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23276 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23277 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
23278 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23279 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23280 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
23281 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
23282 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
23283 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
23288 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
23290 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
23291 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23293 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
23294 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
23296 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
23297 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
23299 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
23300 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
23302 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
23303 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
23305 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
23306 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
23308 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
23309 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
23311 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
23312 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23314 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
23315 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
23317 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
23318 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
23320 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
23321 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
23323 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
23324 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
23326 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
23327 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
23329 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
23330 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
23332 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
23333 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
23335 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
23336 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
23338 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
23339 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
23341 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
23342 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
23344 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
23345 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
23347 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
23348 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
23350 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
23351 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
23353 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
23354 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
23356 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
23357 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
23359 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
23360 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
23362 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
23363 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
23365 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
23366 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
23368 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
23369 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
23371 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
23372 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
23374 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
23375 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
23377 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
23378 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
23380 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
23381 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
23383 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
23384 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
23386 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
23387 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
23389 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
23390 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
23392 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
23393 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
23395 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
23396 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
23398 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
23399 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
23401 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
23402 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
23404 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
23405 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
23407 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
23408 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
23410 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
23411 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
23413 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
23414 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
23416 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
23417 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23419 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
23420 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
23422 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
23423 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
23425 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
23426 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
23428 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
23429 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
23431 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
23432 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
23434 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
23435 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
23437 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
23438 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
23440 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
23441 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
23443 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
23444 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
23446 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
23447 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
23449 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
23450 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
23452 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
23453 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
23455 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
23456 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
23458 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
23459 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
23461 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
23462 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
23464 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
23465 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
23467 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
23468 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
23470 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
23471 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
23473 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
23474 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
23476 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
23477 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
23479 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
23480 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
23482 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
23483 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
23485 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
23486 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
23488 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
23489 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
23491 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
23492 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
23494 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
23495 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
23497 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
23498 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
23500 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
23501 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
23503 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
23504 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
23506 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
23507 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
23509 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
23510 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23512 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
23513 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
23515 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
23516 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
23518 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
23519 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
23521 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
23522 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
23524 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
23525 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
23527 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
23528 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23530 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
23531 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
23533 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
23534 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
23536 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
23537 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
23539 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
23540 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
23542 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
23543 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
23545 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
23546 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
23548 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
23549 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
23551 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
23552 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
23554 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
23555 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
23557 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
23558 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
23560 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
23561 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
23563 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
23564 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
23566 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
23567 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23569 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
23570 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
23572 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
23573 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
23575 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
23576 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
23578 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
23579 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23581 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
23582 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
23584 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
23585 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
23587 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
23588 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
23590 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
23591 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
23593 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
23594 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
23596 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
23597 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
23599 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
23600 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23602 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
23603 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
23605 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
23606 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
23608 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
23609 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
23611 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
23612 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
23614 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
23615 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
23617 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
23618 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
23620 static void *_p_wxSizerTo_p_wxObject(void *x
) {
23621 return (void *)((wxObject
*) ((wxSizer
*) x
));
23623 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
23624 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
23626 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
23627 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
23629 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
23630 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
23632 static void *_p_wxEventTo_p_wxObject(void *x
) {
23633 return (void *)((wxObject
*) ((wxEvent
*) x
));
23635 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
23636 return (void *)((wxObject
*) ((wxFontData
*) x
));
23638 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
23639 return (void *)((wxObject
*) ((wxPrintData
*) x
));
23641 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
23642 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
23644 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
23645 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
23647 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
23648 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
23650 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
23651 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
23653 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
23654 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
23656 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
23657 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
23659 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
23660 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
23662 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
23663 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
23665 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
23666 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
23668 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
23669 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
23671 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
23672 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
23674 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
23675 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
23677 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
23678 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
23680 static void *_p_wxControlTo_p_wxObject(void *x
) {
23681 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
23683 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
23684 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
23686 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
23687 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23689 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
23690 return (void *)((wxObject
*) ((wxFSFile
*) x
));
23692 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
23693 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
23695 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
23696 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
23698 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
23699 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
23701 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
23702 return (void *)((wxObject
*) ((wxColourData
*) x
));
23704 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
23705 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
23707 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
23708 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
23710 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
23711 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
23713 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
23714 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
23716 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
23717 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
23719 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
23720 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
23722 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
23723 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
23725 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
23726 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
23728 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
23729 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
23731 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
23732 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
23734 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
23735 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
23737 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
23738 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
23740 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
23741 return (void *)((wxObject
*) ((wxPrinter
*) x
));
23743 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
23744 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
23746 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
23747 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
23749 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
23750 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
23752 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
23753 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
23755 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
23756 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
23758 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
23759 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
23761 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
23762 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
23764 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
23765 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
23767 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
23768 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
23770 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
23771 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
23773 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
23774 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
23776 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
23777 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
23779 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
23780 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
23782 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
23783 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
23785 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
23786 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
23788 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
23789 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
23791 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
23792 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
23794 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
23795 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
23797 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
23798 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
23800 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
23801 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
23803 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
23804 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
23806 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
23807 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
23809 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
23810 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
23812 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
23813 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
23815 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
23816 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23818 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
23819 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
23821 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
23822 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
23824 static void *_p_wxImageTo_p_wxObject(void *x
) {
23825 return (void *)((wxObject
*) ((wxImage
*) x
));
23827 static void *_p_wxFrameTo_p_wxObject(void *x
) {
23828 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
23830 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
23831 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
23833 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
23834 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
23836 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
23837 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
23839 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
23840 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
23842 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
23843 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
23845 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
23846 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
23848 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
23849 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
23851 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
23852 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
23854 static void *_p_wxWindowTo_p_wxObject(void *x
) {
23855 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
23857 static void *_p_wxMenuTo_p_wxObject(void *x
) {
23858 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
23860 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
23861 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
23863 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
23864 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
23866 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
23867 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
23869 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
23870 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
23872 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
23873 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
23875 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
23876 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
23878 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
23879 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
23881 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
23882 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
23884 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
23885 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
23887 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
23888 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
23890 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
23891 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
23893 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
23894 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
23896 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
23897 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
23899 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
23900 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
23902 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
23903 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
23905 static void *_p_wxPanelTo_p_wxObject(void *x
) {
23906 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
23908 static void *_p_wxDialogTo_p_wxObject(void *x
) {
23909 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
23911 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
23912 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
23914 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
23915 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
23917 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
23918 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
23920 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
23921 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
23923 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
23924 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
23926 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
23927 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
23929 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
23930 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
23932 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
23933 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
23935 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
23936 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
23938 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
23939 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
23941 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
23942 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
23944 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
23945 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
23947 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
23948 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
23950 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
23951 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
23953 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
23954 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
23956 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
23957 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
23959 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
23960 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
23962 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
23963 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
23965 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
23966 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
23968 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
23969 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
23971 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
23972 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
23974 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
23975 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
23977 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
23978 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
23980 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
23981 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
23983 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
23984 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
23986 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
23987 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23989 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
23990 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
23992 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
23993 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
23995 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
23996 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
23998 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
23999 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24001 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
24002 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
24004 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
24005 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
24007 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
24008 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
24010 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
24011 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
24013 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
24014 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
24016 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
24017 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
24019 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
24020 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
24022 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
24023 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
24025 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
24026 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
24028 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
24029 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
24031 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
24032 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
24034 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
24035 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
24037 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
24038 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
24040 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
24041 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
24043 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
24044 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
24046 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
24047 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24049 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
24050 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24052 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
24053 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
24055 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
24056 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
24058 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
24059 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24061 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
24062 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
24064 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
24065 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
24067 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
24068 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
24070 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
24071 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
24073 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
24074 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
24076 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
24077 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
24079 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
24080 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
24082 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
24083 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
24085 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
24086 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24088 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
24089 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24091 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
24092 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
24094 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
24095 return (void *)((wxWindow
*) ((wxPanel
*) x
));
24097 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
24098 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
24100 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
24101 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
24103 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
24104 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24106 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
24107 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
24109 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
24110 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24112 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
24113 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
24115 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
24116 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24118 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
24119 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
24121 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
24122 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
24124 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
24125 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
24127 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
24128 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
24130 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
24131 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
24133 static void *_p_wxControlTo_p_wxWindow(void *x
) {
24134 return (void *)((wxWindow
*) ((wxControl
*) x
));
24136 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
24137 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
24139 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
24140 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24142 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
24143 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
24145 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
24146 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
24148 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
24149 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
24151 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
24152 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24154 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
24155 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24157 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
24158 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24160 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
24161 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
24163 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
24164 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24166 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
24167 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
24169 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
24170 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
24172 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
24173 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
24175 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
24176 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
24178 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
24179 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
24181 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
24182 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
24184 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
24185 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
24187 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
24188 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
24190 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
24191 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24193 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
24194 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
24196 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
24197 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
24199 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
24200 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
24202 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
24203 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
24205 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
24206 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
24208 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
24209 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
24211 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
24212 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
24214 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
24215 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24217 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
24218 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24220 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
24221 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
24223 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
24224 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
24226 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
24227 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
24229 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
24230 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
24232 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
24233 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24235 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
24236 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24238 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
24239 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24241 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
24242 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
24244 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
24245 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24247 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
24248 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
24250 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
24251 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24253 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
24254 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
24256 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
24257 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
24259 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
24260 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
24262 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
24263 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
24265 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
24266 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
24268 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
24269 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
24271 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
24272 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
24274 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
24275 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
24277 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
24278 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
24280 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
24281 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
24283 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
24284 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
24286 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
24287 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24289 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
24290 static swig_type_info _swigt__p_wxPreviewFrame
[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame
},{0}};
24291 static swig_type_info _swigt__p_wxPyPreviewFrame
[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
24292 static swig_type_info _swigt__p_wxPyPanel
[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
24293 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
24294 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
24295 static swig_type_info _swigt__p_wxFontData
[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
24296 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}};
24297 static swig_type_info _swigt__p_wxTaskBarIcon
[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
24298 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
24299 static swig_type_info _swigt__p_wxLayoutAlgorithm
[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
24300 static swig_type_info _swigt__p_wxFindDialogEvent
[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
24301 static swig_type_info _swigt__p_wxPreviewCanvas
[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
24302 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
24303 static swig_type_info _swigt__p_wxSplitterEvent
[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
24304 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
24305 static swig_type_info _swigt__p_wxFindReplaceData
[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
24306 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
24307 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
24308 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
24309 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
24310 static swig_type_info _swigt__p_wxMDIChildFrame
[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
24311 static swig_type_info _swigt__p_wxColourData
[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
24312 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent
},{"_p_wxNotifyEvent"},{0}};
24313 static swig_type_info _swigt__p_wxPyWindow
[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
24314 static swig_type_info _swigt__p_wxSplashScreen
[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
24315 static swig_type_info _swigt__p_wxFindReplaceDialog
[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
24316 static swig_type_info _swigt__p_wxProgressDialog
[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
24317 static swig_type_info _swigt__p_wxMessageDialog
[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
24318 static swig_type_info _swigt__p_wxTextEntryDialog
[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
24319 static swig_type_info _swigt__p_wxSingleChoiceDialog
[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
24320 static swig_type_info _swigt__p_wxMultiChoiceDialog
[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
24321 static swig_type_info _swigt__p_wxFileDialog
[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
24322 static swig_type_info _swigt__p_wxPrinter
[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
24323 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
24324 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_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_wxTipWindow", _p_wxTipWindowTo_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_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_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}};
24325 static swig_type_info _swigt__p_wxCalculateLayoutEvent
[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
24326 static swig_type_info _swigt__p_wxPyHtmlListBox
[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
24327 static swig_type_info _swigt__p_wxPyVListBox
[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox
},{0}};
24328 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
24329 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
24330 static swig_type_info _swigt__p_wxMiniFrame
[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
24331 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_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}};
24332 static swig_type_info _swigt__p_wxPyPrintout
[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
24333 static swig_type_info _swigt__p_wxTaskBarIconEvent
[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
24334 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
24335 static swig_type_info _swigt__p_wxStatusBar
[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
24336 static swig_type_info _swigt__p_wxMDIParentFrame
[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
24337 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
24338 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_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_wxTipWindow", _p_wxTipWindowTo_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}};
24339 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
24340 static swig_type_info _swigt__p_wxMDIClientWindow
[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
24341 static swig_type_info _swigt__p_wxTipWindow
[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
24342 static swig_type_info _swigt__p_wxSashLayoutWindow
[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
24343 static swig_type_info _swigt__p_wxSplitterWindow
[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
24344 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}};
24345 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow
},{0}};
24346 static swig_type_info _swigt__p_wxPopupWindow
[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0},{"_p_wxPopupWindow"},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow
},{0}};
24347 static swig_type_info _swigt__p_wxSashWindow
[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow
},{0}};
24348 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_wxDirDialog", _p_wxDirDialogTo_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_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow
},{"_p_wxSplashScreen", _p_wxSplashScreenTo_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}};
24349 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_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_wxTipWindow", _p_wxTipWindowTo_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_wxDialog", _p_wxDialogTo_p_wxWindow
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_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}};
24350 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
},{0}};
24351 static swig_type_info _swigt__p_wxSplashScreenWindow
[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
24352 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
24353 static swig_type_info _swigt__p_wxPrintPreview
[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview
},{0}};
24354 static swig_type_info _swigt__p_wxSashEvent
[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
24355 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
24356 static swig_type_info _swigt__p_wxPyPrintPreview
[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
24357 static swig_type_info _swigt__p_wxPageSetupDialog
[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
24358 static swig_type_info _swigt__p_wxFontDialog
[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
24359 static swig_type_info _swigt__p_wxDirDialog
[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
24360 static swig_type_info _swigt__p_wxColourDialog
[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
24361 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}};
24362 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}};
24363 static swig_type_info _swigt__p_wxPrintDialog
[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
24364 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
24365 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}};
24366 static swig_type_info _swigt__p_wxPreviewControlBar
[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar
},{0}};
24367 static swig_type_info _swigt__p_wxPyPreviewControlBar
[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
24368 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
24369 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
24370 static swig_type_info _swigt__p_wxPageSetupDialogData
[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
24371 static swig_type_info _swigt__p_wxPrintDialogData
[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
24373 static swig_type_info
*swig_types_initial
[] = {
24374 _swigt__p_wxQueryLayoutInfoEvent
,
24375 _swigt__p_wxPreviewFrame
,
24376 _swigt__p_wxPyPreviewFrame
,
24377 _swigt__p_wxPyPanel
,
24379 _swigt__p_wxPrintData
,
24380 _swigt__p_wxFontData
,
24382 _swigt__p_wxTaskBarIcon
,
24383 _swigt__p_wxIconBundle
,
24384 _swigt__p_wxLayoutAlgorithm
,
24385 _swigt__p_wxFindDialogEvent
,
24386 _swigt__p_wxPreviewCanvas
,
24388 _swigt__p_wxSplitterEvent
,
24389 _swigt__p_wxRegion
,
24390 _swigt__p_wxFindReplaceData
,
24395 _swigt__p_wxMDIChildFrame
,
24396 _swigt__p_wxColourData
,
24397 _swigt__p_wxNotifyEvent
,
24398 _swigt__p_wxPyWindow
,
24399 _swigt__p_wxSplashScreen
,
24400 _swigt__p_wxFindReplaceDialog
,
24401 _swigt__p_wxProgressDialog
,
24402 _swigt__p_wxMessageDialog
,
24403 _swigt__p_wxTextEntryDialog
,
24404 _swigt__p_wxSingleChoiceDialog
,
24405 _swigt__p_wxMultiChoiceDialog
,
24406 _swigt__p_wxFileDialog
,
24407 _swigt__p_wxPrinter
,
24408 _swigt__p_wxArrayInt
,
24409 _swigt__p_wxEvtHandler
,
24410 _swigt__p_wxCalculateLayoutEvent
,
24411 _swigt__p_wxPyHtmlListBox
,
24412 _swigt__p_wxPyVListBox
,
24415 _swigt__p_wxMiniFrame
,
24417 _swigt__p_wxPyPrintout
,
24418 _swigt__p_wxTaskBarIconEvent
,
24419 _swigt__p_wxScrollWinEvent
,
24420 _swigt__p_wxStatusBar
,
24421 _swigt__p_wxMDIParentFrame
,
24423 _swigt__p_wxObject
,
24424 _swigt__p_unsigned_long
,
24425 _swigt__p_wxMDIClientWindow
,
24426 _swigt__p_wxTipWindow
,
24427 _swigt__p_wxSashLayoutWindow
,
24428 _swigt__p_wxSplitterWindow
,
24429 _swigt__p_wxPyVScrolledWindow
,
24430 _swigt__p_wxPyPopupTransientWindow
,
24431 _swigt__p_wxPopupWindow
,
24432 _swigt__p_wxSashWindow
,
24433 _swigt__p_wxTopLevelWindow
,
24434 _swigt__p_wxWindow
,
24435 _swigt__p_wxScrolledWindow
,
24436 _swigt__p_wxSplashScreenWindow
,
24437 _swigt__p_wxMenuBar
,
24438 _swigt__p_wxPrintPreview
,
24439 _swigt__p_wxSashEvent
,
24440 _swigt__p_wxString
,
24441 _swigt__p_wxPyPrintPreview
,
24442 _swigt__p_wxPageSetupDialog
,
24443 _swigt__p_wxFontDialog
,
24444 _swigt__p_wxDirDialog
,
24445 _swigt__p_wxColourDialog
,
24446 _swigt__p_wxDialog
,
24448 _swigt__p_wxPrintDialog
,
24449 _swigt__p_wxBitmap
,
24450 _swigt__p_wxCommandEvent
,
24451 _swigt__p_wxPreviewControlBar
,
24452 _swigt__p_wxPyPreviewControlBar
,
24453 _swigt__p_wxColour
,
24454 _swigt__p_wxToolBar
,
24455 _swigt__p_wxPageSetupDialogData
,
24456 _swigt__p_wxPrintDialogData
,
24461 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
24463 static swig_const_info swig_const_table
[] = {
24473 SWIGEXPORT(void) SWIG_init(void) {
24474 static PyObject
*SWIG_globals
= 0;
24475 static int typeinit
= 0;
24478 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
24479 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
24480 d
= PyModule_GetDict(m
);
24483 for (i
= 0; swig_types_initial
[i
]; i
++) {
24484 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
24488 SWIG_InstallConstants(d
,swig_const_table
);
24490 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
24491 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
24492 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
24493 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
24494 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
24495 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
24496 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
24497 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
24498 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOBORDER
));
24499 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOCAPTION
));
24500 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_PyObj_FromInt((int)wxFULLSCREEN_ALL
));
24501 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_PyObj_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
24502 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_PyObj_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
24503 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_PyObj_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
24504 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_PyObj_FromInt((int)wxSPLASH_NO_CENTRE
));
24505 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_PyObj_FromInt((int)wxSPLASH_TIMEOUT
));
24506 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_PyObj_FromInt((int)wxSPLASH_NO_TIMEOUT
));
24507 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
24508 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_PyObj_FromInt((int)wxSP_NOBORDER
));
24509 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_PyObj_FromInt((int)wxSP_NOSASH
));
24510 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_PyObj_FromInt((int)wxSP_PERMIT_UNSPLIT
));
24511 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_PyObj_FromInt((int)wxSP_LIVE_UPDATE
));
24512 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_PyObj_FromInt((int)wxSP_3DSASH
));
24513 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_PyObj_FromInt((int)wxSP_3DBORDER
));
24514 PyDict_SetItemString(d
,"SP_BORDER", SWIG_PyObj_FromInt((int)wxSP_BORDER
));
24515 PyDict_SetItemString(d
,"SP_3D", SWIG_PyObj_FromInt((int)wxSP_3D
));
24516 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSPLIT_HORIZONTAL
));
24517 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_PyObj_FromInt((int)wxSPLIT_VERTICAL
));
24518 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_NONE
));
24519 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
24520 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
24521 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
24522 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
24523 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
24524 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
24525 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
24526 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
24527 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_PyObj_FromInt((int)wxSASH_DRAG_NONE
));
24528 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_PyObj_FromInt((int)wxSASH_DRAG_DRAGGING
));
24529 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_PyObj_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
24530 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_PyObj_FromInt((int)wxSW_NOBORDER
));
24531 PyDict_SetItemString(d
,"SW_BORDER", SWIG_PyObj_FromInt((int)wxSW_BORDER
));
24532 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_PyObj_FromInt((int)wxSW_3DSASH
));
24533 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_PyObj_FromInt((int)wxSW_3DBORDER
));
24534 PyDict_SetItemString(d
,"SW_3D", SWIG_PyObj_FromInt((int)wxSW_3D
));
24535 PyDict_SetItemString(d
,"SASH_TOP", SWIG_PyObj_FromInt((int)wxSASH_TOP
));
24536 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_PyObj_FromInt((int)wxSASH_RIGHT
));
24537 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_PyObj_FromInt((int)wxSASH_BOTTOM
));
24538 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_PyObj_FromInt((int)wxSASH_LEFT
));
24539 PyDict_SetItemString(d
,"SASH_NONE", SWIG_PyObj_FromInt((int)wxSASH_NONE
));
24540 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_PyObj_FromInt((int)wxSASH_STATUS_OK
));
24541 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_PyObj_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
24542 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
24543 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_PyObj_FromInt((int)wxLAYOUT_HORIZONTAL
));
24544 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_PyObj_FromInt((int)wxLAYOUT_VERTICAL
));
24545 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_PyObj_FromInt((int)wxLAYOUT_NONE
));
24546 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_PyObj_FromInt((int)wxLAYOUT_TOP
));
24547 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_PyObj_FromInt((int)wxLAYOUT_LEFT
));
24548 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_PyObj_FromInt((int)wxLAYOUT_RIGHT
));
24549 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_PyObj_FromInt((int)wxLAYOUT_BOTTOM
));
24550 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_PyObj_FromInt((int)wxLAYOUT_LENGTH_Y
));
24551 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_PyObj_FromInt((int)wxLAYOUT_LENGTH_X
));
24552 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_PyObj_FromInt((int)wxLAYOUT_MRU_LENGTH
));
24553 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_PyObj_FromInt((int)wxLAYOUT_QUERY
));
24554 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
24555 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
24556 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
24558 // Map renamed classes back to their common name for OOR
24559 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
24560 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
24561 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
24563 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
24564 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
24565 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
24566 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
24567 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
24568 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
24569 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
24570 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
24571 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
24572 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
24573 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
24574 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
24575 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
24576 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_PyObj_FromInt((int)wxCHOICEDLG_STYLE
));
24577 PyDict_SetItemString(d
,"FR_DOWN", SWIG_PyObj_FromInt((int)wxFR_DOWN
));
24578 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_PyObj_FromInt((int)wxFR_WHOLEWORD
));
24579 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_PyObj_FromInt((int)wxFR_MATCHCASE
));
24580 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_PyObj_FromInt((int)wxFR_REPLACEDIALOG
));
24581 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_PyObj_FromInt((int)wxFR_NOUPDOWN
));
24582 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_PyObj_FromInt((int)wxFR_NOMATCHCASE
));
24583 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_PyObj_FromInt((int)wxFR_NOWHOLEWORD
));
24584 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
24585 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
24586 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
24587 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
24588 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
24589 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_PyObj_FromInt((int)4001));
24590 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_PyObj_FromInt((int)4001));
24591 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_PyObj_FromInt((int)4002));
24592 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_PyObj_FromInt((int)4003));
24593 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_PyObj_FromInt((int)4004));
24594 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_PyObj_FromInt((int)4005));
24595 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_PyObj_FromInt((int)4100));
24596 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_PyObj_FromInt((int)4600));
24597 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
24598 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
24599 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_PyObj_FromInt((int)wxPRINT_MODE_NONE
));
24600 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_PyObj_FromInt((int)wxPRINT_MODE_PREVIEW
));
24601 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_PyObj_FromInt((int)wxPRINT_MODE_FILE
));
24602 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_PyObj_FromInt((int)wxPRINT_MODE_PRINTER
));
24603 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_PyObj_FromInt((int)wxPRINTER_NO_ERROR
));
24604 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_PyObj_FromInt((int)wxPRINTER_CANCELLED
));
24605 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_PyObj_FromInt((int)wxPRINTER_ERROR
));
24606 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_PyObj_FromInt((int)wxPREVIEW_PRINT
));
24607 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_PyObj_FromInt((int)wxPREVIEW_PREVIOUS
));
24608 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_PyObj_FromInt((int)wxPREVIEW_NEXT
));
24609 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_PyObj_FromInt((int)wxPREVIEW_ZOOM
));
24610 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_PyObj_FromInt((int)wxPREVIEW_FIRST
));
24611 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_PyObj_FromInt((int)wxPREVIEW_LAST
));
24612 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_PyObj_FromInt((int)wxPREVIEW_GOTO
));
24613 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_PyObj_FromInt((int)wxPREVIEW_DEFAULT
));
24614 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_PyObj_FromInt((int)wxID_PREVIEW_CLOSE
));
24615 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_PyObj_FromInt((int)wxID_PREVIEW_NEXT
));
24616 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_PyObj_FromInt((int)wxID_PREVIEW_PREVIOUS
));
24617 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_PyObj_FromInt((int)wxID_PREVIEW_PRINT
));
24618 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_PyObj_FromInt((int)wxID_PREVIEW_ZOOM
));
24619 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_PyObj_FromInt((int)wxID_PREVIEW_FIRST
));
24620 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_PyObj_FromInt((int)wxID_PREVIEW_LAST
));
24621 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_PyObj_FromInt((int)wxID_PREVIEW_GOTO
));
24623 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");