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
);
391 SWIG_PyObj_AsBool(PyObject
*obj
)
393 return PyObject_IsTrue(obj
) ? true : false;
397 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
403 } else if (target
== Py_None
) {
407 if (!PyTuple_Check(target
)) {
409 target
= PyTuple_New(1);
410 PyTuple_SetItem(target
, 0, o2
);
413 PyTuple_SetItem(o3
, 0, o
);
416 target
= PySequence_Concat(o2
, o3
);
425 SWIG_PyObj_AsDouble(PyObject
*obj
)
427 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
429 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
431 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
433 if (PyErr_Occurred()) {
435 PyErr_SetString(PyExc_TypeError
, "a double is expected");
439 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
440 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
441 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
442 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
443 bool wxDialog_IsModalShowing(wxDialog
*self
){
445 return self
->m_modalShowing
;
452 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
454 self
->GetFieldRect(i
, r
);
457 static const wxString
wxPySplitterNameStr(wxT("splitter"));
458 static const wxString
wxPySashNameStr(wxT("sashWindow"));
459 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
461 #include <wx/popupwin.h>
464 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
467 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
468 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
469 : wxPopupTransientWindow(parent
, style
) {}
471 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
472 DEC_PYCALLBACK__(OnDismiss
);
473 DEC_PYCALLBACK_BOOL_(CanDismiss
);
478 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
479 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
480 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
483 #include <wx/tipwin.h>
485 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
486 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
489 #include <wx/tipwin.h>
492 #include <wx/vscroll.h>
495 class wxPyVScrolledWindow
: public wxVScrolledWindow
497 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
499 wxPyVScrolledWindow() : wxVScrolledWindow() {}
501 wxPyVScrolledWindow(wxWindow
*parent
,
502 wxWindowID id
= wxID_ANY
,
503 const wxPoint
& pos
= wxDefaultPosition
,
504 const wxSize
& size
= wxDefaultSize
,
506 const wxString
& name
= wxPyPanelNameStr
)
507 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
510 // Overridable virtuals
512 // this function must be overridden in the derived class and it should
513 // return the height of the given line in pixels
514 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
517 // this function doesn't have to be overridden but it may be useful to do
518 // it if calculating the lines heights is a relatively expensive operation
519 // as it gives the user code a possibility to calculate several of them at
522 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
523 // shouldn't rely on the latter being called for all lines in the interval
524 // specified here. It is also possible that OnGetLineHeight() will be
525 // called for the lines outside of this interval, so this is really just a
526 // hint, not a promise.
528 // finally note that lineMin is inclusive, while lineMax is exclusive, as
530 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
533 // when the number of lines changes, we try to estimate the total height
534 // of all lines which is a rather expensive operation in terms of lines
535 // access, so if the user code may estimate the average height
536 // better/faster than we do, it should override this function to implement
539 // this function should return the best guess for the total height it may
541 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
544 // Also expose some other interesting protected methods
547 // find the index of the line we need to show at the top of the window such
548 // that the last (fully or partially) visible line is the given one
549 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
550 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
552 // get the total height of the lines between lineMin (inclusive) and
553 // lineMax (exclusive)
554 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
555 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
561 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
563 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
564 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
565 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
568 SWIGSTATIC(PyObject
* )
569 SWIG_PyObj_FromUnsignedLong(unsigned long value
)
571 return (value
> (unsigned long)(LONG_MAX
)) ?
572 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
576 #include <wx/vlbox.h>
578 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
580 class wxPyVListBox
: public wxVListBox
582 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
584 wxPyVListBox() : wxVListBox() {}
586 wxPyVListBox(wxWindow
*parent
,
587 wxWindowID id
= wxID_ANY
,
588 const wxPoint
& pos
= wxDefaultPosition
,
589 const wxSize
& size
= wxDefaultSize
,
591 const wxString
& name
= wxPyVListBoxNameStr
)
592 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
595 // Overridable virtuals
597 // the derived class must implement this function to actually draw the item
598 // with the given index on the provided DC
599 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
600 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
603 // the derived class must implement this method to return the height of the
605 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
606 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
609 // this method may be used to draw separators between the lines; note that
610 // the rectangle may be modified, typically to deflate it a bit before
611 // passing to OnDrawItem()
613 // the base class version doesn't do anything
614 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
615 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
618 // this method is used to draw the items background and, maybe, a border
621 // the base class version implements a reasonable default behaviour which
622 // consists in drawing the selected item with the standard background
623 // colour and drawing a border around the item if it is either selected or
625 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
626 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
632 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
634 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
635 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
636 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
637 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
641 #include <wx/htmllbox.h>
644 class wxPyHtmlListBox
: public wxHtmlListBox
646 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
648 wxPyHtmlListBox() : wxHtmlListBox() {}
650 wxPyHtmlListBox(wxWindow
*parent
,
651 wxWindowID id
= wxID_ANY
,
652 const wxPoint
& pos
= wxDefaultPosition
,
653 const wxSize
& size
= wxDefaultSize
,
655 const wxString
& name
= wxPyVListBoxNameStr
)
656 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
659 // Overridable virtuals
661 // this method must be implemented in the derived class and should return
662 // the body (i.e. without <html>) of the HTML for the given item
663 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
665 // this function may be overridden to decorate HTML returned by OnGetItem()
666 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
669 // // this method allows to customize the selection appearance: it may be used
670 // // to specify the colour of the text which normally has the given colour
671 // // colFg when it is inside the selection
673 // // by default, the original colour is not used at all and all text has the
674 // // same (default for this system) colour inside selection
675 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
677 // // this is the same as GetSelectedTextColour() but allows to customize the
678 // // background colour -- this is even more rarely used as you can change it
679 // // globally using SetSelectionBackground()
680 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
687 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
689 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
690 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
697 // implement dummy classes and such for wxMac
699 class wxTaskBarIcon
: public wxEvtHandler
702 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
706 class wxTaskBarIconEvent
: public wxEvent
709 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
710 { wxPyRaiseNotImplemented(); }
711 virtual wxEvent
* Clone() const { return NULL
; }
715 wxEVT_TASKBAR_MOVE
= 0,
716 wxEVT_TASKBAR_LEFT_DOWN
= 0,
717 wxEVT_TASKBAR_LEFT_UP
= 0,
718 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
719 wxEVT_TASKBAR_RIGHT_UP
= 0,
720 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
721 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
725 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
726 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
727 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
728 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
729 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
730 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
731 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
733 self
->GetFilenames(arr
);
734 return wxArrayString2PyList_helper(arr
);
736 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
739 return wxArrayString2PyList_helper(arr
);
741 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
742 return wxArrayInt2PyList_helper(self
->GetSelections());
744 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
745 return new wxSingleChoiceDialog(parent
, message
, caption
,
746 choices
, choices_array
, NULL
, style
, pos
);
751 // C++ version of Python aware wxWindow
752 class wxPyWindow
: public wxWindow
754 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
756 wxPyWindow() : wxWindow() {}
757 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
758 const wxPoint
& pos
= wxDefaultPosition
,
759 const wxSize
& size
= wxDefaultSize
,
761 const wxString
& name
= wxPyPanelNameStr
)
762 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
765 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
766 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
767 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
768 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
770 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
771 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
772 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
774 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
775 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
777 DEC_PYCALLBACK__(InitDialog
);
778 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
779 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
780 DEC_PYCALLBACK_BOOL_(Validate
);
782 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
783 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
784 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
786 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
787 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
792 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
794 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
795 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
796 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
797 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
799 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
800 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
801 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
803 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
804 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
806 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
807 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
808 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
809 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
811 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
812 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
813 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
815 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
816 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
819 // C++ version of Python aware wxPanel
820 class wxPyPanel
: public wxPanel
822 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
824 wxPyPanel() : wxPanel() {}
825 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
826 const wxPoint
& pos
= wxDefaultPosition
,
827 const wxSize
& size
= wxDefaultSize
,
829 const wxString
& name
= wxPyPanelNameStr
)
830 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
833 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
834 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
835 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
836 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
838 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
839 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
840 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
842 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
843 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
845 DEC_PYCALLBACK__(InitDialog
);
846 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
847 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
848 DEC_PYCALLBACK_BOOL_(Validate
);
850 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
851 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
852 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
854 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
855 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
860 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
862 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
863 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
864 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
865 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
867 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
868 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
869 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
871 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
872 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
874 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
875 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
876 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
877 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
879 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
880 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
881 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
883 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
884 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
888 #include "wx/wxPython/printfw.h"
891 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
892 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
896 // Since this one would be tough and ugly to do with the Macros...
897 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
901 wxPyBeginBlockThreads();
902 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
903 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
904 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
907 val
= PyTuple_GetItem(result
, 0);
908 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
911 val
= PyTuple_GetItem(result
, 1);
912 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
915 val
= PyTuple_GetItem(result
, 2);
916 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
919 val
= PyTuple_GetItem(result
, 3);
920 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
927 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
932 wxPyEndBlockThreads();
934 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
937 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
938 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
942 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
943 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
944 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
945 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
946 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
947 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
948 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
954 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
955 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
956 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
959 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
960 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
963 wxPyBeginBlockThreads(); \
964 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
965 PyObject* win = wxPyMake_wxObject(a); \
966 PyObject* dc = wxPyMake_wxObject(&b); \
967 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
971 wxPyEndBlockThreads(); \
973 rval = PCLASS::CBNAME(a, b); \
976 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
977 return PCLASS::CBNAME(a, b); \
983 class wxPyPrintPreview
: public wxPrintPreview
985 DECLARE_CLASS(wxPyPrintPreview
)
987 wxPyPrintPreview(wxPyPrintout
* printout
,
988 wxPyPrintout
* printoutForPrinting
,
989 wxPrintData
* data
=NULL
)
990 : wxPrintPreview(printout
, printoutForPrinting
, data
)
993 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
994 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
995 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
996 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
997 DEC_PYCALLBACK_VOID_INT(SetZoom
);
998 DEC_PYCALLBACK_BOOL_BOOL(Print
);
999 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1004 // Stupid renamed classes... Fix this in 2.5...
1005 #if defined(__WXMSW__)
1006 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1007 #elif defined(__WXMAC__)
1008 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1010 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1013 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1014 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1015 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1016 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1017 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1018 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1019 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1022 class wxPyPreviewFrame
: public wxPreviewFrame
1024 DECLARE_CLASS(wxPyPreviewFrame
);
1026 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1027 const wxString
& title
,
1028 const wxPoint
& pos
= wxDefaultPosition
,
1029 const wxSize
& size
= wxDefaultSize
,
1030 long style
= wxDEFAULT_FRAME_STYLE
,
1031 const wxString
& name
= wxPyFrameNameStr
)
1032 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1035 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1036 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1038 DEC_PYCALLBACK_VOID_(Initialize
);
1039 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1040 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1045 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1047 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1048 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1049 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1052 class wxPyPreviewControlBar
: public wxPreviewControlBar
1054 DECLARE_CLASS(wxPyPreviewControlBar
);
1056 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1059 const wxPoint
& pos
= wxDefaultPosition
,
1060 const wxSize
& size
= wxDefaultSize
,
1062 const wxString
& name
= wxPyPanelNameStr
)
1063 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1066 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1068 DEC_PYCALLBACK_VOID_(CreateButtons
);
1069 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1074 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1075 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1076 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1081 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1082 PyObject
*resultobj
;
1083 wxWindow
*arg1
= (wxWindow
*) 0 ;
1084 int arg2
= (int) (int)-1 ;
1085 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1086 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1087 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1088 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1089 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1090 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1091 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1095 bool temp6
= False
;
1096 PyObject
* obj0
= 0 ;
1097 PyObject
* obj1
= 0 ;
1098 PyObject
* obj2
= 0 ;
1099 PyObject
* obj3
= 0 ;
1100 PyObject
* obj4
= 0 ;
1101 PyObject
* obj5
= 0 ;
1103 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1110 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
1111 if (PyErr_Occurred()) SWIG_fail
;
1117 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1123 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1128 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
1129 if (PyErr_Occurred()) SWIG_fail
;
1134 arg6
= wxString_in_helper(obj5
);
1135 if (arg6
== NULL
) SWIG_fail
;
1140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1141 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1143 wxPyEndAllowThreads(__tstate
);
1144 if (PyErr_Occurred()) SWIG_fail
;
1146 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPanel
, 1);
1161 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1162 PyObject
*resultobj
;
1168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1171 result
= (wxPanel
*)new wxPanel();
1173 wxPyEndAllowThreads(__tstate
);
1174 if (PyErr_Occurred()) SWIG_fail
;
1176 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPanel
, 1);
1183 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1184 PyObject
*resultobj
;
1185 wxPanel
*arg1
= (wxPanel
*) 0 ;
1186 wxWindow
*arg2
= (wxWindow
*) 0 ;
1188 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1189 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1190 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1191 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1192 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1193 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1194 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1198 bool temp7
= False
;
1199 PyObject
* obj0
= 0 ;
1200 PyObject
* obj1
= 0 ;
1201 PyObject
* obj2
= 0 ;
1202 PyObject
* obj3
= 0 ;
1203 PyObject
* obj4
= 0 ;
1204 PyObject
* obj5
= 0 ;
1205 PyObject
* obj6
= 0 ;
1207 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1212 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1214 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
1215 if (PyErr_Occurred()) SWIG_fail
;
1220 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1226 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1231 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1232 if (PyErr_Occurred()) SWIG_fail
;
1237 arg7
= wxString_in_helper(obj6
);
1238 if (arg7
== NULL
) SWIG_fail
;
1243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1244 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1246 wxPyEndAllowThreads(__tstate
);
1247 if (PyErr_Occurred()) SWIG_fail
;
1249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1264 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1265 PyObject
*resultobj
;
1266 wxPanel
*arg1
= (wxPanel
*) 0 ;
1267 PyObject
* obj0
= 0 ;
1269 (char *) "self", NULL
1272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1276 (arg1
)->InitDialog();
1278 wxPyEndAllowThreads(__tstate
);
1279 if (PyErr_Occurred()) SWIG_fail
;
1281 Py_INCREF(Py_None
); resultobj
= Py_None
;
1288 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1290 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1291 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1293 return Py_BuildValue((char *)"");
1295 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1296 PyObject
*resultobj
;
1297 wxWindow
*arg1
= (wxWindow
*) 0 ;
1298 int arg2
= (int) (int)-1 ;
1299 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1300 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1301 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1302 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1303 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1304 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1305 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1306 wxScrolledWindow
*result
;
1309 bool temp6
= False
;
1310 PyObject
* obj0
= 0 ;
1311 PyObject
* obj1
= 0 ;
1312 PyObject
* obj2
= 0 ;
1313 PyObject
* obj3
= 0 ;
1314 PyObject
* obj4
= 0 ;
1315 PyObject
* obj5
= 0 ;
1317 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1324 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
1325 if (PyErr_Occurred()) SWIG_fail
;
1331 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1337 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1342 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
1343 if (PyErr_Occurred()) SWIG_fail
;
1348 arg6
= wxString_in_helper(obj5
);
1349 if (arg6
== NULL
) SWIG_fail
;
1354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1355 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1357 wxPyEndAllowThreads(__tstate
);
1358 if (PyErr_Occurred()) SWIG_fail
;
1360 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrolledWindow
, 1);
1375 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1376 PyObject
*resultobj
;
1377 wxScrolledWindow
*result
;
1382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1385 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1387 wxPyEndAllowThreads(__tstate
);
1388 if (PyErr_Occurred()) SWIG_fail
;
1390 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrolledWindow
, 1);
1397 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1398 PyObject
*resultobj
;
1399 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1400 wxWindow
*arg2
= (wxWindow
*) 0 ;
1401 int arg3
= (int) (int)-1 ;
1402 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1403 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1404 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1405 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1406 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1407 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1408 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1412 bool temp7
= False
;
1413 PyObject
* obj0
= 0 ;
1414 PyObject
* obj1
= 0 ;
1415 PyObject
* obj2
= 0 ;
1416 PyObject
* obj3
= 0 ;
1417 PyObject
* obj4
= 0 ;
1418 PyObject
* obj5
= 0 ;
1419 PyObject
* obj6
= 0 ;
1421 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1426 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1429 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
1430 if (PyErr_Occurred()) SWIG_fail
;
1436 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1442 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1447 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1448 if (PyErr_Occurred()) SWIG_fail
;
1453 arg7
= wxString_in_helper(obj6
);
1454 if (arg7
== NULL
) SWIG_fail
;
1459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1460 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1462 wxPyEndAllowThreads(__tstate
);
1463 if (PyErr_Occurred()) SWIG_fail
;
1465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1480 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1481 PyObject
*resultobj
;
1482 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1487 int arg6
= (int) 0 ;
1488 int arg7
= (int) 0 ;
1489 bool arg8
= (bool) False
;
1490 PyObject
* obj0
= 0 ;
1491 PyObject
* obj1
= 0 ;
1492 PyObject
* obj2
= 0 ;
1493 PyObject
* obj3
= 0 ;
1494 PyObject
* obj4
= 0 ;
1495 PyObject
* obj5
= 0 ;
1496 PyObject
* obj6
= 0 ;
1497 PyObject
* obj7
= 0 ;
1499 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1505 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1506 if (PyErr_Occurred()) SWIG_fail
;
1509 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1510 if (PyErr_Occurred()) SWIG_fail
;
1513 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
1514 if (PyErr_Occurred()) SWIG_fail
;
1517 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
1518 if (PyErr_Occurred()) SWIG_fail
;
1522 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
1523 if (PyErr_Occurred()) SWIG_fail
;
1528 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
1529 if (PyErr_Occurred()) SWIG_fail
;
1534 arg8
= (bool) SWIG_PyObj_AsBool(obj7
);
1535 if (PyErr_Occurred()) SWIG_fail
;
1539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1540 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1542 wxPyEndAllowThreads(__tstate
);
1543 if (PyErr_Occurred()) SWIG_fail
;
1545 Py_INCREF(Py_None
); resultobj
= Py_None
;
1552 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1553 PyObject
*resultobj
;
1554 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1557 PyObject
* obj0
= 0 ;
1558 PyObject
* obj1
= 0 ;
1559 PyObject
* obj2
= 0 ;
1561 (char *) "self",(char *) "x",(char *) "y", NULL
1564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1567 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1568 if (PyErr_Occurred()) SWIG_fail
;
1571 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1572 if (PyErr_Occurred()) SWIG_fail
;
1575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1576 (arg1
)->Scroll(arg2
,arg3
);
1578 wxPyEndAllowThreads(__tstate
);
1579 if (PyErr_Occurred()) SWIG_fail
;
1581 Py_INCREF(Py_None
); resultobj
= Py_None
;
1588 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1589 PyObject
*resultobj
;
1590 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1593 PyObject
* obj0
= 0 ;
1594 PyObject
* obj1
= 0 ;
1596 (char *) "self",(char *) "orient", NULL
1599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1602 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1603 if (PyErr_Occurred()) SWIG_fail
;
1606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1607 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1609 wxPyEndAllowThreads(__tstate
);
1610 if (PyErr_Occurred()) SWIG_fail
;
1612 resultobj
= SWIG_PyObj_FromInt((int)result
);
1619 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1620 PyObject
*resultobj
;
1621 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1624 PyObject
* obj0
= 0 ;
1625 PyObject
* obj1
= 0 ;
1626 PyObject
* obj2
= 0 ;
1628 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1634 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1635 if (PyErr_Occurred()) SWIG_fail
;
1638 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1639 if (PyErr_Occurred()) SWIG_fail
;
1642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1643 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1645 wxPyEndAllowThreads(__tstate
);
1646 if (PyErr_Occurred()) SWIG_fail
;
1648 Py_INCREF(Py_None
); resultobj
= Py_None
;
1655 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1656 PyObject
*resultobj
;
1657 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1660 PyObject
* obj0
= 0 ;
1661 PyObject
* obj1
= 0 ;
1662 PyObject
* obj2
= 0 ;
1664 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1670 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1671 if (PyErr_Occurred()) SWIG_fail
;
1674 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1675 if (PyErr_Occurred()) SWIG_fail
;
1678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1679 (arg1
)->SetScrollRate(arg2
,arg3
);
1681 wxPyEndAllowThreads(__tstate
);
1682 if (PyErr_Occurred()) SWIG_fail
;
1684 Py_INCREF(Py_None
); resultobj
= Py_None
;
1691 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1692 PyObject
*resultobj
;
1693 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1694 int *arg2
= (int *) 0 ;
1695 int *arg3
= (int *) 0 ;
1698 PyObject
* obj0
= 0 ;
1700 (char *) "self", NULL
1705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1709 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1711 wxPyEndAllowThreads(__tstate
);
1712 if (PyErr_Occurred()) SWIG_fail
;
1714 Py_INCREF(Py_None
); resultobj
= Py_None
;
1716 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1717 resultobj
= t_output_helper(resultobj
,o
);
1720 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1721 resultobj
= t_output_helper(resultobj
,o
);
1729 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1730 PyObject
*resultobj
;
1731 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1734 PyObject
* obj0
= 0 ;
1735 PyObject
* obj1
= 0 ;
1736 PyObject
* obj2
= 0 ;
1738 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1744 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
1745 if (PyErr_Occurred()) SWIG_fail
;
1748 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
1749 if (PyErr_Occurred()) SWIG_fail
;
1752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1753 (arg1
)->EnableScrolling(arg2
,arg3
);
1755 wxPyEndAllowThreads(__tstate
);
1756 if (PyErr_Occurred()) SWIG_fail
;
1758 Py_INCREF(Py_None
); resultobj
= Py_None
;
1765 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1766 PyObject
*resultobj
;
1767 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1768 int *arg2
= (int *) 0 ;
1769 int *arg3
= (int *) 0 ;
1772 PyObject
* obj0
= 0 ;
1774 (char *) "self", NULL
1779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1783 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1785 wxPyEndAllowThreads(__tstate
);
1786 if (PyErr_Occurred()) SWIG_fail
;
1788 Py_INCREF(Py_None
); resultobj
= Py_None
;
1790 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1791 resultobj
= t_output_helper(resultobj
,o
);
1794 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1795 resultobj
= t_output_helper(resultobj
,o
);
1803 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1804 PyObject
*resultobj
;
1805 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1808 PyObject
* obj0
= 0 ;
1809 PyObject
* obj1
= 0 ;
1810 PyObject
* obj2
= 0 ;
1812 (char *) "self",(char *) "xs",(char *) "ys", NULL
1815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1818 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
1819 if (PyErr_Occurred()) SWIG_fail
;
1822 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
1823 if (PyErr_Occurred()) SWIG_fail
;
1826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1827 (arg1
)->SetScale(arg2
,arg3
);
1829 wxPyEndAllowThreads(__tstate
);
1830 if (PyErr_Occurred()) SWIG_fail
;
1832 Py_INCREF(Py_None
); resultobj
= Py_None
;
1839 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1840 PyObject
*resultobj
;
1841 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1843 PyObject
* obj0
= 0 ;
1845 (char *) "self", NULL
1848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
1849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1852 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
1854 wxPyEndAllowThreads(__tstate
);
1855 if (PyErr_Occurred()) SWIG_fail
;
1857 resultobj
= SWIG_PyObj_FromDouble((double)result
);
1864 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1865 PyObject
*resultobj
;
1866 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1868 PyObject
* obj0
= 0 ;
1870 (char *) "self", NULL
1873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
1874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1877 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
1879 wxPyEndAllowThreads(__tstate
);
1880 if (PyErr_Occurred()) SWIG_fail
;
1882 resultobj
= SWIG_PyObj_FromDouble((double)result
);
1889 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
1890 PyObject
*resultobj
;
1891 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1895 PyObject
* obj0
= 0 ;
1896 PyObject
* obj1
= 0 ;
1898 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
1899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1902 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1906 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
1908 wxPyEndAllowThreads(__tstate
);
1909 if (PyErr_Occurred()) SWIG_fail
;
1912 wxPoint
* resultptr
;
1913 resultptr
= new wxPoint((wxPoint
&) result
);
1914 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
1922 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
1923 PyObject
*resultobj
;
1924 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1927 int *arg4
= (int *) 0 ;
1928 int *arg5
= (int *) 0 ;
1931 PyObject
* obj0
= 0 ;
1932 PyObject
* obj1
= 0 ;
1933 PyObject
* obj2
= 0 ;
1937 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
1938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1940 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1941 if (PyErr_Occurred()) SWIG_fail
;
1944 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1945 if (PyErr_Occurred()) SWIG_fail
;
1948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1949 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
1951 wxPyEndAllowThreads(__tstate
);
1952 if (PyErr_Occurred()) SWIG_fail
;
1954 Py_INCREF(Py_None
); resultobj
= Py_None
;
1956 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1957 resultobj
= t_output_helper(resultobj
,o
);
1960 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1961 resultobj
= t_output_helper(resultobj
,o
);
1969 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
1974 argc
= PyObject_Length(args
);
1975 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
1976 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1982 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1991 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
1994 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2002 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2011 SWIG_PyObj_AsInt(argv
[1]);
2012 if (PyErr_Occurred()) {
2021 SWIG_PyObj_AsInt(argv
[2]);
2022 if (PyErr_Occurred()) {
2030 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2036 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2041 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2042 PyObject
*resultobj
;
2043 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2047 PyObject
* obj0
= 0 ;
2048 PyObject
* obj1
= 0 ;
2050 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2054 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2058 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2060 wxPyEndAllowThreads(__tstate
);
2061 if (PyErr_Occurred()) SWIG_fail
;
2064 wxPoint
* resultptr
;
2065 resultptr
= new wxPoint((wxPoint
&) result
);
2066 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2074 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2075 PyObject
*resultobj
;
2076 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2079 int *arg4
= (int *) 0 ;
2080 int *arg5
= (int *) 0 ;
2083 PyObject
* obj0
= 0 ;
2084 PyObject
* obj1
= 0 ;
2085 PyObject
* obj2
= 0 ;
2089 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2092 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2093 if (PyErr_Occurred()) SWIG_fail
;
2096 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2097 if (PyErr_Occurred()) SWIG_fail
;
2100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2101 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2103 wxPyEndAllowThreads(__tstate
);
2104 if (PyErr_Occurred()) SWIG_fail
;
2106 Py_INCREF(Py_None
); resultobj
= Py_None
;
2108 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2109 resultobj
= t_output_helper(resultobj
,o
);
2112 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2113 resultobj
= t_output_helper(resultobj
,o
);
2121 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2126 argc
= PyObject_Length(args
);
2127 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2128 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2134 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2143 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2146 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2154 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2163 SWIG_PyObj_AsInt(argv
[1]);
2164 if (PyErr_Occurred()) {
2173 SWIG_PyObj_AsInt(argv
[2]);
2174 if (PyErr_Occurred()) {
2182 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2188 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2193 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2194 PyObject
*resultobj
;
2195 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2196 PyObject
* obj0
= 0 ;
2198 (char *) "self", NULL
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2205 (arg1
)->AdjustScrollbars();
2207 wxPyEndAllowThreads(__tstate
);
2208 if (PyErr_Occurred()) SWIG_fail
;
2210 Py_INCREF(Py_None
); resultobj
= Py_None
;
2217 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2218 PyObject
*resultobj
;
2219 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2220 wxScrollWinEvent
*arg2
= 0 ;
2222 PyObject
* obj0
= 0 ;
2223 PyObject
* obj1
= 0 ;
2225 (char *) "self",(char *) "event", NULL
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2230 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2232 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2236 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2238 wxPyEndAllowThreads(__tstate
);
2239 if (PyErr_Occurred()) SWIG_fail
;
2241 resultobj
= SWIG_PyObj_FromInt((int)result
);
2248 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2249 PyObject
*resultobj
;
2250 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2251 wxWindow
*arg2
= (wxWindow
*) 0 ;
2252 PyObject
* obj0
= 0 ;
2253 PyObject
* obj1
= 0 ;
2255 (char *) "self",(char *) "target", NULL
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2260 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2263 (arg1
)->SetTargetWindow(arg2
);
2265 wxPyEndAllowThreads(__tstate
);
2266 if (PyErr_Occurred()) SWIG_fail
;
2268 Py_INCREF(Py_None
); resultobj
= Py_None
;
2275 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2276 PyObject
*resultobj
;
2277 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2279 PyObject
* obj0
= 0 ;
2281 (char *) "self", NULL
2284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2288 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2290 wxPyEndAllowThreads(__tstate
);
2291 if (PyErr_Occurred()) SWIG_fail
;
2294 resultobj
= wxPyMake_wxObject(result
);
2302 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2304 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2305 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2307 return Py_BuildValue((char *)"");
2309 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2310 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2315 static PyObject
*_wrap_FrameNameStr_get() {
2320 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2322 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2329 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2330 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2335 static PyObject
*_wrap_DialogNameStr_get() {
2340 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2342 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2349 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2350 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2355 static PyObject
*_wrap_StatusLineNameStr_get() {
2360 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2362 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2369 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2370 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2375 static PyObject
*_wrap_ToolBarNameStr_get() {
2380 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2382 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2389 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2390 PyObject
*resultobj
;
2391 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2392 bool arg2
= (bool) True
;
2393 PyObject
* obj0
= 0 ;
2394 PyObject
* obj1
= 0 ;
2396 (char *) "self",(char *) "maximize", NULL
2399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2403 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2404 if (PyErr_Occurred()) SWIG_fail
;
2408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2409 (arg1
)->Maximize(arg2
);
2411 wxPyEndAllowThreads(__tstate
);
2412 if (PyErr_Occurred()) SWIG_fail
;
2414 Py_INCREF(Py_None
); resultobj
= Py_None
;
2421 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2422 PyObject
*resultobj
;
2423 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2424 PyObject
* obj0
= 0 ;
2426 (char *) "self", NULL
2429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2435 wxPyEndAllowThreads(__tstate
);
2436 if (PyErr_Occurred()) SWIG_fail
;
2438 Py_INCREF(Py_None
); resultobj
= Py_None
;
2445 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2446 PyObject
*resultobj
;
2447 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2448 bool arg2
= (bool) True
;
2449 PyObject
* obj0
= 0 ;
2450 PyObject
* obj1
= 0 ;
2452 (char *) "self",(char *) "iconize", NULL
2455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2459 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2460 if (PyErr_Occurred()) SWIG_fail
;
2464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2465 (arg1
)->Iconize(arg2
);
2467 wxPyEndAllowThreads(__tstate
);
2468 if (PyErr_Occurred()) SWIG_fail
;
2470 Py_INCREF(Py_None
); resultobj
= Py_None
;
2477 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2478 PyObject
*resultobj
;
2479 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2481 PyObject
* obj0
= 0 ;
2483 (char *) "self", NULL
2486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2490 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2492 wxPyEndAllowThreads(__tstate
);
2493 if (PyErr_Occurred()) SWIG_fail
;
2495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2502 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2503 PyObject
*resultobj
;
2504 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2506 PyObject
* obj0
= 0 ;
2508 (char *) "self", NULL
2511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2515 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2517 wxPyEndAllowThreads(__tstate
);
2518 if (PyErr_Occurred()) SWIG_fail
;
2520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2527 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2528 PyObject
*resultobj
;
2529 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2531 PyObject
* obj0
= 0 ;
2533 (char *) "self", NULL
2536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2540 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2542 wxPyEndAllowThreads(__tstate
);
2543 if (PyErr_Occurred()) SWIG_fail
;
2547 resultptr
= new wxIcon((wxIcon
&) result
);
2548 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1);
2556 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2557 PyObject
*resultobj
;
2558 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2560 PyObject
* obj0
= 0 ;
2561 PyObject
* obj1
= 0 ;
2563 (char *) "self",(char *) "icon", NULL
2566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2568 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2570 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2574 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2576 wxPyEndAllowThreads(__tstate
);
2577 if (PyErr_Occurred()) SWIG_fail
;
2579 Py_INCREF(Py_None
); resultobj
= Py_None
;
2586 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2587 PyObject
*resultobj
;
2588 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2589 wxIconBundle
*arg2
= 0 ;
2590 PyObject
* obj0
= 0 ;
2591 PyObject
* obj1
= 0 ;
2593 (char *) "self",(char *) "icons", NULL
2596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2598 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2600 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2604 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2606 wxPyEndAllowThreads(__tstate
);
2607 if (PyErr_Occurred()) SWIG_fail
;
2609 Py_INCREF(Py_None
); resultobj
= Py_None
;
2616 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2617 PyObject
*resultobj
;
2618 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2620 long arg3
= (long) wxFULLSCREEN_ALL
;
2622 PyObject
* obj0
= 0 ;
2623 PyObject
* obj1
= 0 ;
2624 PyObject
* obj2
= 0 ;
2626 (char *) "self",(char *) "show",(char *) "style", NULL
2629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2632 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2633 if (PyErr_Occurred()) SWIG_fail
;
2637 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
2638 if (PyErr_Occurred()) SWIG_fail
;
2642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2643 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2645 wxPyEndAllowThreads(__tstate
);
2646 if (PyErr_Occurred()) SWIG_fail
;
2648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2655 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2656 PyObject
*resultobj
;
2657 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2659 PyObject
* obj0
= 0 ;
2661 (char *) "self", NULL
2664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2668 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2670 wxPyEndAllowThreads(__tstate
);
2671 if (PyErr_Occurred()) SWIG_fail
;
2673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2680 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2681 PyObject
*resultobj
;
2682 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2683 wxString
*arg2
= 0 ;
2684 bool temp2
= False
;
2685 PyObject
* obj0
= 0 ;
2686 PyObject
* obj1
= 0 ;
2688 (char *) "self",(char *) "title", NULL
2691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2694 arg2
= wxString_in_helper(obj1
);
2695 if (arg2
== NULL
) SWIG_fail
;
2699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2700 (arg1
)->SetTitle((wxString
const &)*arg2
);
2702 wxPyEndAllowThreads(__tstate
);
2703 if (PyErr_Occurred()) SWIG_fail
;
2705 Py_INCREF(Py_None
); resultobj
= Py_None
;
2720 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2721 PyObject
*resultobj
;
2722 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2724 PyObject
* obj0
= 0 ;
2726 (char *) "self", NULL
2729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2733 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2735 wxPyEndAllowThreads(__tstate
);
2736 if (PyErr_Occurred()) SWIG_fail
;
2740 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2742 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2751 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2752 PyObject
*resultobj
;
2753 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2754 wxRegion
*arg2
= 0 ;
2756 PyObject
* obj0
= 0 ;
2757 PyObject
* obj1
= 0 ;
2759 (char *) "self",(char *) "region", NULL
2762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2764 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2766 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2770 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2772 wxPyEndAllowThreads(__tstate
);
2773 if (PyErr_Occurred()) SWIG_fail
;
2775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2782 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2784 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2785 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
2787 return Py_BuildValue((char *)"");
2789 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2790 PyObject
*resultobj
;
2791 wxWindow
*arg1
= (wxWindow
*) 0 ;
2793 wxString
*arg3
= 0 ;
2794 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2795 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2796 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2797 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2798 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
2799 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
2800 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2802 bool temp3
= False
;
2805 bool temp7
= False
;
2806 PyObject
* obj0
= 0 ;
2807 PyObject
* obj1
= 0 ;
2808 PyObject
* obj2
= 0 ;
2809 PyObject
* obj3
= 0 ;
2810 PyObject
* obj4
= 0 ;
2811 PyObject
* obj5
= 0 ;
2812 PyObject
* obj6
= 0 ;
2814 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2820 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
2821 if (PyErr_Occurred()) SWIG_fail
;
2824 arg3
= wxString_in_helper(obj2
);
2825 if (arg3
== NULL
) SWIG_fail
;
2831 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2837 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2842 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
2843 if (PyErr_Occurred()) SWIG_fail
;
2848 arg7
= wxString_in_helper(obj6
);
2849 if (arg7
== NULL
) SWIG_fail
;
2854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2855 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2857 wxPyEndAllowThreads(__tstate
);
2858 if (PyErr_Occurred()) SWIG_fail
;
2861 resultobj
= wxPyMake_wxObject(result
);
2885 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2886 PyObject
*resultobj
;
2892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
2894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2895 result
= (wxFrame
*)new wxFrame();
2897 wxPyEndAllowThreads(__tstate
);
2898 if (PyErr_Occurred()) SWIG_fail
;
2901 resultobj
= wxPyMake_wxObject(result
);
2909 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2910 PyObject
*resultobj
;
2911 wxFrame
*arg1
= (wxFrame
*) 0 ;
2912 wxWindow
*arg2
= (wxWindow
*) 0 ;
2914 wxString
*arg4
= 0 ;
2915 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2916 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2917 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2918 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2919 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
2920 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
2921 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2923 bool temp4
= False
;
2926 bool temp8
= False
;
2927 PyObject
* obj0
= 0 ;
2928 PyObject
* obj1
= 0 ;
2929 PyObject
* obj2
= 0 ;
2930 PyObject
* obj3
= 0 ;
2931 PyObject
* obj4
= 0 ;
2932 PyObject
* obj5
= 0 ;
2933 PyObject
* obj6
= 0 ;
2934 PyObject
* obj7
= 0 ;
2936 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2941 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2943 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
2944 if (PyErr_Occurred()) SWIG_fail
;
2947 arg4
= wxString_in_helper(obj3
);
2948 if (arg4
== NULL
) SWIG_fail
;
2954 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2960 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2965 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
2966 if (PyErr_Occurred()) SWIG_fail
;
2971 arg8
= wxString_in_helper(obj7
);
2972 if (arg8
== NULL
) SWIG_fail
;
2977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2978 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
2980 wxPyEndAllowThreads(__tstate
);
2981 if (PyErr_Occurred()) SWIG_fail
;
2983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3006 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3007 PyObject
*resultobj
;
3008 wxFrame
*arg1
= (wxFrame
*) 0 ;
3010 PyObject
* obj0
= 0 ;
3012 (char *) "self", NULL
3015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3019 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3021 wxPyEndAllowThreads(__tstate
);
3022 if (PyErr_Occurred()) SWIG_fail
;
3025 wxPoint
* resultptr
;
3026 resultptr
= new wxPoint((wxPoint
&) result
);
3027 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3035 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3036 PyObject
*resultobj
;
3037 wxFrame
*arg1
= (wxFrame
*) 0 ;
3038 PyObject
* obj0
= 0 ;
3040 (char *) "self", NULL
3043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3047 (arg1
)->SendSizeEvent();
3049 wxPyEndAllowThreads(__tstate
);
3050 if (PyErr_Occurred()) SWIG_fail
;
3052 Py_INCREF(Py_None
); resultobj
= Py_None
;
3059 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3060 PyObject
*resultobj
;
3061 wxFrame
*arg1
= (wxFrame
*) 0 ;
3062 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3063 PyObject
* obj0
= 0 ;
3064 PyObject
* obj1
= 0 ;
3066 (char *) "self",(char *) "menubar", NULL
3069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3071 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3074 (arg1
)->SetMenuBar(arg2
);
3076 wxPyEndAllowThreads(__tstate
);
3077 if (PyErr_Occurred()) SWIG_fail
;
3079 Py_INCREF(Py_None
); resultobj
= Py_None
;
3086 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3087 PyObject
*resultobj
;
3088 wxFrame
*arg1
= (wxFrame
*) 0 ;
3090 PyObject
* obj0
= 0 ;
3092 (char *) "self", NULL
3095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3099 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3101 wxPyEndAllowThreads(__tstate
);
3102 if (PyErr_Occurred()) SWIG_fail
;
3105 resultobj
= wxPyMake_wxObject(result
);
3113 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3114 PyObject
*resultobj
;
3115 wxFrame
*arg1
= (wxFrame
*) 0 ;
3118 PyObject
* obj0
= 0 ;
3119 PyObject
* obj1
= 0 ;
3121 (char *) "self",(char *) "winid", NULL
3124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3127 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3128 if (PyErr_Occurred()) SWIG_fail
;
3131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3132 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3134 wxPyEndAllowThreads(__tstate
);
3135 if (PyErr_Occurred()) SWIG_fail
;
3137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3144 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3145 PyObject
*resultobj
;
3146 wxFrame
*arg1
= (wxFrame
*) 0 ;
3147 int arg2
= (int) 1 ;
3148 long arg3
= (long) wxST_SIZEGRIP
;
3149 int arg4
= (int) 0 ;
3150 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3151 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3152 wxStatusBar
*result
;
3153 bool temp5
= False
;
3154 PyObject
* obj0
= 0 ;
3155 PyObject
* obj1
= 0 ;
3156 PyObject
* obj2
= 0 ;
3157 PyObject
* obj3
= 0 ;
3158 PyObject
* obj4
= 0 ;
3160 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3167 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3168 if (PyErr_Occurred()) SWIG_fail
;
3173 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3174 if (PyErr_Occurred()) SWIG_fail
;
3179 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
3180 if (PyErr_Occurred()) SWIG_fail
;
3185 arg5
= wxString_in_helper(obj4
);
3186 if (arg5
== NULL
) SWIG_fail
;
3191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3192 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3194 wxPyEndAllowThreads(__tstate
);
3195 if (PyErr_Occurred()) SWIG_fail
;
3198 resultobj
= wxPyMake_wxObject(result
);
3214 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3215 PyObject
*resultobj
;
3216 wxFrame
*arg1
= (wxFrame
*) 0 ;
3217 wxStatusBar
*result
;
3218 PyObject
* obj0
= 0 ;
3220 (char *) "self", NULL
3223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3227 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3229 wxPyEndAllowThreads(__tstate
);
3230 if (PyErr_Occurred()) SWIG_fail
;
3233 resultobj
= wxPyMake_wxObject(result
);
3241 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3242 PyObject
*resultobj
;
3243 wxFrame
*arg1
= (wxFrame
*) 0 ;
3244 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3245 PyObject
* obj0
= 0 ;
3246 PyObject
* obj1
= 0 ;
3248 (char *) "self",(char *) "statBar", NULL
3251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3253 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3256 (arg1
)->SetStatusBar(arg2
);
3258 wxPyEndAllowThreads(__tstate
);
3259 if (PyErr_Occurred()) SWIG_fail
;
3261 Py_INCREF(Py_None
); resultobj
= Py_None
;
3268 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3269 PyObject
*resultobj
;
3270 wxFrame
*arg1
= (wxFrame
*) 0 ;
3271 wxString
*arg2
= 0 ;
3272 int arg3
= (int) 0 ;
3273 bool temp2
= False
;
3274 PyObject
* obj0
= 0 ;
3275 PyObject
* obj1
= 0 ;
3276 PyObject
* obj2
= 0 ;
3278 (char *) "self",(char *) "text",(char *) "number", NULL
3281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3284 arg2
= wxString_in_helper(obj1
);
3285 if (arg2
== NULL
) SWIG_fail
;
3290 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3291 if (PyErr_Occurred()) SWIG_fail
;
3295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3296 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3298 wxPyEndAllowThreads(__tstate
);
3299 if (PyErr_Occurred()) SWIG_fail
;
3301 Py_INCREF(Py_None
); resultobj
= Py_None
;
3316 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
*resultobj
;
3318 wxFrame
*arg1
= (wxFrame
*) 0 ;
3320 int *arg3
= (int *) 0 ;
3321 PyObject
* obj0
= 0 ;
3322 PyObject
* obj1
= 0 ;
3324 (char *) "self",(char *) "widths", NULL
3327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3330 arg2
= PyList_Size(obj1
);
3331 arg3
= int_LIST_helper(obj1
);
3332 if (arg3
== NULL
) SWIG_fail
;
3335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3336 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3338 wxPyEndAllowThreads(__tstate
);
3339 if (PyErr_Occurred()) SWIG_fail
;
3341 Py_INCREF(Py_None
); resultobj
= Py_None
;
3343 if (arg3
) delete [] arg3
;
3348 if (arg3
) delete [] arg3
;
3354 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3355 PyObject
*resultobj
;
3356 wxFrame
*arg1
= (wxFrame
*) 0 ;
3357 wxString
*arg2
= 0 ;
3358 int arg3
= (int) 0 ;
3359 bool temp2
= False
;
3360 PyObject
* obj0
= 0 ;
3361 PyObject
* obj1
= 0 ;
3362 PyObject
* obj2
= 0 ;
3364 (char *) "self",(char *) "text",(char *) "number", NULL
3367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3370 arg2
= wxString_in_helper(obj1
);
3371 if (arg2
== NULL
) SWIG_fail
;
3376 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3377 if (PyErr_Occurred()) SWIG_fail
;
3381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3382 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3384 wxPyEndAllowThreads(__tstate
);
3385 if (PyErr_Occurred()) SWIG_fail
;
3387 Py_INCREF(Py_None
); resultobj
= Py_None
;
3402 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3403 PyObject
*resultobj
;
3404 wxFrame
*arg1
= (wxFrame
*) 0 ;
3405 int arg2
= (int) 0 ;
3406 PyObject
* obj0
= 0 ;
3407 PyObject
* obj1
= 0 ;
3409 (char *) "self",(char *) "number", NULL
3412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3416 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3417 if (PyErr_Occurred()) SWIG_fail
;
3421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3422 (arg1
)->PopStatusText(arg2
);
3424 wxPyEndAllowThreads(__tstate
);
3425 if (PyErr_Occurred()) SWIG_fail
;
3427 Py_INCREF(Py_None
); resultobj
= Py_None
;
3434 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3435 PyObject
*resultobj
;
3436 wxFrame
*arg1
= (wxFrame
*) 0 ;
3438 PyObject
* obj0
= 0 ;
3439 PyObject
* obj1
= 0 ;
3441 (char *) "self",(char *) "n", NULL
3444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3447 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3448 if (PyErr_Occurred()) SWIG_fail
;
3451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3452 (arg1
)->SetStatusBarPane(arg2
);
3454 wxPyEndAllowThreads(__tstate
);
3455 if (PyErr_Occurred()) SWIG_fail
;
3457 Py_INCREF(Py_None
); resultobj
= Py_None
;
3464 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3465 PyObject
*resultobj
;
3466 wxFrame
*arg1
= (wxFrame
*) 0 ;
3468 PyObject
* obj0
= 0 ;
3470 (char *) "self", NULL
3473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3477 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3479 wxPyEndAllowThreads(__tstate
);
3480 if (PyErr_Occurred()) SWIG_fail
;
3482 resultobj
= SWIG_PyObj_FromInt((int)result
);
3489 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3490 PyObject
*resultobj
;
3491 wxFrame
*arg1
= (wxFrame
*) 0 ;
3492 long arg2
= (long) -1 ;
3493 int arg3
= (int) -1 ;
3494 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3495 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3497 bool temp4
= False
;
3498 PyObject
* obj0
= 0 ;
3499 PyObject
* obj1
= 0 ;
3500 PyObject
* obj2
= 0 ;
3501 PyObject
* obj3
= 0 ;
3503 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3510 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3511 if (PyErr_Occurred()) SWIG_fail
;
3516 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3517 if (PyErr_Occurred()) SWIG_fail
;
3522 arg4
= wxString_in_helper(obj3
);
3523 if (arg4
== NULL
) SWIG_fail
;
3528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3529 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3531 wxPyEndAllowThreads(__tstate
);
3532 if (PyErr_Occurred()) SWIG_fail
;
3535 resultobj
= wxPyMake_wxObject(result
);
3551 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3552 PyObject
*resultobj
;
3553 wxFrame
*arg1
= (wxFrame
*) 0 ;
3555 PyObject
* obj0
= 0 ;
3557 (char *) "self", NULL
3560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3564 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3566 wxPyEndAllowThreads(__tstate
);
3567 if (PyErr_Occurred()) SWIG_fail
;
3570 resultobj
= wxPyMake_wxObject(result
);
3578 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3579 PyObject
*resultobj
;
3580 wxFrame
*arg1
= (wxFrame
*) 0 ;
3581 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3582 PyObject
* obj0
= 0 ;
3583 PyObject
* obj1
= 0 ;
3585 (char *) "self",(char *) "toolbar", NULL
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3590 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3593 (arg1
)->SetToolBar(arg2
);
3595 wxPyEndAllowThreads(__tstate
);
3596 if (PyErr_Occurred()) SWIG_fail
;
3598 Py_INCREF(Py_None
); resultobj
= Py_None
;
3605 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3606 PyObject
*resultobj
;
3607 wxFrame
*arg1
= (wxFrame
*) 0 ;
3608 wxString
*arg2
= 0 ;
3610 bool temp2
= False
;
3611 PyObject
* obj0
= 0 ;
3612 PyObject
* obj1
= 0 ;
3613 PyObject
* obj2
= 0 ;
3615 (char *) "self",(char *) "text",(char *) "show", NULL
3618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3621 arg2
= wxString_in_helper(obj1
);
3622 if (arg2
== NULL
) SWIG_fail
;
3626 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
3627 if (PyErr_Occurred()) SWIG_fail
;
3630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3631 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3633 wxPyEndAllowThreads(__tstate
);
3634 if (PyErr_Occurred()) SWIG_fail
;
3636 Py_INCREF(Py_None
); resultobj
= Py_None
;
3651 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3652 PyObject
*resultobj
;
3653 wxFrame
*arg1
= (wxFrame
*) 0 ;
3654 wxMenu
*arg2
= (wxMenu
*) NULL
;
3655 PyObject
* obj0
= 0 ;
3656 PyObject
* obj1
= 0 ;
3658 (char *) "self",(char *) "menu", NULL
3661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3664 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3668 (arg1
)->DoMenuUpdates(arg2
);
3670 wxPyEndAllowThreads(__tstate
);
3671 if (PyErr_Occurred()) SWIG_fail
;
3673 Py_INCREF(Py_None
); resultobj
= Py_None
;
3680 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3682 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3683 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3685 return Py_BuildValue((char *)"");
3687 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3688 PyObject
*resultobj
;
3689 wxWindow
*arg1
= (wxWindow
*) 0 ;
3691 wxString
*arg3
= 0 ;
3692 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3693 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3694 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3695 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3696 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3697 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3698 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3700 bool temp3
= False
;
3703 bool temp7
= False
;
3704 PyObject
* obj0
= 0 ;
3705 PyObject
* obj1
= 0 ;
3706 PyObject
* obj2
= 0 ;
3707 PyObject
* obj3
= 0 ;
3708 PyObject
* obj4
= 0 ;
3709 PyObject
* obj5
= 0 ;
3710 PyObject
* obj6
= 0 ;
3712 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3718 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
3719 if (PyErr_Occurred()) SWIG_fail
;
3722 arg3
= wxString_in_helper(obj2
);
3723 if (arg3
== NULL
) SWIG_fail
;
3729 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3735 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3740 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
3741 if (PyErr_Occurred()) SWIG_fail
;
3746 arg7
= wxString_in_helper(obj6
);
3747 if (arg7
== NULL
) SWIG_fail
;
3752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3753 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3755 wxPyEndAllowThreads(__tstate
);
3756 if (PyErr_Occurred()) SWIG_fail
;
3758 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3781 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3782 PyObject
*resultobj
;
3788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
3790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3791 result
= (wxDialog
*)new wxDialog();
3793 wxPyEndAllowThreads(__tstate
);
3794 if (PyErr_Occurred()) SWIG_fail
;
3796 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3803 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3804 PyObject
*resultobj
;
3805 wxDialog
*arg1
= (wxDialog
*) 0 ;
3806 wxWindow
*arg2
= (wxWindow
*) 0 ;
3808 wxString
*arg4
= 0 ;
3809 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3810 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3811 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3812 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3813 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
3814 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
3815 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3817 bool temp4
= False
;
3820 bool temp8
= False
;
3821 PyObject
* obj0
= 0 ;
3822 PyObject
* obj1
= 0 ;
3823 PyObject
* obj2
= 0 ;
3824 PyObject
* obj3
= 0 ;
3825 PyObject
* obj4
= 0 ;
3826 PyObject
* obj5
= 0 ;
3827 PyObject
* obj6
= 0 ;
3828 PyObject
* obj7
= 0 ;
3830 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3835 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3837 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
3838 if (PyErr_Occurred()) SWIG_fail
;
3841 arg4
= wxString_in_helper(obj3
);
3842 if (arg4
== NULL
) SWIG_fail
;
3848 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3854 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3859 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
3860 if (PyErr_Occurred()) SWIG_fail
;
3865 arg8
= wxString_in_helper(obj7
);
3866 if (arg8
== NULL
) SWIG_fail
;
3871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3872 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3874 wxPyEndAllowThreads(__tstate
);
3875 if (PyErr_Occurred()) SWIG_fail
;
3877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3900 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
*resultobj
;
3902 wxDialog
*arg1
= (wxDialog
*) 0 ;
3904 PyObject
* obj0
= 0 ;
3905 PyObject
* obj1
= 0 ;
3907 (char *) "self",(char *) "returnCode", NULL
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
3911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3913 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3914 if (PyErr_Occurred()) SWIG_fail
;
3917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3918 (arg1
)->SetReturnCode(arg2
);
3920 wxPyEndAllowThreads(__tstate
);
3921 if (PyErr_Occurred()) SWIG_fail
;
3923 Py_INCREF(Py_None
); resultobj
= Py_None
;
3930 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3931 PyObject
*resultobj
;
3932 wxDialog
*arg1
= (wxDialog
*) 0 ;
3934 PyObject
* obj0
= 0 ;
3936 (char *) "self", NULL
3939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
3940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3943 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
3945 wxPyEndAllowThreads(__tstate
);
3946 if (PyErr_Occurred()) SWIG_fail
;
3948 resultobj
= SWIG_PyObj_FromInt((int)result
);
3955 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3956 PyObject
*resultobj
;
3957 wxDialog
*arg1
= (wxDialog
*) 0 ;
3958 wxString
*arg2
= 0 ;
3960 bool temp2
= False
;
3961 PyObject
* obj0
= 0 ;
3962 PyObject
* obj1
= 0 ;
3964 (char *) "self",(char *) "message", NULL
3967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
3968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3970 arg2
= wxString_in_helper(obj1
);
3971 if (arg2
== NULL
) SWIG_fail
;
3975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3976 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
3978 wxPyEndAllowThreads(__tstate
);
3979 if (PyErr_Occurred()) SWIG_fail
;
3982 resultobj
= wxPyMake_wxSizer(result
);
3998 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3999 PyObject
*resultobj
;
4000 wxDialog
*arg1
= (wxDialog
*) 0 ;
4003 PyObject
* obj0
= 0 ;
4004 PyObject
* obj1
= 0 ;
4006 (char *) "self",(char *) "flags", NULL
4009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4012 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
4013 if (PyErr_Occurred()) SWIG_fail
;
4016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4017 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4019 wxPyEndAllowThreads(__tstate
);
4020 if (PyErr_Occurred()) SWIG_fail
;
4023 resultobj
= wxPyMake_wxSizer(result
);
4031 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4032 PyObject
*resultobj
;
4033 wxDialog
*arg1
= (wxDialog
*) 0 ;
4035 PyObject
* obj0
= 0 ;
4037 (char *) "self", NULL
4040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4044 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4046 wxPyEndAllowThreads(__tstate
);
4047 if (PyErr_Occurred()) SWIG_fail
;
4049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4056 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4057 PyObject
*resultobj
;
4058 wxDialog
*arg1
= (wxDialog
*) 0 ;
4060 PyObject
* obj0
= 0 ;
4062 (char *) "self", NULL
4065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4069 result
= (int)(arg1
)->ShowModal();
4071 wxPyEndAllowThreads(__tstate
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4074 resultobj
= SWIG_PyObj_FromInt((int)result
);
4081 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
*resultobj
;
4083 wxDialog
*arg1
= (wxDialog
*) 0 ;
4085 PyObject
* obj0
= 0 ;
4086 PyObject
* obj1
= 0 ;
4088 (char *) "self",(char *) "retCode", NULL
4091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4094 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4095 if (PyErr_Occurred()) SWIG_fail
;
4098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4099 (arg1
)->EndModal(arg2
);
4101 wxPyEndAllowThreads(__tstate
);
4102 if (PyErr_Occurred()) SWIG_fail
;
4104 Py_INCREF(Py_None
); resultobj
= Py_None
;
4111 static PyObject
*_wrap_Dialog_IsModalShowing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4112 PyObject
*resultobj
;
4113 wxDialog
*arg1
= (wxDialog
*) 0 ;
4115 PyObject
* obj0
= 0 ;
4117 (char *) "self", NULL
4120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModalShowing",kwnames
,&obj0
)) goto fail
;
4121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4124 result
= (bool)wxDialog_IsModalShowing(arg1
);
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4136 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4138 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4139 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4141 return Py_BuildValue((char *)"");
4143 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4144 PyObject
*resultobj
;
4145 wxWindow
*arg1
= (wxWindow
*) 0 ;
4147 wxString
*arg3
= 0 ;
4148 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4149 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4150 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4151 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4152 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4153 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4154 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4155 wxMiniFrame
*result
;
4156 bool temp3
= False
;
4159 bool temp7
= False
;
4160 PyObject
* obj0
= 0 ;
4161 PyObject
* obj1
= 0 ;
4162 PyObject
* obj2
= 0 ;
4163 PyObject
* obj3
= 0 ;
4164 PyObject
* obj4
= 0 ;
4165 PyObject
* obj5
= 0 ;
4166 PyObject
* obj6
= 0 ;
4168 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4174 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
4175 if (PyErr_Occurred()) SWIG_fail
;
4178 arg3
= wxString_in_helper(obj2
);
4179 if (arg3
== NULL
) SWIG_fail
;
4185 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4191 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4196 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4197 if (PyErr_Occurred()) SWIG_fail
;
4202 arg7
= wxString_in_helper(obj6
);
4203 if (arg7
== NULL
) SWIG_fail
;
4208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4209 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4211 wxPyEndAllowThreads(__tstate
);
4212 if (PyErr_Occurred()) SWIG_fail
;
4214 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
4237 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
*resultobj
;
4239 wxMiniFrame
*result
;
4244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4247 result
= (wxMiniFrame
*)new wxMiniFrame();
4249 wxPyEndAllowThreads(__tstate
);
4250 if (PyErr_Occurred()) SWIG_fail
;
4252 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
4259 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4260 PyObject
*resultobj
;
4261 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4262 wxWindow
*arg2
= (wxWindow
*) 0 ;
4264 wxString
*arg4
= 0 ;
4265 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4266 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4267 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4268 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4269 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4270 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4271 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4273 bool temp4
= False
;
4276 bool temp8
= False
;
4277 PyObject
* obj0
= 0 ;
4278 PyObject
* obj1
= 0 ;
4279 PyObject
* obj2
= 0 ;
4280 PyObject
* obj3
= 0 ;
4281 PyObject
* obj4
= 0 ;
4282 PyObject
* obj5
= 0 ;
4283 PyObject
* obj6
= 0 ;
4284 PyObject
* obj7
= 0 ;
4286 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMiniFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4291 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4293 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
4294 if (PyErr_Occurred()) SWIG_fail
;
4297 arg4
= wxString_in_helper(obj3
);
4298 if (arg4
== NULL
) SWIG_fail
;
4304 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4310 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4315 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4316 if (PyErr_Occurred()) SWIG_fail
;
4321 arg8
= wxString_in_helper(obj7
);
4322 if (arg8
== NULL
) SWIG_fail
;
4327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4328 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4330 wxPyEndAllowThreads(__tstate
);
4331 if (PyErr_Occurred()) SWIG_fail
;
4333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4356 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4359 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4361 return Py_BuildValue((char *)"");
4363 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4364 PyObject
*resultobj
;
4365 wxBitmap
*arg1
= 0 ;
4366 wxWindow
*arg2
= (wxWindow
*) 0 ;
4368 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4369 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4370 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4371 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4372 long arg6
= (long) wxNO_BORDER
;
4373 wxSplashScreenWindow
*result
;
4376 PyObject
* obj0
= 0 ;
4377 PyObject
* obj1
= 0 ;
4378 PyObject
* obj2
= 0 ;
4379 PyObject
* obj3
= 0 ;
4380 PyObject
* obj4
= 0 ;
4381 PyObject
* obj5
= 0 ;
4383 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4389 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4391 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4393 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4394 if (PyErr_Occurred()) SWIG_fail
;
4399 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4405 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4410 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4411 if (PyErr_Occurred()) SWIG_fail
;
4415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4416 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4418 wxPyEndAllowThreads(__tstate
);
4419 if (PyErr_Occurred()) SWIG_fail
;
4421 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 1);
4428 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
*resultobj
;
4430 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4431 wxBitmap
*arg2
= 0 ;
4432 PyObject
* obj0
= 0 ;
4433 PyObject
* obj1
= 0 ;
4435 (char *) "self",(char *) "bitmap", NULL
4438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4440 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4442 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4451 Py_INCREF(Py_None
); resultobj
= Py_None
;
4458 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4459 PyObject
*resultobj
;
4460 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4462 PyObject
* obj0
= 0 ;
4464 (char *) "self", NULL
4467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4472 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4473 result
= (wxBitmap
*) &_result_ref
;
4476 wxPyEndAllowThreads(__tstate
);
4477 if (PyErr_Occurred()) SWIG_fail
;
4479 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
4486 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4489 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4491 return Py_BuildValue((char *)"");
4493 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
*resultobj
;
4495 wxBitmap
*arg1
= 0 ;
4498 wxWindow
*arg4
= (wxWindow
*) 0 ;
4500 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4501 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4502 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4503 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4504 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4505 wxSplashScreen
*result
;
4508 PyObject
* obj0
= 0 ;
4509 PyObject
* obj1
= 0 ;
4510 PyObject
* obj2
= 0 ;
4511 PyObject
* obj3
= 0 ;
4512 PyObject
* obj4
= 0 ;
4513 PyObject
* obj5
= 0 ;
4514 PyObject
* obj6
= 0 ;
4515 PyObject
* obj7
= 0 ;
4517 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4523 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4526 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
4527 if (PyErr_Occurred()) SWIG_fail
;
4530 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4531 if (PyErr_Occurred()) SWIG_fail
;
4533 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4535 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4536 if (PyErr_Occurred()) SWIG_fail
;
4541 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4547 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4552 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
4553 if (PyErr_Occurred()) SWIG_fail
;
4557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4558 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4560 wxPyEndAllowThreads(__tstate
);
4561 if (PyErr_Occurred()) SWIG_fail
;
4563 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreen
, 1);
4570 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4571 PyObject
*resultobj
;
4572 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4574 PyObject
* obj0
= 0 ;
4576 (char *) "self", NULL
4579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4583 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4585 wxPyEndAllowThreads(__tstate
);
4586 if (PyErr_Occurred()) SWIG_fail
;
4588 resultobj
= SWIG_PyObj_FromLong((long)result
);
4595 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4596 PyObject
*resultobj
;
4597 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4598 wxSplashScreenWindow
*result
;
4599 PyObject
* obj0
= 0 ;
4601 (char *) "self", NULL
4604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4608 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4610 wxPyEndAllowThreads(__tstate
);
4611 if (PyErr_Occurred()) SWIG_fail
;
4613 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 0);
4620 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4621 PyObject
*resultobj
;
4622 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4624 PyObject
* obj0
= 0 ;
4626 (char *) "self", NULL
4629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4633 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4635 wxPyEndAllowThreads(__tstate
);
4636 if (PyErr_Occurred()) SWIG_fail
;
4638 resultobj
= SWIG_PyObj_FromInt((int)result
);
4645 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4647 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4648 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4650 return Py_BuildValue((char *)"");
4652 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4653 PyObject
*resultobj
;
4654 wxWindow
*arg1
= (wxWindow
*) 0 ;
4655 int arg2
= (int) -1 ;
4656 long arg3
= (long) wxST_SIZEGRIP
;
4657 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4658 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4659 wxStatusBar
*result
;
4660 bool temp4
= False
;
4661 PyObject
* obj0
= 0 ;
4662 PyObject
* obj1
= 0 ;
4663 PyObject
* obj2
= 0 ;
4664 PyObject
* obj3
= 0 ;
4666 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4673 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4674 if (PyErr_Occurred()) SWIG_fail
;
4679 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
4680 if (PyErr_Occurred()) SWIG_fail
;
4685 arg4
= wxString_in_helper(obj3
);
4686 if (arg4
== NULL
) SWIG_fail
;
4691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4698 resultobj
= wxPyMake_wxObject(result
);
4714 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4715 PyObject
*resultobj
;
4716 wxStatusBar
*result
;
4721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4724 result
= (wxStatusBar
*)new wxStatusBar();
4726 wxPyEndAllowThreads(__tstate
);
4727 if (PyErr_Occurred()) SWIG_fail
;
4730 resultobj
= wxPyMake_wxObject(result
);
4738 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4739 PyObject
*resultobj
;
4740 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4741 wxWindow
*arg2
= (wxWindow
*) 0 ;
4743 long arg4
= (long) wxST_SIZEGRIP
;
4744 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4745 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4747 bool temp5
= False
;
4748 PyObject
* obj0
= 0 ;
4749 PyObject
* obj1
= 0 ;
4750 PyObject
* obj2
= 0 ;
4751 PyObject
* obj3
= 0 ;
4752 PyObject
* obj4
= 0 ;
4754 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4759 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4761 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4762 if (PyErr_Occurred()) SWIG_fail
;
4766 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
4767 if (PyErr_Occurred()) SWIG_fail
;
4772 arg5
= wxString_in_helper(obj4
);
4773 if (arg5
== NULL
) SWIG_fail
;
4778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4779 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4781 wxPyEndAllowThreads(__tstate
);
4782 if (PyErr_Occurred()) SWIG_fail
;
4784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4799 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4800 PyObject
*resultobj
;
4801 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4802 int arg2
= (int) 1 ;
4803 PyObject
* obj0
= 0 ;
4804 PyObject
* obj1
= 0 ;
4806 (char *) "self",(char *) "number", NULL
4809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
4810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4813 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4814 if (PyErr_Occurred()) SWIG_fail
;
4818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4819 (arg1
)->SetFieldsCount(arg2
);
4821 wxPyEndAllowThreads(__tstate
);
4822 if (PyErr_Occurred()) SWIG_fail
;
4824 Py_INCREF(Py_None
); resultobj
= Py_None
;
4831 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4832 PyObject
*resultobj
;
4833 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4835 PyObject
* obj0
= 0 ;
4837 (char *) "self", NULL
4840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
4841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4844 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
4846 wxPyEndAllowThreads(__tstate
);
4847 if (PyErr_Occurred()) SWIG_fail
;
4849 resultobj
= SWIG_PyObj_FromInt((int)result
);
4856 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4857 PyObject
*resultobj
;
4858 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4859 wxString
*arg2
= 0 ;
4860 int arg3
= (int) 0 ;
4861 bool temp2
= False
;
4862 PyObject
* obj0
= 0 ;
4863 PyObject
* obj1
= 0 ;
4864 PyObject
* obj2
= 0 ;
4866 (char *) "self",(char *) "text",(char *) "number", NULL
4869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4872 arg2
= wxString_in_helper(obj1
);
4873 if (arg2
== NULL
) SWIG_fail
;
4878 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4879 if (PyErr_Occurred()) SWIG_fail
;
4883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4884 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
4886 wxPyEndAllowThreads(__tstate
);
4887 if (PyErr_Occurred()) SWIG_fail
;
4889 Py_INCREF(Py_None
); resultobj
= Py_None
;
4904 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4905 PyObject
*resultobj
;
4906 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4907 int arg2
= (int) 0 ;
4909 PyObject
* obj0
= 0 ;
4910 PyObject
* obj1
= 0 ;
4912 (char *) "self",(char *) "number", NULL
4915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
4916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4919 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4920 if (PyErr_Occurred()) SWIG_fail
;
4924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4925 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
4927 wxPyEndAllowThreads(__tstate
);
4928 if (PyErr_Occurred()) SWIG_fail
;
4932 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4934 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4943 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4944 PyObject
*resultobj
;
4945 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4946 wxString
*arg2
= 0 ;
4947 int arg3
= (int) 0 ;
4948 bool temp2
= False
;
4949 PyObject
* obj0
= 0 ;
4950 PyObject
* obj1
= 0 ;
4951 PyObject
* obj2
= 0 ;
4953 (char *) "self",(char *) "text",(char *) "number", NULL
4956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4959 arg2
= wxString_in_helper(obj1
);
4960 if (arg2
== NULL
) SWIG_fail
;
4965 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4966 if (PyErr_Occurred()) SWIG_fail
;
4970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4971 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
4973 wxPyEndAllowThreads(__tstate
);
4974 if (PyErr_Occurred()) SWIG_fail
;
4976 Py_INCREF(Py_None
); resultobj
= Py_None
;
4991 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4992 PyObject
*resultobj
;
4993 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4994 int arg2
= (int) 0 ;
4995 PyObject
* obj0
= 0 ;
4996 PyObject
* obj1
= 0 ;
4998 (char *) "self",(char *) "number", NULL
5001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5005 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5011 (arg1
)->PopStatusText(arg2
);
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5016 Py_INCREF(Py_None
); resultobj
= Py_None
;
5023 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
*resultobj
;
5025 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5027 int *arg3
= (int *) 0 ;
5028 PyObject
* obj0
= 0 ;
5029 PyObject
* obj1
= 0 ;
5031 (char *) "self",(char *) "widths", NULL
5034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5037 arg2
= PyList_Size(obj1
);
5038 arg3
= int_LIST_helper(obj1
);
5039 if (arg3
== NULL
) SWIG_fail
;
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5043 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5045 wxPyEndAllowThreads(__tstate
);
5046 if (PyErr_Occurred()) SWIG_fail
;
5048 Py_INCREF(Py_None
); resultobj
= Py_None
;
5050 if (arg3
) delete [] arg3
;
5055 if (arg3
) delete [] arg3
;
5061 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
*resultobj
;
5063 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5066 PyObject
* obj0
= 0 ;
5067 PyObject
* obj1
= 0 ;
5069 (char *) "self",(char *) "i", NULL
5072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5075 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5076 if (PyErr_Occurred()) SWIG_fail
;
5079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5080 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5082 wxPyEndAllowThreads(__tstate
);
5083 if (PyErr_Occurred()) SWIG_fail
;
5087 resultptr
= new wxRect((wxRect
&) result
);
5088 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
5096 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
*resultobj
;
5098 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5100 PyObject
* obj0
= 0 ;
5101 PyObject
* obj1
= 0 ;
5103 (char *) "self",(char *) "height", NULL
5106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5109 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5110 if (PyErr_Occurred()) SWIG_fail
;
5113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5114 (arg1
)->SetMinHeight(arg2
);
5116 wxPyEndAllowThreads(__tstate
);
5117 if (PyErr_Occurred()) SWIG_fail
;
5119 Py_INCREF(Py_None
); resultobj
= Py_None
;
5126 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5127 PyObject
*resultobj
;
5128 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5130 PyObject
* obj0
= 0 ;
5132 (char *) "self", NULL
5135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5139 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5141 wxPyEndAllowThreads(__tstate
);
5142 if (PyErr_Occurred()) SWIG_fail
;
5144 resultobj
= SWIG_PyObj_FromInt((int)result
);
5151 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5152 PyObject
*resultobj
;
5153 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5155 PyObject
* obj0
= 0 ;
5157 (char *) "self", NULL
5160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5164 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5166 wxPyEndAllowThreads(__tstate
);
5167 if (PyErr_Occurred()) SWIG_fail
;
5169 resultobj
= SWIG_PyObj_FromInt((int)result
);
5176 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5178 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5179 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5181 return Py_BuildValue((char *)"");
5183 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5184 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5189 static PyObject
*_wrap_SplitterNameStr_get() {
5194 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5196 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5203 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5204 PyObject
*resultobj
;
5205 wxWindow
*arg1
= (wxWindow
*) 0 ;
5207 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5208 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5209 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5210 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5211 long arg5
= (long) wxSP_3D
;
5212 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5213 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5214 wxSplitterWindow
*result
;
5217 bool temp6
= False
;
5218 PyObject
* obj0
= 0 ;
5219 PyObject
* obj1
= 0 ;
5220 PyObject
* obj2
= 0 ;
5221 PyObject
* obj3
= 0 ;
5222 PyObject
* obj4
= 0 ;
5223 PyObject
* obj5
= 0 ;
5225 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5231 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5232 if (PyErr_Occurred()) SWIG_fail
;
5237 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5243 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5248 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
5249 if (PyErr_Occurred()) SWIG_fail
;
5254 arg6
= wxString_in_helper(obj5
);
5255 if (arg6
== NULL
) SWIG_fail
;
5260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5261 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5263 wxPyEndAllowThreads(__tstate
);
5264 if (PyErr_Occurred()) SWIG_fail
;
5266 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
5281 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5282 PyObject
*resultobj
;
5283 wxSplitterWindow
*result
;
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5291 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5293 wxPyEndAllowThreads(__tstate
);
5294 if (PyErr_Occurred()) SWIG_fail
;
5296 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
5303 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5304 PyObject
*resultobj
;
5305 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5306 wxWindow
*arg2
= (wxWindow
*) 0 ;
5308 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5309 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5310 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5311 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5312 long arg6
= (long) wxSP_3D
;
5313 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5314 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5318 bool temp7
= False
;
5319 PyObject
* obj0
= 0 ;
5320 PyObject
* obj1
= 0 ;
5321 PyObject
* obj2
= 0 ;
5322 PyObject
* obj3
= 0 ;
5323 PyObject
* obj4
= 0 ;
5324 PyObject
* obj5
= 0 ;
5325 PyObject
* obj6
= 0 ;
5327 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5332 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5334 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5335 if (PyErr_Occurred()) SWIG_fail
;
5340 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5346 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5351 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
5352 if (PyErr_Occurred()) SWIG_fail
;
5357 arg7
= wxString_in_helper(obj6
);
5358 if (arg7
== NULL
) SWIG_fail
;
5363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5364 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5366 wxPyEndAllowThreads(__tstate
);
5367 if (PyErr_Occurred()) SWIG_fail
;
5369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5384 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5385 PyObject
*resultobj
;
5386 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5388 PyObject
* obj0
= 0 ;
5390 (char *) "self", NULL
5393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5397 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5399 wxPyEndAllowThreads(__tstate
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5403 resultobj
= wxPyMake_wxObject(result
);
5411 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5412 PyObject
*resultobj
;
5413 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5415 PyObject
* obj0
= 0 ;
5417 (char *) "self", NULL
5420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5424 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5426 wxPyEndAllowThreads(__tstate
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5430 resultobj
= wxPyMake_wxObject(result
);
5438 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5439 PyObject
*resultobj
;
5440 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5442 PyObject
* obj0
= 0 ;
5443 PyObject
* obj1
= 0 ;
5445 (char *) "self",(char *) "mode", NULL
5448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5451 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5452 if (PyErr_Occurred()) SWIG_fail
;
5455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5456 (arg1
)->SetSplitMode(arg2
);
5458 wxPyEndAllowThreads(__tstate
);
5459 if (PyErr_Occurred()) SWIG_fail
;
5461 Py_INCREF(Py_None
); resultobj
= Py_None
;
5468 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5469 PyObject
*resultobj
;
5470 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5472 PyObject
* obj0
= 0 ;
5474 (char *) "self", NULL
5477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5481 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5483 wxPyEndAllowThreads(__tstate
);
5484 if (PyErr_Occurred()) SWIG_fail
;
5486 resultobj
= SWIG_PyObj_FromInt((int)result
);
5493 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5494 PyObject
*resultobj
;
5495 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5496 wxWindow
*arg2
= (wxWindow
*) 0 ;
5497 PyObject
* obj0
= 0 ;
5498 PyObject
* obj1
= 0 ;
5500 (char *) "self",(char *) "window", NULL
5503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5505 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5508 (arg1
)->Initialize(arg2
);
5510 wxPyEndAllowThreads(__tstate
);
5511 if (PyErr_Occurred()) SWIG_fail
;
5513 Py_INCREF(Py_None
); resultobj
= Py_None
;
5520 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5521 PyObject
*resultobj
;
5522 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5523 wxWindow
*arg2
= (wxWindow
*) 0 ;
5524 wxWindow
*arg3
= (wxWindow
*) 0 ;
5525 int arg4
= (int) 0 ;
5527 PyObject
* obj0
= 0 ;
5528 PyObject
* obj1
= 0 ;
5529 PyObject
* obj2
= 0 ;
5530 PyObject
* obj3
= 0 ;
5532 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5537 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5538 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5541 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5542 if (PyErr_Occurred()) SWIG_fail
;
5546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5547 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5549 wxPyEndAllowThreads(__tstate
);
5550 if (PyErr_Occurred()) SWIG_fail
;
5552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5559 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5560 PyObject
*resultobj
;
5561 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5562 wxWindow
*arg2
= (wxWindow
*) 0 ;
5563 wxWindow
*arg3
= (wxWindow
*) 0 ;
5564 int arg4
= (int) 0 ;
5566 PyObject
* obj0
= 0 ;
5567 PyObject
* obj1
= 0 ;
5568 PyObject
* obj2
= 0 ;
5569 PyObject
* obj3
= 0 ;
5571 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5576 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5577 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5580 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5581 if (PyErr_Occurred()) SWIG_fail
;
5585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5586 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5588 wxPyEndAllowThreads(__tstate
);
5589 if (PyErr_Occurred()) SWIG_fail
;
5591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5598 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5599 PyObject
*resultobj
;
5600 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5601 wxWindow
*arg2
= (wxWindow
*) NULL
;
5603 PyObject
* obj0
= 0 ;
5604 PyObject
* obj1
= 0 ;
5606 (char *) "self",(char *) "toRemove", NULL
5609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5612 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 result
= (bool)(arg1
)->Unsplit(arg2
);
5618 wxPyEndAllowThreads(__tstate
);
5619 if (PyErr_Occurred()) SWIG_fail
;
5621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5628 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5629 PyObject
*resultobj
;
5630 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5631 wxWindow
*arg2
= (wxWindow
*) 0 ;
5632 wxWindow
*arg3
= (wxWindow
*) 0 ;
5634 PyObject
* obj0
= 0 ;
5635 PyObject
* obj1
= 0 ;
5636 PyObject
* obj2
= 0 ;
5638 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5643 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5644 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5647 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5649 wxPyEndAllowThreads(__tstate
);
5650 if (PyErr_Occurred()) SWIG_fail
;
5652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5659 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
*resultobj
;
5661 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5663 PyObject
* obj0
= 0 ;
5665 (char *) "self", NULL
5668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5674 wxPyEndAllowThreads(__tstate
);
5675 if (PyErr_Occurred()) SWIG_fail
;
5677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5684 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5685 PyObject
*resultobj
;
5686 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5688 PyObject
* obj0
= 0 ;
5689 PyObject
* obj1
= 0 ;
5691 (char *) "self",(char *) "width", NULL
5694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5697 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5698 if (PyErr_Occurred()) SWIG_fail
;
5701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5702 (arg1
)->SetSashSize(arg2
);
5704 wxPyEndAllowThreads(__tstate
);
5705 if (PyErr_Occurred()) SWIG_fail
;
5707 Py_INCREF(Py_None
); resultobj
= Py_None
;
5714 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5715 PyObject
*resultobj
;
5716 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5718 PyObject
* obj0
= 0 ;
5719 PyObject
* obj1
= 0 ;
5721 (char *) "self",(char *) "width", NULL
5724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5727 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5728 if (PyErr_Occurred()) SWIG_fail
;
5731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5732 (arg1
)->SetBorderSize(arg2
);
5734 wxPyEndAllowThreads(__tstate
);
5735 if (PyErr_Occurred()) SWIG_fail
;
5737 Py_INCREF(Py_None
); resultobj
= Py_None
;
5744 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5745 PyObject
*resultobj
;
5746 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5748 PyObject
* obj0
= 0 ;
5750 (char *) "self", NULL
5753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
5754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5757 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
5759 wxPyEndAllowThreads(__tstate
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5762 resultobj
= SWIG_PyObj_FromInt((int)result
);
5769 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5770 PyObject
*resultobj
;
5771 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5773 PyObject
* obj0
= 0 ;
5775 (char *) "self", NULL
5778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
5779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5782 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
5784 wxPyEndAllowThreads(__tstate
);
5785 if (PyErr_Occurred()) SWIG_fail
;
5787 resultobj
= SWIG_PyObj_FromInt((int)result
);
5794 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5795 PyObject
*resultobj
;
5796 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5798 bool arg3
= (bool) True
;
5799 PyObject
* obj0
= 0 ;
5800 PyObject
* obj1
= 0 ;
5801 PyObject
* obj2
= 0 ;
5803 (char *) "self",(char *) "position",(char *) "redraw", NULL
5806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5809 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5810 if (PyErr_Occurred()) SWIG_fail
;
5814 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
5815 if (PyErr_Occurred()) SWIG_fail
;
5819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5820 (arg1
)->SetSashPosition(arg2
,arg3
);
5822 wxPyEndAllowThreads(__tstate
);
5823 if (PyErr_Occurred()) SWIG_fail
;
5825 Py_INCREF(Py_None
); resultobj
= Py_None
;
5832 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5833 PyObject
*resultobj
;
5834 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5836 PyObject
* obj0
= 0 ;
5838 (char *) "self", NULL
5841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5845 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
5847 wxPyEndAllowThreads(__tstate
);
5848 if (PyErr_Occurred()) SWIG_fail
;
5850 resultobj
= SWIG_PyObj_FromInt((int)result
);
5857 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5858 PyObject
*resultobj
;
5859 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5861 PyObject
* obj0
= 0 ;
5862 PyObject
* obj1
= 0 ;
5864 (char *) "self",(char *) "min", NULL
5867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5870 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5871 if (PyErr_Occurred()) SWIG_fail
;
5874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5875 (arg1
)->SetMinimumPaneSize(arg2
);
5877 wxPyEndAllowThreads(__tstate
);
5878 if (PyErr_Occurred()) SWIG_fail
;
5880 Py_INCREF(Py_None
); resultobj
= Py_None
;
5887 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5888 PyObject
*resultobj
;
5889 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5891 PyObject
* obj0
= 0 ;
5893 (char *) "self", NULL
5896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
5897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5900 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
5902 wxPyEndAllowThreads(__tstate
);
5903 if (PyErr_Occurred()) SWIG_fail
;
5905 resultobj
= SWIG_PyObj_FromInt((int)result
);
5912 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5913 PyObject
*resultobj
;
5914 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5917 int arg4
= (int) 5 ;
5919 PyObject
* obj0
= 0 ;
5920 PyObject
* obj1
= 0 ;
5921 PyObject
* obj2
= 0 ;
5922 PyObject
* obj3
= 0 ;
5924 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5930 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5931 if (PyErr_Occurred()) SWIG_fail
;
5934 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5935 if (PyErr_Occurred()) SWIG_fail
;
5939 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5940 if (PyErr_Occurred()) SWIG_fail
;
5944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5945 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
5947 wxPyEndAllowThreads(__tstate
);
5948 if (PyErr_Occurred()) SWIG_fail
;
5950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5957 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5958 PyObject
*resultobj
;
5959 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5960 PyObject
* obj0
= 0 ;
5962 (char *) "self", NULL
5965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
5966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5969 (arg1
)->SizeWindows();
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5974 Py_INCREF(Py_None
); resultobj
= Py_None
;
5981 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
*resultobj
;
5983 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5985 PyObject
* obj0
= 0 ;
5986 PyObject
* obj1
= 0 ;
5988 (char *) "self",(char *) "needUpdating", NULL
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
5992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5994 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
5995 if (PyErr_Occurred()) SWIG_fail
;
5998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5999 (arg1
)->SetNeedUpdating(arg2
);
6001 wxPyEndAllowThreads(__tstate
);
6002 if (PyErr_Occurred()) SWIG_fail
;
6004 Py_INCREF(Py_None
); resultobj
= Py_None
;
6011 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
*resultobj
;
6013 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6015 PyObject
* obj0
= 0 ;
6017 (char *) "self", NULL
6020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6024 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6026 wxPyEndAllowThreads(__tstate
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6036 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6039 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6041 return Py_BuildValue((char *)"");
6043 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6044 PyObject
*resultobj
;
6045 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6046 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6047 wxSplitterEvent
*result
;
6048 PyObject
* obj0
= 0 ;
6049 PyObject
* obj1
= 0 ;
6051 (char *) "type",(char *) "splitter", NULL
6054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6057 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
6058 if (PyErr_Occurred()) SWIG_fail
;
6062 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6066 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6068 wxPyEndAllowThreads(__tstate
);
6069 if (PyErr_Occurred()) SWIG_fail
;
6071 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterEvent
, 1);
6078 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6079 PyObject
*resultobj
;
6080 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6082 PyObject
* obj0
= 0 ;
6083 PyObject
* obj1
= 0 ;
6085 (char *) "self",(char *) "pos", NULL
6088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6091 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6092 if (PyErr_Occurred()) SWIG_fail
;
6095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 (arg1
)->SetSashPosition(arg2
);
6098 wxPyEndAllowThreads(__tstate
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6101 Py_INCREF(Py_None
); resultobj
= Py_None
;
6108 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6109 PyObject
*resultobj
;
6110 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6112 PyObject
* obj0
= 0 ;
6114 (char *) "self", NULL
6117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6121 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6123 wxPyEndAllowThreads(__tstate
);
6124 if (PyErr_Occurred()) SWIG_fail
;
6126 resultobj
= SWIG_PyObj_FromInt((int)result
);
6133 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6134 PyObject
*resultobj
;
6135 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6137 PyObject
* obj0
= 0 ;
6139 (char *) "self", NULL
6142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6146 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6148 wxPyEndAllowThreads(__tstate
);
6149 if (PyErr_Occurred()) SWIG_fail
;
6152 resultobj
= wxPyMake_wxObject(result
);
6160 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6161 PyObject
*resultobj
;
6162 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6164 PyObject
* obj0
= 0 ;
6166 (char *) "self", NULL
6169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6178 resultobj
= SWIG_PyObj_FromInt((int)result
);
6185 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6186 PyObject
*resultobj
;
6187 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6189 PyObject
* obj0
= 0 ;
6191 (char *) "self", NULL
6194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6198 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6200 wxPyEndAllowThreads(__tstate
);
6201 if (PyErr_Occurred()) SWIG_fail
;
6203 resultobj
= SWIG_PyObj_FromInt((int)result
);
6210 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6213 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6215 return Py_BuildValue((char *)"");
6217 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6218 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6223 static PyObject
*_wrap_SashNameStr_get() {
6228 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6230 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6237 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6238 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6243 static PyObject
*_wrap_SashLayoutNameStr_get() {
6248 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6250 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6257 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6258 PyObject
*resultobj
;
6259 wxWindow
*arg1
= (wxWindow
*) 0 ;
6261 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6262 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6263 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6264 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6265 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6266 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6267 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6268 wxSashWindow
*result
;
6271 bool temp6
= False
;
6272 PyObject
* obj0
= 0 ;
6273 PyObject
* obj1
= 0 ;
6274 PyObject
* obj2
= 0 ;
6275 PyObject
* obj3
= 0 ;
6276 PyObject
* obj4
= 0 ;
6277 PyObject
* obj5
= 0 ;
6279 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6285 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6286 if (PyErr_Occurred()) SWIG_fail
;
6291 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6297 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6302 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
6303 if (PyErr_Occurred()) SWIG_fail
;
6308 arg6
= wxString_in_helper(obj5
);
6309 if (arg6
== NULL
) SWIG_fail
;
6314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6315 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6317 wxPyEndAllowThreads(__tstate
);
6318 if (PyErr_Occurred()) SWIG_fail
;
6320 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
6335 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
*resultobj
;
6337 wxSashWindow
*result
;
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6345 result
= (wxSashWindow
*)new wxSashWindow();
6347 wxPyEndAllowThreads(__tstate
);
6348 if (PyErr_Occurred()) SWIG_fail
;
6350 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
6357 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6358 PyObject
*resultobj
;
6359 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6360 wxWindow
*arg2
= (wxWindow
*) 0 ;
6362 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6363 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6364 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6365 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6366 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6367 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6368 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6372 bool temp7
= False
;
6373 PyObject
* obj0
= 0 ;
6374 PyObject
* obj1
= 0 ;
6375 PyObject
* obj2
= 0 ;
6376 PyObject
* obj3
= 0 ;
6377 PyObject
* obj4
= 0 ;
6378 PyObject
* obj5
= 0 ;
6379 PyObject
* obj6
= 0 ;
6381 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6386 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6388 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6389 if (PyErr_Occurred()) SWIG_fail
;
6394 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6400 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6405 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
6406 if (PyErr_Occurred()) SWIG_fail
;
6411 arg7
= wxString_in_helper(obj6
);
6412 if (arg7
== NULL
) SWIG_fail
;
6417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6418 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6420 wxPyEndAllowThreads(__tstate
);
6421 if (PyErr_Occurred()) SWIG_fail
;
6423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6438 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
*resultobj
;
6440 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6443 PyObject
* obj0
= 0 ;
6444 PyObject
* obj1
= 0 ;
6445 PyObject
* obj2
= 0 ;
6447 (char *) "self",(char *) "edge",(char *) "sash", NULL
6450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6453 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6457 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6458 if (PyErr_Occurred()) SWIG_fail
;
6461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6462 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6464 wxPyEndAllowThreads(__tstate
);
6465 if (PyErr_Occurred()) SWIG_fail
;
6467 Py_INCREF(Py_None
); resultobj
= Py_None
;
6474 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6475 PyObject
*resultobj
;
6476 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6479 PyObject
* obj0
= 0 ;
6480 PyObject
* obj1
= 0 ;
6482 (char *) "self",(char *) "edge", NULL
6485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6488 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
6489 if (PyErr_Occurred()) SWIG_fail
;
6492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6493 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6495 wxPyEndAllowThreads(__tstate
);
6496 if (PyErr_Occurred()) SWIG_fail
;
6498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6505 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6506 PyObject
*resultobj
;
6507 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6510 PyObject
* obj0
= 0 ;
6511 PyObject
* obj1
= 0 ;
6512 PyObject
* obj2
= 0 ;
6514 (char *) "self",(char *) "edge",(char *) "border", NULL
6517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6520 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
6521 if (PyErr_Occurred()) SWIG_fail
;
6524 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6525 if (PyErr_Occurred()) SWIG_fail
;
6528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6529 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6531 wxPyEndAllowThreads(__tstate
);
6532 if (PyErr_Occurred()) SWIG_fail
;
6534 Py_INCREF(Py_None
); resultobj
= Py_None
;
6541 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6542 PyObject
*resultobj
;
6543 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6546 PyObject
* obj0
= 0 ;
6547 PyObject
* obj1
= 0 ;
6549 (char *) "self",(char *) "edge", NULL
6552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
6553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6555 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6560 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
6562 wxPyEndAllowThreads(__tstate
);
6563 if (PyErr_Occurred()) SWIG_fail
;
6565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6572 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6573 PyObject
*resultobj
;
6574 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6577 PyObject
* obj0
= 0 ;
6578 PyObject
* obj1
= 0 ;
6580 (char *) "self",(char *) "edge", NULL
6583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
6584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6586 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
6587 if (PyErr_Occurred()) SWIG_fail
;
6590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6591 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
6593 wxPyEndAllowThreads(__tstate
);
6594 if (PyErr_Occurred()) SWIG_fail
;
6596 resultobj
= SWIG_PyObj_FromInt((int)result
);
6603 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6604 PyObject
*resultobj
;
6605 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6607 PyObject
* obj0
= 0 ;
6608 PyObject
* obj1
= 0 ;
6610 (char *) "self",(char *) "width", NULL
6613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6616 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6617 if (PyErr_Occurred()) SWIG_fail
;
6620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6621 (arg1
)->SetDefaultBorderSize(arg2
);
6623 wxPyEndAllowThreads(__tstate
);
6624 if (PyErr_Occurred()) SWIG_fail
;
6626 Py_INCREF(Py_None
); resultobj
= Py_None
;
6633 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6634 PyObject
*resultobj
;
6635 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6637 PyObject
* obj0
= 0 ;
6639 (char *) "self", NULL
6642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
6643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6646 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
6648 wxPyEndAllowThreads(__tstate
);
6649 if (PyErr_Occurred()) SWIG_fail
;
6651 resultobj
= SWIG_PyObj_FromInt((int)result
);
6658 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6659 PyObject
*resultobj
;
6660 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6662 PyObject
* obj0
= 0 ;
6663 PyObject
* obj1
= 0 ;
6665 (char *) "self",(char *) "width", NULL
6668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6671 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6672 if (PyErr_Occurred()) SWIG_fail
;
6675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6676 (arg1
)->SetExtraBorderSize(arg2
);
6678 wxPyEndAllowThreads(__tstate
);
6679 if (PyErr_Occurred()) SWIG_fail
;
6681 Py_INCREF(Py_None
); resultobj
= Py_None
;
6688 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6689 PyObject
*resultobj
;
6690 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6692 PyObject
* obj0
= 0 ;
6694 (char *) "self", NULL
6697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
6698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6701 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
6703 wxPyEndAllowThreads(__tstate
);
6704 if (PyErr_Occurred()) SWIG_fail
;
6706 resultobj
= SWIG_PyObj_FromInt((int)result
);
6713 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
*resultobj
;
6715 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6717 PyObject
* obj0
= 0 ;
6718 PyObject
* obj1
= 0 ;
6720 (char *) "self",(char *) "min", NULL
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6726 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6727 if (PyErr_Occurred()) SWIG_fail
;
6730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6731 (arg1
)->SetMinimumSizeX(arg2
);
6733 wxPyEndAllowThreads(__tstate
);
6734 if (PyErr_Occurred()) SWIG_fail
;
6736 Py_INCREF(Py_None
); resultobj
= Py_None
;
6743 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6744 PyObject
*resultobj
;
6745 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6747 PyObject
* obj0
= 0 ;
6748 PyObject
* obj1
= 0 ;
6750 (char *) "self",(char *) "min", NULL
6753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
6754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6756 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6757 if (PyErr_Occurred()) SWIG_fail
;
6760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6761 (arg1
)->SetMinimumSizeY(arg2
);
6763 wxPyEndAllowThreads(__tstate
);
6764 if (PyErr_Occurred()) SWIG_fail
;
6766 Py_INCREF(Py_None
); resultobj
= Py_None
;
6773 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6774 PyObject
*resultobj
;
6775 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6777 PyObject
* obj0
= 0 ;
6779 (char *) "self", NULL
6782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
6783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6786 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
6788 wxPyEndAllowThreads(__tstate
);
6789 if (PyErr_Occurred()) SWIG_fail
;
6791 resultobj
= SWIG_PyObj_FromInt((int)result
);
6798 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6799 PyObject
*resultobj
;
6800 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6802 PyObject
* obj0
= 0 ;
6804 (char *) "self", NULL
6807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
6808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6811 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
6813 wxPyEndAllowThreads(__tstate
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6816 resultobj
= SWIG_PyObj_FromInt((int)result
);
6823 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
*resultobj
;
6825 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6827 PyObject
* obj0
= 0 ;
6828 PyObject
* obj1
= 0 ;
6830 (char *) "self",(char *) "max", NULL
6833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6836 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6837 if (PyErr_Occurred()) SWIG_fail
;
6840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6841 (arg1
)->SetMaximumSizeX(arg2
);
6843 wxPyEndAllowThreads(__tstate
);
6844 if (PyErr_Occurred()) SWIG_fail
;
6846 Py_INCREF(Py_None
); resultobj
= Py_None
;
6853 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6854 PyObject
*resultobj
;
6855 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6857 PyObject
* obj0
= 0 ;
6858 PyObject
* obj1
= 0 ;
6860 (char *) "self",(char *) "max", NULL
6863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
6864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6866 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6867 if (PyErr_Occurred()) SWIG_fail
;
6870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6871 (arg1
)->SetMaximumSizeY(arg2
);
6873 wxPyEndAllowThreads(__tstate
);
6874 if (PyErr_Occurred()) SWIG_fail
;
6876 Py_INCREF(Py_None
); resultobj
= Py_None
;
6883 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6884 PyObject
*resultobj
;
6885 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6887 PyObject
* obj0
= 0 ;
6889 (char *) "self", NULL
6892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
6893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6896 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
6898 wxPyEndAllowThreads(__tstate
);
6899 if (PyErr_Occurred()) SWIG_fail
;
6901 resultobj
= SWIG_PyObj_FromInt((int)result
);
6908 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6909 PyObject
*resultobj
;
6910 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6912 PyObject
* obj0
= 0 ;
6914 (char *) "self", NULL
6917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
6918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
6923 wxPyEndAllowThreads(__tstate
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6926 resultobj
= SWIG_PyObj_FromInt((int)result
);
6933 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6934 PyObject
*resultobj
;
6935 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6938 int arg4
= (int) 2 ;
6940 PyObject
* obj0
= 0 ;
6941 PyObject
* obj1
= 0 ;
6942 PyObject
* obj2
= 0 ;
6943 PyObject
* obj3
= 0 ;
6945 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6951 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6952 if (PyErr_Occurred()) SWIG_fail
;
6955 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6956 if (PyErr_Occurred()) SWIG_fail
;
6960 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
6961 if (PyErr_Occurred()) SWIG_fail
;
6965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6966 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6968 wxPyEndAllowThreads(__tstate
);
6969 if (PyErr_Occurred()) SWIG_fail
;
6971 resultobj
= SWIG_PyObj_FromInt((int)result
);
6978 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6979 PyObject
*resultobj
;
6980 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6981 PyObject
* obj0
= 0 ;
6983 (char *) "self", NULL
6986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6990 (arg1
)->SizeWindows();
6992 wxPyEndAllowThreads(__tstate
);
6993 if (PyErr_Occurred()) SWIG_fail
;
6995 Py_INCREF(Py_None
); resultobj
= Py_None
;
7002 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7004 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7005 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7007 return Py_BuildValue((char *)"");
7009 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7010 PyObject
*resultobj
;
7011 int arg1
= (int) 0 ;
7012 int arg2
= (int) wxSASH_NONE
;
7013 wxSashEvent
*result
;
7014 PyObject
* obj0
= 0 ;
7015 PyObject
* obj1
= 0 ;
7017 (char *) "id",(char *) "edge", NULL
7020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7023 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7024 if (PyErr_Occurred()) SWIG_fail
;
7029 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
7030 if (PyErr_Occurred()) SWIG_fail
;
7034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7035 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7037 wxPyEndAllowThreads(__tstate
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7040 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashEvent
, 1);
7047 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
*resultobj
;
7049 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7051 PyObject
* obj0
= 0 ;
7052 PyObject
* obj1
= 0 ;
7054 (char *) "self",(char *) "edge", NULL
7057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7060 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
7061 if (PyErr_Occurred()) SWIG_fail
;
7064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7065 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7067 wxPyEndAllowThreads(__tstate
);
7068 if (PyErr_Occurred()) SWIG_fail
;
7070 Py_INCREF(Py_None
); resultobj
= Py_None
;
7077 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7078 PyObject
*resultobj
;
7079 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7081 PyObject
* obj0
= 0 ;
7083 (char *) "self", NULL
7086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7090 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7092 wxPyEndAllowThreads(__tstate
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7095 resultobj
= SWIG_PyObj_FromInt((int)result
);
7102 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7103 PyObject
*resultobj
;
7104 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7107 PyObject
* obj0
= 0 ;
7108 PyObject
* obj1
= 0 ;
7110 (char *) "self",(char *) "rect", NULL
7113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7117 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7121 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7123 wxPyEndAllowThreads(__tstate
);
7124 if (PyErr_Occurred()) SWIG_fail
;
7126 Py_INCREF(Py_None
); resultobj
= Py_None
;
7133 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
*resultobj
;
7135 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7137 PyObject
* obj0
= 0 ;
7139 (char *) "self", NULL
7142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7146 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7148 wxPyEndAllowThreads(__tstate
);
7149 if (PyErr_Occurred()) SWIG_fail
;
7153 resultptr
= new wxRect((wxRect
&) result
);
7154 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
7162 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7163 PyObject
*resultobj
;
7164 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7166 PyObject
* obj0
= 0 ;
7167 PyObject
* obj1
= 0 ;
7169 (char *) "self",(char *) "status", NULL
7172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7175 arg2
= (wxSashDragStatus
) SWIG_PyObj_AsInt(obj1
);
7176 if (PyErr_Occurred()) SWIG_fail
;
7179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7180 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7182 wxPyEndAllowThreads(__tstate
);
7183 if (PyErr_Occurred()) SWIG_fail
;
7185 Py_INCREF(Py_None
); resultobj
= Py_None
;
7192 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7193 PyObject
*resultobj
;
7194 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7196 PyObject
* obj0
= 0 ;
7198 (char *) "self", NULL
7201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7205 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7207 wxPyEndAllowThreads(__tstate
);
7208 if (PyErr_Occurred()) SWIG_fail
;
7210 resultobj
= SWIG_PyObj_FromInt((int)result
);
7217 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7220 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7222 return Py_BuildValue((char *)"");
7224 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7225 PyObject
*resultobj
;
7226 int arg1
= (int) 0 ;
7227 wxQueryLayoutInfoEvent
*result
;
7228 PyObject
* obj0
= 0 ;
7233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7236 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7237 if (PyErr_Occurred()) SWIG_fail
;
7241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7242 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7244 wxPyEndAllowThreads(__tstate
);
7245 if (PyErr_Occurred()) SWIG_fail
;
7247 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7254 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7255 PyObject
*resultobj
;
7256 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7258 PyObject
* obj0
= 0 ;
7259 PyObject
* obj1
= 0 ;
7261 (char *) "self",(char *) "length", NULL
7264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7267 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7268 if (PyErr_Occurred()) SWIG_fail
;
7271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7272 (arg1
)->SetRequestedLength(arg2
);
7274 wxPyEndAllowThreads(__tstate
);
7275 if (PyErr_Occurred()) SWIG_fail
;
7277 Py_INCREF(Py_None
); resultobj
= Py_None
;
7284 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7285 PyObject
*resultobj
;
7286 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7288 PyObject
* obj0
= 0 ;
7290 (char *) "self", NULL
7293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7297 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7299 wxPyEndAllowThreads(__tstate
);
7300 if (PyErr_Occurred()) SWIG_fail
;
7302 resultobj
= SWIG_PyObj_FromInt((int)result
);
7309 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7310 PyObject
*resultobj
;
7311 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7313 PyObject
* obj0
= 0 ;
7314 PyObject
* obj1
= 0 ;
7316 (char *) "self",(char *) "flags", NULL
7319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7322 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7323 if (PyErr_Occurred()) SWIG_fail
;
7326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 (arg1
)->SetFlags(arg2
);
7329 wxPyEndAllowThreads(__tstate
);
7330 if (PyErr_Occurred()) SWIG_fail
;
7332 Py_INCREF(Py_None
); resultobj
= Py_None
;
7339 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7340 PyObject
*resultobj
;
7341 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7343 PyObject
* obj0
= 0 ;
7345 (char *) "self", NULL
7348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7352 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7354 wxPyEndAllowThreads(__tstate
);
7355 if (PyErr_Occurred()) SWIG_fail
;
7357 resultobj
= SWIG_PyObj_FromInt((int)result
);
7364 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7365 PyObject
*resultobj
;
7366 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7369 PyObject
* obj0
= 0 ;
7370 PyObject
* obj1
= 0 ;
7372 (char *) "self",(char *) "size", NULL
7375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7379 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7383 (arg1
)->SetSize((wxSize
const &)*arg2
);
7385 wxPyEndAllowThreads(__tstate
);
7386 if (PyErr_Occurred()) SWIG_fail
;
7388 Py_INCREF(Py_None
); resultobj
= Py_None
;
7395 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7396 PyObject
*resultobj
;
7397 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7399 PyObject
* obj0
= 0 ;
7401 (char *) "self", NULL
7404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7408 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7410 wxPyEndAllowThreads(__tstate
);
7411 if (PyErr_Occurred()) SWIG_fail
;
7415 resultptr
= new wxSize((wxSize
&) result
);
7416 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
7424 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7425 PyObject
*resultobj
;
7426 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7428 PyObject
* obj0
= 0 ;
7429 PyObject
* obj1
= 0 ;
7431 (char *) "self",(char *) "orient", NULL
7434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7437 arg2
= (wxLayoutOrientation
) SWIG_PyObj_AsInt(obj1
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7442 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7444 wxPyEndAllowThreads(__tstate
);
7445 if (PyErr_Occurred()) SWIG_fail
;
7447 Py_INCREF(Py_None
); resultobj
= Py_None
;
7454 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7455 PyObject
*resultobj
;
7456 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7458 PyObject
* obj0
= 0 ;
7460 (char *) "self", NULL
7463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7467 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7469 wxPyEndAllowThreads(__tstate
);
7470 if (PyErr_Occurred()) SWIG_fail
;
7472 resultobj
= SWIG_PyObj_FromInt((int)result
);
7479 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7480 PyObject
*resultobj
;
7481 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7483 PyObject
* obj0
= 0 ;
7484 PyObject
* obj1
= 0 ;
7486 (char *) "self",(char *) "align", NULL
7489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7492 arg2
= (wxLayoutAlignment
) SWIG_PyObj_AsInt(obj1
);
7493 if (PyErr_Occurred()) SWIG_fail
;
7496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7497 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7499 wxPyEndAllowThreads(__tstate
);
7500 if (PyErr_Occurred()) SWIG_fail
;
7502 Py_INCREF(Py_None
); resultobj
= Py_None
;
7509 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7510 PyObject
*resultobj
;
7511 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7513 PyObject
* obj0
= 0 ;
7515 (char *) "self", NULL
7518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7522 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
7524 wxPyEndAllowThreads(__tstate
);
7525 if (PyErr_Occurred()) SWIG_fail
;
7527 resultobj
= SWIG_PyObj_FromInt((int)result
);
7534 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7537 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7539 return Py_BuildValue((char *)"");
7541 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7542 PyObject
*resultobj
;
7543 int arg1
= (int) 0 ;
7544 wxCalculateLayoutEvent
*result
;
7545 PyObject
* obj0
= 0 ;
7550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
7553 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7554 if (PyErr_Occurred()) SWIG_fail
;
7558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7559 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
7561 wxPyEndAllowThreads(__tstate
);
7562 if (PyErr_Occurred()) SWIG_fail
;
7564 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
7571 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7572 PyObject
*resultobj
;
7573 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7575 PyObject
* obj0
= 0 ;
7576 PyObject
* obj1
= 0 ;
7578 (char *) "self",(char *) "flags", NULL
7581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7584 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7589 (arg1
)->SetFlags(arg2
);
7591 wxPyEndAllowThreads(__tstate
);
7592 if (PyErr_Occurred()) SWIG_fail
;
7594 Py_INCREF(Py_None
); resultobj
= Py_None
;
7601 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7602 PyObject
*resultobj
;
7603 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7605 PyObject
* obj0
= 0 ;
7607 (char *) "self", NULL
7610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7614 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
7616 wxPyEndAllowThreads(__tstate
);
7617 if (PyErr_Occurred()) SWIG_fail
;
7619 resultobj
= SWIG_PyObj_FromInt((int)result
);
7626 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7627 PyObject
*resultobj
;
7628 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7631 PyObject
* obj0
= 0 ;
7632 PyObject
* obj1
= 0 ;
7634 (char *) "self",(char *) "rect", NULL
7637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7641 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7645 (arg1
)->SetRect((wxRect
const &)*arg2
);
7647 wxPyEndAllowThreads(__tstate
);
7648 if (PyErr_Occurred()) SWIG_fail
;
7650 Py_INCREF(Py_None
); resultobj
= Py_None
;
7657 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7658 PyObject
*resultobj
;
7659 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7661 PyObject
* obj0
= 0 ;
7663 (char *) "self", NULL
7666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
7667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7670 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
7672 wxPyEndAllowThreads(__tstate
);
7673 if (PyErr_Occurred()) SWIG_fail
;
7677 resultptr
= new wxRect((wxRect
&) result
);
7678 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
7686 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7688 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7689 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
7691 return Py_BuildValue((char *)"");
7693 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7694 PyObject
*resultobj
;
7695 wxWindow
*arg1
= (wxWindow
*) 0 ;
7697 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7698 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7699 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7700 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7701 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7702 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
7703 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7704 wxSashLayoutWindow
*result
;
7707 bool temp6
= False
;
7708 PyObject
* obj0
= 0 ;
7709 PyObject
* obj1
= 0 ;
7710 PyObject
* obj2
= 0 ;
7711 PyObject
* obj3
= 0 ;
7712 PyObject
* obj4
= 0 ;
7713 PyObject
* obj5
= 0 ;
7715 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7721 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7722 if (PyErr_Occurred()) SWIG_fail
;
7727 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7733 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7738 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
7739 if (PyErr_Occurred()) SWIG_fail
;
7744 arg6
= wxString_in_helper(obj5
);
7745 if (arg6
== NULL
) SWIG_fail
;
7750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7751 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7753 wxPyEndAllowThreads(__tstate
);
7754 if (PyErr_Occurred()) SWIG_fail
;
7756 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
7771 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7772 PyObject
*resultobj
;
7773 wxSashLayoutWindow
*result
;
7778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
7780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7781 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
7783 wxPyEndAllowThreads(__tstate
);
7784 if (PyErr_Occurred()) SWIG_fail
;
7786 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
7793 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7794 PyObject
*resultobj
;
7795 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7796 wxWindow
*arg2
= (wxWindow
*) 0 ;
7798 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7799 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7800 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7801 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7802 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7803 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
7804 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7808 bool temp7
= False
;
7809 PyObject
* obj0
= 0 ;
7810 PyObject
* obj1
= 0 ;
7811 PyObject
* obj2
= 0 ;
7812 PyObject
* obj3
= 0 ;
7813 PyObject
* obj4
= 0 ;
7814 PyObject
* obj5
= 0 ;
7815 PyObject
* obj6
= 0 ;
7817 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7822 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7824 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7825 if (PyErr_Occurred()) SWIG_fail
;
7830 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7836 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7841 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7847 arg7
= wxString_in_helper(obj6
);
7848 if (arg7
== NULL
) SWIG_fail
;
7853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7854 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7856 wxPyEndAllowThreads(__tstate
);
7857 if (PyErr_Occurred()) SWIG_fail
;
7859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7874 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7875 PyObject
*resultobj
;
7876 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7878 PyObject
* obj0
= 0 ;
7880 (char *) "self", NULL
7883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
7884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7887 result
= (int)(arg1
)->GetAlignment();
7889 wxPyEndAllowThreads(__tstate
);
7890 if (PyErr_Occurred()) SWIG_fail
;
7892 resultobj
= SWIG_PyObj_FromInt((int)result
);
7899 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7900 PyObject
*resultobj
;
7901 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7903 PyObject
* obj0
= 0 ;
7905 (char *) "self", NULL
7908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
7909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7912 result
= (int)(arg1
)->GetOrientation();
7914 wxPyEndAllowThreads(__tstate
);
7915 if (PyErr_Occurred()) SWIG_fail
;
7917 resultobj
= SWIG_PyObj_FromInt((int)result
);
7924 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7925 PyObject
*resultobj
;
7926 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7928 PyObject
* obj0
= 0 ;
7929 PyObject
* obj1
= 0 ;
7931 (char *) "self",(char *) "alignment", NULL
7934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7937 arg2
= (wxLayoutAlignment
) SWIG_PyObj_AsInt(obj1
);
7938 if (PyErr_Occurred()) SWIG_fail
;
7941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7942 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7944 wxPyEndAllowThreads(__tstate
);
7945 if (PyErr_Occurred()) SWIG_fail
;
7947 Py_INCREF(Py_None
); resultobj
= Py_None
;
7954 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7955 PyObject
*resultobj
;
7956 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7959 PyObject
* obj0
= 0 ;
7960 PyObject
* obj1
= 0 ;
7962 (char *) "self",(char *) "size", NULL
7965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7969 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7973 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
7975 wxPyEndAllowThreads(__tstate
);
7976 if (PyErr_Occurred()) SWIG_fail
;
7978 Py_INCREF(Py_None
); resultobj
= Py_None
;
7985 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7986 PyObject
*resultobj
;
7987 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7989 PyObject
* obj0
= 0 ;
7990 PyObject
* obj1
= 0 ;
7992 (char *) "self",(char *) "orientation", NULL
7995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7998 arg2
= (wxLayoutOrientation
) SWIG_PyObj_AsInt(obj1
);
7999 if (PyErr_Occurred()) SWIG_fail
;
8002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8003 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8005 wxPyEndAllowThreads(__tstate
);
8006 if (PyErr_Occurred()) SWIG_fail
;
8008 Py_INCREF(Py_None
); resultobj
= Py_None
;
8015 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8018 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8020 return Py_BuildValue((char *)"");
8022 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8023 PyObject
*resultobj
;
8024 wxLayoutAlgorithm
*result
;
8029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8032 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8034 wxPyEndAllowThreads(__tstate
);
8035 if (PyErr_Occurred()) SWIG_fail
;
8037 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8044 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8045 PyObject
*resultobj
;
8046 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8047 PyObject
* obj0
= 0 ;
8049 (char *) "self", NULL
8052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8058 wxPyEndAllowThreads(__tstate
);
8059 if (PyErr_Occurred()) SWIG_fail
;
8061 Py_INCREF(Py_None
); resultobj
= Py_None
;
8068 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8069 PyObject
*resultobj
;
8070 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8071 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8072 wxRect
*arg3
= (wxRect
*) NULL
;
8074 PyObject
* obj0
= 0 ;
8075 PyObject
* obj1
= 0 ;
8076 PyObject
* obj2
= 0 ;
8078 (char *) "self",(char *) "frame",(char *) "rect", NULL
8081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8083 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8085 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8089 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8091 wxPyEndAllowThreads(__tstate
);
8092 if (PyErr_Occurred()) SWIG_fail
;
8094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8101 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8102 PyObject
*resultobj
;
8103 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8104 wxFrame
*arg2
= (wxFrame
*) 0 ;
8105 wxWindow
*arg3
= (wxWindow
*) NULL
;
8107 PyObject
* obj0
= 0 ;
8108 PyObject
* obj1
= 0 ;
8109 PyObject
* obj2
= 0 ;
8111 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8116 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8118 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8122 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8124 wxPyEndAllowThreads(__tstate
);
8125 if (PyErr_Occurred()) SWIG_fail
;
8127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8134 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8135 PyObject
*resultobj
;
8136 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8137 wxWindow
*arg2
= (wxWindow
*) 0 ;
8138 wxWindow
*arg3
= (wxWindow
*) NULL
;
8140 PyObject
* obj0
= 0 ;
8141 PyObject
* obj1
= 0 ;
8142 PyObject
* obj2
= 0 ;
8144 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8149 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8151 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8155 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8157 wxPyEndAllowThreads(__tstate
);
8158 if (PyErr_Occurred()) SWIG_fail
;
8160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8167 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8169 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8170 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8172 return Py_BuildValue((char *)"");
8174 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8175 PyObject
*resultobj
;
8176 wxWindow
*arg1
= (wxWindow
*) 0 ;
8177 int arg2
= (int) wxBORDER_NONE
;
8178 wxPopupWindow
*result
;
8179 PyObject
* obj0
= 0 ;
8180 PyObject
* obj1
= 0 ;
8182 (char *) "parent",(char *) "flags", NULL
8185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8189 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8190 if (PyErr_Occurred()) SWIG_fail
;
8194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8195 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8197 wxPyEndAllowThreads(__tstate
);
8198 if (PyErr_Occurred()) SWIG_fail
;
8200 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
8207 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8208 PyObject
*resultobj
;
8209 wxPopupWindow
*result
;
8214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8217 result
= (wxPopupWindow
*)new wxPopupWindow();
8219 wxPyEndAllowThreads(__tstate
);
8220 if (PyErr_Occurred()) SWIG_fail
;
8222 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
8229 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8230 PyObject
*resultobj
;
8231 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8232 wxWindow
*arg2
= (wxWindow
*) 0 ;
8233 int arg3
= (int) wxBORDER_NONE
;
8235 PyObject
* obj0
= 0 ;
8236 PyObject
* obj1
= 0 ;
8237 PyObject
* obj2
= 0 ;
8239 (char *) "self",(char *) "parent",(char *) "flags", NULL
8242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPopupWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8244 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8247 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8248 if (PyErr_Occurred()) SWIG_fail
;
8252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8253 result
= (bool)(arg1
)->Create(arg2
,arg3
);
8255 wxPyEndAllowThreads(__tstate
);
8256 if (PyErr_Occurred()) SWIG_fail
;
8258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8265 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8266 PyObject
*resultobj
;
8267 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8272 PyObject
* obj0
= 0 ;
8273 PyObject
* obj1
= 0 ;
8274 PyObject
* obj2
= 0 ;
8276 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPopupWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8283 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8287 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
8290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8291 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8293 wxPyEndAllowThreads(__tstate
);
8294 if (PyErr_Occurred()) SWIG_fail
;
8296 Py_INCREF(Py_None
); resultobj
= Py_None
;
8303 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8305 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8306 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8308 return Py_BuildValue((char *)"");
8310 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8311 PyObject
*resultobj
;
8312 wxWindow
*arg1
= (wxWindow
*) 0 ;
8313 int arg2
= (int) wxBORDER_NONE
;
8314 wxPyPopupTransientWindow
*result
;
8315 PyObject
* obj0
= 0 ;
8316 PyObject
* obj1
= 0 ;
8318 (char *) "parent",(char *) "style", NULL
8321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8325 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8326 if (PyErr_Occurred()) SWIG_fail
;
8330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8331 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8333 wxPyEndAllowThreads(__tstate
);
8334 if (PyErr_Occurred()) SWIG_fail
;
8336 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8343 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8344 PyObject
*resultobj
;
8345 wxPyPopupTransientWindow
*result
;
8350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8353 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8355 wxPyEndAllowThreads(__tstate
);
8356 if (PyErr_Occurred()) SWIG_fail
;
8358 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8365 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8366 PyObject
*resultobj
;
8367 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8368 PyObject
*arg2
= (PyObject
*) 0 ;
8369 PyObject
*arg3
= (PyObject
*) 0 ;
8370 PyObject
* obj0
= 0 ;
8371 PyObject
* obj1
= 0 ;
8372 PyObject
* obj2
= 0 ;
8374 (char *) "self",(char *) "self",(char *) "_class", NULL
8377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8383 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8385 wxPyEndAllowThreads(__tstate
);
8386 if (PyErr_Occurred()) SWIG_fail
;
8388 Py_INCREF(Py_None
); resultobj
= Py_None
;
8395 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8396 PyObject
*resultobj
;
8397 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8398 wxWindow
*arg2
= (wxWindow
*) NULL
;
8399 PyObject
* obj0
= 0 ;
8400 PyObject
* obj1
= 0 ;
8402 (char *) "self",(char *) "focus", NULL
8405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
8406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8408 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8412 (arg1
)->Popup(arg2
);
8414 wxPyEndAllowThreads(__tstate
);
8415 if (PyErr_Occurred()) SWIG_fail
;
8417 Py_INCREF(Py_None
); resultobj
= Py_None
;
8424 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8425 PyObject
*resultobj
;
8426 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8427 PyObject
* obj0
= 0 ;
8429 (char *) "self", NULL
8432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
8433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8438 wxPyEndAllowThreads(__tstate
);
8439 if (PyErr_Occurred()) SWIG_fail
;
8441 Py_INCREF(Py_None
); resultobj
= Py_None
;
8448 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8450 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8451 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8453 return Py_BuildValue((char *)"");
8455 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8456 PyObject
*resultobj
;
8457 wxWindow
*arg1
= (wxWindow
*) 0 ;
8458 wxString
*arg2
= 0 ;
8459 int arg3
= (int) 100 ;
8460 wxRect
*arg4
= (wxRect
*) NULL
;
8461 wxTipWindow
*result
;
8462 bool temp2
= False
;
8463 PyObject
* obj0
= 0 ;
8464 PyObject
* obj1
= 0 ;
8465 PyObject
* obj2
= 0 ;
8466 PyObject
* obj3
= 0 ;
8468 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8474 arg2
= wxString_in_helper(obj1
);
8475 if (arg2
== NULL
) SWIG_fail
;
8480 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8485 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8489 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8494 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTipWindow
, 1);
8509 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8510 PyObject
*resultobj
;
8511 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8514 PyObject
* obj0
= 0 ;
8515 PyObject
* obj1
= 0 ;
8517 (char *) "self",(char *) "rectBound", NULL
8520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8524 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8528 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
8530 wxPyEndAllowThreads(__tstate
);
8531 if (PyErr_Occurred()) SWIG_fail
;
8533 Py_INCREF(Py_None
); resultobj
= Py_None
;
8540 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8541 PyObject
*resultobj
;
8542 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8543 PyObject
* obj0
= 0 ;
8545 (char *) "self", NULL
8548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
8549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8554 wxPyEndAllowThreads(__tstate
);
8555 if (PyErr_Occurred()) SWIG_fail
;
8557 Py_INCREF(Py_None
); resultobj
= Py_None
;
8564 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8566 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8567 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
8569 return Py_BuildValue((char *)"");
8571 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8572 PyObject
*resultobj
;
8573 wxWindow
*arg1
= (wxWindow
*) 0 ;
8574 int arg2
= (int) wxID_ANY
;
8575 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8576 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8577 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8578 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8579 long arg5
= (long) 0 ;
8580 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8581 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8582 wxPyVScrolledWindow
*result
;
8585 bool temp6
= False
;
8586 PyObject
* obj0
= 0 ;
8587 PyObject
* obj1
= 0 ;
8588 PyObject
* obj2
= 0 ;
8589 PyObject
* obj3
= 0 ;
8590 PyObject
* obj4
= 0 ;
8591 PyObject
* obj5
= 0 ;
8593 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8600 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8601 if (PyErr_Occurred()) SWIG_fail
;
8607 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8613 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8618 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
8619 if (PyErr_Occurred()) SWIG_fail
;
8624 arg6
= wxString_in_helper(obj5
);
8625 if (arg6
== NULL
) SWIG_fail
;
8630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8631 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8633 wxPyEndAllowThreads(__tstate
);
8634 if (PyErr_Occurred()) SWIG_fail
;
8636 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8651 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8652 PyObject
*resultobj
;
8653 wxPyVScrolledWindow
*result
;
8658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
8660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8661 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
8663 wxPyEndAllowThreads(__tstate
);
8664 if (PyErr_Occurred()) SWIG_fail
;
8666 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8673 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8674 PyObject
*resultobj
;
8675 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8676 PyObject
*arg2
= (PyObject
*) 0 ;
8677 PyObject
*arg3
= (PyObject
*) 0 ;
8678 PyObject
* obj0
= 0 ;
8679 PyObject
* obj1
= 0 ;
8680 PyObject
* obj2
= 0 ;
8682 (char *) "self",(char *) "self",(char *) "_class", NULL
8685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8691 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8693 wxPyEndAllowThreads(__tstate
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8696 Py_INCREF(Py_None
); resultobj
= Py_None
;
8703 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8704 PyObject
*resultobj
;
8705 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8706 wxWindow
*arg2
= (wxWindow
*) 0 ;
8707 int arg3
= (int) wxID_ANY
;
8708 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8709 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8710 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8711 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8712 long arg6
= (long) 0 ;
8713 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
8714 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8718 bool temp7
= False
;
8719 PyObject
* obj0
= 0 ;
8720 PyObject
* obj1
= 0 ;
8721 PyObject
* obj2
= 0 ;
8722 PyObject
* obj3
= 0 ;
8723 PyObject
* obj4
= 0 ;
8724 PyObject
* obj5
= 0 ;
8725 PyObject
* obj6
= 0 ;
8727 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8732 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8735 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8736 if (PyErr_Occurred()) SWIG_fail
;
8742 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8748 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8753 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
8754 if (PyErr_Occurred()) SWIG_fail
;
8759 arg7
= wxString_in_helper(obj6
);
8760 if (arg7
== NULL
) SWIG_fail
;
8765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8768 wxPyEndAllowThreads(__tstate
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8786 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8787 PyObject
*resultobj
;
8788 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8790 PyObject
* obj0
= 0 ;
8791 PyObject
* obj1
= 0 ;
8793 (char *) "self",(char *) "count", NULL
8796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8799 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
8800 if (PyErr_Occurred()) SWIG_fail
;
8803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8804 (arg1
)->SetLineCount(arg2
);
8806 wxPyEndAllowThreads(__tstate
);
8807 if (PyErr_Occurred()) SWIG_fail
;
8809 Py_INCREF(Py_None
); resultobj
= Py_None
;
8816 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8817 PyObject
*resultobj
;
8818 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8821 PyObject
* obj0
= 0 ;
8822 PyObject
* obj1
= 0 ;
8824 (char *) "self",(char *) "line", NULL
8827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8830 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
8831 if (PyErr_Occurred()) SWIG_fail
;
8834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8835 result
= (bool)(arg1
)->ScrollToLine(arg2
);
8837 wxPyEndAllowThreads(__tstate
);
8838 if (PyErr_Occurred()) SWIG_fail
;
8840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8847 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8848 PyObject
*resultobj
;
8849 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8852 PyObject
* obj0
= 0 ;
8853 PyObject
* obj1
= 0 ;
8855 (char *) "self",(char *) "lines", NULL
8858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
8859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8861 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8862 if (PyErr_Occurred()) SWIG_fail
;
8865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8866 result
= (bool)(arg1
)->ScrollLines(arg2
);
8868 wxPyEndAllowThreads(__tstate
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8878 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8879 PyObject
*resultobj
;
8880 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8883 PyObject
* obj0
= 0 ;
8884 PyObject
* obj1
= 0 ;
8886 (char *) "self",(char *) "pages", NULL
8889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
8890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8892 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8893 if (PyErr_Occurred()) SWIG_fail
;
8896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8897 result
= (bool)(arg1
)->ScrollPages(arg2
);
8899 wxPyEndAllowThreads(__tstate
);
8900 if (PyErr_Occurred()) SWIG_fail
;
8902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8909 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8910 PyObject
*resultobj
;
8911 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8913 PyObject
* obj0
= 0 ;
8914 PyObject
* obj1
= 0 ;
8916 (char *) "self",(char *) "line", NULL
8919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8922 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
8923 if (PyErr_Occurred()) SWIG_fail
;
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 (arg1
)->RefreshLine(arg2
);
8929 wxPyEndAllowThreads(__tstate
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8932 Py_INCREF(Py_None
); resultobj
= Py_None
;
8939 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8940 PyObject
*resultobj
;
8941 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8944 PyObject
* obj0
= 0 ;
8945 PyObject
* obj1
= 0 ;
8946 PyObject
* obj2
= 0 ;
8948 (char *) "self",(char *) "from",(char *) "to", NULL
8951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8954 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
8955 if (PyErr_Occurred()) SWIG_fail
;
8958 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
8959 if (PyErr_Occurred()) SWIG_fail
;
8962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8963 (arg1
)->RefreshLines(arg2
,arg3
);
8965 wxPyEndAllowThreads(__tstate
);
8966 if (PyErr_Occurred()) SWIG_fail
;
8968 Py_INCREF(Py_None
); resultobj
= Py_None
;
8975 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8976 PyObject
*resultobj
;
8977 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8981 PyObject
* obj0
= 0 ;
8982 PyObject
* obj1
= 0 ;
8983 PyObject
* obj2
= 0 ;
8985 (char *) "self",(char *) "x",(char *) "y", NULL
8988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8991 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8995 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8996 if (PyErr_Occurred()) SWIG_fail
;
8999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9000 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9002 wxPyEndAllowThreads(__tstate
);
9003 if (PyErr_Occurred()) SWIG_fail
;
9005 resultobj
= SWIG_PyObj_FromInt((int)result
);
9012 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9013 PyObject
*resultobj
;
9014 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9018 PyObject
* obj0
= 0 ;
9019 PyObject
* obj1
= 0 ;
9021 (char *) "self",(char *) "pt", NULL
9024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9028 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9032 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9034 wxPyEndAllowThreads(__tstate
);
9035 if (PyErr_Occurred()) SWIG_fail
;
9037 resultobj
= SWIG_PyObj_FromInt((int)result
);
9044 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9045 PyObject
*resultobj
;
9046 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9047 PyObject
* obj0
= 0 ;
9049 (char *) "self", NULL
9052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9056 (arg1
)->RefreshAll();
9058 wxPyEndAllowThreads(__tstate
);
9059 if (PyErr_Occurred()) SWIG_fail
;
9061 Py_INCREF(Py_None
); resultobj
= Py_None
;
9068 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
*resultobj
;
9070 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9072 PyObject
* obj0
= 0 ;
9074 (char *) "self", NULL
9077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9081 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9083 wxPyEndAllowThreads(__tstate
);
9084 if (PyErr_Occurred()) SWIG_fail
;
9086 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
9093 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9094 PyObject
*resultobj
;
9095 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9097 PyObject
* obj0
= 0 ;
9099 (char *) "self", NULL
9102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9106 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9108 wxPyEndAllowThreads(__tstate
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9111 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
9118 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9119 PyObject
*resultobj
;
9120 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9122 PyObject
* obj0
= 0 ;
9124 (char *) "self", NULL
9127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9131 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9133 wxPyEndAllowThreads(__tstate
);
9134 if (PyErr_Occurred()) SWIG_fail
;
9136 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
9143 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9144 PyObject
*resultobj
;
9145 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9148 PyObject
* obj0
= 0 ;
9149 PyObject
* obj1
= 0 ;
9151 (char *) "self",(char *) "line", NULL
9154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9157 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9158 if (PyErr_Occurred()) SWIG_fail
;
9161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9162 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9164 wxPyEndAllowThreads(__tstate
);
9165 if (PyErr_Occurred()) SWIG_fail
;
9167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9174 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9176 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9177 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9179 return Py_BuildValue((char *)"");
9181 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9182 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9187 static PyObject
*_wrap_VListBoxNameStr_get() {
9192 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9194 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9201 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9202 PyObject
*resultobj
;
9203 wxWindow
*arg1
= (wxWindow
*) 0 ;
9204 int arg2
= (int) wxID_ANY
;
9205 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9206 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9207 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9208 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9209 long arg5
= (long) 0 ;
9210 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9211 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9212 wxPyVListBox
*result
;
9215 bool temp6
= False
;
9216 PyObject
* obj0
= 0 ;
9217 PyObject
* obj1
= 0 ;
9218 PyObject
* obj2
= 0 ;
9219 PyObject
* obj3
= 0 ;
9220 PyObject
* obj4
= 0 ;
9221 PyObject
* obj5
= 0 ;
9223 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9230 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9231 if (PyErr_Occurred()) SWIG_fail
;
9237 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9243 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9248 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
9249 if (PyErr_Occurred()) SWIG_fail
;
9254 arg6
= wxString_in_helper(obj5
);
9255 if (arg6
== NULL
) SWIG_fail
;
9260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9261 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9263 wxPyEndAllowThreads(__tstate
);
9264 if (PyErr_Occurred()) SWIG_fail
;
9266 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
9281 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9282 PyObject
*resultobj
;
9283 wxPyVListBox
*result
;
9288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9291 result
= (wxPyVListBox
*)new wxPyVListBox();
9293 wxPyEndAllowThreads(__tstate
);
9294 if (PyErr_Occurred()) SWIG_fail
;
9296 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
9303 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9304 PyObject
*resultobj
;
9305 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9306 PyObject
*arg2
= (PyObject
*) 0 ;
9307 PyObject
*arg3
= (PyObject
*) 0 ;
9308 PyObject
* obj0
= 0 ;
9309 PyObject
* obj1
= 0 ;
9310 PyObject
* obj2
= 0 ;
9312 (char *) "self",(char *) "self",(char *) "_class", NULL
9315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9321 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9323 wxPyEndAllowThreads(__tstate
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9326 Py_INCREF(Py_None
); resultobj
= Py_None
;
9333 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9334 PyObject
*resultobj
;
9335 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9336 wxWindow
*arg2
= (wxWindow
*) 0 ;
9337 int arg3
= (int) wxID_ANY
;
9338 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9339 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9340 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9341 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9342 long arg6
= (long) 0 ;
9343 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9344 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9348 bool temp7
= False
;
9349 PyObject
* obj0
= 0 ;
9350 PyObject
* obj1
= 0 ;
9351 PyObject
* obj2
= 0 ;
9352 PyObject
* obj3
= 0 ;
9353 PyObject
* obj4
= 0 ;
9354 PyObject
* obj5
= 0 ;
9355 PyObject
* obj6
= 0 ;
9357 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9362 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9365 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9372 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9378 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9383 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9384 if (PyErr_Occurred()) SWIG_fail
;
9389 arg7
= wxString_in_helper(obj6
);
9390 if (arg7
== NULL
) SWIG_fail
;
9395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9396 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9398 wxPyEndAllowThreads(__tstate
);
9399 if (PyErr_Occurred()) SWIG_fail
;
9401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9416 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9417 PyObject
*resultobj
;
9418 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9420 PyObject
* obj0
= 0 ;
9422 (char *) "self", NULL
9425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9429 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9431 wxPyEndAllowThreads(__tstate
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9434 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
9441 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9442 PyObject
*resultobj
;
9443 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9445 PyObject
* obj0
= 0 ;
9447 (char *) "self", NULL
9450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9454 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9456 wxPyEndAllowThreads(__tstate
);
9457 if (PyErr_Occurred()) SWIG_fail
;
9459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9466 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9467 PyObject
*resultobj
;
9468 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9470 PyObject
* obj0
= 0 ;
9472 (char *) "self", NULL
9475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9479 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9481 wxPyEndAllowThreads(__tstate
);
9482 if (PyErr_Occurred()) SWIG_fail
;
9484 resultobj
= SWIG_PyObj_FromInt((int)result
);
9491 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9492 PyObject
*resultobj
;
9493 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9496 PyObject
* obj0
= 0 ;
9497 PyObject
* obj1
= 0 ;
9499 (char *) "self",(char *) "item", NULL
9502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9505 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9506 if (PyErr_Occurred()) SWIG_fail
;
9509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9510 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9512 wxPyEndAllowThreads(__tstate
);
9513 if (PyErr_Occurred()) SWIG_fail
;
9515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9522 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9523 PyObject
*resultobj
;
9524 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9527 PyObject
* obj0
= 0 ;
9528 PyObject
* obj1
= 0 ;
9530 (char *) "self",(char *) "item", NULL
9533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9536 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9537 if (PyErr_Occurred()) SWIG_fail
;
9540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9541 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
9543 wxPyEndAllowThreads(__tstate
);
9544 if (PyErr_Occurred()) SWIG_fail
;
9546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9553 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9554 PyObject
*resultobj
;
9555 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9557 PyObject
* obj0
= 0 ;
9559 (char *) "self", NULL
9562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
9563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9566 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
9568 wxPyEndAllowThreads(__tstate
);
9569 if (PyErr_Occurred()) SWIG_fail
;
9571 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
9578 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9579 PyObject
*resultobj
;
9580 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9581 unsigned long *arg2
= 0 ;
9583 PyObject
* obj0
= 0 ;
9584 PyObject
* obj1
= 0 ;
9586 (char *) "self",(char *) "cookie", NULL
9589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9591 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9593 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9597 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
9599 wxPyEndAllowThreads(__tstate
);
9600 if (PyErr_Occurred()) SWIG_fail
;
9602 resultobj
= SWIG_PyObj_FromInt((int)result
);
9609 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9610 PyObject
*resultobj
;
9611 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9612 unsigned long *arg2
= 0 ;
9614 PyObject
* obj0
= 0 ;
9615 PyObject
* obj1
= 0 ;
9617 (char *) "self",(char *) "cookie", NULL
9620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9622 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9624 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9628 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
9630 wxPyEndAllowThreads(__tstate
);
9631 if (PyErr_Occurred()) SWIG_fail
;
9633 resultobj
= SWIG_PyObj_FromInt((int)result
);
9640 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9641 PyObject
*resultobj
;
9642 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9644 PyObject
* obj0
= 0 ;
9646 (char *) "self", NULL
9649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
9650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9653 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
9655 wxPyEndAllowThreads(__tstate
);
9656 if (PyErr_Occurred()) SWIG_fail
;
9659 wxPoint
* resultptr
;
9660 resultptr
= new wxPoint((wxPoint
&) result
);
9661 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
9669 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9670 PyObject
*resultobj
;
9671 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9673 PyObject
* obj0
= 0 ;
9675 (char *) "self", NULL
9678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
9679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9683 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
9684 result
= (wxColour
*) &_result_ref
;
9687 wxPyEndAllowThreads(__tstate
);
9688 if (PyErr_Occurred()) SWIG_fail
;
9690 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
9697 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9698 PyObject
*resultobj
;
9699 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9701 PyObject
* obj0
= 0 ;
9702 PyObject
* obj1
= 0 ;
9704 (char *) "self",(char *) "count", NULL
9707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9710 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9711 if (PyErr_Occurred()) SWIG_fail
;
9714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9715 (arg1
)->SetItemCount(arg2
);
9717 wxPyEndAllowThreads(__tstate
);
9718 if (PyErr_Occurred()) SWIG_fail
;
9720 Py_INCREF(Py_None
); resultobj
= Py_None
;
9727 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9728 PyObject
*resultobj
;
9729 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9730 PyObject
* obj0
= 0 ;
9732 (char *) "self", NULL
9735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
9736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9741 wxPyEndAllowThreads(__tstate
);
9742 if (PyErr_Occurred()) SWIG_fail
;
9744 Py_INCREF(Py_None
); resultobj
= Py_None
;
9751 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9752 PyObject
*resultobj
;
9753 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9755 PyObject
* obj0
= 0 ;
9756 PyObject
* obj1
= 0 ;
9758 (char *) "self",(char *) "selection", NULL
9761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9764 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9769 (arg1
)->SetSelection(arg2
);
9771 wxPyEndAllowThreads(__tstate
);
9772 if (PyErr_Occurred()) SWIG_fail
;
9774 Py_INCREF(Py_None
); resultobj
= Py_None
;
9781 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9782 PyObject
*resultobj
;
9783 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9785 bool arg3
= (bool) True
;
9787 PyObject
* obj0
= 0 ;
9788 PyObject
* obj1
= 0 ;
9789 PyObject
* obj2
= 0 ;
9791 (char *) "self",(char *) "item",(char *) "select", NULL
9794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9797 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9798 if (PyErr_Occurred()) SWIG_fail
;
9802 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
9803 if (PyErr_Occurred()) SWIG_fail
;
9807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9808 result
= (bool)(arg1
)->Select(arg2
,arg3
);
9810 wxPyEndAllowThreads(__tstate
);
9811 if (PyErr_Occurred()) SWIG_fail
;
9813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9820 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9821 PyObject
*resultobj
;
9822 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9826 PyObject
* obj0
= 0 ;
9827 PyObject
* obj1
= 0 ;
9828 PyObject
* obj2
= 0 ;
9830 (char *) "self",(char *) "from",(char *) "to", NULL
9833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9836 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9840 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9845 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
9847 wxPyEndAllowThreads(__tstate
);
9848 if (PyErr_Occurred()) SWIG_fail
;
9850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9857 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9858 PyObject
*resultobj
;
9859 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9861 PyObject
* obj0
= 0 ;
9862 PyObject
* obj1
= 0 ;
9864 (char *) "self",(char *) "item", NULL
9867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
9868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9870 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9871 if (PyErr_Occurred()) SWIG_fail
;
9874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9875 (arg1
)->Toggle(arg2
);
9877 wxPyEndAllowThreads(__tstate
);
9878 if (PyErr_Occurred()) SWIG_fail
;
9880 Py_INCREF(Py_None
); resultobj
= Py_None
;
9887 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9888 PyObject
*resultobj
;
9889 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9891 PyObject
* obj0
= 0 ;
9893 (char *) "self", NULL
9896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
9897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9900 result
= (bool)(arg1
)->SelectAll();
9902 wxPyEndAllowThreads(__tstate
);
9903 if (PyErr_Occurred()) SWIG_fail
;
9905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9912 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9913 PyObject
*resultobj
;
9914 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9916 PyObject
* obj0
= 0 ;
9918 (char *) "self", NULL
9921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
9922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9925 result
= (bool)(arg1
)->DeselectAll();
9927 wxPyEndAllowThreads(__tstate
);
9928 if (PyErr_Occurred()) SWIG_fail
;
9930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9937 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9938 PyObject
*resultobj
;
9939 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9942 PyObject
* obj0
= 0 ;
9943 PyObject
* obj1
= 0 ;
9945 (char *) "self",(char *) "pt", NULL
9948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
9949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9952 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9956 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
9958 wxPyEndAllowThreads(__tstate
);
9959 if (PyErr_Occurred()) SWIG_fail
;
9961 Py_INCREF(Py_None
); resultobj
= Py_None
;
9968 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9969 PyObject
*resultobj
;
9970 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9973 PyObject
* obj0
= 0 ;
9974 PyObject
* obj1
= 0 ;
9975 PyObject
* obj2
= 0 ;
9977 (char *) "self",(char *) "x",(char *) "y", NULL
9980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9983 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9987 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9988 if (PyErr_Occurred()) SWIG_fail
;
9991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9992 (arg1
)->SetMargins(arg2
,arg3
);
9994 wxPyEndAllowThreads(__tstate
);
9995 if (PyErr_Occurred()) SWIG_fail
;
9997 Py_INCREF(Py_None
); resultobj
= Py_None
;
10004 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10005 PyObject
*resultobj
;
10006 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10007 wxColour
*arg2
= 0 ;
10009 PyObject
* obj0
= 0 ;
10010 PyObject
* obj1
= 0 ;
10011 char *kwnames
[] = {
10012 (char *) "self",(char *) "col", NULL
10015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10019 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10023 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10025 wxPyEndAllowThreads(__tstate
);
10026 if (PyErr_Occurred()) SWIG_fail
;
10028 Py_INCREF(Py_None
); resultobj
= Py_None
;
10035 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10038 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10040 return Py_BuildValue((char *)"");
10042 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10043 PyObject
*resultobj
;
10044 wxWindow
*arg1
= (wxWindow
*) 0 ;
10045 int arg2
= (int) wxID_ANY
;
10046 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10047 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10048 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10049 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10050 long arg5
= (long) 0 ;
10051 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10052 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10053 wxPyHtmlListBox
*result
;
10056 bool temp6
= False
;
10057 PyObject
* obj0
= 0 ;
10058 PyObject
* obj1
= 0 ;
10059 PyObject
* obj2
= 0 ;
10060 PyObject
* obj3
= 0 ;
10061 PyObject
* obj4
= 0 ;
10062 PyObject
* obj5
= 0 ;
10063 char *kwnames
[] = {
10064 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10071 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10072 if (PyErr_Occurred()) SWIG_fail
;
10078 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10084 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10089 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
10090 if (PyErr_Occurred()) SWIG_fail
;
10095 arg6
= wxString_in_helper(obj5
);
10096 if (arg6
== NULL
) SWIG_fail
;
10101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10102 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10107 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
10122 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10123 PyObject
*resultobj
;
10124 wxPyHtmlListBox
*result
;
10125 char *kwnames
[] = {
10129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10132 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10134 wxPyEndAllowThreads(__tstate
);
10135 if (PyErr_Occurred()) SWIG_fail
;
10137 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
10144 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10145 PyObject
*resultobj
;
10146 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10147 PyObject
*arg2
= (PyObject
*) 0 ;
10148 PyObject
*arg3
= (PyObject
*) 0 ;
10149 PyObject
* obj0
= 0 ;
10150 PyObject
* obj1
= 0 ;
10151 PyObject
* obj2
= 0 ;
10152 char *kwnames
[] = {
10153 (char *) "self",(char *) "self",(char *) "_class", NULL
10156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10162 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10164 wxPyEndAllowThreads(__tstate
);
10165 if (PyErr_Occurred()) SWIG_fail
;
10167 Py_INCREF(Py_None
); resultobj
= Py_None
;
10174 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10175 PyObject
*resultobj
;
10176 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10177 wxWindow
*arg2
= (wxWindow
*) 0 ;
10178 int arg3
= (int) wxID_ANY
;
10179 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10180 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10181 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10182 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10183 long arg6
= (long) 0 ;
10184 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10185 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10189 bool temp7
= False
;
10190 PyObject
* obj0
= 0 ;
10191 PyObject
* obj1
= 0 ;
10192 PyObject
* obj2
= 0 ;
10193 PyObject
* obj3
= 0 ;
10194 PyObject
* obj4
= 0 ;
10195 PyObject
* obj5
= 0 ;
10196 PyObject
* obj6
= 0 ;
10197 char *kwnames
[] = {
10198 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10203 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10206 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10207 if (PyErr_Occurred()) SWIG_fail
;
10213 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10219 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10224 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
10225 if (PyErr_Occurred()) SWIG_fail
;
10230 arg7
= wxString_in_helper(obj6
);
10231 if (arg7
== NULL
) SWIG_fail
;
10236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10237 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10239 wxPyEndAllowThreads(__tstate
);
10240 if (PyErr_Occurred()) SWIG_fail
;
10242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10257 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10258 PyObject
*resultobj
;
10259 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10260 PyObject
* obj0
= 0 ;
10261 char *kwnames
[] = {
10262 (char *) "self", NULL
10265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10269 (arg1
)->RefreshAll();
10271 wxPyEndAllowThreads(__tstate
);
10272 if (PyErr_Occurred()) SWIG_fail
;
10274 Py_INCREF(Py_None
); resultobj
= Py_None
;
10281 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10282 PyObject
*resultobj
;
10283 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10285 PyObject
* obj0
= 0 ;
10286 PyObject
* obj1
= 0 ;
10287 char *kwnames
[] = {
10288 (char *) "self",(char *) "count", NULL
10291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10294 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
10295 if (PyErr_Occurred()) SWIG_fail
;
10298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10299 (arg1
)->SetItemCount(arg2
);
10301 wxPyEndAllowThreads(__tstate
);
10302 if (PyErr_Occurred()) SWIG_fail
;
10304 Py_INCREF(Py_None
); resultobj
= Py_None
;
10311 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10313 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10314 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10316 return Py_BuildValue((char *)"");
10318 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10319 PyObject
*resultobj
;
10320 wxTaskBarIcon
*result
;
10321 char *kwnames
[] = {
10325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10328 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10330 wxPyEndAllowThreads(__tstate
);
10331 if (PyErr_Occurred()) SWIG_fail
;
10333 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIcon
, 1);
10340 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10341 PyObject
*resultobj
;
10342 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10343 PyObject
* obj0
= 0 ;
10344 char *kwnames
[] = {
10345 (char *) "self", NULL
10348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10354 wxPyEndAllowThreads(__tstate
);
10355 if (PyErr_Occurred()) SWIG_fail
;
10357 Py_INCREF(Py_None
); resultobj
= Py_None
;
10364 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10365 PyObject
*resultobj
;
10366 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10368 PyObject
* obj0
= 0 ;
10369 char *kwnames
[] = {
10370 (char *) "self", NULL
10373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
10374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10377 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
10379 wxPyEndAllowThreads(__tstate
);
10380 if (PyErr_Occurred()) SWIG_fail
;
10382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10389 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10390 PyObject
*resultobj
;
10391 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10393 PyObject
* obj0
= 0 ;
10394 char *kwnames
[] = {
10395 (char *) "self", NULL
10398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
10399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10402 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
10404 wxPyEndAllowThreads(__tstate
);
10405 if (PyErr_Occurred()) SWIG_fail
;
10407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10414 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10415 PyObject
*resultobj
;
10416 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10418 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10419 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10421 bool temp3
= False
;
10422 PyObject
* obj0
= 0 ;
10423 PyObject
* obj1
= 0 ;
10424 PyObject
* obj2
= 0 ;
10425 char *kwnames
[] = {
10426 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10431 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10432 if (arg2
== NULL
) {
10433 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10437 arg3
= wxString_in_helper(obj2
);
10438 if (arg3
== NULL
) SWIG_fail
;
10443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10444 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
10446 wxPyEndAllowThreads(__tstate
);
10447 if (PyErr_Occurred()) SWIG_fail
;
10449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10464 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10465 PyObject
*resultobj
;
10466 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10468 PyObject
* obj0
= 0 ;
10469 char *kwnames
[] = {
10470 (char *) "self", NULL
10473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
10474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 result
= (bool)(arg1
)->RemoveIcon();
10479 wxPyEndAllowThreads(__tstate
);
10480 if (PyErr_Occurred()) SWIG_fail
;
10482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10489 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10490 PyObject
*resultobj
;
10491 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10492 wxMenu
*arg2
= (wxMenu
*) 0 ;
10494 PyObject
* obj0
= 0 ;
10495 PyObject
* obj1
= 0 ;
10496 char *kwnames
[] = {
10497 (char *) "self",(char *) "menu", NULL
10500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
10501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10502 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10505 result
= (bool)(arg1
)->PopupMenu(arg2
);
10507 wxPyEndAllowThreads(__tstate
);
10508 if (PyErr_Occurred()) SWIG_fail
;
10510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10517 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
10519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10520 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
10522 return Py_BuildValue((char *)"");
10524 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10525 PyObject
*resultobj
;
10527 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
10528 wxTaskBarIconEvent
*result
;
10529 PyObject
* obj0
= 0 ;
10530 PyObject
* obj1
= 0 ;
10531 char *kwnames
[] = {
10532 (char *) "evtType",(char *) "tbIcon", NULL
10535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10537 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
10538 if (PyErr_Occurred()) SWIG_fail
;
10540 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10543 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
10545 wxPyEndAllowThreads(__tstate
);
10546 if (PyErr_Occurred()) SWIG_fail
;
10548 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIconEvent
, 1);
10555 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10558 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
10560 return Py_BuildValue((char *)"");
10562 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
10563 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
10568 static PyObject
*_wrap_FileSelectorPromptStr_get() {
10573 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10575 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10582 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
10583 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
10588 static PyObject
*_wrap_DirSelectorPromptStr_get() {
10593 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10595 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10602 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
10603 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
10608 static PyObject
*_wrap_DirDialogNameStr_get() {
10613 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10615 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10622 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
10623 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
10628 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
10633 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10635 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10642 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
10643 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
10648 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
10653 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10655 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10662 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
10663 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
10668 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
10673 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10675 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10682 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10683 PyObject
*resultobj
;
10684 wxColourData
*result
;
10685 char *kwnames
[] = {
10689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
10691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10692 result
= (wxColourData
*)new wxColourData();
10694 wxPyEndAllowThreads(__tstate
);
10695 if (PyErr_Occurred()) SWIG_fail
;
10697 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 1);
10704 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10705 PyObject
*resultobj
;
10706 wxColourData
*arg1
= (wxColourData
*) 0 ;
10707 PyObject
* obj0
= 0 ;
10708 char *kwnames
[] = {
10709 (char *) "self", NULL
10712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
10713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10718 wxPyEndAllowThreads(__tstate
);
10719 if (PyErr_Occurred()) SWIG_fail
;
10721 Py_INCREF(Py_None
); resultobj
= Py_None
;
10728 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10729 PyObject
*resultobj
;
10730 wxColourData
*arg1
= (wxColourData
*) 0 ;
10732 PyObject
* obj0
= 0 ;
10733 char *kwnames
[] = {
10734 (char *) "self", NULL
10737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
10738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10741 result
= (bool)(arg1
)->GetChooseFull();
10743 wxPyEndAllowThreads(__tstate
);
10744 if (PyErr_Occurred()) SWIG_fail
;
10746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10753 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10754 PyObject
*resultobj
;
10755 wxColourData
*arg1
= (wxColourData
*) 0 ;
10757 PyObject
* obj0
= 0 ;
10758 char *kwnames
[] = {
10759 (char *) "self", NULL
10762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
10763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10766 result
= (arg1
)->GetColour();
10768 wxPyEndAllowThreads(__tstate
);
10769 if (PyErr_Occurred()) SWIG_fail
;
10772 wxColour
* resultptr
;
10773 resultptr
= new wxColour((wxColour
&) result
);
10774 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10782 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10783 PyObject
*resultobj
;
10784 wxColourData
*arg1
= (wxColourData
*) 0 ;
10787 PyObject
* obj0
= 0 ;
10788 PyObject
* obj1
= 0 ;
10789 char *kwnames
[] = {
10790 (char *) "self",(char *) "i", NULL
10793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10796 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10797 if (PyErr_Occurred()) SWIG_fail
;
10800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10801 result
= (arg1
)->GetCustomColour(arg2
);
10803 wxPyEndAllowThreads(__tstate
);
10804 if (PyErr_Occurred()) SWIG_fail
;
10807 wxColour
* resultptr
;
10808 resultptr
= new wxColour((wxColour
&) result
);
10809 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10817 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10818 PyObject
*resultobj
;
10819 wxColourData
*arg1
= (wxColourData
*) 0 ;
10821 PyObject
* obj0
= 0 ;
10822 PyObject
* obj1
= 0 ;
10823 char *kwnames
[] = {
10824 (char *) "self",(char *) "flag", NULL
10827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
10828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10830 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10831 if (PyErr_Occurred()) SWIG_fail
;
10834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10835 (arg1
)->SetChooseFull(arg2
);
10837 wxPyEndAllowThreads(__tstate
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10840 Py_INCREF(Py_None
); resultobj
= Py_None
;
10847 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10848 PyObject
*resultobj
;
10849 wxColourData
*arg1
= (wxColourData
*) 0 ;
10850 wxColour
*arg2
= 0 ;
10852 PyObject
* obj0
= 0 ;
10853 PyObject
* obj1
= 0 ;
10854 char *kwnames
[] = {
10855 (char *) "self",(char *) "colour", NULL
10858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10862 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10866 (arg1
)->SetColour((wxColour
const &)*arg2
);
10868 wxPyEndAllowThreads(__tstate
);
10869 if (PyErr_Occurred()) SWIG_fail
;
10871 Py_INCREF(Py_None
); resultobj
= Py_None
;
10878 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10879 PyObject
*resultobj
;
10880 wxColourData
*arg1
= (wxColourData
*) 0 ;
10882 wxColour
*arg3
= 0 ;
10884 PyObject
* obj0
= 0 ;
10885 PyObject
* obj1
= 0 ;
10886 PyObject
* obj2
= 0 ;
10887 char *kwnames
[] = {
10888 (char *) "self",(char *) "i",(char *) "colour", NULL
10891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10894 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10895 if (PyErr_Occurred()) SWIG_fail
;
10899 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10903 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
10905 wxPyEndAllowThreads(__tstate
);
10906 if (PyErr_Occurred()) SWIG_fail
;
10908 Py_INCREF(Py_None
); resultobj
= Py_None
;
10915 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
10917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10918 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
10920 return Py_BuildValue((char *)"");
10922 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10923 PyObject
*resultobj
;
10924 wxWindow
*arg1
= (wxWindow
*) 0 ;
10925 wxColourData
*arg2
= (wxColourData
*) NULL
;
10926 wxColourDialog
*result
;
10927 PyObject
* obj0
= 0 ;
10928 PyObject
* obj1
= 0 ;
10929 char *kwnames
[] = {
10930 (char *) "parent",(char *) "data", NULL
10933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
10934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10936 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10940 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
10942 wxPyEndAllowThreads(__tstate
);
10943 if (PyErr_Occurred()) SWIG_fail
;
10945 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourDialog
, 1);
10952 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10953 PyObject
*resultobj
;
10954 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
10955 wxColourData
*result
;
10956 PyObject
* obj0
= 0 ;
10957 char *kwnames
[] = {
10958 (char *) "self", NULL
10961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
10962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10966 wxColourData
&_result_ref
= (arg1
)->GetColourData();
10967 result
= (wxColourData
*) &_result_ref
;
10970 wxPyEndAllowThreads(__tstate
);
10971 if (PyErr_Occurred()) SWIG_fail
;
10973 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 0);
10980 static PyObject
*_wrap_ColourDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10981 PyObject
*resultobj
;
10982 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
10984 PyObject
* obj0
= 0 ;
10985 char *kwnames
[] = {
10986 (char *) "self", NULL
10989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
10990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10993 result
= (int)(arg1
)->ShowModal();
10995 wxPyEndAllowThreads(__tstate
);
10996 if (PyErr_Occurred()) SWIG_fail
;
10998 resultobj
= SWIG_PyObj_FromInt((int)result
);
11005 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11007 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11008 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11010 return Py_BuildValue((char *)"");
11012 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11013 PyObject
*resultobj
;
11014 wxWindow
*arg1
= (wxWindow
*) 0 ;
11015 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11016 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11017 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11018 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11019 long arg4
= (long) 0 ;
11020 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11021 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11022 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11023 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11024 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11025 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11026 wxDirDialog
*result
;
11027 bool temp2
= False
;
11028 bool temp3
= False
;
11031 bool temp7
= False
;
11032 PyObject
* obj0
= 0 ;
11033 PyObject
* obj1
= 0 ;
11034 PyObject
* obj2
= 0 ;
11035 PyObject
* obj3
= 0 ;
11036 PyObject
* obj4
= 0 ;
11037 PyObject
* obj5
= 0 ;
11038 PyObject
* obj6
= 0 ;
11039 char *kwnames
[] = {
11040 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11047 arg2
= wxString_in_helper(obj1
);
11048 if (arg2
== NULL
) SWIG_fail
;
11054 arg3
= wxString_in_helper(obj2
);
11055 if (arg3
== NULL
) SWIG_fail
;
11061 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
11062 if (PyErr_Occurred()) SWIG_fail
;
11068 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11074 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11079 arg7
= wxString_in_helper(obj6
);
11080 if (arg7
== NULL
) SWIG_fail
;
11085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11086 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11088 wxPyEndAllowThreads(__tstate
);
11089 if (PyErr_Occurred()) SWIG_fail
;
11091 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirDialog
, 1);
11122 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11123 PyObject
*resultobj
;
11124 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11126 PyObject
* obj0
= 0 ;
11127 char *kwnames
[] = {
11128 (char *) "self", NULL
11131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11135 result
= (arg1
)->GetPath();
11137 wxPyEndAllowThreads(__tstate
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11142 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11144 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11153 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11154 PyObject
*resultobj
;
11155 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11157 PyObject
* obj0
= 0 ;
11158 char *kwnames
[] = {
11159 (char *) "self", NULL
11162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11166 result
= (arg1
)->GetMessage();
11168 wxPyEndAllowThreads(__tstate
);
11169 if (PyErr_Occurred()) SWIG_fail
;
11173 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11175 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11184 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11185 PyObject
*resultobj
;
11186 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11188 PyObject
* obj0
= 0 ;
11189 char *kwnames
[] = {
11190 (char *) "self", NULL
11193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11197 result
= (long)(arg1
)->GetStyle();
11199 wxPyEndAllowThreads(__tstate
);
11200 if (PyErr_Occurred()) SWIG_fail
;
11202 resultobj
= SWIG_PyObj_FromLong((long)result
);
11209 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11210 PyObject
*resultobj
;
11211 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11212 wxString
*arg2
= 0 ;
11213 bool temp2
= False
;
11214 PyObject
* obj0
= 0 ;
11215 PyObject
* obj1
= 0 ;
11216 char *kwnames
[] = {
11217 (char *) "self",(char *) "message", NULL
11220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11223 arg2
= wxString_in_helper(obj1
);
11224 if (arg2
== NULL
) SWIG_fail
;
11228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11229 (arg1
)->SetMessage((wxString
const &)*arg2
);
11231 wxPyEndAllowThreads(__tstate
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11234 Py_INCREF(Py_None
); resultobj
= Py_None
;
11249 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11250 PyObject
*resultobj
;
11251 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11252 wxString
*arg2
= 0 ;
11253 bool temp2
= False
;
11254 PyObject
* obj0
= 0 ;
11255 PyObject
* obj1
= 0 ;
11256 char *kwnames
[] = {
11257 (char *) "self",(char *) "path", NULL
11260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11263 arg2
= wxString_in_helper(obj1
);
11264 if (arg2
== NULL
) SWIG_fail
;
11268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11269 (arg1
)->SetPath((wxString
const &)*arg2
);
11271 wxPyEndAllowThreads(__tstate
);
11272 if (PyErr_Occurred()) SWIG_fail
;
11274 Py_INCREF(Py_None
); resultobj
= Py_None
;
11289 static PyObject
*_wrap_DirDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11290 PyObject
*resultobj
;
11291 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11293 PyObject
* obj0
= 0 ;
11294 char *kwnames
[] = {
11295 (char *) "self", NULL
11298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11302 result
= (int)(arg1
)->ShowModal();
11304 wxPyEndAllowThreads(__tstate
);
11305 if (PyErr_Occurred()) SWIG_fail
;
11307 resultobj
= SWIG_PyObj_FromInt((int)result
);
11314 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11317 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11319 return Py_BuildValue((char *)"");
11321 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11322 PyObject
*resultobj
;
11323 wxWindow
*arg1
= (wxWindow
*) 0 ;
11324 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11325 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11326 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11327 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11328 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11329 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11330 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11331 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11332 long arg6
= (long) 0 ;
11333 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11334 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11335 wxFileDialog
*result
;
11336 bool temp2
= False
;
11337 bool temp3
= False
;
11338 bool temp4
= False
;
11339 bool temp5
= False
;
11341 PyObject
* obj0
= 0 ;
11342 PyObject
* obj1
= 0 ;
11343 PyObject
* obj2
= 0 ;
11344 PyObject
* obj3
= 0 ;
11345 PyObject
* obj4
= 0 ;
11346 PyObject
* obj5
= 0 ;
11347 PyObject
* obj6
= 0 ;
11348 char *kwnames
[] = {
11349 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11356 arg2
= wxString_in_helper(obj1
);
11357 if (arg2
== NULL
) SWIG_fail
;
11363 arg3
= wxString_in_helper(obj2
);
11364 if (arg3
== NULL
) SWIG_fail
;
11370 arg4
= wxString_in_helper(obj3
);
11371 if (arg4
== NULL
) SWIG_fail
;
11377 arg5
= wxString_in_helper(obj4
);
11378 if (arg5
== NULL
) SWIG_fail
;
11384 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
11385 if (PyErr_Occurred()) SWIG_fail
;
11391 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11396 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11398 wxPyEndAllowThreads(__tstate
);
11399 if (PyErr_Occurred()) SWIG_fail
;
11401 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileDialog
, 1);
11440 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11441 PyObject
*resultobj
;
11442 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11443 wxString
*arg2
= 0 ;
11444 bool temp2
= False
;
11445 PyObject
* obj0
= 0 ;
11446 PyObject
* obj1
= 0 ;
11447 char *kwnames
[] = {
11448 (char *) "self",(char *) "message", NULL
11451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11454 arg2
= wxString_in_helper(obj1
);
11455 if (arg2
== NULL
) SWIG_fail
;
11459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11460 (arg1
)->SetMessage((wxString
const &)*arg2
);
11462 wxPyEndAllowThreads(__tstate
);
11463 if (PyErr_Occurred()) SWIG_fail
;
11465 Py_INCREF(Py_None
); resultobj
= Py_None
;
11480 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11481 PyObject
*resultobj
;
11482 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11483 wxString
*arg2
= 0 ;
11484 bool temp2
= False
;
11485 PyObject
* obj0
= 0 ;
11486 PyObject
* obj1
= 0 ;
11487 char *kwnames
[] = {
11488 (char *) "self",(char *) "path", NULL
11491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11494 arg2
= wxString_in_helper(obj1
);
11495 if (arg2
== NULL
) SWIG_fail
;
11499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11500 (arg1
)->SetPath((wxString
const &)*arg2
);
11502 wxPyEndAllowThreads(__tstate
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11505 Py_INCREF(Py_None
); resultobj
= Py_None
;
11520 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11521 PyObject
*resultobj
;
11522 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11523 wxString
*arg2
= 0 ;
11524 bool temp2
= False
;
11525 PyObject
* obj0
= 0 ;
11526 PyObject
* obj1
= 0 ;
11527 char *kwnames
[] = {
11528 (char *) "self",(char *) "dir", NULL
11531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
11532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11534 arg2
= wxString_in_helper(obj1
);
11535 if (arg2
== NULL
) SWIG_fail
;
11539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11540 (arg1
)->SetDirectory((wxString
const &)*arg2
);
11542 wxPyEndAllowThreads(__tstate
);
11543 if (PyErr_Occurred()) SWIG_fail
;
11545 Py_INCREF(Py_None
); resultobj
= Py_None
;
11560 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11561 PyObject
*resultobj
;
11562 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11563 wxString
*arg2
= 0 ;
11564 bool temp2
= False
;
11565 PyObject
* obj0
= 0 ;
11566 PyObject
* obj1
= 0 ;
11567 char *kwnames
[] = {
11568 (char *) "self",(char *) "name", NULL
11571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11574 arg2
= wxString_in_helper(obj1
);
11575 if (arg2
== NULL
) SWIG_fail
;
11579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11580 (arg1
)->SetFilename((wxString
const &)*arg2
);
11582 wxPyEndAllowThreads(__tstate
);
11583 if (PyErr_Occurred()) SWIG_fail
;
11585 Py_INCREF(Py_None
); resultobj
= Py_None
;
11600 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11601 PyObject
*resultobj
;
11602 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11603 wxString
*arg2
= 0 ;
11604 bool temp2
= False
;
11605 PyObject
* obj0
= 0 ;
11606 PyObject
* obj1
= 0 ;
11607 char *kwnames
[] = {
11608 (char *) "self",(char *) "wildCard", NULL
11611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
11612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11614 arg2
= wxString_in_helper(obj1
);
11615 if (arg2
== NULL
) SWIG_fail
;
11619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11620 (arg1
)->SetWildcard((wxString
const &)*arg2
);
11622 wxPyEndAllowThreads(__tstate
);
11623 if (PyErr_Occurred()) SWIG_fail
;
11625 Py_INCREF(Py_None
); resultobj
= Py_None
;
11640 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11641 PyObject
*resultobj
;
11642 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11644 PyObject
* obj0
= 0 ;
11645 PyObject
* obj1
= 0 ;
11646 char *kwnames
[] = {
11647 (char *) "self",(char *) "style", NULL
11650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11653 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
11654 if (PyErr_Occurred()) SWIG_fail
;
11657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11658 (arg1
)->SetStyle(arg2
);
11660 wxPyEndAllowThreads(__tstate
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11663 Py_INCREF(Py_None
); resultobj
= Py_None
;
11670 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11671 PyObject
*resultobj
;
11672 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11674 PyObject
* obj0
= 0 ;
11675 PyObject
* obj1
= 0 ;
11676 char *kwnames
[] = {
11677 (char *) "self",(char *) "filterIndex", NULL
11680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
11681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11683 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11684 if (PyErr_Occurred()) SWIG_fail
;
11687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11688 (arg1
)->SetFilterIndex(arg2
);
11690 wxPyEndAllowThreads(__tstate
);
11691 if (PyErr_Occurred()) SWIG_fail
;
11693 Py_INCREF(Py_None
); resultobj
= Py_None
;
11700 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11701 PyObject
*resultobj
;
11702 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11704 PyObject
* obj0
= 0 ;
11705 char *kwnames
[] = {
11706 (char *) "self", NULL
11709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11713 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
11715 wxPyEndAllowThreads(__tstate
);
11716 if (PyErr_Occurred()) SWIG_fail
;
11720 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11722 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11731 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11732 PyObject
*resultobj
;
11733 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11735 PyObject
* obj0
= 0 ;
11736 char *kwnames
[] = {
11737 (char *) "self", NULL
11740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11744 result
= ((wxFileDialog
const *)arg1
)->GetPath();
11746 wxPyEndAllowThreads(__tstate
);
11747 if (PyErr_Occurred()) SWIG_fail
;
11751 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11753 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11762 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11763 PyObject
*resultobj
;
11764 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11766 PyObject
* obj0
= 0 ;
11767 char *kwnames
[] = {
11768 (char *) "self", NULL
11771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
11772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11775 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
11777 wxPyEndAllowThreads(__tstate
);
11778 if (PyErr_Occurred()) SWIG_fail
;
11782 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11784 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11793 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11794 PyObject
*resultobj
;
11795 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11797 PyObject
* obj0
= 0 ;
11798 char *kwnames
[] = {
11799 (char *) "self", NULL
11802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
11803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11806 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
11808 wxPyEndAllowThreads(__tstate
);
11809 if (PyErr_Occurred()) SWIG_fail
;
11813 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11815 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11824 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11825 PyObject
*resultobj
;
11826 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11828 PyObject
* obj0
= 0 ;
11829 char *kwnames
[] = {
11830 (char *) "self", NULL
11833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
11834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11837 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
11839 wxPyEndAllowThreads(__tstate
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11844 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11846 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11855 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11856 PyObject
*resultobj
;
11857 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11859 PyObject
* obj0
= 0 ;
11860 char *kwnames
[] = {
11861 (char *) "self", NULL
11864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11868 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
11870 wxPyEndAllowThreads(__tstate
);
11871 if (PyErr_Occurred()) SWIG_fail
;
11873 resultobj
= SWIG_PyObj_FromLong((long)result
);
11880 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11881 PyObject
*resultobj
;
11882 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11884 PyObject
* obj0
= 0 ;
11885 char *kwnames
[] = {
11886 (char *) "self", NULL
11889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
11890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11893 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
11895 wxPyEndAllowThreads(__tstate
);
11896 if (PyErr_Occurred()) SWIG_fail
;
11898 resultobj
= SWIG_PyObj_FromInt((int)result
);
11905 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11906 PyObject
*resultobj
;
11907 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11909 PyObject
* obj0
= 0 ;
11910 char *kwnames
[] = {
11911 (char *) "self", NULL
11914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
11915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11918 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
11920 wxPyEndAllowThreads(__tstate
);
11921 if (PyErr_Occurred()) SWIG_fail
;
11923 resultobj
= result
;
11930 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11931 PyObject
*resultobj
;
11932 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11934 PyObject
* obj0
= 0 ;
11935 char *kwnames
[] = {
11936 (char *) "self", NULL
11939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
11940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11943 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
11945 wxPyEndAllowThreads(__tstate
);
11946 if (PyErr_Occurred()) SWIG_fail
;
11948 resultobj
= result
;
11955 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11958 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
11960 return Py_BuildValue((char *)"");
11962 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11963 PyObject
*resultobj
;
11964 wxWindow
*arg1
= (wxWindow
*) 0 ;
11965 wxString
*arg2
= 0 ;
11966 wxString
*arg3
= 0 ;
11967 int arg4
= (int) 0 ;
11968 wxString
*arg5
= (wxString
*) 0 ;
11969 long arg6
= (long) wxCHOICEDLG_STYLE
;
11970 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11971 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11972 wxMultiChoiceDialog
*result
;
11973 bool temp2
= False
;
11974 bool temp3
= False
;
11976 PyObject
* obj0
= 0 ;
11977 PyObject
* obj1
= 0 ;
11978 PyObject
* obj2
= 0 ;
11979 PyObject
* obj3
= 0 ;
11980 PyObject
* obj4
= 0 ;
11981 PyObject
* obj5
= 0 ;
11982 char *kwnames
[] = {
11983 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11989 arg2
= wxString_in_helper(obj1
);
11990 if (arg2
== NULL
) SWIG_fail
;
11994 arg3
= wxString_in_helper(obj2
);
11995 if (arg3
== NULL
) SWIG_fail
;
12000 arg4
= PyList_Size(obj3
);
12001 arg5
= wxString_LIST_helper(obj3
);
12002 if (arg5
== NULL
) SWIG_fail
;
12007 arg6
= (long) SWIG_PyObj_AsLong(obj4
);
12008 if (PyErr_Occurred()) SWIG_fail
;
12014 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12019 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12021 wxPyEndAllowThreads(__tstate
);
12022 if (PyErr_Occurred()) SWIG_fail
;
12024 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12034 if (arg5
) delete [] arg5
;
12047 if (arg5
) delete [] arg5
;
12053 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12054 PyObject
*resultobj
;
12055 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12056 wxArrayInt
*arg2
= 0 ;
12057 bool temp2
= False
;
12058 PyObject
* obj0
= 0 ;
12059 PyObject
* obj1
= 0 ;
12060 char *kwnames
[] = {
12061 (char *) "self",(char *) "selections", NULL
12064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12067 if (! PySequence_Check(obj1
)) {
12068 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12071 arg2
= new wxArrayInt
;
12073 int i
, len
=PySequence_Length(obj1
);
12074 for (i
=0; i
<len
; i
++) {
12075 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12076 PyObject
* number
= PyNumber_Int(item
);
12077 arg2
->Add(PyInt_AS_LONG(number
));
12083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12084 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12086 wxPyEndAllowThreads(__tstate
);
12087 if (PyErr_Occurred()) SWIG_fail
;
12089 Py_INCREF(Py_None
); resultobj
= Py_None
;
12091 if (temp2
) delete arg2
;
12096 if (temp2
) delete arg2
;
12102 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12103 PyObject
*resultobj
;
12104 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12106 PyObject
* obj0
= 0 ;
12107 char *kwnames
[] = {
12108 (char *) "self", NULL
12111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12115 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12117 wxPyEndAllowThreads(__tstate
);
12118 if (PyErr_Occurred()) SWIG_fail
;
12120 resultobj
= result
;
12127 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12130 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12132 return Py_BuildValue((char *)"");
12134 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12135 PyObject
*resultobj
;
12136 wxWindow
*arg1
= (wxWindow
*) 0 ;
12137 wxString
*arg2
= 0 ;
12138 wxString
*arg3
= 0 ;
12140 wxString
*arg5
= (wxString
*) 0 ;
12141 long arg6
= (long) wxCHOICEDLG_STYLE
;
12142 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12143 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12144 wxSingleChoiceDialog
*result
;
12145 bool temp2
= False
;
12146 bool temp3
= False
;
12148 PyObject
* obj0
= 0 ;
12149 PyObject
* obj1
= 0 ;
12150 PyObject
* obj2
= 0 ;
12151 PyObject
* obj3
= 0 ;
12152 PyObject
* obj4
= 0 ;
12153 PyObject
* obj5
= 0 ;
12154 char *kwnames
[] = {
12155 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12161 arg2
= wxString_in_helper(obj1
);
12162 if (arg2
== NULL
) SWIG_fail
;
12166 arg3
= wxString_in_helper(obj2
);
12167 if (arg3
== NULL
) SWIG_fail
;
12171 arg4
= PyList_Size(obj3
);
12172 arg5
= wxString_LIST_helper(obj3
);
12173 if (arg5
== NULL
) SWIG_fail
;
12177 arg6
= (long) SWIG_PyObj_AsLong(obj4
);
12178 if (PyErr_Occurred()) SWIG_fail
;
12184 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12189 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12191 wxPyEndAllowThreads(__tstate
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12194 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12204 if (arg5
) delete [] arg5
;
12217 if (arg5
) delete [] arg5
;
12223 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12224 PyObject
*resultobj
;
12225 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12227 PyObject
* obj0
= 0 ;
12228 char *kwnames
[] = {
12229 (char *) "self", NULL
12232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12236 result
= (int)(arg1
)->GetSelection();
12238 wxPyEndAllowThreads(__tstate
);
12239 if (PyErr_Occurred()) SWIG_fail
;
12241 resultobj
= SWIG_PyObj_FromInt((int)result
);
12248 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12249 PyObject
*resultobj
;
12250 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12252 PyObject
* obj0
= 0 ;
12253 char *kwnames
[] = {
12254 (char *) "self", NULL
12257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12261 result
= (arg1
)->GetStringSelection();
12263 wxPyEndAllowThreads(__tstate
);
12264 if (PyErr_Occurred()) SWIG_fail
;
12268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12279 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12280 PyObject
*resultobj
;
12281 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12283 PyObject
* obj0
= 0 ;
12284 PyObject
* obj1
= 0 ;
12285 char *kwnames
[] = {
12286 (char *) "self",(char *) "sel", NULL
12289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12292 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12293 if (PyErr_Occurred()) SWIG_fail
;
12296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12297 (arg1
)->SetSelection(arg2
);
12299 wxPyEndAllowThreads(__tstate
);
12300 if (PyErr_Occurred()) SWIG_fail
;
12302 Py_INCREF(Py_None
); resultobj
= Py_None
;
12309 static PyObject
*_wrap_SingleChoiceDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12310 PyObject
*resultobj
;
12311 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12313 PyObject
* obj0
= 0 ;
12314 char *kwnames
[] = {
12315 (char *) "self", NULL
12318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
12319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12322 result
= (int)(arg1
)->ShowModal();
12324 wxPyEndAllowThreads(__tstate
);
12325 if (PyErr_Occurred()) SWIG_fail
;
12327 resultobj
= SWIG_PyObj_FromInt((int)result
);
12334 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12337 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12339 return Py_BuildValue((char *)"");
12341 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12342 PyObject
*resultobj
;
12343 wxWindow
*arg1
= (wxWindow
*) 0 ;
12344 wxString
*arg2
= 0 ;
12345 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12346 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12347 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12348 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12349 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12350 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12351 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12352 wxTextEntryDialog
*result
;
12353 bool temp2
= False
;
12354 bool temp3
= False
;
12355 bool temp4
= False
;
12357 PyObject
* obj0
= 0 ;
12358 PyObject
* obj1
= 0 ;
12359 PyObject
* obj2
= 0 ;
12360 PyObject
* obj3
= 0 ;
12361 PyObject
* obj4
= 0 ;
12362 PyObject
* obj5
= 0 ;
12363 char *kwnames
[] = {
12364 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12370 arg2
= wxString_in_helper(obj1
);
12371 if (arg2
== NULL
) SWIG_fail
;
12376 arg3
= wxString_in_helper(obj2
);
12377 if (arg3
== NULL
) SWIG_fail
;
12383 arg4
= wxString_in_helper(obj3
);
12384 if (arg4
== NULL
) SWIG_fail
;
12390 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
12391 if (PyErr_Occurred()) SWIG_fail
;
12397 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12402 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12404 wxPyEndAllowThreads(__tstate
);
12405 if (PyErr_Occurred()) SWIG_fail
;
12407 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextEntryDialog
, 1);
12438 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12439 PyObject
*resultobj
;
12440 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12442 PyObject
* obj0
= 0 ;
12443 char *kwnames
[] = {
12444 (char *) "self", NULL
12447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12451 result
= (arg1
)->GetValue();
12453 wxPyEndAllowThreads(__tstate
);
12454 if (PyErr_Occurred()) SWIG_fail
;
12458 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12460 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12469 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12470 PyObject
*resultobj
;
12471 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12472 wxString
*arg2
= 0 ;
12473 bool temp2
= False
;
12474 PyObject
* obj0
= 0 ;
12475 PyObject
* obj1
= 0 ;
12476 char *kwnames
[] = {
12477 (char *) "self",(char *) "value", NULL
12480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12483 arg2
= wxString_in_helper(obj1
);
12484 if (arg2
== NULL
) SWIG_fail
;
12488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12489 (arg1
)->SetValue((wxString
const &)*arg2
);
12491 wxPyEndAllowThreads(__tstate
);
12492 if (PyErr_Occurred()) SWIG_fail
;
12494 Py_INCREF(Py_None
); resultobj
= Py_None
;
12509 static PyObject
*_wrap_TextEntryDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12510 PyObject
*resultobj
;
12511 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12513 PyObject
* obj0
= 0 ;
12514 char *kwnames
[] = {
12515 (char *) "self", NULL
12518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
12519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12522 result
= (int)(arg1
)->ShowModal();
12524 wxPyEndAllowThreads(__tstate
);
12525 if (PyErr_Occurred()) SWIG_fail
;
12527 resultobj
= SWIG_PyObj_FromInt((int)result
);
12534 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12537 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12539 return Py_BuildValue((char *)"");
12541 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12542 PyObject
*resultobj
;
12543 wxFontData
*result
;
12544 char *kwnames
[] = {
12548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
12550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12551 result
= (wxFontData
*)new wxFontData();
12553 wxPyEndAllowThreads(__tstate
);
12554 if (PyErr_Occurred()) SWIG_fail
;
12556 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 1);
12563 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12564 PyObject
*resultobj
;
12565 wxFontData
*arg1
= (wxFontData
*) 0 ;
12566 PyObject
* obj0
= 0 ;
12567 char *kwnames
[] = {
12568 (char *) "self", NULL
12571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
12572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12577 wxPyEndAllowThreads(__tstate
);
12578 if (PyErr_Occurred()) SWIG_fail
;
12580 Py_INCREF(Py_None
); resultobj
= Py_None
;
12587 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12588 PyObject
*resultobj
;
12589 wxFontData
*arg1
= (wxFontData
*) 0 ;
12591 PyObject
* obj0
= 0 ;
12592 PyObject
* obj1
= 0 ;
12593 char *kwnames
[] = {
12594 (char *) "self",(char *) "enable", NULL
12597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
12598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12600 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12605 (arg1
)->EnableEffects(arg2
);
12607 wxPyEndAllowThreads(__tstate
);
12608 if (PyErr_Occurred()) SWIG_fail
;
12610 Py_INCREF(Py_None
); resultobj
= Py_None
;
12617 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12618 PyObject
*resultobj
;
12619 wxFontData
*arg1
= (wxFontData
*) 0 ;
12621 PyObject
* obj0
= 0 ;
12622 char *kwnames
[] = {
12623 (char *) "self", NULL
12626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
12627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12630 result
= (bool)(arg1
)->GetAllowSymbols();
12632 wxPyEndAllowThreads(__tstate
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12642 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12643 PyObject
*resultobj
;
12644 wxFontData
*arg1
= (wxFontData
*) 0 ;
12646 PyObject
* obj0
= 0 ;
12647 char *kwnames
[] = {
12648 (char *) "self", NULL
12651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
12652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12655 result
= (arg1
)->GetColour();
12657 wxPyEndAllowThreads(__tstate
);
12658 if (PyErr_Occurred()) SWIG_fail
;
12661 wxColour
* resultptr
;
12662 resultptr
= new wxColour((wxColour
&) result
);
12663 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
12671 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12672 PyObject
*resultobj
;
12673 wxFontData
*arg1
= (wxFontData
*) 0 ;
12675 PyObject
* obj0
= 0 ;
12676 char *kwnames
[] = {
12677 (char *) "self", NULL
12680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
12681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 result
= (arg1
)->GetChosenFont();
12686 wxPyEndAllowThreads(__tstate
);
12687 if (PyErr_Occurred()) SWIG_fail
;
12690 wxFont
* resultptr
;
12691 resultptr
= new wxFont((wxFont
&) result
);
12692 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
12700 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12701 PyObject
*resultobj
;
12702 wxFontData
*arg1
= (wxFontData
*) 0 ;
12704 PyObject
* obj0
= 0 ;
12705 char *kwnames
[] = {
12706 (char *) "self", NULL
12709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
12710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12713 result
= (bool)(arg1
)->GetEnableEffects();
12715 wxPyEndAllowThreads(__tstate
);
12716 if (PyErr_Occurred()) SWIG_fail
;
12718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12725 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12726 PyObject
*resultobj
;
12727 wxFontData
*arg1
= (wxFontData
*) 0 ;
12729 PyObject
* obj0
= 0 ;
12730 char *kwnames
[] = {
12731 (char *) "self", NULL
12734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
12735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12738 result
= (arg1
)->GetInitialFont();
12740 wxPyEndAllowThreads(__tstate
);
12741 if (PyErr_Occurred()) SWIG_fail
;
12744 wxFont
* resultptr
;
12745 resultptr
= new wxFont((wxFont
&) result
);
12746 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
12754 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12755 PyObject
*resultobj
;
12756 wxFontData
*arg1
= (wxFontData
*) 0 ;
12758 PyObject
* obj0
= 0 ;
12759 char *kwnames
[] = {
12760 (char *) "self", NULL
12763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
12764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12767 result
= (bool)(arg1
)->GetShowHelp();
12769 wxPyEndAllowThreads(__tstate
);
12770 if (PyErr_Occurred()) SWIG_fail
;
12772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12779 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12780 PyObject
*resultobj
;
12781 wxFontData
*arg1
= (wxFontData
*) 0 ;
12783 PyObject
* obj0
= 0 ;
12784 PyObject
* obj1
= 0 ;
12785 char *kwnames
[] = {
12786 (char *) "self",(char *) "allowSymbols", NULL
12789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
12790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12792 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12797 (arg1
)->SetAllowSymbols(arg2
);
12799 wxPyEndAllowThreads(__tstate
);
12800 if (PyErr_Occurred()) SWIG_fail
;
12802 Py_INCREF(Py_None
); resultobj
= Py_None
;
12809 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12810 PyObject
*resultobj
;
12811 wxFontData
*arg1
= (wxFontData
*) 0 ;
12813 PyObject
* obj0
= 0 ;
12814 PyObject
* obj1
= 0 ;
12815 char *kwnames
[] = {
12816 (char *) "self",(char *) "font", NULL
12819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12821 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12822 if (arg2
== NULL
) {
12823 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12827 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
12829 wxPyEndAllowThreads(__tstate
);
12830 if (PyErr_Occurred()) SWIG_fail
;
12832 Py_INCREF(Py_None
); resultobj
= Py_None
;
12839 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12840 PyObject
*resultobj
;
12841 wxFontData
*arg1
= (wxFontData
*) 0 ;
12842 wxColour
*arg2
= 0 ;
12844 PyObject
* obj0
= 0 ;
12845 PyObject
* obj1
= 0 ;
12846 char *kwnames
[] = {
12847 (char *) "self",(char *) "colour", NULL
12850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12854 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12858 (arg1
)->SetColour((wxColour
const &)*arg2
);
12860 wxPyEndAllowThreads(__tstate
);
12861 if (PyErr_Occurred()) SWIG_fail
;
12863 Py_INCREF(Py_None
); resultobj
= Py_None
;
12870 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12871 PyObject
*resultobj
;
12872 wxFontData
*arg1
= (wxFontData
*) 0 ;
12874 PyObject
* obj0
= 0 ;
12875 PyObject
* obj1
= 0 ;
12876 char *kwnames
[] = {
12877 (char *) "self",(char *) "font", NULL
12880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12882 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12883 if (arg2
== NULL
) {
12884 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12888 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
12890 wxPyEndAllowThreads(__tstate
);
12891 if (PyErr_Occurred()) SWIG_fail
;
12893 Py_INCREF(Py_None
); resultobj
= Py_None
;
12900 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12901 PyObject
*resultobj
;
12902 wxFontData
*arg1
= (wxFontData
*) 0 ;
12905 PyObject
* obj0
= 0 ;
12906 PyObject
* obj1
= 0 ;
12907 PyObject
* obj2
= 0 ;
12908 char *kwnames
[] = {
12909 (char *) "self",(char *) "min",(char *) "max", NULL
12912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12915 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12916 if (PyErr_Occurred()) SWIG_fail
;
12919 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12920 if (PyErr_Occurred()) SWIG_fail
;
12923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12924 (arg1
)->SetRange(arg2
,arg3
);
12926 wxPyEndAllowThreads(__tstate
);
12927 if (PyErr_Occurred()) SWIG_fail
;
12929 Py_INCREF(Py_None
); resultobj
= Py_None
;
12936 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12937 PyObject
*resultobj
;
12938 wxFontData
*arg1
= (wxFontData
*) 0 ;
12940 PyObject
* obj0
= 0 ;
12941 PyObject
* obj1
= 0 ;
12942 char *kwnames
[] = {
12943 (char *) "self",(char *) "showHelp", NULL
12946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
12947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12949 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12950 if (PyErr_Occurred()) SWIG_fail
;
12953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12954 (arg1
)->SetShowHelp(arg2
);
12956 wxPyEndAllowThreads(__tstate
);
12957 if (PyErr_Occurred()) SWIG_fail
;
12959 Py_INCREF(Py_None
); resultobj
= Py_None
;
12966 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
12968 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12969 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
12971 return Py_BuildValue((char *)"");
12973 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12974 PyObject
*resultobj
;
12975 wxWindow
*arg1
= (wxWindow
*) 0 ;
12976 wxFontData
*arg2
= 0 ;
12977 wxFontDialog
*result
;
12978 PyObject
* obj0
= 0 ;
12979 PyObject
* obj1
= 0 ;
12980 char *kwnames
[] = {
12981 (char *) "parent",(char *) "data", NULL
12984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
12985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12986 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12987 if (arg2
== NULL
) {
12988 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12992 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
12994 wxPyEndAllowThreads(__tstate
);
12995 if (PyErr_Occurred()) SWIG_fail
;
12997 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontDialog
, 1);
13004 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13005 PyObject
*resultobj
;
13006 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13007 wxFontData
*result
;
13008 PyObject
* obj0
= 0 ;
13009 char *kwnames
[] = {
13010 (char *) "self", NULL
13013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13018 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13019 result
= (wxFontData
*) &_result_ref
;
13022 wxPyEndAllowThreads(__tstate
);
13023 if (PyErr_Occurred()) SWIG_fail
;
13025 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 0);
13032 static PyObject
*_wrap_FontDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13033 PyObject
*resultobj
;
13034 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13036 PyObject
* obj0
= 0 ;
13037 char *kwnames
[] = {
13038 (char *) "self", NULL
13041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
13042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13045 result
= (int)(arg1
)->ShowModal();
13047 wxPyEndAllowThreads(__tstate
);
13048 if (PyErr_Occurred()) SWIG_fail
;
13050 resultobj
= SWIG_PyObj_FromInt((int)result
);
13057 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13060 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13062 return Py_BuildValue((char *)"");
13064 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13065 PyObject
*resultobj
;
13066 wxWindow
*arg1
= (wxWindow
*) 0 ;
13067 wxString
*arg2
= 0 ;
13068 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13069 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13070 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13071 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13072 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13073 wxMessageDialog
*result
;
13074 bool temp2
= False
;
13075 bool temp3
= False
;
13077 PyObject
* obj0
= 0 ;
13078 PyObject
* obj1
= 0 ;
13079 PyObject
* obj2
= 0 ;
13080 PyObject
* obj3
= 0 ;
13081 PyObject
* obj4
= 0 ;
13082 char *kwnames
[] = {
13083 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13089 arg2
= wxString_in_helper(obj1
);
13090 if (arg2
== NULL
) SWIG_fail
;
13095 arg3
= wxString_in_helper(obj2
);
13096 if (arg3
== NULL
) SWIG_fail
;
13102 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
13103 if (PyErr_Occurred()) SWIG_fail
;
13109 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13114 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13116 wxPyEndAllowThreads(__tstate
);
13117 if (PyErr_Occurred()) SWIG_fail
;
13119 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMessageDialog
, 1);
13142 static PyObject
*_wrap_MessageDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13143 PyObject
*resultobj
;
13144 wxMessageDialog
*arg1
= (wxMessageDialog
*) 0 ;
13146 PyObject
* obj0
= 0 ;
13147 char *kwnames
[] = {
13148 (char *) "self", NULL
13151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MessageDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
13152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMessageDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13155 result
= (int)(arg1
)->ShowModal();
13157 wxPyEndAllowThreads(__tstate
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13160 resultobj
= SWIG_PyObj_FromInt((int)result
);
13167 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13169 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13170 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13172 return Py_BuildValue((char *)"");
13174 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13175 PyObject
*resultobj
;
13176 wxString
*arg1
= 0 ;
13177 wxString
*arg2
= 0 ;
13178 int arg3
= (int) 100 ;
13179 wxWindow
*arg4
= (wxWindow
*) NULL
;
13180 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13181 wxProgressDialog
*result
;
13182 bool temp1
= False
;
13183 bool temp2
= False
;
13184 PyObject
* obj0
= 0 ;
13185 PyObject
* obj1
= 0 ;
13186 PyObject
* obj2
= 0 ;
13187 PyObject
* obj3
= 0 ;
13188 PyObject
* obj4
= 0 ;
13189 char *kwnames
[] = {
13190 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13195 arg1
= wxString_in_helper(obj0
);
13196 if (arg1
== NULL
) SWIG_fail
;
13200 arg2
= wxString_in_helper(obj1
);
13201 if (arg2
== NULL
) SWIG_fail
;
13206 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13207 if (PyErr_Occurred()) SWIG_fail
;
13211 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13215 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13216 if (PyErr_Occurred()) SWIG_fail
;
13220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13221 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13223 wxPyEndAllowThreads(__tstate
);
13224 if (PyErr_Occurred()) SWIG_fail
;
13226 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxProgressDialog
, 1);
13249 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13250 PyObject
*resultobj
;
13251 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13253 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13254 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13256 bool temp3
= False
;
13257 PyObject
* obj0
= 0 ;
13258 PyObject
* obj1
= 0 ;
13259 PyObject
* obj2
= 0 ;
13260 char *kwnames
[] = {
13261 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13267 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13268 if (PyErr_Occurred()) SWIG_fail
;
13272 arg3
= wxString_in_helper(obj2
);
13273 if (arg3
== NULL
) SWIG_fail
;
13278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13279 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13281 wxPyEndAllowThreads(__tstate
);
13282 if (PyErr_Occurred()) SWIG_fail
;
13284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13299 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13300 PyObject
*resultobj
;
13301 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13302 PyObject
* obj0
= 0 ;
13303 char *kwnames
[] = {
13304 (char *) "self", NULL
13307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13313 wxPyEndAllowThreads(__tstate
);
13314 if (PyErr_Occurred()) SWIG_fail
;
13316 Py_INCREF(Py_None
); resultobj
= Py_None
;
13323 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13326 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13328 return Py_BuildValue((char *)"");
13330 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13331 PyObject
*resultobj
;
13332 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13333 int arg2
= (int) 0 ;
13334 wxFindDialogEvent
*result
;
13335 PyObject
* obj0
= 0 ;
13336 PyObject
* obj1
= 0 ;
13337 char *kwnames
[] = {
13338 (char *) "commandType",(char *) "id", NULL
13341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13344 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
13345 if (PyErr_Occurred()) SWIG_fail
;
13350 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13351 if (PyErr_Occurred()) SWIG_fail
;
13355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13356 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13358 wxPyEndAllowThreads(__tstate
);
13359 if (PyErr_Occurred()) SWIG_fail
;
13361 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindDialogEvent
, 1);
13368 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13369 PyObject
*resultobj
;
13370 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13372 PyObject
* obj0
= 0 ;
13373 char *kwnames
[] = {
13374 (char *) "self", NULL
13377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13381 result
= (int)(arg1
)->GetFlags();
13383 wxPyEndAllowThreads(__tstate
);
13384 if (PyErr_Occurred()) SWIG_fail
;
13386 resultobj
= SWIG_PyObj_FromInt((int)result
);
13393 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13394 PyObject
*resultobj
;
13395 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13397 PyObject
* obj0
= 0 ;
13398 char *kwnames
[] = {
13399 (char *) "self", NULL
13402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13407 wxString
const &_result_ref
= (arg1
)->GetFindString();
13408 result
= (wxString
*) &_result_ref
;
13411 wxPyEndAllowThreads(__tstate
);
13412 if (PyErr_Occurred()) SWIG_fail
;
13416 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13418 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13427 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13428 PyObject
*resultobj
;
13429 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13431 PyObject
* obj0
= 0 ;
13432 char *kwnames
[] = {
13433 (char *) "self", NULL
13436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13441 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13442 result
= (wxString
*) &_result_ref
;
13445 wxPyEndAllowThreads(__tstate
);
13446 if (PyErr_Occurred()) SWIG_fail
;
13450 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13452 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13461 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13462 PyObject
*resultobj
;
13463 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13464 wxFindReplaceDialog
*result
;
13465 PyObject
* obj0
= 0 ;
13466 char *kwnames
[] = {
13467 (char *) "self", NULL
13470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13474 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13476 wxPyEndAllowThreads(__tstate
);
13477 if (PyErr_Occurred()) SWIG_fail
;
13479 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 0);
13486 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13487 PyObject
*resultobj
;
13488 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13490 PyObject
* obj0
= 0 ;
13491 PyObject
* obj1
= 0 ;
13492 char *kwnames
[] = {
13493 (char *) "self",(char *) "flags", NULL
13496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13499 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13500 if (PyErr_Occurred()) SWIG_fail
;
13503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13504 (arg1
)->SetFlags(arg2
);
13506 wxPyEndAllowThreads(__tstate
);
13507 if (PyErr_Occurred()) SWIG_fail
;
13509 Py_INCREF(Py_None
); resultobj
= Py_None
;
13516 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13517 PyObject
*resultobj
;
13518 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13519 wxString
*arg2
= 0 ;
13520 bool temp2
= False
;
13521 PyObject
* obj0
= 0 ;
13522 PyObject
* obj1
= 0 ;
13523 char *kwnames
[] = {
13524 (char *) "self",(char *) "str", NULL
13527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13530 arg2
= wxString_in_helper(obj1
);
13531 if (arg2
== NULL
) SWIG_fail
;
13535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13536 (arg1
)->SetFindString((wxString
const &)*arg2
);
13538 wxPyEndAllowThreads(__tstate
);
13539 if (PyErr_Occurred()) SWIG_fail
;
13541 Py_INCREF(Py_None
); resultobj
= Py_None
;
13556 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13557 PyObject
*resultobj
;
13558 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13559 wxString
*arg2
= 0 ;
13560 bool temp2
= False
;
13561 PyObject
* obj0
= 0 ;
13562 PyObject
* obj1
= 0 ;
13563 char *kwnames
[] = {
13564 (char *) "self",(char *) "str", NULL
13567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13570 arg2
= wxString_in_helper(obj1
);
13571 if (arg2
== NULL
) SWIG_fail
;
13575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13576 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13578 wxPyEndAllowThreads(__tstate
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13581 Py_INCREF(Py_None
); resultobj
= Py_None
;
13596 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13598 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13599 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
13601 return Py_BuildValue((char *)"");
13603 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13604 PyObject
*resultobj
;
13605 int arg1
= (int) 0 ;
13606 wxFindReplaceData
*result
;
13607 PyObject
* obj0
= 0 ;
13608 char *kwnames
[] = {
13609 (char *) "flags", NULL
13612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13615 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
13616 if (PyErr_Occurred()) SWIG_fail
;
13620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13621 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
13623 wxPyEndAllowThreads(__tstate
);
13624 if (PyErr_Occurred()) SWIG_fail
;
13626 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 1);
13633 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13634 PyObject
*resultobj
;
13635 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13636 PyObject
* obj0
= 0 ;
13637 char *kwnames
[] = {
13638 (char *) "self", NULL
13641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13647 wxPyEndAllowThreads(__tstate
);
13648 if (PyErr_Occurred()) SWIG_fail
;
13650 Py_INCREF(Py_None
); resultobj
= Py_None
;
13657 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13658 PyObject
*resultobj
;
13659 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13661 PyObject
* obj0
= 0 ;
13662 char *kwnames
[] = {
13663 (char *) "self", NULL
13666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
13667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13671 wxString
const &_result_ref
= (arg1
)->GetFindString();
13672 result
= (wxString
*) &_result_ref
;
13675 wxPyEndAllowThreads(__tstate
);
13676 if (PyErr_Occurred()) SWIG_fail
;
13680 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13682 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13691 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13692 PyObject
*resultobj
;
13693 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13695 PyObject
* obj0
= 0 ;
13696 char *kwnames
[] = {
13697 (char *) "self", NULL
13700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13705 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13706 result
= (wxString
*) &_result_ref
;
13709 wxPyEndAllowThreads(__tstate
);
13710 if (PyErr_Occurred()) SWIG_fail
;
13714 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13716 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13725 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13726 PyObject
*resultobj
;
13727 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13729 PyObject
* obj0
= 0 ;
13730 char *kwnames
[] = {
13731 (char *) "self", NULL
13734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
13735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13738 result
= (int)(arg1
)->GetFlags();
13740 wxPyEndAllowThreads(__tstate
);
13741 if (PyErr_Occurred()) SWIG_fail
;
13743 resultobj
= SWIG_PyObj_FromInt((int)result
);
13750 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13751 PyObject
*resultobj
;
13752 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13754 PyObject
* obj0
= 0 ;
13755 PyObject
* obj1
= 0 ;
13756 char *kwnames
[] = {
13757 (char *) "self",(char *) "flags", NULL
13760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13763 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13764 if (PyErr_Occurred()) SWIG_fail
;
13767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13768 (arg1
)->SetFlags(arg2
);
13770 wxPyEndAllowThreads(__tstate
);
13771 if (PyErr_Occurred()) SWIG_fail
;
13773 Py_INCREF(Py_None
); resultobj
= Py_None
;
13780 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13781 PyObject
*resultobj
;
13782 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13783 wxString
*arg2
= 0 ;
13784 bool temp2
= False
;
13785 PyObject
* obj0
= 0 ;
13786 PyObject
* obj1
= 0 ;
13787 char *kwnames
[] = {
13788 (char *) "self",(char *) "str", NULL
13791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13794 arg2
= wxString_in_helper(obj1
);
13795 if (arg2
== NULL
) SWIG_fail
;
13799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13800 (arg1
)->SetFindString((wxString
const &)*arg2
);
13802 wxPyEndAllowThreads(__tstate
);
13803 if (PyErr_Occurred()) SWIG_fail
;
13805 Py_INCREF(Py_None
); resultobj
= Py_None
;
13820 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13821 PyObject
*resultobj
;
13822 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13823 wxString
*arg2
= 0 ;
13824 bool temp2
= False
;
13825 PyObject
* obj0
= 0 ;
13826 PyObject
* obj1
= 0 ;
13827 char *kwnames
[] = {
13828 (char *) "self",(char *) "str", NULL
13831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13834 arg2
= wxString_in_helper(obj1
);
13835 if (arg2
== NULL
) SWIG_fail
;
13839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13840 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13842 wxPyEndAllowThreads(__tstate
);
13843 if (PyErr_Occurred()) SWIG_fail
;
13845 Py_INCREF(Py_None
); resultobj
= Py_None
;
13860 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
13862 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13863 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
13865 return Py_BuildValue((char *)"");
13867 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13868 PyObject
*resultobj
;
13869 wxWindow
*arg1
= (wxWindow
*) 0 ;
13870 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
13871 wxString
*arg3
= 0 ;
13872 int arg4
= (int) 0 ;
13873 wxFindReplaceDialog
*result
;
13874 bool temp3
= False
;
13875 PyObject
* obj0
= 0 ;
13876 PyObject
* obj1
= 0 ;
13877 PyObject
* obj2
= 0 ;
13878 PyObject
* obj3
= 0 ;
13879 char *kwnames
[] = {
13880 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13885 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13887 arg3
= wxString_in_helper(obj2
);
13888 if (arg3
== NULL
) SWIG_fail
;
13893 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
13894 if (PyErr_Occurred()) SWIG_fail
;
13898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13899 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13901 wxPyEndAllowThreads(__tstate
);
13902 if (PyErr_Occurred()) SWIG_fail
;
13904 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
13919 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13920 PyObject
*resultobj
;
13921 wxFindReplaceDialog
*result
;
13922 char *kwnames
[] = {
13926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
13928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13929 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
13931 wxPyEndAllowThreads(__tstate
);
13932 if (PyErr_Occurred()) SWIG_fail
;
13934 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
13941 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13942 PyObject
*resultobj
;
13943 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13944 wxWindow
*arg2
= (wxWindow
*) 0 ;
13945 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
13946 wxString
*arg4
= 0 ;
13947 int arg5
= (int) 0 ;
13949 bool temp4
= False
;
13950 PyObject
* obj0
= 0 ;
13951 PyObject
* obj1
= 0 ;
13952 PyObject
* obj2
= 0 ;
13953 PyObject
* obj3
= 0 ;
13954 PyObject
* obj4
= 0 ;
13955 char *kwnames
[] = {
13956 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13961 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13962 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13964 arg4
= wxString_in_helper(obj3
);
13965 if (arg4
== NULL
) SWIG_fail
;
13970 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13971 if (PyErr_Occurred()) SWIG_fail
;
13975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13976 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13978 wxPyEndAllowThreads(__tstate
);
13979 if (PyErr_Occurred()) SWIG_fail
;
13981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13996 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13997 PyObject
*resultobj
;
13998 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13999 wxFindReplaceData
*result
;
14000 PyObject
* obj0
= 0 ;
14001 char *kwnames
[] = {
14002 (char *) "self", NULL
14005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14009 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14011 wxPyEndAllowThreads(__tstate
);
14012 if (PyErr_Occurred()) SWIG_fail
;
14014 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 0);
14021 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14022 PyObject
*resultobj
;
14023 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14024 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14025 PyObject
* obj0
= 0 ;
14026 PyObject
* obj1
= 0 ;
14027 char *kwnames
[] = {
14028 (char *) "self",(char *) "data", NULL
14031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14033 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14036 (arg1
)->SetData(arg2
);
14038 wxPyEndAllowThreads(__tstate
);
14039 if (PyErr_Occurred()) SWIG_fail
;
14041 Py_INCREF(Py_None
); resultobj
= Py_None
;
14048 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14050 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14051 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14053 return Py_BuildValue((char *)"");
14055 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14056 PyObject
*resultobj
;
14057 wxWindow
*arg1
= (wxWindow
*) 0 ;
14059 wxString
*arg3
= 0 ;
14060 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14061 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14062 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14063 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14064 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14065 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14066 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14067 wxMDIParentFrame
*result
;
14068 bool temp3
= False
;
14071 bool temp7
= False
;
14072 PyObject
* obj0
= 0 ;
14073 PyObject
* obj1
= 0 ;
14074 PyObject
* obj2
= 0 ;
14075 PyObject
* obj3
= 0 ;
14076 PyObject
* obj4
= 0 ;
14077 PyObject
* obj5
= 0 ;
14078 PyObject
* obj6
= 0 ;
14079 char *kwnames
[] = {
14080 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14086 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14090 arg3
= wxString_in_helper(obj2
);
14091 if (arg3
== NULL
) SWIG_fail
;
14097 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14103 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14108 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
14109 if (PyErr_Occurred()) SWIG_fail
;
14114 arg7
= wxString_in_helper(obj6
);
14115 if (arg7
== NULL
) SWIG_fail
;
14120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14121 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14123 wxPyEndAllowThreads(__tstate
);
14124 if (PyErr_Occurred()) SWIG_fail
;
14126 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
14149 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14150 PyObject
*resultobj
;
14151 wxMDIParentFrame
*result
;
14152 char *kwnames
[] = {
14156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14159 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14161 wxPyEndAllowThreads(__tstate
);
14162 if (PyErr_Occurred()) SWIG_fail
;
14164 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
14171 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14172 PyObject
*resultobj
;
14173 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14174 wxWindow
*arg2
= (wxWindow
*) 0 ;
14176 wxString
*arg4
= 0 ;
14177 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14178 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14179 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14180 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14181 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14182 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14183 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14185 bool temp4
= False
;
14188 bool temp8
= False
;
14189 PyObject
* obj0
= 0 ;
14190 PyObject
* obj1
= 0 ;
14191 PyObject
* obj2
= 0 ;
14192 PyObject
* obj3
= 0 ;
14193 PyObject
* obj4
= 0 ;
14194 PyObject
* obj5
= 0 ;
14195 PyObject
* obj6
= 0 ;
14196 PyObject
* obj7
= 0 ;
14197 char *kwnames
[] = {
14198 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14203 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14205 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
14206 if (PyErr_Occurred()) SWIG_fail
;
14209 arg4
= wxString_in_helper(obj3
);
14210 if (arg4
== NULL
) SWIG_fail
;
14216 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14222 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14227 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
14228 if (PyErr_Occurred()) SWIG_fail
;
14233 arg8
= wxString_in_helper(obj7
);
14234 if (arg8
== NULL
) SWIG_fail
;
14239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14240 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14242 wxPyEndAllowThreads(__tstate
);
14243 if (PyErr_Occurred()) SWIG_fail
;
14245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14268 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14269 PyObject
*resultobj
;
14270 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14271 PyObject
* obj0
= 0 ;
14272 char *kwnames
[] = {
14273 (char *) "self", NULL
14276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14280 (arg1
)->ActivateNext();
14282 wxPyEndAllowThreads(__tstate
);
14283 if (PyErr_Occurred()) SWIG_fail
;
14285 Py_INCREF(Py_None
); resultobj
= Py_None
;
14292 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14293 PyObject
*resultobj
;
14294 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14295 PyObject
* obj0
= 0 ;
14296 char *kwnames
[] = {
14297 (char *) "self", NULL
14300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14304 (arg1
)->ActivatePrevious();
14306 wxPyEndAllowThreads(__tstate
);
14307 if (PyErr_Occurred()) SWIG_fail
;
14309 Py_INCREF(Py_None
); resultobj
= Py_None
;
14316 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14317 PyObject
*resultobj
;
14318 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14319 PyObject
* obj0
= 0 ;
14320 char *kwnames
[] = {
14321 (char *) "self", NULL
14324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14328 (arg1
)->ArrangeIcons();
14330 wxPyEndAllowThreads(__tstate
);
14331 if (PyErr_Occurred()) SWIG_fail
;
14333 Py_INCREF(Py_None
); resultobj
= Py_None
;
14340 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14341 PyObject
*resultobj
;
14342 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14343 PyObject
* obj0
= 0 ;
14344 char *kwnames
[] = {
14345 (char *) "self", NULL
14348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14354 wxPyEndAllowThreads(__tstate
);
14355 if (PyErr_Occurred()) SWIG_fail
;
14357 Py_INCREF(Py_None
); resultobj
= Py_None
;
14364 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14365 PyObject
*resultobj
;
14366 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14367 wxMDIChildFrame
*result
;
14368 PyObject
* obj0
= 0 ;
14369 char *kwnames
[] = {
14370 (char *) "self", NULL
14373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14377 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14379 wxPyEndAllowThreads(__tstate
);
14380 if (PyErr_Occurred()) SWIG_fail
;
14383 resultobj
= wxPyMake_wxObject(result
);
14391 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14392 PyObject
*resultobj
;
14393 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14394 wxMDIClientWindow
*result
;
14395 PyObject
* obj0
= 0 ;
14396 char *kwnames
[] = {
14397 (char *) "self", NULL
14400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14404 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14406 wxPyEndAllowThreads(__tstate
);
14407 if (PyErr_Occurred()) SWIG_fail
;
14410 resultobj
= wxPyMake_wxObject(result
);
14418 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14419 PyObject
*resultobj
;
14420 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14422 PyObject
* obj0
= 0 ;
14423 char *kwnames
[] = {
14424 (char *) "self", NULL
14427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14431 result
= (wxWindow
*)(arg1
)->GetToolBar();
14433 wxPyEndAllowThreads(__tstate
);
14434 if (PyErr_Occurred()) SWIG_fail
;
14437 resultobj
= wxPyMake_wxObject(result
);
14445 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14446 PyObject
*resultobj
;
14447 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14448 PyObject
* obj0
= 0 ;
14449 char *kwnames
[] = {
14450 (char *) "self", NULL
14453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14459 wxPyEndAllowThreads(__tstate
);
14460 if (PyErr_Occurred()) SWIG_fail
;
14462 Py_INCREF(Py_None
); resultobj
= Py_None
;
14469 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14472 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14474 return Py_BuildValue((char *)"");
14476 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14477 PyObject
*resultobj
;
14478 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14480 wxString
*arg3
= 0 ;
14481 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14482 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14483 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14484 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14485 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14486 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14487 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14488 wxMDIChildFrame
*result
;
14489 bool temp3
= False
;
14492 bool temp7
= False
;
14493 PyObject
* obj0
= 0 ;
14494 PyObject
* obj1
= 0 ;
14495 PyObject
* obj2
= 0 ;
14496 PyObject
* obj3
= 0 ;
14497 PyObject
* obj4
= 0 ;
14498 PyObject
* obj5
= 0 ;
14499 PyObject
* obj6
= 0 ;
14500 char *kwnames
[] = {
14501 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14507 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
14508 if (PyErr_Occurred()) SWIG_fail
;
14511 arg3
= wxString_in_helper(obj2
);
14512 if (arg3
== NULL
) SWIG_fail
;
14518 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14524 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14529 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
14530 if (PyErr_Occurred()) SWIG_fail
;
14535 arg7
= wxString_in_helper(obj6
);
14536 if (arg7
== NULL
) SWIG_fail
;
14541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14542 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14544 wxPyEndAllowThreads(__tstate
);
14545 if (PyErr_Occurred()) SWIG_fail
;
14548 resultobj
= wxPyMake_wxObject(result
);
14572 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14573 PyObject
*resultobj
;
14574 wxMDIChildFrame
*result
;
14575 char *kwnames
[] = {
14579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
14581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14582 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
14584 wxPyEndAllowThreads(__tstate
);
14585 if (PyErr_Occurred()) SWIG_fail
;
14588 resultobj
= wxPyMake_wxObject(result
);
14596 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14597 PyObject
*resultobj
;
14598 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14599 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14601 wxString
*arg4
= 0 ;
14602 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14603 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14604 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14605 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14606 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
14607 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14608 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14610 bool temp4
= False
;
14613 bool temp8
= False
;
14614 PyObject
* obj0
= 0 ;
14615 PyObject
* obj1
= 0 ;
14616 PyObject
* obj2
= 0 ;
14617 PyObject
* obj3
= 0 ;
14618 PyObject
* obj4
= 0 ;
14619 PyObject
* obj5
= 0 ;
14620 PyObject
* obj6
= 0 ;
14621 PyObject
* obj7
= 0 ;
14622 char *kwnames
[] = {
14623 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14628 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14630 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
14631 if (PyErr_Occurred()) SWIG_fail
;
14634 arg4
= wxString_in_helper(obj3
);
14635 if (arg4
== NULL
) SWIG_fail
;
14641 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14647 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14652 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14658 arg8
= wxString_in_helper(obj7
);
14659 if (arg8
== NULL
) SWIG_fail
;
14664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14665 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14667 wxPyEndAllowThreads(__tstate
);
14668 if (PyErr_Occurred()) SWIG_fail
;
14670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14693 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14694 PyObject
*resultobj
;
14695 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14696 PyObject
* obj0
= 0 ;
14697 char *kwnames
[] = {
14698 (char *) "self", NULL
14701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
14702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14705 (arg1
)->Activate();
14707 wxPyEndAllowThreads(__tstate
);
14708 if (PyErr_Occurred()) SWIG_fail
;
14710 Py_INCREF(Py_None
); resultobj
= Py_None
;
14717 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14718 PyObject
*resultobj
;
14719 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14721 PyObject
* obj0
= 0 ;
14722 PyObject
* obj1
= 0 ;
14723 char *kwnames
[] = {
14724 (char *) "self",(char *) "maximize", NULL
14727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
14728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14730 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14731 if (PyErr_Occurred()) SWIG_fail
;
14734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14735 (arg1
)->Maximize(arg2
);
14737 wxPyEndAllowThreads(__tstate
);
14738 if (PyErr_Occurred()) SWIG_fail
;
14740 Py_INCREF(Py_None
); resultobj
= Py_None
;
14747 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14748 PyObject
*resultobj
;
14749 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14750 PyObject
* obj0
= 0 ;
14751 char *kwnames
[] = {
14752 (char *) "self", NULL
14755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
14756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14761 wxPyEndAllowThreads(__tstate
);
14762 if (PyErr_Occurred()) SWIG_fail
;
14764 Py_INCREF(Py_None
); resultobj
= Py_None
;
14771 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14774 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
14776 return Py_BuildValue((char *)"");
14778 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14779 PyObject
*resultobj
;
14780 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14781 long arg2
= (long) 0 ;
14782 wxMDIClientWindow
*result
;
14783 PyObject
* obj0
= 0 ;
14784 PyObject
* obj1
= 0 ;
14785 char *kwnames
[] = {
14786 (char *) "parent",(char *) "style", NULL
14789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
14790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14793 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
14794 if (PyErr_Occurred()) SWIG_fail
;
14798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14799 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
14801 wxPyEndAllowThreads(__tstate
);
14802 if (PyErr_Occurred()) SWIG_fail
;
14805 resultobj
= wxPyMake_wxObject(result
);
14813 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14814 PyObject
*resultobj
;
14815 wxMDIClientWindow
*result
;
14816 char *kwnames
[] = {
14820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
14822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14823 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
14825 wxPyEndAllowThreads(__tstate
);
14826 if (PyErr_Occurred()) SWIG_fail
;
14829 resultobj
= wxPyMake_wxObject(result
);
14837 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14838 PyObject
*resultobj
;
14839 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
14840 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14841 long arg3
= (long) 0 ;
14843 PyObject
* obj0
= 0 ;
14844 PyObject
* obj1
= 0 ;
14845 PyObject
* obj2
= 0 ;
14846 char *kwnames
[] = {
14847 (char *) "self",(char *) "parent",(char *) "style", NULL
14850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIClientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14852 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14855 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
14856 if (PyErr_Occurred()) SWIG_fail
;
14860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14861 result
= (bool)(arg1
)->Create(arg2
,arg3
);
14863 wxPyEndAllowThreads(__tstate
);
14864 if (PyErr_Occurred()) SWIG_fail
;
14866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14873 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
14875 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14876 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
14878 return Py_BuildValue((char *)"");
14880 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14881 PyObject
*resultobj
;
14882 wxWindow
*arg1
= (wxWindow
*) 0 ;
14884 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14885 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14886 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14887 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14888 long arg5
= (long) 0 ;
14889 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
14890 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14891 wxPyWindow
*result
;
14894 bool temp6
= False
;
14895 PyObject
* obj0
= 0 ;
14896 PyObject
* obj1
= 0 ;
14897 PyObject
* obj2
= 0 ;
14898 PyObject
* obj3
= 0 ;
14899 PyObject
* obj4
= 0 ;
14900 PyObject
* obj5
= 0 ;
14901 char *kwnames
[] = {
14902 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14908 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
14909 if (PyErr_Occurred()) SWIG_fail
;
14914 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14920 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14925 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
14926 if (PyErr_Occurred()) SWIG_fail
;
14931 arg6
= wxString_in_helper(obj5
);
14932 if (arg6
== NULL
) SWIG_fail
;
14937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14938 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14940 wxPyEndAllowThreads(__tstate
);
14941 if (PyErr_Occurred()) SWIG_fail
;
14943 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyWindow
, 1);
14958 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14959 PyObject
*resultobj
;
14960 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14961 PyObject
*arg2
= (PyObject
*) 0 ;
14962 PyObject
*arg3
= (PyObject
*) 0 ;
14963 PyObject
* obj0
= 0 ;
14964 PyObject
* obj1
= 0 ;
14965 PyObject
* obj2
= 0 ;
14966 char *kwnames
[] = {
14967 (char *) "self",(char *) "self",(char *) "_class", NULL
14970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14976 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14978 wxPyEndAllowThreads(__tstate
);
14979 if (PyErr_Occurred()) SWIG_fail
;
14981 Py_INCREF(Py_None
); resultobj
= Py_None
;
14988 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14989 PyObject
*resultobj
;
14990 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14995 PyObject
* obj0
= 0 ;
14996 PyObject
* obj1
= 0 ;
14997 PyObject
* obj2
= 0 ;
14998 PyObject
* obj3
= 0 ;
14999 PyObject
* obj4
= 0 ;
15000 char *kwnames
[] = {
15001 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15007 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15008 if (PyErr_Occurred()) SWIG_fail
;
15011 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15012 if (PyErr_Occurred()) SWIG_fail
;
15015 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15016 if (PyErr_Occurred()) SWIG_fail
;
15019 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
15020 if (PyErr_Occurred()) SWIG_fail
;
15023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15024 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15026 wxPyEndAllowThreads(__tstate
);
15027 if (PyErr_Occurred()) SWIG_fail
;
15029 Py_INCREF(Py_None
); resultobj
= Py_None
;
15036 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15037 PyObject
*resultobj
;
15038 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15043 int arg6
= (int) wxSIZE_AUTO
;
15044 PyObject
* obj0
= 0 ;
15045 PyObject
* obj1
= 0 ;
15046 PyObject
* obj2
= 0 ;
15047 PyObject
* obj3
= 0 ;
15048 PyObject
* obj4
= 0 ;
15049 PyObject
* obj5
= 0 ;
15050 char *kwnames
[] = {
15051 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15057 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15058 if (PyErr_Occurred()) SWIG_fail
;
15061 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15065 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15066 if (PyErr_Occurred()) SWIG_fail
;
15069 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
15070 if (PyErr_Occurred()) SWIG_fail
;
15074 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
15075 if (PyErr_Occurred()) SWIG_fail
;
15079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15080 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15082 wxPyEndAllowThreads(__tstate
);
15083 if (PyErr_Occurred()) SWIG_fail
;
15085 Py_INCREF(Py_None
); resultobj
= Py_None
;
15092 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15093 PyObject
*resultobj
;
15094 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15097 PyObject
* obj0
= 0 ;
15098 PyObject
* obj1
= 0 ;
15099 PyObject
* obj2
= 0 ;
15100 char *kwnames
[] = {
15101 (char *) "self",(char *) "width",(char *) "height", NULL
15104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15107 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15108 if (PyErr_Occurred()) SWIG_fail
;
15111 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15112 if (PyErr_Occurred()) SWIG_fail
;
15115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15116 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15118 wxPyEndAllowThreads(__tstate
);
15119 if (PyErr_Occurred()) SWIG_fail
;
15121 Py_INCREF(Py_None
); resultobj
= Py_None
;
15128 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15129 PyObject
*resultobj
;
15130 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15133 PyObject
* obj0
= 0 ;
15134 PyObject
* obj1
= 0 ;
15135 PyObject
* obj2
= 0 ;
15136 char *kwnames
[] = {
15137 (char *) "self",(char *) "x",(char *) "y", NULL
15140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15143 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15144 if (PyErr_Occurred()) SWIG_fail
;
15147 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15148 if (PyErr_Occurred()) SWIG_fail
;
15151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15152 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15154 wxPyEndAllowThreads(__tstate
);
15155 if (PyErr_Occurred()) SWIG_fail
;
15157 Py_INCREF(Py_None
); resultobj
= Py_None
;
15164 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15165 PyObject
*resultobj
;
15166 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15167 int *arg2
= (int *) 0 ;
15168 int *arg3
= (int *) 0 ;
15171 PyObject
* obj0
= 0 ;
15172 char *kwnames
[] = {
15173 (char *) "self", NULL
15178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15182 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15184 wxPyEndAllowThreads(__tstate
);
15185 if (PyErr_Occurred()) SWIG_fail
;
15187 Py_INCREF(Py_None
); resultobj
= Py_None
;
15189 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15190 resultobj
= t_output_helper(resultobj
,o
);
15193 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15194 resultobj
= t_output_helper(resultobj
,o
);
15202 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15203 PyObject
*resultobj
;
15204 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15205 int *arg2
= (int *) 0 ;
15206 int *arg3
= (int *) 0 ;
15209 PyObject
* obj0
= 0 ;
15210 char *kwnames
[] = {
15211 (char *) "self", NULL
15216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15220 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15222 wxPyEndAllowThreads(__tstate
);
15223 if (PyErr_Occurred()) SWIG_fail
;
15225 Py_INCREF(Py_None
); resultobj
= Py_None
;
15227 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15228 resultobj
= t_output_helper(resultobj
,o
);
15231 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15232 resultobj
= t_output_helper(resultobj
,o
);
15240 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15241 PyObject
*resultobj
;
15242 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15243 int *arg2
= (int *) 0 ;
15244 int *arg3
= (int *) 0 ;
15247 PyObject
* obj0
= 0 ;
15248 char *kwnames
[] = {
15249 (char *) "self", NULL
15254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15258 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15260 wxPyEndAllowThreads(__tstate
);
15261 if (PyErr_Occurred()) SWIG_fail
;
15263 Py_INCREF(Py_None
); resultobj
= Py_None
;
15265 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15266 resultobj
= t_output_helper(resultobj
,o
);
15269 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15270 resultobj
= t_output_helper(resultobj
,o
);
15278 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15279 PyObject
*resultobj
;
15280 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15282 PyObject
* obj0
= 0 ;
15283 char *kwnames
[] = {
15284 (char *) "self", NULL
15287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15291 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15293 wxPyEndAllowThreads(__tstate
);
15294 if (PyErr_Occurred()) SWIG_fail
;
15297 wxSize
* resultptr
;
15298 resultptr
= new wxSize((wxSize
&) result
);
15299 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15307 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15308 PyObject
*resultobj
;
15309 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15311 PyObject
* obj0
= 0 ;
15312 char *kwnames
[] = {
15313 (char *) "self", NULL
15316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15320 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15322 wxPyEndAllowThreads(__tstate
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15326 wxSize
* resultptr
;
15327 resultptr
= new wxSize((wxSize
&) result
);
15328 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15336 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15337 PyObject
*resultobj
;
15338 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15339 PyObject
* obj0
= 0 ;
15340 char *kwnames
[] = {
15341 (char *) "self", NULL
15344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15348 (arg1
)->base_InitDialog();
15350 wxPyEndAllowThreads(__tstate
);
15351 if (PyErr_Occurred()) SWIG_fail
;
15353 Py_INCREF(Py_None
); resultobj
= Py_None
;
15360 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15361 PyObject
*resultobj
;
15362 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15364 PyObject
* obj0
= 0 ;
15365 char *kwnames
[] = {
15366 (char *) "self", NULL
15369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15373 result
= (bool)(arg1
)->base_TransferDataToWindow();
15375 wxPyEndAllowThreads(__tstate
);
15376 if (PyErr_Occurred()) SWIG_fail
;
15378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15385 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15386 PyObject
*resultobj
;
15387 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15389 PyObject
* obj0
= 0 ;
15390 char *kwnames
[] = {
15391 (char *) "self", NULL
15394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15398 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15400 wxPyEndAllowThreads(__tstate
);
15401 if (PyErr_Occurred()) SWIG_fail
;
15403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15410 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15411 PyObject
*resultobj
;
15412 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15414 PyObject
* obj0
= 0 ;
15415 char *kwnames
[] = {
15416 (char *) "self", NULL
15419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15423 result
= (bool)(arg1
)->base_Validate();
15425 wxPyEndAllowThreads(__tstate
);
15426 if (PyErr_Occurred()) SWIG_fail
;
15428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15435 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15436 PyObject
*resultobj
;
15437 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15439 PyObject
* obj0
= 0 ;
15440 char *kwnames
[] = {
15441 (char *) "self", NULL
15444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15450 wxPyEndAllowThreads(__tstate
);
15451 if (PyErr_Occurred()) SWIG_fail
;
15453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15460 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15461 PyObject
*resultobj
;
15462 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15464 PyObject
* obj0
= 0 ;
15465 char *kwnames
[] = {
15466 (char *) "self", NULL
15469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15473 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15475 wxPyEndAllowThreads(__tstate
);
15476 if (PyErr_Occurred()) SWIG_fail
;
15478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15485 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15486 PyObject
*resultobj
;
15487 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15489 PyObject
* obj0
= 0 ;
15490 char *kwnames
[] = {
15491 (char *) "self", NULL
15494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15498 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
15500 wxPyEndAllowThreads(__tstate
);
15501 if (PyErr_Occurred()) SWIG_fail
;
15504 wxSize
* resultptr
;
15505 resultptr
= new wxSize((wxSize
&) result
);
15506 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15514 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15515 PyObject
*resultobj
;
15516 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15517 wxWindow
*arg2
= (wxWindow
*) 0 ;
15518 PyObject
* obj0
= 0 ;
15519 PyObject
* obj1
= 0 ;
15520 char *kwnames
[] = {
15521 (char *) "self",(char *) "child", NULL
15524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15526 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15529 (arg1
)->base_AddChild(arg2
);
15531 wxPyEndAllowThreads(__tstate
);
15532 if (PyErr_Occurred()) SWIG_fail
;
15534 Py_INCREF(Py_None
); resultobj
= Py_None
;
15541 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15542 PyObject
*resultobj
;
15543 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15544 wxWindow
*arg2
= (wxWindow
*) 0 ;
15545 PyObject
* obj0
= 0 ;
15546 PyObject
* obj1
= 0 ;
15547 char *kwnames
[] = {
15548 (char *) "self",(char *) "child", NULL
15551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15553 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15556 (arg1
)->base_RemoveChild(arg2
);
15558 wxPyEndAllowThreads(__tstate
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15561 Py_INCREF(Py_None
); resultobj
= Py_None
;
15568 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15571 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
15573 return Py_BuildValue((char *)"");
15575 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15576 PyObject
*resultobj
;
15577 wxWindow
*arg1
= (wxWindow
*) 0 ;
15579 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15580 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15581 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15582 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15583 long arg5
= (long) 0 ;
15584 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15585 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15589 bool temp6
= False
;
15590 PyObject
* obj0
= 0 ;
15591 PyObject
* obj1
= 0 ;
15592 PyObject
* obj2
= 0 ;
15593 PyObject
* obj3
= 0 ;
15594 PyObject
* obj4
= 0 ;
15595 PyObject
* obj5
= 0 ;
15596 char *kwnames
[] = {
15597 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15603 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
15604 if (PyErr_Occurred()) SWIG_fail
;
15609 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15615 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15620 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
15621 if (PyErr_Occurred()) SWIG_fail
;
15626 arg6
= wxString_in_helper(obj5
);
15627 if (arg6
== NULL
) SWIG_fail
;
15632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15633 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15635 wxPyEndAllowThreads(__tstate
);
15636 if (PyErr_Occurred()) SWIG_fail
;
15638 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPanel
, 1);
15653 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15654 PyObject
*resultobj
;
15655 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15656 PyObject
*arg2
= (PyObject
*) 0 ;
15657 PyObject
*arg3
= (PyObject
*) 0 ;
15658 PyObject
* obj0
= 0 ;
15659 PyObject
* obj1
= 0 ;
15660 PyObject
* obj2
= 0 ;
15661 char *kwnames
[] = {
15662 (char *) "self",(char *) "self",(char *) "_class", NULL
15665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15671 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15673 wxPyEndAllowThreads(__tstate
);
15674 if (PyErr_Occurred()) SWIG_fail
;
15676 Py_INCREF(Py_None
); resultobj
= Py_None
;
15683 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15684 PyObject
*resultobj
;
15685 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15690 PyObject
* obj0
= 0 ;
15691 PyObject
* obj1
= 0 ;
15692 PyObject
* obj2
= 0 ;
15693 PyObject
* obj3
= 0 ;
15694 PyObject
* obj4
= 0 ;
15695 char *kwnames
[] = {
15696 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15702 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15703 if (PyErr_Occurred()) SWIG_fail
;
15706 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15707 if (PyErr_Occurred()) SWIG_fail
;
15710 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15711 if (PyErr_Occurred()) SWIG_fail
;
15714 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
15715 if (PyErr_Occurred()) SWIG_fail
;
15718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15719 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15721 wxPyEndAllowThreads(__tstate
);
15722 if (PyErr_Occurred()) SWIG_fail
;
15724 Py_INCREF(Py_None
); resultobj
= Py_None
;
15731 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15732 PyObject
*resultobj
;
15733 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15738 int arg6
= (int) wxSIZE_AUTO
;
15739 PyObject
* obj0
= 0 ;
15740 PyObject
* obj1
= 0 ;
15741 PyObject
* obj2
= 0 ;
15742 PyObject
* obj3
= 0 ;
15743 PyObject
* obj4
= 0 ;
15744 PyObject
* obj5
= 0 ;
15745 char *kwnames
[] = {
15746 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15752 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15753 if (PyErr_Occurred()) SWIG_fail
;
15756 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15757 if (PyErr_Occurred()) SWIG_fail
;
15760 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15761 if (PyErr_Occurred()) SWIG_fail
;
15764 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
15765 if (PyErr_Occurred()) SWIG_fail
;
15769 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
15770 if (PyErr_Occurred()) SWIG_fail
;
15774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15775 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15777 wxPyEndAllowThreads(__tstate
);
15778 if (PyErr_Occurred()) SWIG_fail
;
15780 Py_INCREF(Py_None
); resultobj
= Py_None
;
15787 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15788 PyObject
*resultobj
;
15789 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15792 PyObject
* obj0
= 0 ;
15793 PyObject
* obj1
= 0 ;
15794 PyObject
* obj2
= 0 ;
15795 char *kwnames
[] = {
15796 (char *) "self",(char *) "width",(char *) "height", NULL
15799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15802 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15803 if (PyErr_Occurred()) SWIG_fail
;
15806 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15807 if (PyErr_Occurred()) SWIG_fail
;
15810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15811 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15813 wxPyEndAllowThreads(__tstate
);
15814 if (PyErr_Occurred()) SWIG_fail
;
15816 Py_INCREF(Py_None
); resultobj
= Py_None
;
15823 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15824 PyObject
*resultobj
;
15825 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15828 PyObject
* obj0
= 0 ;
15829 PyObject
* obj1
= 0 ;
15830 PyObject
* obj2
= 0 ;
15831 char *kwnames
[] = {
15832 (char *) "self",(char *) "x",(char *) "y", NULL
15835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15838 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15839 if (PyErr_Occurred()) SWIG_fail
;
15842 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15843 if (PyErr_Occurred()) SWIG_fail
;
15846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15847 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15849 wxPyEndAllowThreads(__tstate
);
15850 if (PyErr_Occurred()) SWIG_fail
;
15852 Py_INCREF(Py_None
); resultobj
= Py_None
;
15859 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15860 PyObject
*resultobj
;
15861 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15862 int *arg2
= (int *) 0 ;
15863 int *arg3
= (int *) 0 ;
15866 PyObject
* obj0
= 0 ;
15867 char *kwnames
[] = {
15868 (char *) "self", NULL
15873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15877 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15879 wxPyEndAllowThreads(__tstate
);
15880 if (PyErr_Occurred()) SWIG_fail
;
15882 Py_INCREF(Py_None
); resultobj
= Py_None
;
15884 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15885 resultobj
= t_output_helper(resultobj
,o
);
15888 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15889 resultobj
= t_output_helper(resultobj
,o
);
15897 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15898 PyObject
*resultobj
;
15899 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15900 int *arg2
= (int *) 0 ;
15901 int *arg3
= (int *) 0 ;
15904 PyObject
* obj0
= 0 ;
15905 char *kwnames
[] = {
15906 (char *) "self", NULL
15911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15915 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15917 wxPyEndAllowThreads(__tstate
);
15918 if (PyErr_Occurred()) SWIG_fail
;
15920 Py_INCREF(Py_None
); resultobj
= Py_None
;
15922 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15923 resultobj
= t_output_helper(resultobj
,o
);
15926 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15927 resultobj
= t_output_helper(resultobj
,o
);
15935 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15936 PyObject
*resultobj
;
15937 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15938 int *arg2
= (int *) 0 ;
15939 int *arg3
= (int *) 0 ;
15942 PyObject
* obj0
= 0 ;
15943 char *kwnames
[] = {
15944 (char *) "self", NULL
15949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15953 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15955 wxPyEndAllowThreads(__tstate
);
15956 if (PyErr_Occurred()) SWIG_fail
;
15958 Py_INCREF(Py_None
); resultobj
= Py_None
;
15960 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15961 resultobj
= t_output_helper(resultobj
,o
);
15964 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15965 resultobj
= t_output_helper(resultobj
,o
);
15973 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15974 PyObject
*resultobj
;
15975 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15977 PyObject
* obj0
= 0 ;
15978 char *kwnames
[] = {
15979 (char *) "self", NULL
15982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15986 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
15988 wxPyEndAllowThreads(__tstate
);
15989 if (PyErr_Occurred()) SWIG_fail
;
15992 wxSize
* resultptr
;
15993 resultptr
= new wxSize((wxSize
&) result
);
15994 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16002 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16003 PyObject
*resultobj
;
16004 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16006 PyObject
* obj0
= 0 ;
16007 char *kwnames
[] = {
16008 (char *) "self", NULL
16011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16015 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16017 wxPyEndAllowThreads(__tstate
);
16018 if (PyErr_Occurred()) SWIG_fail
;
16021 wxSize
* resultptr
;
16022 resultptr
= new wxSize((wxSize
&) result
);
16023 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16031 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16032 PyObject
*resultobj
;
16033 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16034 PyObject
* obj0
= 0 ;
16035 char *kwnames
[] = {
16036 (char *) "self", NULL
16039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16043 (arg1
)->base_InitDialog();
16045 wxPyEndAllowThreads(__tstate
);
16046 if (PyErr_Occurred()) SWIG_fail
;
16048 Py_INCREF(Py_None
); resultobj
= Py_None
;
16055 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16056 PyObject
*resultobj
;
16057 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16059 PyObject
* obj0
= 0 ;
16060 char *kwnames
[] = {
16061 (char *) "self", NULL
16064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16068 result
= (bool)(arg1
)->base_TransferDataToWindow();
16070 wxPyEndAllowThreads(__tstate
);
16071 if (PyErr_Occurred()) SWIG_fail
;
16073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16080 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16081 PyObject
*resultobj
;
16082 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16084 PyObject
* obj0
= 0 ;
16085 char *kwnames
[] = {
16086 (char *) "self", NULL
16089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16093 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16095 wxPyEndAllowThreads(__tstate
);
16096 if (PyErr_Occurred()) SWIG_fail
;
16098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16105 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16106 PyObject
*resultobj
;
16107 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16109 PyObject
* obj0
= 0 ;
16110 char *kwnames
[] = {
16111 (char *) "self", NULL
16114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16118 result
= (bool)(arg1
)->base_Validate();
16120 wxPyEndAllowThreads(__tstate
);
16121 if (PyErr_Occurred()) SWIG_fail
;
16123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16130 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16131 PyObject
*resultobj
;
16132 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16134 PyObject
* obj0
= 0 ;
16135 char *kwnames
[] = {
16136 (char *) "self", NULL
16139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16143 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16145 wxPyEndAllowThreads(__tstate
);
16146 if (PyErr_Occurred()) SWIG_fail
;
16148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16155 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16156 PyObject
*resultobj
;
16157 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16159 PyObject
* obj0
= 0 ;
16160 char *kwnames
[] = {
16161 (char *) "self", NULL
16164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16168 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16170 wxPyEndAllowThreads(__tstate
);
16171 if (PyErr_Occurred()) SWIG_fail
;
16173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16180 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16181 PyObject
*resultobj
;
16182 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16184 PyObject
* obj0
= 0 ;
16185 char *kwnames
[] = {
16186 (char *) "self", NULL
16189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16193 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16195 wxPyEndAllowThreads(__tstate
);
16196 if (PyErr_Occurred()) SWIG_fail
;
16199 wxSize
* resultptr
;
16200 resultptr
= new wxSize((wxSize
&) result
);
16201 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16209 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16210 PyObject
*resultobj
;
16211 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16212 wxWindow
*arg2
= (wxWindow
*) 0 ;
16213 PyObject
* obj0
= 0 ;
16214 PyObject
* obj1
= 0 ;
16215 char *kwnames
[] = {
16216 (char *) "self",(char *) "child", NULL
16219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16221 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16224 (arg1
)->base_AddChild(arg2
);
16226 wxPyEndAllowThreads(__tstate
);
16227 if (PyErr_Occurred()) SWIG_fail
;
16229 Py_INCREF(Py_None
); resultobj
= Py_None
;
16236 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16237 PyObject
*resultobj
;
16238 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16239 wxWindow
*arg2
= (wxWindow
*) 0 ;
16240 PyObject
* obj0
= 0 ;
16241 PyObject
* obj1
= 0 ;
16242 char *kwnames
[] = {
16243 (char *) "self",(char *) "child", NULL
16246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16248 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16251 (arg1
)->base_RemoveChild(arg2
);
16253 wxPyEndAllowThreads(__tstate
);
16254 if (PyErr_Occurred()) SWIG_fail
;
16256 Py_INCREF(Py_None
); resultobj
= Py_None
;
16263 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
16265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16266 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
16268 return Py_BuildValue((char *)"");
16270 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
16271 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
16276 static PyObject
*_wrap_PrintoutTitleStr_get() {
16281 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
16283 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
16290 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
16291 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
16296 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
16301 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
16303 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
16310 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16311 PyObject
*resultobj
;
16312 wxPrintData
*result
;
16313 char *kwnames
[] = {
16317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
16319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16320 result
= (wxPrintData
*)new wxPrintData();
16322 wxPyEndAllowThreads(__tstate
);
16323 if (PyErr_Occurred()) SWIG_fail
;
16325 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 1);
16332 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16333 PyObject
*resultobj
;
16334 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16335 PyObject
* obj0
= 0 ;
16336 char *kwnames
[] = {
16337 (char *) "self", NULL
16340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
16341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16346 wxPyEndAllowThreads(__tstate
);
16347 if (PyErr_Occurred()) SWIG_fail
;
16349 Py_INCREF(Py_None
); resultobj
= Py_None
;
16356 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16357 PyObject
*resultobj
;
16358 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16360 PyObject
* obj0
= 0 ;
16361 char *kwnames
[] = {
16362 (char *) "self", NULL
16365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
16366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16369 result
= (int)(arg1
)->GetNoCopies();
16371 wxPyEndAllowThreads(__tstate
);
16372 if (PyErr_Occurred()) SWIG_fail
;
16374 resultobj
= SWIG_PyObj_FromInt((int)result
);
16381 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16382 PyObject
*resultobj
;
16383 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16385 PyObject
* obj0
= 0 ;
16386 char *kwnames
[] = {
16387 (char *) "self", NULL
16390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
16391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16394 result
= (bool)(arg1
)->GetCollate();
16396 wxPyEndAllowThreads(__tstate
);
16397 if (PyErr_Occurred()) SWIG_fail
;
16399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16406 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16407 PyObject
*resultobj
;
16408 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16410 PyObject
* obj0
= 0 ;
16411 char *kwnames
[] = {
16412 (char *) "self", NULL
16415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
16416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16419 result
= (int)(arg1
)->GetOrientation();
16421 wxPyEndAllowThreads(__tstate
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16424 resultobj
= SWIG_PyObj_FromInt((int)result
);
16431 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16432 PyObject
*resultobj
;
16433 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16435 PyObject
* obj0
= 0 ;
16436 char *kwnames
[] = {
16437 (char *) "self", NULL
16440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
16441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16444 result
= (bool)(arg1
)->Ok();
16446 wxPyEndAllowThreads(__tstate
);
16447 if (PyErr_Occurred()) SWIG_fail
;
16449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16456 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16457 PyObject
*resultobj
;
16458 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16460 PyObject
* obj0
= 0 ;
16461 char *kwnames
[] = {
16462 (char *) "self", NULL
16465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
16466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16470 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
16471 result
= (wxString
*) &_result_ref
;
16474 wxPyEndAllowThreads(__tstate
);
16475 if (PyErr_Occurred()) SWIG_fail
;
16479 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16481 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16490 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16491 PyObject
*resultobj
;
16492 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16494 PyObject
* obj0
= 0 ;
16495 char *kwnames
[] = {
16496 (char *) "self", NULL
16499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
16500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16503 result
= (bool)(arg1
)->GetColour();
16505 wxPyEndAllowThreads(__tstate
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16515 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16516 PyObject
*resultobj
;
16517 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16519 PyObject
* obj0
= 0 ;
16520 char *kwnames
[] = {
16521 (char *) "self", NULL
16524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
16525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16528 result
= (int)(arg1
)->GetDuplex();
16530 wxPyEndAllowThreads(__tstate
);
16531 if (PyErr_Occurred()) SWIG_fail
;
16533 resultobj
= SWIG_PyObj_FromInt((int)result
);
16540 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16541 PyObject
*resultobj
;
16542 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16544 PyObject
* obj0
= 0 ;
16545 char *kwnames
[] = {
16546 (char *) "self", NULL
16549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
16550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16553 result
= (int)(arg1
)->GetPaperId();
16555 wxPyEndAllowThreads(__tstate
);
16556 if (PyErr_Occurred()) SWIG_fail
;
16558 resultobj
= SWIG_PyObj_FromInt((int)result
);
16565 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16566 PyObject
*resultobj
;
16567 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16569 PyObject
* obj0
= 0 ;
16570 char *kwnames
[] = {
16571 (char *) "self", NULL
16574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
16575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16579 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
16580 result
= (wxSize
*) &_result_ref
;
16583 wxPyEndAllowThreads(__tstate
);
16584 if (PyErr_Occurred()) SWIG_fail
;
16586 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
16593 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16594 PyObject
*resultobj
;
16595 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16597 PyObject
* obj0
= 0 ;
16598 char *kwnames
[] = {
16599 (char *) "self", NULL
16602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
16603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16606 result
= (int)(arg1
)->GetQuality();
16608 wxPyEndAllowThreads(__tstate
);
16609 if (PyErr_Occurred()) SWIG_fail
;
16611 resultobj
= SWIG_PyObj_FromInt((int)result
);
16618 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16619 PyObject
*resultobj
;
16620 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16622 PyObject
* obj0
= 0 ;
16623 PyObject
* obj1
= 0 ;
16624 char *kwnames
[] = {
16625 (char *) "self",(char *) "v", NULL
16628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
16629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16631 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16632 if (PyErr_Occurred()) SWIG_fail
;
16635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16636 (arg1
)->SetNoCopies(arg2
);
16638 wxPyEndAllowThreads(__tstate
);
16639 if (PyErr_Occurred()) SWIG_fail
;
16641 Py_INCREF(Py_None
); resultobj
= Py_None
;
16648 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16649 PyObject
*resultobj
;
16650 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16652 PyObject
* obj0
= 0 ;
16653 PyObject
* obj1
= 0 ;
16654 char *kwnames
[] = {
16655 (char *) "self",(char *) "flag", NULL
16658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
16659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16661 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16662 if (PyErr_Occurred()) SWIG_fail
;
16665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16666 (arg1
)->SetCollate(arg2
);
16668 wxPyEndAllowThreads(__tstate
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16671 Py_INCREF(Py_None
); resultobj
= Py_None
;
16678 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16679 PyObject
*resultobj
;
16680 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16682 PyObject
* obj0
= 0 ;
16683 PyObject
* obj1
= 0 ;
16684 char *kwnames
[] = {
16685 (char *) "self",(char *) "orient", NULL
16688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16691 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16692 if (PyErr_Occurred()) SWIG_fail
;
16695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16696 (arg1
)->SetOrientation(arg2
);
16698 wxPyEndAllowThreads(__tstate
);
16699 if (PyErr_Occurred()) SWIG_fail
;
16701 Py_INCREF(Py_None
); resultobj
= Py_None
;
16708 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16709 PyObject
*resultobj
;
16710 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16711 wxString
*arg2
= 0 ;
16712 bool temp2
= False
;
16713 PyObject
* obj0
= 0 ;
16714 PyObject
* obj1
= 0 ;
16715 char *kwnames
[] = {
16716 (char *) "self",(char *) "name", NULL
16719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
16720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16722 arg2
= wxString_in_helper(obj1
);
16723 if (arg2
== NULL
) SWIG_fail
;
16727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16728 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
16730 wxPyEndAllowThreads(__tstate
);
16731 if (PyErr_Occurred()) SWIG_fail
;
16733 Py_INCREF(Py_None
); resultobj
= Py_None
;
16748 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16749 PyObject
*resultobj
;
16750 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16752 PyObject
* obj0
= 0 ;
16753 PyObject
* obj1
= 0 ;
16754 char *kwnames
[] = {
16755 (char *) "self",(char *) "colour", NULL
16758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16761 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16762 if (PyErr_Occurred()) SWIG_fail
;
16765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16766 (arg1
)->SetColour(arg2
);
16768 wxPyEndAllowThreads(__tstate
);
16769 if (PyErr_Occurred()) SWIG_fail
;
16771 Py_INCREF(Py_None
); resultobj
= Py_None
;
16778 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16779 PyObject
*resultobj
;
16780 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16782 PyObject
* obj0
= 0 ;
16783 PyObject
* obj1
= 0 ;
16784 char *kwnames
[] = {
16785 (char *) "self",(char *) "duplex", NULL
16788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
16789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16791 arg2
= (wxDuplexMode
) SWIG_PyObj_AsInt(obj1
);
16792 if (PyErr_Occurred()) SWIG_fail
;
16795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16796 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
16798 wxPyEndAllowThreads(__tstate
);
16799 if (PyErr_Occurred()) SWIG_fail
;
16801 Py_INCREF(Py_None
); resultobj
= Py_None
;
16808 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16809 PyObject
*resultobj
;
16810 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16812 PyObject
* obj0
= 0 ;
16813 PyObject
* obj1
= 0 ;
16814 char *kwnames
[] = {
16815 (char *) "self",(char *) "sizeId", NULL
16818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
16819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16821 arg2
= (wxPaperSize
) SWIG_PyObj_AsInt(obj1
);
16822 if (PyErr_Occurred()) SWIG_fail
;
16825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16826 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
16828 wxPyEndAllowThreads(__tstate
);
16829 if (PyErr_Occurred()) SWIG_fail
;
16831 Py_INCREF(Py_None
); resultobj
= Py_None
;
16838 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16839 PyObject
*resultobj
;
16840 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16843 PyObject
* obj0
= 0 ;
16844 PyObject
* obj1
= 0 ;
16845 char *kwnames
[] = {
16846 (char *) "self",(char *) "sz", NULL
16849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16853 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16857 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
16859 wxPyEndAllowThreads(__tstate
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16862 Py_INCREF(Py_None
); resultobj
= Py_None
;
16869 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16870 PyObject
*resultobj
;
16871 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16873 PyObject
* obj0
= 0 ;
16874 PyObject
* obj1
= 0 ;
16875 char *kwnames
[] = {
16876 (char *) "self",(char *) "quality", NULL
16879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
16880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16882 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16883 if (PyErr_Occurred()) SWIG_fail
;
16886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16887 (arg1
)->SetQuality(arg2
);
16889 wxPyEndAllowThreads(__tstate
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16892 Py_INCREF(Py_None
); resultobj
= Py_None
;
16899 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16900 PyObject
*resultobj
;
16901 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16903 PyObject
* obj0
= 0 ;
16904 char *kwnames
[] = {
16905 (char *) "self", NULL
16908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
16909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16913 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
16914 result
= (wxString
*) &_result_ref
;
16917 wxPyEndAllowThreads(__tstate
);
16918 if (PyErr_Occurred()) SWIG_fail
;
16922 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16924 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16933 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16934 PyObject
*resultobj
;
16935 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16937 PyObject
* obj0
= 0 ;
16938 char *kwnames
[] = {
16939 (char *) "self", NULL
16942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
16943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16947 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
16948 result
= (wxString
*) &_result_ref
;
16951 wxPyEndAllowThreads(__tstate
);
16952 if (PyErr_Occurred()) SWIG_fail
;
16956 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16958 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16967 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16968 PyObject
*resultobj
;
16969 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16971 PyObject
* obj0
= 0 ;
16972 char *kwnames
[] = {
16973 (char *) "self", NULL
16976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
16977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16981 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
16982 result
= (wxString
*) &_result_ref
;
16985 wxPyEndAllowThreads(__tstate
);
16986 if (PyErr_Occurred()) SWIG_fail
;
16990 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16992 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17001 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17002 PyObject
*resultobj
;
17003 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17005 PyObject
* obj0
= 0 ;
17006 char *kwnames
[] = {
17007 (char *) "self", NULL
17010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
17011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17015 wxString
const &_result_ref
= (arg1
)->GetFilename();
17016 result
= (wxString
*) &_result_ref
;
17019 wxPyEndAllowThreads(__tstate
);
17020 if (PyErr_Occurred()) SWIG_fail
;
17024 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17026 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17035 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17036 PyObject
*resultobj
;
17037 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17039 PyObject
* obj0
= 0 ;
17040 char *kwnames
[] = {
17041 (char *) "self", NULL
17044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
17045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17049 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
17050 result
= (wxString
*) &_result_ref
;
17053 wxPyEndAllowThreads(__tstate
);
17054 if (PyErr_Occurred()) SWIG_fail
;
17058 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17060 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17069 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17070 PyObject
*resultobj
;
17071 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17073 PyObject
* obj0
= 0 ;
17074 char *kwnames
[] = {
17075 (char *) "self", NULL
17078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
17079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17082 result
= (double)(arg1
)->GetPrinterScaleX();
17084 wxPyEndAllowThreads(__tstate
);
17085 if (PyErr_Occurred()) SWIG_fail
;
17087 resultobj
= SWIG_PyObj_FromDouble((double)result
);
17094 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17095 PyObject
*resultobj
;
17096 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17098 PyObject
* obj0
= 0 ;
17099 char *kwnames
[] = {
17100 (char *) "self", NULL
17103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
17104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17107 result
= (double)(arg1
)->GetPrinterScaleY();
17109 wxPyEndAllowThreads(__tstate
);
17110 if (PyErr_Occurred()) SWIG_fail
;
17112 resultobj
= SWIG_PyObj_FromDouble((double)result
);
17119 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17120 PyObject
*resultobj
;
17121 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17123 PyObject
* obj0
= 0 ;
17124 char *kwnames
[] = {
17125 (char *) "self", NULL
17128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
17129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17132 result
= (long)(arg1
)->GetPrinterTranslateX();
17134 wxPyEndAllowThreads(__tstate
);
17135 if (PyErr_Occurred()) SWIG_fail
;
17137 resultobj
= SWIG_PyObj_FromLong((long)result
);
17144 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17145 PyObject
*resultobj
;
17146 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17148 PyObject
* obj0
= 0 ;
17149 char *kwnames
[] = {
17150 (char *) "self", NULL
17153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
17154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17157 result
= (long)(arg1
)->GetPrinterTranslateY();
17159 wxPyEndAllowThreads(__tstate
);
17160 if (PyErr_Occurred()) SWIG_fail
;
17162 resultobj
= SWIG_PyObj_FromLong((long)result
);
17169 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17170 PyObject
*resultobj
;
17171 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17173 PyObject
* obj0
= 0 ;
17174 char *kwnames
[] = {
17175 (char *) "self", NULL
17178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
17179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17182 result
= (int)(arg1
)->GetPrintMode();
17184 wxPyEndAllowThreads(__tstate
);
17185 if (PyErr_Occurred()) SWIG_fail
;
17187 resultobj
= SWIG_PyObj_FromInt((int)result
);
17194 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17195 PyObject
*resultobj
;
17196 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17197 wxString
*arg2
= 0 ;
17198 bool temp2
= False
;
17199 PyObject
* obj0
= 0 ;
17200 PyObject
* obj1
= 0 ;
17201 char *kwnames
[] = {
17202 (char *) "self",(char *) "command", NULL
17205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
17206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17208 arg2
= wxString_in_helper(obj1
);
17209 if (arg2
== NULL
) SWIG_fail
;
17213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17214 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
17216 wxPyEndAllowThreads(__tstate
);
17217 if (PyErr_Occurred()) SWIG_fail
;
17219 Py_INCREF(Py_None
); resultobj
= Py_None
;
17234 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17235 PyObject
*resultobj
;
17236 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17237 wxString
*arg2
= 0 ;
17238 bool temp2
= False
;
17239 PyObject
* obj0
= 0 ;
17240 PyObject
* obj1
= 0 ;
17241 char *kwnames
[] = {
17242 (char *) "self",(char *) "options", NULL
17245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
17246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17248 arg2
= wxString_in_helper(obj1
);
17249 if (arg2
== NULL
) SWIG_fail
;
17253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17254 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
17256 wxPyEndAllowThreads(__tstate
);
17257 if (PyErr_Occurred()) SWIG_fail
;
17259 Py_INCREF(Py_None
); resultobj
= Py_None
;
17274 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17275 PyObject
*resultobj
;
17276 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17277 wxString
*arg2
= 0 ;
17278 bool temp2
= False
;
17279 PyObject
* obj0
= 0 ;
17280 PyObject
* obj1
= 0 ;
17281 char *kwnames
[] = {
17282 (char *) "self",(char *) "command", NULL
17285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
17286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17288 arg2
= wxString_in_helper(obj1
);
17289 if (arg2
== NULL
) SWIG_fail
;
17293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17294 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
17296 wxPyEndAllowThreads(__tstate
);
17297 if (PyErr_Occurred()) SWIG_fail
;
17299 Py_INCREF(Py_None
); resultobj
= Py_None
;
17314 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17315 PyObject
*resultobj
;
17316 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17317 wxString
*arg2
= 0 ;
17318 bool temp2
= False
;
17319 PyObject
* obj0
= 0 ;
17320 PyObject
* obj1
= 0 ;
17321 char *kwnames
[] = {
17322 (char *) "self",(char *) "filename", NULL
17325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
17326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17328 arg2
= wxString_in_helper(obj1
);
17329 if (arg2
== NULL
) SWIG_fail
;
17333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17334 (arg1
)->SetFilename((wxString
const &)*arg2
);
17336 wxPyEndAllowThreads(__tstate
);
17337 if (PyErr_Occurred()) SWIG_fail
;
17339 Py_INCREF(Py_None
); resultobj
= Py_None
;
17354 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
;
17356 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17357 wxString
*arg2
= 0 ;
17358 bool temp2
= False
;
17359 PyObject
* obj0
= 0 ;
17360 PyObject
* obj1
= 0 ;
17361 char *kwnames
[] = {
17362 (char *) "self",(char *) "path", NULL
17365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
17366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17368 arg2
= wxString_in_helper(obj1
);
17369 if (arg2
== NULL
) SWIG_fail
;
17373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17374 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
17376 wxPyEndAllowThreads(__tstate
);
17377 if (PyErr_Occurred()) SWIG_fail
;
17379 Py_INCREF(Py_None
); resultobj
= Py_None
;
17394 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17395 PyObject
*resultobj
;
17396 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17398 PyObject
* obj0
= 0 ;
17399 PyObject
* obj1
= 0 ;
17400 char *kwnames
[] = {
17401 (char *) "self",(char *) "x", NULL
17404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
17405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17407 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
17408 if (PyErr_Occurred()) SWIG_fail
;
17411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17412 (arg1
)->SetPrinterScaleX(arg2
);
17414 wxPyEndAllowThreads(__tstate
);
17415 if (PyErr_Occurred()) SWIG_fail
;
17417 Py_INCREF(Py_None
); resultobj
= Py_None
;
17424 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17425 PyObject
*resultobj
;
17426 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17428 PyObject
* obj0
= 0 ;
17429 PyObject
* obj1
= 0 ;
17430 char *kwnames
[] = {
17431 (char *) "self",(char *) "y", NULL
17434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
17435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17437 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
17438 if (PyErr_Occurred()) SWIG_fail
;
17441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17442 (arg1
)->SetPrinterScaleY(arg2
);
17444 wxPyEndAllowThreads(__tstate
);
17445 if (PyErr_Occurred()) SWIG_fail
;
17447 Py_INCREF(Py_None
); resultobj
= Py_None
;
17454 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17455 PyObject
*resultobj
;
17456 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17459 PyObject
* obj0
= 0 ;
17460 PyObject
* obj1
= 0 ;
17461 PyObject
* obj2
= 0 ;
17462 char *kwnames
[] = {
17463 (char *) "self",(char *) "x",(char *) "y", NULL
17466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17469 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17473 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17478 (arg1
)->SetPrinterScaling(arg2
,arg3
);
17480 wxPyEndAllowThreads(__tstate
);
17481 if (PyErr_Occurred()) SWIG_fail
;
17483 Py_INCREF(Py_None
); resultobj
= Py_None
;
17490 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17491 PyObject
*resultobj
;
17492 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17494 PyObject
* obj0
= 0 ;
17495 PyObject
* obj1
= 0 ;
17496 char *kwnames
[] = {
17497 (char *) "self",(char *) "x", NULL
17500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
17501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17503 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17504 if (PyErr_Occurred()) SWIG_fail
;
17507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17508 (arg1
)->SetPrinterTranslateX(arg2
);
17510 wxPyEndAllowThreads(__tstate
);
17511 if (PyErr_Occurred()) SWIG_fail
;
17513 Py_INCREF(Py_None
); resultobj
= Py_None
;
17520 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17521 PyObject
*resultobj
;
17522 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17524 PyObject
* obj0
= 0 ;
17525 PyObject
* obj1
= 0 ;
17526 char *kwnames
[] = {
17527 (char *) "self",(char *) "y", NULL
17530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
17531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17533 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17534 if (PyErr_Occurred()) SWIG_fail
;
17537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17538 (arg1
)->SetPrinterTranslateY(arg2
);
17540 wxPyEndAllowThreads(__tstate
);
17541 if (PyErr_Occurred()) SWIG_fail
;
17543 Py_INCREF(Py_None
); resultobj
= Py_None
;
17550 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17551 PyObject
*resultobj
;
17552 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17555 PyObject
* obj0
= 0 ;
17556 PyObject
* obj1
= 0 ;
17557 PyObject
* obj2
= 0 ;
17558 char *kwnames
[] = {
17559 (char *) "self",(char *) "x",(char *) "y", NULL
17562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17565 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17566 if (PyErr_Occurred()) SWIG_fail
;
17569 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
17570 if (PyErr_Occurred()) SWIG_fail
;
17573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17574 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
17576 wxPyEndAllowThreads(__tstate
);
17577 if (PyErr_Occurred()) SWIG_fail
;
17579 Py_INCREF(Py_None
); resultobj
= Py_None
;
17586 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17587 PyObject
*resultobj
;
17588 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17590 PyObject
* obj0
= 0 ;
17591 PyObject
* obj1
= 0 ;
17592 char *kwnames
[] = {
17593 (char *) "self",(char *) "printMode", NULL
17596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
17597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17599 arg2
= (wxPrintMode
) SWIG_PyObj_AsInt(obj1
);
17600 if (PyErr_Occurred()) SWIG_fail
;
17603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17604 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
17606 wxPyEndAllowThreads(__tstate
);
17607 if (PyErr_Occurred()) SWIG_fail
;
17609 Py_INCREF(Py_None
); resultobj
= Py_None
;
17616 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
17618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17619 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
17621 return Py_BuildValue((char *)"");
17623 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17624 PyObject
*resultobj
;
17625 wxPageSetupDialogData
*result
;
17626 char *kwnames
[] = {
17630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
17632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17633 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
17635 wxPyEndAllowThreads(__tstate
);
17636 if (PyErr_Occurred()) SWIG_fail
;
17638 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 1);
17645 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17646 PyObject
*resultobj
;
17647 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17648 PyObject
* obj0
= 0 ;
17649 char *kwnames
[] = {
17650 (char *) "self", NULL
17653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
17654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17659 wxPyEndAllowThreads(__tstate
);
17660 if (PyErr_Occurred()) SWIG_fail
;
17662 Py_INCREF(Py_None
); resultobj
= Py_None
;
17669 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17670 PyObject
*resultobj
;
17671 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17673 PyObject
* obj0
= 0 ;
17674 PyObject
* obj1
= 0 ;
17675 char *kwnames
[] = {
17676 (char *) "self",(char *) "flag", NULL
17679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17682 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17683 if (PyErr_Occurred()) SWIG_fail
;
17686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17687 (arg1
)->EnableHelp(arg2
);
17689 wxPyEndAllowThreads(__tstate
);
17690 if (PyErr_Occurred()) SWIG_fail
;
17692 Py_INCREF(Py_None
); resultobj
= Py_None
;
17699 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17700 PyObject
*resultobj
;
17701 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17703 PyObject
* obj0
= 0 ;
17704 PyObject
* obj1
= 0 ;
17705 char *kwnames
[] = {
17706 (char *) "self",(char *) "flag", NULL
17709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17712 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17713 if (PyErr_Occurred()) SWIG_fail
;
17716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17717 (arg1
)->EnableMargins(arg2
);
17719 wxPyEndAllowThreads(__tstate
);
17720 if (PyErr_Occurred()) SWIG_fail
;
17722 Py_INCREF(Py_None
); resultobj
= Py_None
;
17729 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17730 PyObject
*resultobj
;
17731 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17733 PyObject
* obj0
= 0 ;
17734 PyObject
* obj1
= 0 ;
17735 char *kwnames
[] = {
17736 (char *) "self",(char *) "flag", NULL
17739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
17740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17742 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17743 if (PyErr_Occurred()) SWIG_fail
;
17746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17747 (arg1
)->EnableOrientation(arg2
);
17749 wxPyEndAllowThreads(__tstate
);
17750 if (PyErr_Occurred()) SWIG_fail
;
17752 Py_INCREF(Py_None
); resultobj
= Py_None
;
17759 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17760 PyObject
*resultobj
;
17761 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17763 PyObject
* obj0
= 0 ;
17764 PyObject
* obj1
= 0 ;
17765 char *kwnames
[] = {
17766 (char *) "self",(char *) "flag", NULL
17769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
17770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17772 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17773 if (PyErr_Occurred()) SWIG_fail
;
17776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17777 (arg1
)->EnablePaper(arg2
);
17779 wxPyEndAllowThreads(__tstate
);
17780 if (PyErr_Occurred()) SWIG_fail
;
17782 Py_INCREF(Py_None
); resultobj
= Py_None
;
17789 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17790 PyObject
*resultobj
;
17791 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17793 PyObject
* obj0
= 0 ;
17794 PyObject
* obj1
= 0 ;
17795 char *kwnames
[] = {
17796 (char *) "self",(char *) "flag", NULL
17799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
17800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17802 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17803 if (PyErr_Occurred()) SWIG_fail
;
17806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17807 (arg1
)->EnablePrinter(arg2
);
17809 wxPyEndAllowThreads(__tstate
);
17810 if (PyErr_Occurred()) SWIG_fail
;
17812 Py_INCREF(Py_None
); resultobj
= Py_None
;
17819 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17820 PyObject
*resultobj
;
17821 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17823 PyObject
* obj0
= 0 ;
17824 char *kwnames
[] = {
17825 (char *) "self", NULL
17828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
17829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17832 result
= (bool)(arg1
)->GetDefaultMinMargins();
17834 wxPyEndAllowThreads(__tstate
);
17835 if (PyErr_Occurred()) SWIG_fail
;
17837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17844 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17845 PyObject
*resultobj
;
17846 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17848 PyObject
* obj0
= 0 ;
17849 char *kwnames
[] = {
17850 (char *) "self", NULL
17853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
17854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17857 result
= (bool)(arg1
)->GetEnableMargins();
17859 wxPyEndAllowThreads(__tstate
);
17860 if (PyErr_Occurred()) SWIG_fail
;
17862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17869 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17870 PyObject
*resultobj
;
17871 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17873 PyObject
* obj0
= 0 ;
17874 char *kwnames
[] = {
17875 (char *) "self", NULL
17878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
17879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17882 result
= (bool)(arg1
)->GetEnableOrientation();
17884 wxPyEndAllowThreads(__tstate
);
17885 if (PyErr_Occurred()) SWIG_fail
;
17887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17894 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17895 PyObject
*resultobj
;
17896 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17898 PyObject
* obj0
= 0 ;
17899 char *kwnames
[] = {
17900 (char *) "self", NULL
17903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
17904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17907 result
= (bool)(arg1
)->GetEnablePaper();
17909 wxPyEndAllowThreads(__tstate
);
17910 if (PyErr_Occurred()) SWIG_fail
;
17912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17919 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17920 PyObject
*resultobj
;
17921 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17923 PyObject
* obj0
= 0 ;
17924 char *kwnames
[] = {
17925 (char *) "self", NULL
17928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
17929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17932 result
= (bool)(arg1
)->GetEnablePrinter();
17934 wxPyEndAllowThreads(__tstate
);
17935 if (PyErr_Occurred()) SWIG_fail
;
17937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17944 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17945 PyObject
*resultobj
;
17946 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17948 PyObject
* obj0
= 0 ;
17949 char *kwnames
[] = {
17950 (char *) "self", NULL
17953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
17954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17957 result
= (bool)(arg1
)->GetEnableHelp();
17959 wxPyEndAllowThreads(__tstate
);
17960 if (PyErr_Occurred()) SWIG_fail
;
17962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17969 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17970 PyObject
*resultobj
;
17971 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17973 PyObject
* obj0
= 0 ;
17974 char *kwnames
[] = {
17975 (char *) "self", NULL
17978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
17979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17982 result
= (bool)(arg1
)->GetDefaultInfo();
17984 wxPyEndAllowThreads(__tstate
);
17985 if (PyErr_Occurred()) SWIG_fail
;
17987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17994 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17995 PyObject
*resultobj
;
17996 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17998 PyObject
* obj0
= 0 ;
17999 char *kwnames
[] = {
18000 (char *) "self", NULL
18003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
18004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18007 result
= (arg1
)->GetMarginTopLeft();
18009 wxPyEndAllowThreads(__tstate
);
18010 if (PyErr_Occurred()) SWIG_fail
;
18013 wxPoint
* resultptr
;
18014 resultptr
= new wxPoint((wxPoint
&) result
);
18015 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
18023 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18024 PyObject
*resultobj
;
18025 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18027 PyObject
* obj0
= 0 ;
18028 char *kwnames
[] = {
18029 (char *) "self", NULL
18032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
18033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18036 result
= (arg1
)->GetMarginBottomRight();
18038 wxPyEndAllowThreads(__tstate
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18042 wxPoint
* resultptr
;
18043 resultptr
= new wxPoint((wxPoint
&) result
);
18044 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
18052 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18053 PyObject
*resultobj
;
18054 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18056 PyObject
* obj0
= 0 ;
18057 char *kwnames
[] = {
18058 (char *) "self", NULL
18061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
18062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18065 result
= (arg1
)->GetMinMarginTopLeft();
18067 wxPyEndAllowThreads(__tstate
);
18068 if (PyErr_Occurred()) SWIG_fail
;
18071 wxPoint
* resultptr
;
18072 resultptr
= new wxPoint((wxPoint
&) result
);
18073 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
18081 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18082 PyObject
*resultobj
;
18083 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18085 PyObject
* obj0
= 0 ;
18086 char *kwnames
[] = {
18087 (char *) "self", NULL
18090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
18091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18094 result
= (arg1
)->GetMinMarginBottomRight();
18096 wxPyEndAllowThreads(__tstate
);
18097 if (PyErr_Occurred()) SWIG_fail
;
18100 wxPoint
* resultptr
;
18101 resultptr
= new wxPoint((wxPoint
&) result
);
18102 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
18110 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18111 PyObject
*resultobj
;
18112 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18114 PyObject
* obj0
= 0 ;
18115 char *kwnames
[] = {
18116 (char *) "self", NULL
18119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18123 result
= (int)(arg1
)->GetPaperId();
18125 wxPyEndAllowThreads(__tstate
);
18126 if (PyErr_Occurred()) SWIG_fail
;
18128 resultobj
= SWIG_PyObj_FromInt((int)result
);
18135 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18136 PyObject
*resultobj
;
18137 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18139 PyObject
* obj0
= 0 ;
18140 char *kwnames
[] = {
18141 (char *) "self", NULL
18144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18148 result
= (arg1
)->GetPaperSize();
18150 wxPyEndAllowThreads(__tstate
);
18151 if (PyErr_Occurred()) SWIG_fail
;
18154 wxSize
* resultptr
;
18155 resultptr
= new wxSize((wxSize
&) result
);
18156 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
18164 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18165 PyObject
*resultobj
;
18166 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18167 wxPrintData
*result
;
18168 PyObject
* obj0
= 0 ;
18169 char *kwnames
[] = {
18170 (char *) "self", NULL
18173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
18174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18178 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
18179 result
= (wxPrintData
*) &_result_ref
;
18182 wxPyEndAllowThreads(__tstate
);
18183 if (PyErr_Occurred()) SWIG_fail
;
18185 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
18192 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18193 PyObject
*resultobj
;
18194 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18196 PyObject
* obj0
= 0 ;
18197 char *kwnames
[] = {
18198 (char *) "self", NULL
18201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
18202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18205 result
= (bool)(arg1
)->Ok();
18207 wxPyEndAllowThreads(__tstate
);
18208 if (PyErr_Occurred()) SWIG_fail
;
18210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18217 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18218 PyObject
*resultobj
;
18219 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18221 PyObject
* obj0
= 0 ;
18222 PyObject
* obj1
= 0 ;
18223 char *kwnames
[] = {
18224 (char *) "self",(char *) "flag", NULL
18227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
18228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18230 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18231 if (PyErr_Occurred()) SWIG_fail
;
18234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18235 (arg1
)->SetDefaultInfo(arg2
);
18237 wxPyEndAllowThreads(__tstate
);
18238 if (PyErr_Occurred()) SWIG_fail
;
18240 Py_INCREF(Py_None
); resultobj
= Py_None
;
18247 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18248 PyObject
*resultobj
;
18249 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18251 PyObject
* obj0
= 0 ;
18252 PyObject
* obj1
= 0 ;
18253 char *kwnames
[] = {
18254 (char *) "self",(char *) "flag", NULL
18257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18260 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18261 if (PyErr_Occurred()) SWIG_fail
;
18264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18265 (arg1
)->SetDefaultMinMargins(arg2
);
18267 wxPyEndAllowThreads(__tstate
);
18268 if (PyErr_Occurred()) SWIG_fail
;
18270 Py_INCREF(Py_None
); resultobj
= Py_None
;
18277 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18278 PyObject
*resultobj
;
18279 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18280 wxPoint
*arg2
= 0 ;
18282 PyObject
* obj0
= 0 ;
18283 PyObject
* obj1
= 0 ;
18284 char *kwnames
[] = {
18285 (char *) "self",(char *) "pt", NULL
18288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
18289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18292 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18296 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
18298 wxPyEndAllowThreads(__tstate
);
18299 if (PyErr_Occurred()) SWIG_fail
;
18301 Py_INCREF(Py_None
); resultobj
= Py_None
;
18308 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18309 PyObject
*resultobj
;
18310 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18311 wxPoint
*arg2
= 0 ;
18313 PyObject
* obj0
= 0 ;
18314 PyObject
* obj1
= 0 ;
18315 char *kwnames
[] = {
18316 (char *) "self",(char *) "pt", NULL
18319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
18320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18323 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18327 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
18329 wxPyEndAllowThreads(__tstate
);
18330 if (PyErr_Occurred()) SWIG_fail
;
18332 Py_INCREF(Py_None
); resultobj
= Py_None
;
18339 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18340 PyObject
*resultobj
;
18341 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18342 wxPoint
*arg2
= 0 ;
18344 PyObject
* obj0
= 0 ;
18345 PyObject
* obj1
= 0 ;
18346 char *kwnames
[] = {
18347 (char *) "self",(char *) "pt", NULL
18350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
18351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18354 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18358 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
18360 wxPyEndAllowThreads(__tstate
);
18361 if (PyErr_Occurred()) SWIG_fail
;
18363 Py_INCREF(Py_None
); resultobj
= Py_None
;
18370 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18371 PyObject
*resultobj
;
18372 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18373 wxPoint
*arg2
= 0 ;
18375 PyObject
* obj0
= 0 ;
18376 PyObject
* obj1
= 0 ;
18377 char *kwnames
[] = {
18378 (char *) "self",(char *) "pt", NULL
18381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
18382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18385 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18389 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
18391 wxPyEndAllowThreads(__tstate
);
18392 if (PyErr_Occurred()) SWIG_fail
;
18394 Py_INCREF(Py_None
); resultobj
= Py_None
;
18401 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18402 PyObject
*resultobj
;
18403 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18405 PyObject
* obj0
= 0 ;
18406 PyObject
* obj1
= 0 ;
18407 char *kwnames
[] = {
18408 (char *) "self",(char *) "id", NULL
18411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18414 arg2
= (wxPaperSize
) SWIG_PyObj_AsInt(obj1
);
18415 if (PyErr_Occurred()) SWIG_fail
;
18418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18419 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18421 wxPyEndAllowThreads(__tstate
);
18422 if (PyErr_Occurred()) SWIG_fail
;
18424 Py_INCREF(Py_None
); resultobj
= Py_None
;
18431 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18432 PyObject
*resultobj
;
18433 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18436 PyObject
* obj0
= 0 ;
18437 PyObject
* obj1
= 0 ;
18438 char *kwnames
[] = {
18439 (char *) "self",(char *) "size", NULL
18442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18446 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18450 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18452 wxPyEndAllowThreads(__tstate
);
18453 if (PyErr_Occurred()) SWIG_fail
;
18455 Py_INCREF(Py_None
); resultobj
= Py_None
;
18462 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18463 PyObject
*resultobj
;
18464 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18465 wxPrintData
*arg2
= 0 ;
18466 PyObject
* obj0
= 0 ;
18467 PyObject
* obj1
= 0 ;
18468 char *kwnames
[] = {
18469 (char *) "self",(char *) "printData", NULL
18472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
18473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18474 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18475 if (arg2
== NULL
) {
18476 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18480 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
18482 wxPyEndAllowThreads(__tstate
);
18483 if (PyErr_Occurred()) SWIG_fail
;
18485 Py_INCREF(Py_None
); resultobj
= Py_None
;
18492 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
18494 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18495 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
18497 return Py_BuildValue((char *)"");
18499 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18500 PyObject
*resultobj
;
18501 wxWindow
*arg1
= (wxWindow
*) 0 ;
18502 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
18503 wxPageSetupDialog
*result
;
18504 PyObject
* obj0
= 0 ;
18505 PyObject
* obj1
= 0 ;
18506 char *kwnames
[] = {
18507 (char *) "parent",(char *) "data", NULL
18510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
18511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18513 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18517 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
18519 wxPyEndAllowThreads(__tstate
);
18520 if (PyErr_Occurred()) SWIG_fail
;
18522 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialog
, 1);
18529 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18530 PyObject
*resultobj
;
18531 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
18532 wxPageSetupDialogData
*result
;
18533 PyObject
* obj0
= 0 ;
18534 char *kwnames
[] = {
18535 (char *) "self", NULL
18538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
18539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18543 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
18544 result
= (wxPageSetupDialogData
*) &_result_ref
;
18547 wxPyEndAllowThreads(__tstate
);
18548 if (PyErr_Occurred()) SWIG_fail
;
18550 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 0);
18557 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18558 PyObject
*resultobj
;
18559 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
18561 PyObject
* obj0
= 0 ;
18562 char *kwnames
[] = {
18563 (char *) "self", NULL
18566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
18567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18570 result
= (int)(arg1
)->ShowModal();
18572 wxPyEndAllowThreads(__tstate
);
18573 if (PyErr_Occurred()) SWIG_fail
;
18575 resultobj
= SWIG_PyObj_FromInt((int)result
);
18582 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
18584 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18585 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
18587 return Py_BuildValue((char *)"");
18589 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18590 PyObject
*resultobj
;
18591 wxPrintDialogData
*result
;
18592 char *kwnames
[] = {
18596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintDialogData",kwnames
)) goto fail
;
18598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18599 result
= (wxPrintDialogData
*)new wxPrintDialogData();
18601 wxPyEndAllowThreads(__tstate
);
18602 if (PyErr_Occurred()) SWIG_fail
;
18604 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 1);
18611 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18612 PyObject
*resultobj
;
18613 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18614 PyObject
* obj0
= 0 ;
18615 char *kwnames
[] = {
18616 (char *) "self", NULL
18619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
18620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18625 wxPyEndAllowThreads(__tstate
);
18626 if (PyErr_Occurred()) SWIG_fail
;
18628 Py_INCREF(Py_None
); resultobj
= Py_None
;
18635 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18636 PyObject
*resultobj
;
18637 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18639 PyObject
* obj0
= 0 ;
18640 char *kwnames
[] = {
18641 (char *) "self", NULL
18644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
18645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18648 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
18650 wxPyEndAllowThreads(__tstate
);
18651 if (PyErr_Occurred()) SWIG_fail
;
18653 resultobj
= SWIG_PyObj_FromInt((int)result
);
18660 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18661 PyObject
*resultobj
;
18662 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18664 PyObject
* obj0
= 0 ;
18665 char *kwnames
[] = {
18666 (char *) "self", NULL
18669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
18670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18673 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
18675 wxPyEndAllowThreads(__tstate
);
18676 if (PyErr_Occurred()) SWIG_fail
;
18678 resultobj
= SWIG_PyObj_FromInt((int)result
);
18685 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18686 PyObject
*resultobj
;
18687 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18689 PyObject
* obj0
= 0 ;
18690 char *kwnames
[] = {
18691 (char *) "self", NULL
18694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
18695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18698 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
18700 wxPyEndAllowThreads(__tstate
);
18701 if (PyErr_Occurred()) SWIG_fail
;
18703 resultobj
= SWIG_PyObj_FromInt((int)result
);
18710 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18711 PyObject
*resultobj
;
18712 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18714 PyObject
* obj0
= 0 ;
18715 char *kwnames
[] = {
18716 (char *) "self", NULL
18719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
18720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18723 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
18725 wxPyEndAllowThreads(__tstate
);
18726 if (PyErr_Occurred()) SWIG_fail
;
18728 resultobj
= SWIG_PyObj_FromInt((int)result
);
18735 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18736 PyObject
*resultobj
;
18737 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18739 PyObject
* obj0
= 0 ;
18740 char *kwnames
[] = {
18741 (char *) "self", NULL
18744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18748 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
18750 wxPyEndAllowThreads(__tstate
);
18751 if (PyErr_Occurred()) SWIG_fail
;
18753 resultobj
= SWIG_PyObj_FromInt((int)result
);
18760 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18761 PyObject
*resultobj
;
18762 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18764 PyObject
* obj0
= 0 ;
18765 char *kwnames
[] = {
18766 (char *) "self", NULL
18769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
18770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18773 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
18775 wxPyEndAllowThreads(__tstate
);
18776 if (PyErr_Occurred()) SWIG_fail
;
18778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18785 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18786 PyObject
*resultobj
;
18787 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18789 PyObject
* obj0
= 0 ;
18790 char *kwnames
[] = {
18791 (char *) "self", NULL
18794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
18795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18798 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
18800 wxPyEndAllowThreads(__tstate
);
18801 if (PyErr_Occurred()) SWIG_fail
;
18803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18810 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18811 PyObject
*resultobj
;
18812 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18814 PyObject
* obj0
= 0 ;
18815 char *kwnames
[] = {
18816 (char *) "self", NULL
18819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
18820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18823 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
18825 wxPyEndAllowThreads(__tstate
);
18826 if (PyErr_Occurred()) SWIG_fail
;
18828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18835 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18836 PyObject
*resultobj
;
18837 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18839 PyObject
* obj0
= 0 ;
18840 char *kwnames
[] = {
18841 (char *) "self", NULL
18844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
18845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18848 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
18850 wxPyEndAllowThreads(__tstate
);
18851 if (PyErr_Occurred()) SWIG_fail
;
18853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18860 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18861 PyObject
*resultobj
;
18862 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18864 PyObject
* obj0
= 0 ;
18865 char *kwnames
[] = {
18866 (char *) "self", NULL
18869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
18870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18873 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
18875 wxPyEndAllowThreads(__tstate
);
18876 if (PyErr_Occurred()) SWIG_fail
;
18878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18885 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18886 PyObject
*resultobj
;
18887 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18889 PyObject
* obj0
= 0 ;
18890 PyObject
* obj1
= 0 ;
18891 char *kwnames
[] = {
18892 (char *) "self",(char *) "v", NULL
18895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
18896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18898 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18899 if (PyErr_Occurred()) SWIG_fail
;
18902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18903 (arg1
)->SetFromPage(arg2
);
18905 wxPyEndAllowThreads(__tstate
);
18906 if (PyErr_Occurred()) SWIG_fail
;
18908 Py_INCREF(Py_None
); resultobj
= Py_None
;
18915 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18916 PyObject
*resultobj
;
18917 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18919 PyObject
* obj0
= 0 ;
18920 PyObject
* obj1
= 0 ;
18921 char *kwnames
[] = {
18922 (char *) "self",(char *) "v", NULL
18925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
18926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18928 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18929 if (PyErr_Occurred()) SWIG_fail
;
18932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18933 (arg1
)->SetToPage(arg2
);
18935 wxPyEndAllowThreads(__tstate
);
18936 if (PyErr_Occurred()) SWIG_fail
;
18938 Py_INCREF(Py_None
); resultobj
= Py_None
;
18945 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18946 PyObject
*resultobj
;
18947 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18949 PyObject
* obj0
= 0 ;
18950 PyObject
* obj1
= 0 ;
18951 char *kwnames
[] = {
18952 (char *) "self",(char *) "v", NULL
18955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
18956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18958 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18959 if (PyErr_Occurred()) SWIG_fail
;
18962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18963 (arg1
)->SetMinPage(arg2
);
18965 wxPyEndAllowThreads(__tstate
);
18966 if (PyErr_Occurred()) SWIG_fail
;
18968 Py_INCREF(Py_None
); resultobj
= Py_None
;
18975 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18976 PyObject
*resultobj
;
18977 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18979 PyObject
* obj0
= 0 ;
18980 PyObject
* obj1
= 0 ;
18981 char *kwnames
[] = {
18982 (char *) "self",(char *) "v", NULL
18985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
18986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18988 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18989 if (PyErr_Occurred()) SWIG_fail
;
18992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18993 (arg1
)->SetMaxPage(arg2
);
18995 wxPyEndAllowThreads(__tstate
);
18996 if (PyErr_Occurred()) SWIG_fail
;
18998 Py_INCREF(Py_None
); resultobj
= Py_None
;
19005 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19006 PyObject
*resultobj
;
19007 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19009 PyObject
* obj0
= 0 ;
19010 PyObject
* obj1
= 0 ;
19011 char *kwnames
[] = {
19012 (char *) "self",(char *) "v", NULL
19015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
19016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19018 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19019 if (PyErr_Occurred()) SWIG_fail
;
19022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19023 (arg1
)->SetNoCopies(arg2
);
19025 wxPyEndAllowThreads(__tstate
);
19026 if (PyErr_Occurred()) SWIG_fail
;
19028 Py_INCREF(Py_None
); resultobj
= Py_None
;
19035 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19036 PyObject
*resultobj
;
19037 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19039 PyObject
* obj0
= 0 ;
19040 PyObject
* obj1
= 0 ;
19041 char *kwnames
[] = {
19042 (char *) "self",(char *) "flag", NULL
19045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
19046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19048 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19049 if (PyErr_Occurred()) SWIG_fail
;
19052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19053 (arg1
)->SetAllPages(arg2
);
19055 wxPyEndAllowThreads(__tstate
);
19056 if (PyErr_Occurred()) SWIG_fail
;
19058 Py_INCREF(Py_None
); resultobj
= Py_None
;
19065 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19066 PyObject
*resultobj
;
19067 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19069 PyObject
* obj0
= 0 ;
19070 PyObject
* obj1
= 0 ;
19071 char *kwnames
[] = {
19072 (char *) "self",(char *) "flag", NULL
19075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
19076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19078 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19079 if (PyErr_Occurred()) SWIG_fail
;
19082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19083 (arg1
)->SetSelection(arg2
);
19085 wxPyEndAllowThreads(__tstate
);
19086 if (PyErr_Occurred()) SWIG_fail
;
19088 Py_INCREF(Py_None
); resultobj
= Py_None
;
19095 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19096 PyObject
*resultobj
;
19097 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19099 PyObject
* obj0
= 0 ;
19100 PyObject
* obj1
= 0 ;
19101 char *kwnames
[] = {
19102 (char *) "self",(char *) "flag", NULL
19105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
19106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19108 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19109 if (PyErr_Occurred()) SWIG_fail
;
19112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19113 (arg1
)->SetCollate(arg2
);
19115 wxPyEndAllowThreads(__tstate
);
19116 if (PyErr_Occurred()) SWIG_fail
;
19118 Py_INCREF(Py_None
); resultobj
= Py_None
;
19125 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19126 PyObject
*resultobj
;
19127 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19129 PyObject
* obj0
= 0 ;
19130 PyObject
* obj1
= 0 ;
19131 char *kwnames
[] = {
19132 (char *) "self",(char *) "flag", NULL
19135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
19136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19138 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19139 if (PyErr_Occurred()) SWIG_fail
;
19142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19143 (arg1
)->SetPrintToFile(arg2
);
19145 wxPyEndAllowThreads(__tstate
);
19146 if (PyErr_Occurred()) SWIG_fail
;
19148 Py_INCREF(Py_None
); resultobj
= Py_None
;
19155 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19156 PyObject
*resultobj
;
19157 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19159 PyObject
* obj0
= 0 ;
19160 PyObject
* obj1
= 0 ;
19161 char *kwnames
[] = {
19162 (char *) "self",(char *) "flag", NULL
19165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19168 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19169 if (PyErr_Occurred()) SWIG_fail
;
19172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19173 (arg1
)->SetSetupDialog(arg2
);
19175 wxPyEndAllowThreads(__tstate
);
19176 if (PyErr_Occurred()) SWIG_fail
;
19178 Py_INCREF(Py_None
); resultobj
= Py_None
;
19185 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19186 PyObject
*resultobj
;
19187 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19189 PyObject
* obj0
= 0 ;
19190 PyObject
* obj1
= 0 ;
19191 char *kwnames
[] = {
19192 (char *) "self",(char *) "flag", NULL
19195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
19196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19198 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19199 if (PyErr_Occurred()) SWIG_fail
;
19202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19203 (arg1
)->EnablePrintToFile(arg2
);
19205 wxPyEndAllowThreads(__tstate
);
19206 if (PyErr_Occurred()) SWIG_fail
;
19208 Py_INCREF(Py_None
); resultobj
= Py_None
;
19215 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19216 PyObject
*resultobj
;
19217 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19219 PyObject
* obj0
= 0 ;
19220 PyObject
* obj1
= 0 ;
19221 char *kwnames
[] = {
19222 (char *) "self",(char *) "flag", NULL
19225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
19226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19228 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19229 if (PyErr_Occurred()) SWIG_fail
;
19232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19233 (arg1
)->EnableSelection(arg2
);
19235 wxPyEndAllowThreads(__tstate
);
19236 if (PyErr_Occurred()) SWIG_fail
;
19238 Py_INCREF(Py_None
); resultobj
= Py_None
;
19245 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19246 PyObject
*resultobj
;
19247 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19249 PyObject
* obj0
= 0 ;
19250 PyObject
* obj1
= 0 ;
19251 char *kwnames
[] = {
19252 (char *) "self",(char *) "flag", NULL
19255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
19256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19258 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19259 if (PyErr_Occurred()) SWIG_fail
;
19262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19263 (arg1
)->EnablePageNumbers(arg2
);
19265 wxPyEndAllowThreads(__tstate
);
19266 if (PyErr_Occurred()) SWIG_fail
;
19268 Py_INCREF(Py_None
); resultobj
= Py_None
;
19275 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19276 PyObject
*resultobj
;
19277 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19279 PyObject
* obj0
= 0 ;
19280 PyObject
* obj1
= 0 ;
19281 char *kwnames
[] = {
19282 (char *) "self",(char *) "flag", NULL
19285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19288 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19289 if (PyErr_Occurred()) SWIG_fail
;
19292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19293 (arg1
)->EnableHelp(arg2
);
19295 wxPyEndAllowThreads(__tstate
);
19296 if (PyErr_Occurred()) SWIG_fail
;
19298 Py_INCREF(Py_None
); resultobj
= Py_None
;
19305 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19306 PyObject
*resultobj
;
19307 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19309 PyObject
* obj0
= 0 ;
19310 char *kwnames
[] = {
19311 (char *) "self", NULL
19314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
19315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19318 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
19320 wxPyEndAllowThreads(__tstate
);
19321 if (PyErr_Occurred()) SWIG_fail
;
19323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19330 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19331 PyObject
*resultobj
;
19332 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19334 PyObject
* obj0
= 0 ;
19335 char *kwnames
[] = {
19336 (char *) "self", NULL
19339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
19340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19343 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
19345 wxPyEndAllowThreads(__tstate
);
19346 if (PyErr_Occurred()) SWIG_fail
;
19348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19355 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19356 PyObject
*resultobj
;
19357 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19359 PyObject
* obj0
= 0 ;
19360 char *kwnames
[] = {
19361 (char *) "self", NULL
19364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
19365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19368 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
19370 wxPyEndAllowThreads(__tstate
);
19371 if (PyErr_Occurred()) SWIG_fail
;
19373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19380 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19381 PyObject
*resultobj
;
19382 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19384 PyObject
* obj0
= 0 ;
19385 char *kwnames
[] = {
19386 (char *) "self", NULL
19389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19393 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
19395 wxPyEndAllowThreads(__tstate
);
19396 if (PyErr_Occurred()) SWIG_fail
;
19398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19405 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19406 PyObject
*resultobj
;
19407 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19409 PyObject
* obj0
= 0 ;
19410 char *kwnames
[] = {
19411 (char *) "self", NULL
19414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19418 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
19420 wxPyEndAllowThreads(__tstate
);
19421 if (PyErr_Occurred()) SWIG_fail
;
19423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19430 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19431 PyObject
*resultobj
;
19432 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19433 wxPrintData
*result
;
19434 PyObject
* obj0
= 0 ;
19435 char *kwnames
[] = {
19436 (char *) "self", NULL
19439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19444 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19445 result
= (wxPrintData
*) &_result_ref
;
19448 wxPyEndAllowThreads(__tstate
);
19449 if (PyErr_Occurred()) SWIG_fail
;
19451 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
19458 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19459 PyObject
*resultobj
;
19460 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19461 wxPrintData
*arg2
= 0 ;
19462 PyObject
* obj0
= 0 ;
19463 PyObject
* obj1
= 0 ;
19464 char *kwnames
[] = {
19465 (char *) "self",(char *) "printData", NULL
19468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
19469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19470 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19471 if (arg2
== NULL
) {
19472 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19476 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
19478 wxPyEndAllowThreads(__tstate
);
19479 if (PyErr_Occurred()) SWIG_fail
;
19481 Py_INCREF(Py_None
); resultobj
= Py_None
;
19488 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
19490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19491 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
19493 return Py_BuildValue((char *)"");
19495 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19496 PyObject
*resultobj
;
19497 wxWindow
*arg1
= (wxWindow
*) 0 ;
19498 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
19499 wxPrintDialog
*result
;
19500 PyObject
* obj0
= 0 ;
19501 PyObject
* obj1
= 0 ;
19502 char *kwnames
[] = {
19503 (char *) "parent",(char *) "data", NULL
19506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19509 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19513 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
19515 wxPyEndAllowThreads(__tstate
);
19516 if (PyErr_Occurred()) SWIG_fail
;
19518 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialog
, 1);
19525 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19526 PyObject
*resultobj
;
19527 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19528 wxPrintDialogData
*result
;
19529 PyObject
* obj0
= 0 ;
19530 char *kwnames
[] = {
19531 (char *) "self", NULL
19534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
19535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19539 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
19540 result
= (wxPrintDialogData
*) &_result_ref
;
19543 wxPyEndAllowThreads(__tstate
);
19544 if (PyErr_Occurred()) SWIG_fail
;
19546 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
19553 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19554 PyObject
*resultobj
;
19555 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19557 PyObject
* obj0
= 0 ;
19558 char *kwnames
[] = {
19559 (char *) "self", NULL
19562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
19563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19566 result
= (wxDC
*)(arg1
)->GetPrintDC();
19568 wxPyEndAllowThreads(__tstate
);
19569 if (PyErr_Occurred()) SWIG_fail
;
19572 resultobj
= wxPyMake_wxObject(result
);
19580 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19581 PyObject
*resultobj
;
19582 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19584 PyObject
* obj0
= 0 ;
19585 char *kwnames
[] = {
19586 (char *) "self", NULL
19589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
19590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19593 result
= (int)(arg1
)->ShowModal();
19595 wxPyEndAllowThreads(__tstate
);
19596 if (PyErr_Occurred()) SWIG_fail
;
19598 resultobj
= SWIG_PyObj_FromInt((int)result
);
19605 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
19607 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19608 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
19610 return Py_BuildValue((char *)"");
19612 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19613 PyObject
*resultobj
;
19614 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
19616 PyObject
* obj0
= 0 ;
19617 char *kwnames
[] = {
19618 (char *) "data", NULL
19621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
19623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19627 result
= (wxPrinter
*)new wxPrinter(arg1
);
19629 wxPyEndAllowThreads(__tstate
);
19630 if (PyErr_Occurred()) SWIG_fail
;
19632 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrinter
, 1);
19639 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19640 PyObject
*resultobj
;
19641 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19642 PyObject
* obj0
= 0 ;
19643 char *kwnames
[] = {
19644 (char *) "self", NULL
19647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
19648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19653 wxPyEndAllowThreads(__tstate
);
19654 if (PyErr_Occurred()) SWIG_fail
;
19656 Py_INCREF(Py_None
); resultobj
= Py_None
;
19663 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19664 PyObject
*resultobj
;
19665 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19666 wxWindow
*arg2
= (wxWindow
*) 0 ;
19667 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19668 PyObject
* obj0
= 0 ;
19669 PyObject
* obj1
= 0 ;
19670 PyObject
* obj2
= 0 ;
19671 char *kwnames
[] = {
19672 (char *) "self",(char *) "parent",(char *) "printout", NULL
19675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19677 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19678 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19681 (arg1
)->CreateAbortWindow(arg2
,arg3
);
19683 wxPyEndAllowThreads(__tstate
);
19684 if (PyErr_Occurred()) SWIG_fail
;
19686 Py_INCREF(Py_None
); resultobj
= Py_None
;
19693 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19694 PyObject
*resultobj
;
19695 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19696 wxPrintDialogData
*result
;
19697 PyObject
* obj0
= 0 ;
19698 char *kwnames
[] = {
19699 (char *) "self", NULL
19702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
19703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19707 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
19708 result
= (wxPrintDialogData
*) &_result_ref
;
19711 wxPyEndAllowThreads(__tstate
);
19712 if (PyErr_Occurred()) SWIG_fail
;
19714 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
19721 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19722 PyObject
*resultobj
;
19723 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19724 wxWindow
*arg2
= (wxWindow
*) 0 ;
19725 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19726 int arg4
= (int) True
;
19728 PyObject
* obj0
= 0 ;
19729 PyObject
* obj1
= 0 ;
19730 PyObject
* obj2
= 0 ;
19731 PyObject
* obj3
= 0 ;
19732 char *kwnames
[] = {
19733 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
19736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19738 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19739 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19742 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
19743 if (PyErr_Occurred()) SWIG_fail
;
19747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19748 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
19750 wxPyEndAllowThreads(__tstate
);
19751 if (PyErr_Occurred()) SWIG_fail
;
19753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19760 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19761 PyObject
*resultobj
;
19762 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19763 wxWindow
*arg2
= (wxWindow
*) 0 ;
19765 PyObject
* obj0
= 0 ;
19766 PyObject
* obj1
= 0 ;
19767 char *kwnames
[] = {
19768 (char *) "self",(char *) "parent", NULL
19771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19773 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19776 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
19778 wxPyEndAllowThreads(__tstate
);
19779 if (PyErr_Occurred()) SWIG_fail
;
19782 resultobj
= wxPyMake_wxObject(result
);
19790 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19791 PyObject
*resultobj
;
19792 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19793 wxWindow
*arg2
= (wxWindow
*) 0 ;
19794 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19795 wxString
*arg4
= 0 ;
19796 bool temp4
= False
;
19797 PyObject
* obj0
= 0 ;
19798 PyObject
* obj1
= 0 ;
19799 PyObject
* obj2
= 0 ;
19800 PyObject
* obj3
= 0 ;
19801 char *kwnames
[] = {
19802 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
19805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19807 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19808 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19810 arg4
= wxString_in_helper(obj3
);
19811 if (arg4
== NULL
) SWIG_fail
;
19815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19816 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
19818 wxPyEndAllowThreads(__tstate
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19821 Py_INCREF(Py_None
); resultobj
= Py_None
;
19836 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19837 PyObject
*resultobj
;
19838 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19839 wxWindow
*arg2
= (wxWindow
*) 0 ;
19841 PyObject
* obj0
= 0 ;
19842 PyObject
* obj1
= 0 ;
19843 char *kwnames
[] = {
19844 (char *) "self",(char *) "parent", NULL
19847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
19848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19849 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19852 result
= (bool)(arg1
)->Setup(arg2
);
19854 wxPyEndAllowThreads(__tstate
);
19855 if (PyErr_Occurred()) SWIG_fail
;
19857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19864 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19865 PyObject
*resultobj
;
19866 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19868 PyObject
* obj0
= 0 ;
19869 char *kwnames
[] = {
19870 (char *) "self", NULL
19873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
19874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19877 result
= (bool)(arg1
)->GetAbort();
19879 wxPyEndAllowThreads(__tstate
);
19880 if (PyErr_Occurred()) SWIG_fail
;
19882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19889 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19890 PyObject
*resultobj
;
19892 char *kwnames
[] = {
19896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
19898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19899 result
= (int)wxPrinter::GetLastError();
19901 wxPyEndAllowThreads(__tstate
);
19902 if (PyErr_Occurred()) SWIG_fail
;
19904 resultobj
= SWIG_PyObj_FromInt((int)result
);
19911 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
19913 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19914 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
19916 return Py_BuildValue((char *)"");
19918 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19919 PyObject
*resultobj
;
19920 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
19921 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
19922 wxPyPrintout
*result
;
19923 bool temp1
= False
;
19924 PyObject
* obj0
= 0 ;
19925 char *kwnames
[] = {
19926 (char *) "title", NULL
19929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
19932 arg1
= wxString_in_helper(obj0
);
19933 if (arg1
== NULL
) SWIG_fail
;
19938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19939 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
19941 wxPyEndAllowThreads(__tstate
);
19942 if (PyErr_Occurred()) SWIG_fail
;
19945 resultobj
= wxPyMake_wxObject(result
);
19961 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19962 PyObject
*resultobj
;
19963 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19964 PyObject
*arg2
= (PyObject
*) 0 ;
19965 PyObject
*arg3
= (PyObject
*) 0 ;
19966 PyObject
* obj0
= 0 ;
19967 PyObject
* obj1
= 0 ;
19968 PyObject
* obj2
= 0 ;
19969 char *kwnames
[] = {
19970 (char *) "self",(char *) "self",(char *) "_class", NULL
19973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19979 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19981 wxPyEndAllowThreads(__tstate
);
19982 if (PyErr_Occurred()) SWIG_fail
;
19984 Py_INCREF(Py_None
); resultobj
= Py_None
;
19991 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19992 PyObject
*resultobj
;
19993 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19995 PyObject
* obj0
= 0 ;
19996 char *kwnames
[] = {
19997 (char *) "self", NULL
20000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
20001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20004 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
20006 wxPyEndAllowThreads(__tstate
);
20007 if (PyErr_Occurred()) SWIG_fail
;
20011 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20013 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20022 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20023 PyObject
*resultobj
;
20024 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20026 PyObject
* obj0
= 0 ;
20027 char *kwnames
[] = {
20028 (char *) "self", NULL
20031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
20032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20035 result
= (wxDC
*)(arg1
)->GetDC();
20037 wxPyEndAllowThreads(__tstate
);
20038 if (PyErr_Occurred()) SWIG_fail
;
20041 resultobj
= wxPyMake_wxObject(result
);
20049 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20050 PyObject
*resultobj
;
20051 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20052 wxDC
*arg2
= (wxDC
*) 0 ;
20053 PyObject
* obj0
= 0 ;
20054 PyObject
* obj1
= 0 ;
20055 char *kwnames
[] = {
20056 (char *) "self",(char *) "dc", NULL
20059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
20060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20061 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20064 (arg1
)->SetDC(arg2
);
20066 wxPyEndAllowThreads(__tstate
);
20067 if (PyErr_Occurred()) SWIG_fail
;
20069 Py_INCREF(Py_None
); resultobj
= Py_None
;
20076 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20077 PyObject
*resultobj
;
20078 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20081 PyObject
* obj0
= 0 ;
20082 PyObject
* obj1
= 0 ;
20083 PyObject
* obj2
= 0 ;
20084 char *kwnames
[] = {
20085 (char *) "self",(char *) "w",(char *) "h", NULL
20088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20091 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20092 if (PyErr_Occurred()) SWIG_fail
;
20095 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20096 if (PyErr_Occurred()) SWIG_fail
;
20099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20100 (arg1
)->SetPageSizePixels(arg2
,arg3
);
20102 wxPyEndAllowThreads(__tstate
);
20103 if (PyErr_Occurred()) SWIG_fail
;
20105 Py_INCREF(Py_None
); resultobj
= Py_None
;
20112 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20113 PyObject
*resultobj
;
20114 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20115 int *arg2
= (int *) 0 ;
20116 int *arg3
= (int *) 0 ;
20119 PyObject
* obj0
= 0 ;
20120 char *kwnames
[] = {
20121 (char *) "self", NULL
20126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
20127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20130 (arg1
)->GetPageSizePixels(arg2
,arg3
);
20132 wxPyEndAllowThreads(__tstate
);
20133 if (PyErr_Occurred()) SWIG_fail
;
20135 Py_INCREF(Py_None
); resultobj
= Py_None
;
20137 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20138 resultobj
= t_output_helper(resultobj
,o
);
20141 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20142 resultobj
= t_output_helper(resultobj
,o
);
20150 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20151 PyObject
*resultobj
;
20152 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20155 PyObject
* obj0
= 0 ;
20156 PyObject
* obj1
= 0 ;
20157 PyObject
* obj2
= 0 ;
20158 char *kwnames
[] = {
20159 (char *) "self",(char *) "w",(char *) "h", NULL
20162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20165 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20166 if (PyErr_Occurred()) SWIG_fail
;
20169 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20170 if (PyErr_Occurred()) SWIG_fail
;
20173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20174 (arg1
)->SetPageSizeMM(arg2
,arg3
);
20176 wxPyEndAllowThreads(__tstate
);
20177 if (PyErr_Occurred()) SWIG_fail
;
20179 Py_INCREF(Py_None
); resultobj
= Py_None
;
20186 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20187 PyObject
*resultobj
;
20188 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20189 int *arg2
= (int *) 0 ;
20190 int *arg3
= (int *) 0 ;
20193 PyObject
* obj0
= 0 ;
20194 char *kwnames
[] = {
20195 (char *) "self", NULL
20200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
20201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20204 (arg1
)->GetPageSizeMM(arg2
,arg3
);
20206 wxPyEndAllowThreads(__tstate
);
20207 if (PyErr_Occurred()) SWIG_fail
;
20209 Py_INCREF(Py_None
); resultobj
= Py_None
;
20211 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20212 resultobj
= t_output_helper(resultobj
,o
);
20215 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20216 resultobj
= t_output_helper(resultobj
,o
);
20224 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20225 PyObject
*resultobj
;
20226 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20229 PyObject
* obj0
= 0 ;
20230 PyObject
* obj1
= 0 ;
20231 PyObject
* obj2
= 0 ;
20232 char *kwnames
[] = {
20233 (char *) "self",(char *) "x",(char *) "y", NULL
20236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20239 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20240 if (PyErr_Occurred()) SWIG_fail
;
20243 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20244 if (PyErr_Occurred()) SWIG_fail
;
20247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20248 (arg1
)->SetPPIScreen(arg2
,arg3
);
20250 wxPyEndAllowThreads(__tstate
);
20251 if (PyErr_Occurred()) SWIG_fail
;
20253 Py_INCREF(Py_None
); resultobj
= Py_None
;
20260 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20261 PyObject
*resultobj
;
20262 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20263 int *arg2
= (int *) 0 ;
20264 int *arg3
= (int *) 0 ;
20267 PyObject
* obj0
= 0 ;
20268 char *kwnames
[] = {
20269 (char *) "self", NULL
20274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
20275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20278 (arg1
)->GetPPIScreen(arg2
,arg3
);
20280 wxPyEndAllowThreads(__tstate
);
20281 if (PyErr_Occurred()) SWIG_fail
;
20283 Py_INCREF(Py_None
); resultobj
= Py_None
;
20285 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20286 resultobj
= t_output_helper(resultobj
,o
);
20289 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20290 resultobj
= t_output_helper(resultobj
,o
);
20298 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20299 PyObject
*resultobj
;
20300 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20303 PyObject
* obj0
= 0 ;
20304 PyObject
* obj1
= 0 ;
20305 PyObject
* obj2
= 0 ;
20306 char *kwnames
[] = {
20307 (char *) "self",(char *) "x",(char *) "y", NULL
20310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20313 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20314 if (PyErr_Occurred()) SWIG_fail
;
20317 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20318 if (PyErr_Occurred()) SWIG_fail
;
20321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20322 (arg1
)->SetPPIPrinter(arg2
,arg3
);
20324 wxPyEndAllowThreads(__tstate
);
20325 if (PyErr_Occurred()) SWIG_fail
;
20327 Py_INCREF(Py_None
); resultobj
= Py_None
;
20334 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20335 PyObject
*resultobj
;
20336 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20337 int *arg2
= (int *) 0 ;
20338 int *arg3
= (int *) 0 ;
20341 PyObject
* obj0
= 0 ;
20342 char *kwnames
[] = {
20343 (char *) "self", NULL
20348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
20349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20352 (arg1
)->GetPPIPrinter(arg2
,arg3
);
20354 wxPyEndAllowThreads(__tstate
);
20355 if (PyErr_Occurred()) SWIG_fail
;
20357 Py_INCREF(Py_None
); resultobj
= Py_None
;
20359 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20360 resultobj
= t_output_helper(resultobj
,o
);
20363 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20364 resultobj
= t_output_helper(resultobj
,o
);
20372 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20373 PyObject
*resultobj
;
20374 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20376 PyObject
* obj0
= 0 ;
20377 char *kwnames
[] = {
20378 (char *) "self", NULL
20381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
20382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20385 result
= (bool)(arg1
)->IsPreview();
20387 wxPyEndAllowThreads(__tstate
);
20388 if (PyErr_Occurred()) SWIG_fail
;
20390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20397 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20398 PyObject
*resultobj
;
20399 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20401 PyObject
* obj0
= 0 ;
20402 PyObject
* obj1
= 0 ;
20403 char *kwnames
[] = {
20404 (char *) "self",(char *) "p", NULL
20407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
20408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20410 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
20411 if (PyErr_Occurred()) SWIG_fail
;
20414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20415 (arg1
)->SetIsPreview(arg2
);
20417 wxPyEndAllowThreads(__tstate
);
20418 if (PyErr_Occurred()) SWIG_fail
;
20420 Py_INCREF(Py_None
); resultobj
= Py_None
;
20427 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20428 PyObject
*resultobj
;
20429 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20433 PyObject
* obj0
= 0 ;
20434 PyObject
* obj1
= 0 ;
20435 PyObject
* obj2
= 0 ;
20436 char *kwnames
[] = {
20437 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
20440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20443 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20444 if (PyErr_Occurred()) SWIG_fail
;
20447 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20448 if (PyErr_Occurred()) SWIG_fail
;
20451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20452 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
20454 wxPyEndAllowThreads(__tstate
);
20455 if (PyErr_Occurred()) SWIG_fail
;
20457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20464 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20465 PyObject
*resultobj
;
20466 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20467 PyObject
* obj0
= 0 ;
20468 char *kwnames
[] = {
20469 (char *) "self", NULL
20472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
20473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20476 (arg1
)->base_OnEndDocument();
20478 wxPyEndAllowThreads(__tstate
);
20479 if (PyErr_Occurred()) SWIG_fail
;
20481 Py_INCREF(Py_None
); resultobj
= Py_None
;
20488 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20489 PyObject
*resultobj
;
20490 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20491 PyObject
* obj0
= 0 ;
20492 char *kwnames
[] = {
20493 (char *) "self", NULL
20496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
20497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20500 (arg1
)->base_OnBeginPrinting();
20502 wxPyEndAllowThreads(__tstate
);
20503 if (PyErr_Occurred()) SWIG_fail
;
20505 Py_INCREF(Py_None
); resultobj
= Py_None
;
20512 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20513 PyObject
*resultobj
;
20514 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20515 PyObject
* obj0
= 0 ;
20516 char *kwnames
[] = {
20517 (char *) "self", NULL
20520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
20521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20524 (arg1
)->base_OnEndPrinting();
20526 wxPyEndAllowThreads(__tstate
);
20527 if (PyErr_Occurred()) SWIG_fail
;
20529 Py_INCREF(Py_None
); resultobj
= Py_None
;
20536 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20537 PyObject
*resultobj
;
20538 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20539 PyObject
* obj0
= 0 ;
20540 char *kwnames
[] = {
20541 (char *) "self", NULL
20544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
20545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20548 (arg1
)->base_OnPreparePrinting();
20550 wxPyEndAllowThreads(__tstate
);
20551 if (PyErr_Occurred()) SWIG_fail
;
20553 Py_INCREF(Py_None
); resultobj
= Py_None
;
20560 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20561 PyObject
*resultobj
;
20562 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20565 PyObject
* obj0
= 0 ;
20566 PyObject
* obj1
= 0 ;
20567 char *kwnames
[] = {
20568 (char *) "self",(char *) "page", NULL
20571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20574 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20575 if (PyErr_Occurred()) SWIG_fail
;
20578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20579 result
= (bool)(arg1
)->base_HasPage(arg2
);
20581 wxPyEndAllowThreads(__tstate
);
20582 if (PyErr_Occurred()) SWIG_fail
;
20584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20591 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20592 PyObject
*resultobj
;
20593 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20594 int *arg2
= (int *) 0 ;
20595 int *arg3
= (int *) 0 ;
20596 int *arg4
= (int *) 0 ;
20597 int *arg5
= (int *) 0 ;
20602 PyObject
* obj0
= 0 ;
20603 char *kwnames
[] = {
20604 (char *) "self", NULL
20611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
20612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20615 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
20617 wxPyEndAllowThreads(__tstate
);
20618 if (PyErr_Occurred()) SWIG_fail
;
20620 Py_INCREF(Py_None
); resultobj
= Py_None
;
20622 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20623 resultobj
= t_output_helper(resultobj
,o
);
20626 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20627 resultobj
= t_output_helper(resultobj
,o
);
20630 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
20631 resultobj
= t_output_helper(resultobj
,o
);
20634 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
20635 resultobj
= t_output_helper(resultobj
,o
);
20643 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
20645 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20646 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
20648 return Py_BuildValue((char *)"");
20650 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20651 PyObject
*resultobj
;
20652 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20653 wxWindow
*arg2
= (wxWindow
*) 0 ;
20654 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20655 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20656 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20657 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20658 long arg5
= (long) 0 ;
20659 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
20660 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20661 wxPreviewCanvas
*result
;
20664 bool temp6
= False
;
20665 PyObject
* obj0
= 0 ;
20666 PyObject
* obj1
= 0 ;
20667 PyObject
* obj2
= 0 ;
20668 PyObject
* obj3
= 0 ;
20669 PyObject
* obj4
= 0 ;
20670 PyObject
* obj5
= 0 ;
20671 char *kwnames
[] = {
20672 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20677 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20681 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20687 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20692 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
20693 if (PyErr_Occurred()) SWIG_fail
;
20698 arg6
= wxString_in_helper(obj5
);
20699 if (arg6
== NULL
) SWIG_fail
;
20704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20705 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20707 wxPyEndAllowThreads(__tstate
);
20708 if (PyErr_Occurred()) SWIG_fail
;
20710 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 1);
20725 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
20727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20728 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
20730 return Py_BuildValue((char *)"");
20732 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20733 PyObject
*resultobj
;
20734 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20735 wxFrame
*arg2
= (wxFrame
*) 0 ;
20736 wxString
*arg3
= 0 ;
20737 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20738 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20739 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20740 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20741 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20742 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20743 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20744 wxPreviewFrame
*result
;
20745 bool temp3
= False
;
20748 bool temp7
= False
;
20749 PyObject
* obj0
= 0 ;
20750 PyObject
* obj1
= 0 ;
20751 PyObject
* obj2
= 0 ;
20752 PyObject
* obj3
= 0 ;
20753 PyObject
* obj4
= 0 ;
20754 PyObject
* obj5
= 0 ;
20755 PyObject
* obj6
= 0 ;
20756 char *kwnames
[] = {
20757 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20762 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20764 arg3
= wxString_in_helper(obj2
);
20765 if (arg3
== NULL
) SWIG_fail
;
20771 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20777 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20782 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
20783 if (PyErr_Occurred()) SWIG_fail
;
20788 arg7
= wxString_in_helper(obj6
);
20789 if (arg7
== NULL
) SWIG_fail
;
20794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20795 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20797 wxPyEndAllowThreads(__tstate
);
20798 if (PyErr_Occurred()) SWIG_fail
;
20800 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewFrame
, 1);
20823 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20824 PyObject
*resultobj
;
20825 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20826 PyObject
* obj0
= 0 ;
20827 char *kwnames
[] = {
20828 (char *) "self", NULL
20831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
20832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20835 (arg1
)->Initialize();
20837 wxPyEndAllowThreads(__tstate
);
20838 if (PyErr_Occurred()) SWIG_fail
;
20840 Py_INCREF(Py_None
); resultobj
= Py_None
;
20847 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20848 PyObject
*resultobj
;
20849 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20850 PyObject
* obj0
= 0 ;
20851 char *kwnames
[] = {
20852 (char *) "self", NULL
20855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
20856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20859 (arg1
)->CreateControlBar();
20861 wxPyEndAllowThreads(__tstate
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20864 Py_INCREF(Py_None
); resultobj
= Py_None
;
20871 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20872 PyObject
*resultobj
;
20873 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20874 PyObject
* obj0
= 0 ;
20875 char *kwnames
[] = {
20876 (char *) "self", NULL
20879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
20880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20883 (arg1
)->CreateCanvas();
20885 wxPyEndAllowThreads(__tstate
);
20886 if (PyErr_Occurred()) SWIG_fail
;
20888 Py_INCREF(Py_None
); resultobj
= Py_None
;
20895 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20896 PyObject
*resultobj
;
20897 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20898 wxPreviewControlBar
*result
;
20899 PyObject
* obj0
= 0 ;
20900 char *kwnames
[] = {
20901 (char *) "self", NULL
20904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
20905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20908 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
20910 wxPyEndAllowThreads(__tstate
);
20911 if (PyErr_Occurred()) SWIG_fail
;
20913 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 0);
20920 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
20922 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20923 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
20925 return Py_BuildValue((char *)"");
20927 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20928 PyObject
*resultobj
;
20929 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20931 wxWindow
*arg3
= (wxWindow
*) 0 ;
20932 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20933 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20934 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20935 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20936 long arg6
= (long) wxTAB_TRAVERSAL
;
20937 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
20938 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20939 wxPreviewControlBar
*result
;
20942 bool temp7
= False
;
20943 PyObject
* obj0
= 0 ;
20944 PyObject
* obj1
= 0 ;
20945 PyObject
* obj2
= 0 ;
20946 PyObject
* obj3
= 0 ;
20947 PyObject
* obj4
= 0 ;
20948 PyObject
* obj5
= 0 ;
20949 PyObject
* obj6
= 0 ;
20950 char *kwnames
[] = {
20951 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20957 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20958 if (PyErr_Occurred()) SWIG_fail
;
20960 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20964 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20970 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20975 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
20976 if (PyErr_Occurred()) SWIG_fail
;
20981 arg7
= wxString_in_helper(obj6
);
20982 if (arg7
== NULL
) SWIG_fail
;
20987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20988 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20990 wxPyEndAllowThreads(__tstate
);
20991 if (PyErr_Occurred()) SWIG_fail
;
20993 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 1);
21008 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21009 PyObject
*resultobj
;
21010 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21012 PyObject
* obj0
= 0 ;
21013 char *kwnames
[] = {
21014 (char *) "self", NULL
21017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
21018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21021 result
= (int)(arg1
)->GetZoomControl();
21023 wxPyEndAllowThreads(__tstate
);
21024 if (PyErr_Occurred()) SWIG_fail
;
21026 resultobj
= SWIG_PyObj_FromInt((int)result
);
21033 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21034 PyObject
*resultobj
;
21035 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21037 PyObject
* obj0
= 0 ;
21038 PyObject
* obj1
= 0 ;
21039 char *kwnames
[] = {
21040 (char *) "self",(char *) "zoom", NULL
21043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
21044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21046 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21047 if (PyErr_Occurred()) SWIG_fail
;
21050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21051 (arg1
)->SetZoomControl(arg2
);
21053 wxPyEndAllowThreads(__tstate
);
21054 if (PyErr_Occurred()) SWIG_fail
;
21056 Py_INCREF(Py_None
); resultobj
= Py_None
;
21063 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21064 PyObject
*resultobj
;
21065 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21066 wxPrintPreview
*result
;
21067 PyObject
* obj0
= 0 ;
21068 char *kwnames
[] = {
21069 (char *) "self", NULL
21072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
21073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21076 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
21078 wxPyEndAllowThreads(__tstate
);
21079 if (PyErr_Occurred()) SWIG_fail
;
21081 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 0);
21088 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21089 PyObject
*resultobj
;
21090 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21091 PyObject
* obj0
= 0 ;
21092 char *kwnames
[] = {
21093 (char *) "self", NULL
21096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
21097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21102 wxPyEndAllowThreads(__tstate
);
21103 if (PyErr_Occurred()) SWIG_fail
;
21105 Py_INCREF(Py_None
); resultobj
= Py_None
;
21112 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21113 PyObject
*resultobj
;
21114 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21115 PyObject
* obj0
= 0 ;
21116 char *kwnames
[] = {
21117 (char *) "self", NULL
21120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
21121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21124 (arg1
)->OnPrevious();
21126 wxPyEndAllowThreads(__tstate
);
21127 if (PyErr_Occurred()) SWIG_fail
;
21129 Py_INCREF(Py_None
); resultobj
= Py_None
;
21136 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21137 PyObject
*resultobj
;
21138 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21139 PyObject
* obj0
= 0 ;
21140 char *kwnames
[] = {
21141 (char *) "self", NULL
21144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
21145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21150 wxPyEndAllowThreads(__tstate
);
21151 if (PyErr_Occurred()) SWIG_fail
;
21153 Py_INCREF(Py_None
); resultobj
= Py_None
;
21160 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21161 PyObject
*resultobj
;
21162 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21163 PyObject
* obj0
= 0 ;
21164 char *kwnames
[] = {
21165 (char *) "self", NULL
21168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
21169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21174 wxPyEndAllowThreads(__tstate
);
21175 if (PyErr_Occurred()) SWIG_fail
;
21177 Py_INCREF(Py_None
); resultobj
= Py_None
;
21184 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21185 PyObject
*resultobj
;
21186 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21187 PyObject
* obj0
= 0 ;
21188 char *kwnames
[] = {
21189 (char *) "self", NULL
21192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
21193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21198 wxPyEndAllowThreads(__tstate
);
21199 if (PyErr_Occurred()) SWIG_fail
;
21201 Py_INCREF(Py_None
); resultobj
= Py_None
;
21208 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
21210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21211 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
21213 return Py_BuildValue((char *)"");
21215 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21216 PyObject
*resultobj
;
21217 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21218 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21219 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
21220 wxPrintPreview
*result
;
21221 PyObject
* obj0
= 0 ;
21222 PyObject
* obj1
= 0 ;
21223 PyObject
* obj2
= 0 ;
21224 char *kwnames
[] = {
21225 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
21228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21230 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21232 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21236 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
21238 wxPyEndAllowThreads(__tstate
);
21239 if (PyErr_Occurred()) SWIG_fail
;
21241 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 1);
21248 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21249 PyObject
*resultobj
;
21250 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21253 PyObject
* obj0
= 0 ;
21254 PyObject
* obj1
= 0 ;
21255 char *kwnames
[] = {
21256 (char *) "self",(char *) "pageNum", NULL
21259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21262 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21263 if (PyErr_Occurred()) SWIG_fail
;
21266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21267 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
21269 wxPyEndAllowThreads(__tstate
);
21270 if (PyErr_Occurred()) SWIG_fail
;
21272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21279 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21280 PyObject
*resultobj
;
21281 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21283 PyObject
* obj0
= 0 ;
21284 char *kwnames
[] = {
21285 (char *) "self", NULL
21288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
21289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21292 result
= (int)(arg1
)->GetCurrentPage();
21294 wxPyEndAllowThreads(__tstate
);
21295 if (PyErr_Occurred()) SWIG_fail
;
21297 resultobj
= SWIG_PyObj_FromInt((int)result
);
21304 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21305 PyObject
*resultobj
;
21306 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21307 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21308 PyObject
* obj0
= 0 ;
21309 PyObject
* obj1
= 0 ;
21310 char *kwnames
[] = {
21311 (char *) "self",(char *) "printout", NULL
21314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
21315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21316 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21319 (arg1
)->SetPrintout(arg2
);
21321 wxPyEndAllowThreads(__tstate
);
21322 if (PyErr_Occurred()) SWIG_fail
;
21324 Py_INCREF(Py_None
); resultobj
= Py_None
;
21331 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21332 PyObject
*resultobj
;
21333 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21334 wxPyPrintout
*result
;
21335 PyObject
* obj0
= 0 ;
21336 char *kwnames
[] = {
21337 (char *) "self", NULL
21340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
21341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21344 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
21346 wxPyEndAllowThreads(__tstate
);
21347 if (PyErr_Occurred()) SWIG_fail
;
21350 resultobj
= wxPyMake_wxObject(result
);
21358 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21359 PyObject
*resultobj
;
21360 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21361 wxPyPrintout
*result
;
21362 PyObject
* obj0
= 0 ;
21363 char *kwnames
[] = {
21364 (char *) "self", NULL
21367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
21368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21371 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
21373 wxPyEndAllowThreads(__tstate
);
21374 if (PyErr_Occurred()) SWIG_fail
;
21377 resultobj
= wxPyMake_wxObject(result
);
21385 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21386 PyObject
*resultobj
;
21387 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21388 wxFrame
*arg2
= (wxFrame
*) 0 ;
21389 PyObject
* obj0
= 0 ;
21390 PyObject
* obj1
= 0 ;
21391 char *kwnames
[] = {
21392 (char *) "self",(char *) "frame", NULL
21395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
21396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21397 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21400 (arg1
)->SetFrame(arg2
);
21402 wxPyEndAllowThreads(__tstate
);
21403 if (PyErr_Occurred()) SWIG_fail
;
21405 Py_INCREF(Py_None
); resultobj
= Py_None
;
21412 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21413 PyObject
*resultobj
;
21414 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21415 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21416 PyObject
* obj0
= 0 ;
21417 PyObject
* obj1
= 0 ;
21418 char *kwnames
[] = {
21419 (char *) "self",(char *) "canvas", NULL
21422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
21423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21424 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21427 (arg1
)->SetCanvas(arg2
);
21429 wxPyEndAllowThreads(__tstate
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21432 Py_INCREF(Py_None
); resultobj
= Py_None
;
21439 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21440 PyObject
*resultobj
;
21441 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21443 PyObject
* obj0
= 0 ;
21444 char *kwnames
[] = {
21445 (char *) "self", NULL
21448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
21449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21452 result
= (wxFrame
*)(arg1
)->GetFrame();
21454 wxPyEndAllowThreads(__tstate
);
21455 if (PyErr_Occurred()) SWIG_fail
;
21458 resultobj
= wxPyMake_wxObject(result
);
21466 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21467 PyObject
*resultobj
;
21468 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21469 wxPreviewCanvas
*result
;
21470 PyObject
* obj0
= 0 ;
21471 char *kwnames
[] = {
21472 (char *) "self", NULL
21475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
21476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21479 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
21481 wxPyEndAllowThreads(__tstate
);
21482 if (PyErr_Occurred()) SWIG_fail
;
21484 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 0);
21491 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21492 PyObject
*resultobj
;
21493 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21494 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21497 PyObject
* obj0
= 0 ;
21498 PyObject
* obj1
= 0 ;
21499 PyObject
* obj2
= 0 ;
21500 char *kwnames
[] = {
21501 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21506 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21507 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21508 if (arg3
== NULL
) {
21509 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21513 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
21515 wxPyEndAllowThreads(__tstate
);
21516 if (PyErr_Occurred()) SWIG_fail
;
21518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21525 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21526 PyObject
*resultobj
;
21527 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21528 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21531 PyObject
* obj0
= 0 ;
21532 PyObject
* obj1
= 0 ;
21533 PyObject
* obj2
= 0 ;
21534 char *kwnames
[] = {
21535 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21540 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21541 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21542 if (arg3
== NULL
) {
21543 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21547 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
21549 wxPyEndAllowThreads(__tstate
);
21550 if (PyErr_Occurred()) SWIG_fail
;
21552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21559 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21560 PyObject
*resultobj
;
21561 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21564 PyObject
* obj0
= 0 ;
21565 PyObject
* obj1
= 0 ;
21566 char *kwnames
[] = {
21567 (char *) "self",(char *) "pageNum", NULL
21570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21573 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21574 if (PyErr_Occurred()) SWIG_fail
;
21577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21578 result
= (bool)(arg1
)->RenderPage(arg2
);
21580 wxPyEndAllowThreads(__tstate
);
21581 if (PyErr_Occurred()) SWIG_fail
;
21583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21590 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21591 PyObject
*resultobj
;
21592 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21593 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21594 PyObject
* obj0
= 0 ;
21595 PyObject
* obj1
= 0 ;
21596 char *kwnames
[] = {
21597 (char *) "self",(char *) "canvas", NULL
21600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
21601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21602 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21605 (arg1
)->AdjustScrollbars(arg2
);
21607 wxPyEndAllowThreads(__tstate
);
21608 if (PyErr_Occurred()) SWIG_fail
;
21610 Py_INCREF(Py_None
); resultobj
= Py_None
;
21617 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21618 PyObject
*resultobj
;
21619 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21620 wxPrintDialogData
*result
;
21621 PyObject
* obj0
= 0 ;
21622 char *kwnames
[] = {
21623 (char *) "self", NULL
21626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21631 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21632 result
= (wxPrintDialogData
*) &_result_ref
;
21635 wxPyEndAllowThreads(__tstate
);
21636 if (PyErr_Occurred()) SWIG_fail
;
21638 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
21645 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21646 PyObject
*resultobj
;
21647 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21649 PyObject
* obj0
= 0 ;
21650 PyObject
* obj1
= 0 ;
21651 char *kwnames
[] = {
21652 (char *) "self",(char *) "percent", NULL
21655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
21656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21658 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21659 if (PyErr_Occurred()) SWIG_fail
;
21662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21663 (arg1
)->SetZoom(arg2
);
21665 wxPyEndAllowThreads(__tstate
);
21666 if (PyErr_Occurred()) SWIG_fail
;
21668 Py_INCREF(Py_None
); resultobj
= Py_None
;
21675 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21676 PyObject
*resultobj
;
21677 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21679 PyObject
* obj0
= 0 ;
21680 char *kwnames
[] = {
21681 (char *) "self", NULL
21684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
21685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21688 result
= (int)(arg1
)->GetZoom();
21690 wxPyEndAllowThreads(__tstate
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21693 resultobj
= SWIG_PyObj_FromInt((int)result
);
21700 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21701 PyObject
*resultobj
;
21702 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21704 PyObject
* obj0
= 0 ;
21705 char *kwnames
[] = {
21706 (char *) "self", NULL
21709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
21710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21713 result
= (int)(arg1
)->GetMaxPage();
21715 wxPyEndAllowThreads(__tstate
);
21716 if (PyErr_Occurred()) SWIG_fail
;
21718 resultobj
= SWIG_PyObj_FromInt((int)result
);
21725 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21726 PyObject
*resultobj
;
21727 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21729 PyObject
* obj0
= 0 ;
21730 char *kwnames
[] = {
21731 (char *) "self", NULL
21734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
21735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21738 result
= (int)(arg1
)->GetMinPage();
21740 wxPyEndAllowThreads(__tstate
);
21741 if (PyErr_Occurred()) SWIG_fail
;
21743 resultobj
= SWIG_PyObj_FromInt((int)result
);
21750 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21751 PyObject
*resultobj
;
21752 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21754 PyObject
* obj0
= 0 ;
21755 char *kwnames
[] = {
21756 (char *) "self", NULL
21759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
21760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21763 result
= (bool)(arg1
)->Ok();
21765 wxPyEndAllowThreads(__tstate
);
21766 if (PyErr_Occurred()) SWIG_fail
;
21768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21775 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21776 PyObject
*resultobj
;
21777 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21779 PyObject
* obj0
= 0 ;
21780 PyObject
* obj1
= 0 ;
21781 char *kwnames
[] = {
21782 (char *) "self",(char *) "ok", NULL
21785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
21786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21788 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
21789 if (PyErr_Occurred()) SWIG_fail
;
21792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21793 (arg1
)->SetOk(arg2
);
21795 wxPyEndAllowThreads(__tstate
);
21796 if (PyErr_Occurred()) SWIG_fail
;
21798 Py_INCREF(Py_None
); resultobj
= Py_None
;
21805 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21806 PyObject
*resultobj
;
21807 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21810 PyObject
* obj0
= 0 ;
21811 PyObject
* obj1
= 0 ;
21812 char *kwnames
[] = {
21813 (char *) "self",(char *) "interactive", NULL
21816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
21817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21819 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
21820 if (PyErr_Occurred()) SWIG_fail
;
21823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21824 result
= (bool)(arg1
)->Print(arg2
);
21826 wxPyEndAllowThreads(__tstate
);
21827 if (PyErr_Occurred()) SWIG_fail
;
21829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21836 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21837 PyObject
*resultobj
;
21838 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21839 PyObject
* obj0
= 0 ;
21840 char *kwnames
[] = {
21841 (char *) "self", NULL
21844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
21845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21848 (arg1
)->DetermineScaling();
21850 wxPyEndAllowThreads(__tstate
);
21851 if (PyErr_Occurred()) SWIG_fail
;
21853 Py_INCREF(Py_None
); resultobj
= Py_None
;
21860 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
21862 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21863 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
21865 return Py_BuildValue((char *)"");
21867 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21868 PyObject
*resultobj
;
21869 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21870 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21871 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
21872 wxPyPrintPreview
*result
;
21873 PyObject
* obj0
= 0 ;
21874 PyObject
* obj1
= 0 ;
21875 PyObject
* obj2
= 0 ;
21876 char *kwnames
[] = {
21877 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
21880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PyPrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21882 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21884 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21888 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
21890 wxPyEndAllowThreads(__tstate
);
21891 if (PyErr_Occurred()) SWIG_fail
;
21893 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPrintPreview
, 1);
21900 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21901 PyObject
*resultobj
;
21902 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
21903 PyObject
*arg2
= (PyObject
*) 0 ;
21904 PyObject
*arg3
= (PyObject
*) 0 ;
21905 PyObject
* obj0
= 0 ;
21906 PyObject
* obj1
= 0 ;
21907 PyObject
* obj2
= 0 ;
21908 char *kwnames
[] = {
21909 (char *) "self",(char *) "self",(char *) "_class", NULL
21912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21918 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21920 wxPyEndAllowThreads(__tstate
);
21921 if (PyErr_Occurred()) SWIG_fail
;
21923 Py_INCREF(Py_None
); resultobj
= Py_None
;
21930 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21931 PyObject
*resultobj
;
21932 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
21935 PyObject
* obj0
= 0 ;
21936 PyObject
* obj1
= 0 ;
21937 char *kwnames
[] = {
21938 (char *) "self",(char *) "pageNum", NULL
21941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21944 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21945 if (PyErr_Occurred()) SWIG_fail
;
21948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21949 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
21951 wxPyEndAllowThreads(__tstate
);
21952 if (PyErr_Occurred()) SWIG_fail
;
21954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21961 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21962 PyObject
*resultobj
;
21963 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
21964 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21967 PyObject
* obj0
= 0 ;
21968 PyObject
* obj1
= 0 ;
21969 PyObject
* obj2
= 0 ;
21970 char *kwnames
[] = {
21971 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21976 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21977 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21978 if (arg3
== NULL
) {
21979 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21983 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
21985 wxPyEndAllowThreads(__tstate
);
21986 if (PyErr_Occurred()) SWIG_fail
;
21988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21995 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21996 PyObject
*resultobj
;
21997 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
21998 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22001 PyObject
* obj0
= 0 ;
22002 PyObject
* obj1
= 0 ;
22003 PyObject
* obj2
= 0 ;
22004 char *kwnames
[] = {
22005 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22010 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22011 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22012 if (arg3
== NULL
) {
22013 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22017 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
22019 wxPyEndAllowThreads(__tstate
);
22020 if (PyErr_Occurred()) SWIG_fail
;
22022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22029 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22030 PyObject
*resultobj
;
22031 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22034 PyObject
* obj0
= 0 ;
22035 PyObject
* obj1
= 0 ;
22036 char *kwnames
[] = {
22037 (char *) "self",(char *) "pageNum", NULL
22040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22043 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22044 if (PyErr_Occurred()) SWIG_fail
;
22047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22048 result
= (bool)(arg1
)->base_RenderPage(arg2
);
22050 wxPyEndAllowThreads(__tstate
);
22051 if (PyErr_Occurred()) SWIG_fail
;
22053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22060 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22061 PyObject
*resultobj
;
22062 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22064 PyObject
* obj0
= 0 ;
22065 PyObject
* obj1
= 0 ;
22066 char *kwnames
[] = {
22067 (char *) "self",(char *) "percent", NULL
22070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
22071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22073 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22074 if (PyErr_Occurred()) SWIG_fail
;
22077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22078 (arg1
)->base_SetZoom(arg2
);
22080 wxPyEndAllowThreads(__tstate
);
22081 if (PyErr_Occurred()) SWIG_fail
;
22083 Py_INCREF(Py_None
); resultobj
= Py_None
;
22090 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22091 PyObject
*resultobj
;
22092 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22095 PyObject
* obj0
= 0 ;
22096 PyObject
* obj1
= 0 ;
22097 char *kwnames
[] = {
22098 (char *) "self",(char *) "interactive", NULL
22101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
22102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22104 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
22105 if (PyErr_Occurred()) SWIG_fail
;
22108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22109 result
= (bool)(arg1
)->base_Print(arg2
);
22111 wxPyEndAllowThreads(__tstate
);
22112 if (PyErr_Occurred()) SWIG_fail
;
22114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22121 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22122 PyObject
*resultobj
;
22123 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22124 PyObject
* obj0
= 0 ;
22125 char *kwnames
[] = {
22126 (char *) "self", NULL
22129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
22130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22133 (arg1
)->base_DetermineScaling();
22135 wxPyEndAllowThreads(__tstate
);
22136 if (PyErr_Occurred()) SWIG_fail
;
22138 Py_INCREF(Py_None
); resultobj
= Py_None
;
22145 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
22147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22148 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
22150 return Py_BuildValue((char *)"");
22152 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22153 PyObject
*resultobj
;
22154 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22155 wxFrame
*arg2
= (wxFrame
*) 0 ;
22156 wxString
*arg3
= 0 ;
22157 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22158 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22159 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22160 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22161 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22162 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22163 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22164 wxPyPreviewFrame
*result
;
22165 bool temp3
= False
;
22168 bool temp7
= False
;
22169 PyObject
* obj0
= 0 ;
22170 PyObject
* obj1
= 0 ;
22171 PyObject
* obj2
= 0 ;
22172 PyObject
* obj3
= 0 ;
22173 PyObject
* obj4
= 0 ;
22174 PyObject
* obj5
= 0 ;
22175 PyObject
* obj6
= 0 ;
22176 char *kwnames
[] = {
22177 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22182 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22184 arg3
= wxString_in_helper(obj2
);
22185 if (arg3
== NULL
) SWIG_fail
;
22191 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22197 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22202 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
22203 if (PyErr_Occurred()) SWIG_fail
;
22208 arg7
= wxString_in_helper(obj6
);
22209 if (arg7
== NULL
) SWIG_fail
;
22214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22215 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22217 wxPyEndAllowThreads(__tstate
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22220 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewFrame
, 1);
22243 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22244 PyObject
*resultobj
;
22245 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22246 PyObject
*arg2
= (PyObject
*) 0 ;
22247 PyObject
*arg3
= (PyObject
*) 0 ;
22248 PyObject
* obj0
= 0 ;
22249 PyObject
* obj1
= 0 ;
22250 PyObject
* obj2
= 0 ;
22251 char *kwnames
[] = {
22252 (char *) "self",(char *) "self",(char *) "_class", NULL
22255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22261 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22263 wxPyEndAllowThreads(__tstate
);
22264 if (PyErr_Occurred()) SWIG_fail
;
22266 Py_INCREF(Py_None
); resultobj
= Py_None
;
22273 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22274 PyObject
*resultobj
;
22275 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22276 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22277 PyObject
* obj0
= 0 ;
22278 PyObject
* obj1
= 0 ;
22279 char *kwnames
[] = {
22280 (char *) "self",(char *) "canvas", NULL
22283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
22284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22285 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22288 (arg1
)->SetPreviewCanvas(arg2
);
22290 wxPyEndAllowThreads(__tstate
);
22291 if (PyErr_Occurred()) SWIG_fail
;
22293 Py_INCREF(Py_None
); resultobj
= Py_None
;
22300 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22301 PyObject
*resultobj
;
22302 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22303 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
22304 PyObject
* obj0
= 0 ;
22305 PyObject
* obj1
= 0 ;
22306 char *kwnames
[] = {
22307 (char *) "self",(char *) "bar", NULL
22310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
22311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22312 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22315 (arg1
)->SetControlBar(arg2
);
22317 wxPyEndAllowThreads(__tstate
);
22318 if (PyErr_Occurred()) SWIG_fail
;
22320 Py_INCREF(Py_None
); resultobj
= Py_None
;
22327 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22328 PyObject
*resultobj
;
22329 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22330 PyObject
* obj0
= 0 ;
22331 char *kwnames
[] = {
22332 (char *) "self", NULL
22335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
22336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22339 (arg1
)->base_Initialize();
22341 wxPyEndAllowThreads(__tstate
);
22342 if (PyErr_Occurred()) SWIG_fail
;
22344 Py_INCREF(Py_None
); resultobj
= Py_None
;
22351 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22352 PyObject
*resultobj
;
22353 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22354 PyObject
* obj0
= 0 ;
22355 char *kwnames
[] = {
22356 (char *) "self", NULL
22359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22363 (arg1
)->base_CreateCanvas();
22365 wxPyEndAllowThreads(__tstate
);
22366 if (PyErr_Occurred()) SWIG_fail
;
22368 Py_INCREF(Py_None
); resultobj
= Py_None
;
22375 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22376 PyObject
*resultobj
;
22377 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22378 PyObject
* obj0
= 0 ;
22379 char *kwnames
[] = {
22380 (char *) "self", NULL
22383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22387 (arg1
)->base_CreateControlBar();
22389 wxPyEndAllowThreads(__tstate
);
22390 if (PyErr_Occurred()) SWIG_fail
;
22392 Py_INCREF(Py_None
); resultobj
= Py_None
;
22399 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22402 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
22404 return Py_BuildValue((char *)"");
22406 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22407 PyObject
*resultobj
;
22408 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22410 wxWindow
*arg3
= (wxWindow
*) 0 ;
22411 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22412 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22413 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22414 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22415 long arg6
= (long) 0 ;
22416 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22417 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22418 wxPyPreviewControlBar
*result
;
22421 bool temp7
= False
;
22422 PyObject
* obj0
= 0 ;
22423 PyObject
* obj1
= 0 ;
22424 PyObject
* obj2
= 0 ;
22425 PyObject
* obj3
= 0 ;
22426 PyObject
* obj4
= 0 ;
22427 PyObject
* obj5
= 0 ;
22428 PyObject
* obj6
= 0 ;
22429 char *kwnames
[] = {
22430 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22436 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22437 if (PyErr_Occurred()) SWIG_fail
;
22439 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22443 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22449 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22454 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
22455 if (PyErr_Occurred()) SWIG_fail
;
22460 arg7
= wxString_in_helper(obj6
);
22461 if (arg7
== NULL
) SWIG_fail
;
22466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22467 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22469 wxPyEndAllowThreads(__tstate
);
22470 if (PyErr_Occurred()) SWIG_fail
;
22472 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewControlBar
, 1);
22487 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22488 PyObject
*resultobj
;
22489 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22490 PyObject
*arg2
= (PyObject
*) 0 ;
22491 PyObject
*arg3
= (PyObject
*) 0 ;
22492 PyObject
* obj0
= 0 ;
22493 PyObject
* obj1
= 0 ;
22494 PyObject
* obj2
= 0 ;
22495 char *kwnames
[] = {
22496 (char *) "self",(char *) "self",(char *) "_class", NULL
22499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22505 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22507 wxPyEndAllowThreads(__tstate
);
22508 if (PyErr_Occurred()) SWIG_fail
;
22510 Py_INCREF(Py_None
); resultobj
= Py_None
;
22517 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22518 PyObject
*resultobj
;
22519 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22520 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
22521 PyObject
* obj0
= 0 ;
22522 PyObject
* obj1
= 0 ;
22523 char *kwnames
[] = {
22524 (char *) "self",(char *) "preview", NULL
22527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22529 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22532 (arg1
)->SetPrintPreview(arg2
);
22534 wxPyEndAllowThreads(__tstate
);
22535 if (PyErr_Occurred()) SWIG_fail
;
22537 Py_INCREF(Py_None
); resultobj
= Py_None
;
22544 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22545 PyObject
*resultobj
;
22546 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22547 PyObject
* obj0
= 0 ;
22548 char *kwnames
[] = {
22549 (char *) "self", NULL
22552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
22553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22556 (arg1
)->base_CreateButtons();
22558 wxPyEndAllowThreads(__tstate
);
22559 if (PyErr_Occurred()) SWIG_fail
;
22561 Py_INCREF(Py_None
); resultobj
= Py_None
;
22568 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22569 PyObject
*resultobj
;
22570 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22572 PyObject
* obj0
= 0 ;
22573 PyObject
* obj1
= 0 ;
22574 char *kwnames
[] = {
22575 (char *) "self",(char *) "zoom", NULL
22578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22581 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22582 if (PyErr_Occurred()) SWIG_fail
;
22585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22586 (arg1
)->base_SetZoomControl(arg2
);
22588 wxPyEndAllowThreads(__tstate
);
22589 if (PyErr_Occurred()) SWIG_fail
;
22591 Py_INCREF(Py_None
); resultobj
= Py_None
;
22598 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
22600 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22601 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
22603 return Py_BuildValue((char *)"");
22605 static PyMethodDef SwigMethods
[] = {
22606 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
22607 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
22608 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
22609 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
22610 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
22611 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
22612 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
22613 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22614 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
22615 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
22616 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
22617 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
22618 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
22619 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
22620 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
22621 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
22622 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
22623 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
22624 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
22625 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
22626 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
22627 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
22628 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
22629 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
22630 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
22631 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
22632 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
22633 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
22634 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
22635 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
22636 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
22637 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
22638 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
22639 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
22640 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
22641 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
22642 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
22643 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
22644 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
22645 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
22646 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
22647 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
22648 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
22649 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
22650 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
22651 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
22652 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
22653 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
22654 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22655 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22656 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22657 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22658 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
22659 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22660 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22661 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
22662 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
22663 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
22664 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
22665 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
22666 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
22667 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
22668 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
22669 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
22670 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
22671 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
22672 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
22673 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
22674 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
22675 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
22676 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
22677 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
22678 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
22679 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
},
22680 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
22681 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
22682 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
22683 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
22684 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
22685 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
22686 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
22687 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
22688 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
22689 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
22690 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
22691 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
22692 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
22693 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
22694 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22695 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22696 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
22697 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
22698 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
22699 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22700 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22701 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22702 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22703 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
22704 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
22705 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
22706 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
22707 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
22708 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
22709 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
22710 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
22711 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22712 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
22713 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
22714 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
22715 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
22716 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
22717 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
22718 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
22719 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
22720 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
22721 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
22722 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
22723 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22724 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
22725 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22726 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
22727 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
22728 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
22729 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
22730 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
22731 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
22732 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
22733 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
22734 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
22735 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
22736 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
22737 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
22738 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
22739 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
22740 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
22741 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
22742 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
22743 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
22744 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22745 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
22746 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
22747 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
22748 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
22749 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
22750 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22751 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22752 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22753 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22754 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
22755 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
22756 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
22757 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
22758 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
22759 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
22760 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
22761 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
22762 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
22763 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
22764 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
22765 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
22766 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
22767 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
22768 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
22769 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
22770 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
22771 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
22772 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
22773 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
22774 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
22775 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
22776 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22777 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22778 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
22779 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
22780 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
22781 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
22782 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
22783 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
22784 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
22785 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
22786 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22787 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22788 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
22789 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
22790 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
22791 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
22792 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
22793 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22794 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
22795 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
22796 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
22797 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
22798 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
22799 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
22800 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
22801 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
22802 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
22803 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
22804 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
22805 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
22806 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
22807 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
22808 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22809 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
22810 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
22811 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
22812 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
22813 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
22814 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
22815 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
22816 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
22817 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
22818 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
22819 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
22820 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
22821 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
22822 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
22823 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
22824 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22825 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
22826 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
22827 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
22828 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
22829 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
22830 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
22831 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
22832 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
22833 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
22834 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
22835 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
22836 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
22837 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
22838 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
22839 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
22840 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
22841 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
22842 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
22843 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
22844 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
22845 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
22846 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
22847 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
22848 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
22849 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
22850 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
22851 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
22852 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
22853 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
22854 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
22855 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
22856 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
22857 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
22858 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
22859 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
22860 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
22861 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
22862 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
22863 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
22864 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
22865 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
22866 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
22867 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
22868 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
22869 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
22870 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
22871 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
22872 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
22873 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
22874 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
22875 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
22876 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
22877 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
22878 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
22879 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
22880 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
22881 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
22882 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
22883 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
22884 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
22885 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
22886 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
22887 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
22888 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
22889 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
22890 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
22891 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
22892 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
22893 { (char *)"ColourDialog_ShowModal", (PyCFunction
) _wrap_ColourDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
22894 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
22895 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
22896 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
22897 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
22898 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
22899 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
22900 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
22901 { (char *)"DirDialog_ShowModal", (PyCFunction
) _wrap_DirDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
22902 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
22903 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
22904 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
22905 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
22906 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
22907 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
22908 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
22909 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
22910 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
22911 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
22912 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
22913 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
22914 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
22915 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
22916 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
22917 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
22918 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
22919 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
22920 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
22921 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
22922 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
22923 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
22924 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
22925 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
22926 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
22927 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
22928 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
22929 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction
) _wrap_SingleChoiceDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
22930 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
22931 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
22932 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
22933 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
22934 { (char *)"TextEntryDialog_ShowModal", (PyCFunction
) _wrap_TextEntryDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
22935 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
22936 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
22937 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
22938 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
22939 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
22940 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
22941 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
22942 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
22943 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
22944 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
22945 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
22946 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
22947 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
22948 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
22949 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
22950 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
22951 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
22952 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
22953 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
22954 { (char *)"FontDialog_ShowModal", (PyCFunction
) _wrap_FontDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
22955 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
22956 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
22957 { (char *)"MessageDialog_ShowModal", (PyCFunction
) _wrap_MessageDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
22958 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
22959 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
22960 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
22961 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
22962 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
22963 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
22964 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22965 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
22966 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
22967 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
22968 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22969 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
22970 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
22971 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
22972 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
22973 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
22974 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
22975 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
22976 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22977 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22978 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
22979 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
22980 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
22981 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
22982 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
22983 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
22984 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
22985 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
22986 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
22987 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
22988 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
22989 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
22990 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
22991 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
22992 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
22993 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
22994 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
22995 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
22996 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
22997 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
22998 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
22999 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
23000 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
23001 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
23002 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
23003 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
23004 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
23005 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
23006 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23007 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23008 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
23009 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
23010 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
23011 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23012 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
23013 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
23014 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23015 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23016 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
23017 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23018 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
23019 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23020 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
23021 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
23022 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
23023 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
23024 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
23025 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
23026 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
23027 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
23028 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
23029 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
23030 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
23031 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
23032 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23033 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
23034 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
23035 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23036 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23037 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
23038 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23039 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
23040 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23041 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
23042 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
23043 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
23044 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
23045 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
23046 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
23047 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
23048 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
23049 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
23050 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
23051 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
23052 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
23053 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
23054 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23055 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23056 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23057 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23058 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
23059 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
23060 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
23061 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23062 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23063 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
23064 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23065 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23066 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23067 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
23068 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
23069 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
23070 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23071 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23072 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
23073 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
23074 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
23075 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
23076 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
23077 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
23078 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
23079 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
23080 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
23081 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
23082 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
23083 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
23084 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
23085 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
23086 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
23087 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
23088 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
23089 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
23090 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
23091 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
23092 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
23093 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
23094 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
23095 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
23096 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23097 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23098 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23099 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
23100 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23101 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
23102 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
23103 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
23104 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
23105 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23106 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
23107 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
23108 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23109 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
23110 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23111 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23112 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23113 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23114 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23115 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23116 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23117 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23118 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
23119 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
23120 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23121 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23122 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23123 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23124 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23125 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23126 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23127 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
23128 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
23129 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
23130 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23131 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
23132 { (char *)"new_PrintDialogData", (PyCFunction
) _wrap_new_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23133 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23134 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
23135 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
23136 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
23137 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
23138 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23139 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
23140 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23141 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23142 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23143 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
23144 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
23145 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
23146 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
23147 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
23148 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23149 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
23150 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23151 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23152 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23153 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
23154 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23155 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
23156 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
23157 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23158 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23159 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
23160 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
23161 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23162 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23163 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23164 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23165 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
23166 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
23167 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23168 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
23169 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23170 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
23171 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
23172 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
23173 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
23174 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23175 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
23176 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
23177 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
23178 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
23179 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
23180 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
23181 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
23182 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
23183 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23184 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
23185 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
23186 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
23187 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
23188 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
23189 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
23190 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
23191 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
23192 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
23193 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
23194 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
23195 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
23196 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
23197 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
23198 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
23199 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
23200 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
23201 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
23202 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
23203 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
23204 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
23205 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23206 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
23207 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
23208 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
23209 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23210 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23211 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23212 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
23213 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23214 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
23215 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
23216 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
23217 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
23218 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
23219 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
23220 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
23221 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
23222 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
23223 { (char *)"new_PrintPreview", (PyCFunction
) _wrap_new_PrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
23224 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
23225 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
23226 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
23227 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
23228 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
23229 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
23230 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23231 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
23232 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23233 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
23234 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
23235 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
23236 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
23237 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23238 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
23239 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
23240 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
23241 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
23242 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23243 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
23244 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
23245 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
23246 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
23247 { (char *)"new_PyPrintPreview", (PyCFunction
) _wrap_new_PyPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
23248 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23249 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
23250 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
23251 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
23252 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
23253 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
23254 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
23255 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
23256 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
23257 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
23258 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23259 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23260 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23261 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
23262 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23263 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23264 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
23265 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23266 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23267 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
23268 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
23269 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
23270 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
23275 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
23277 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
23278 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23280 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
23281 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
23283 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
23284 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
23286 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
23287 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
23289 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
23290 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
23292 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
23293 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
23295 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
23296 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
23298 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
23299 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23301 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
23302 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
23304 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
23305 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
23307 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
23308 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
23310 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
23311 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
23313 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
23314 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
23316 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
23317 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
23319 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
23320 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
23322 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
23323 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
23325 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
23326 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
23328 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
23329 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
23331 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
23332 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
23334 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
23335 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
23337 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
23338 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
23340 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
23341 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
23343 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
23344 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
23346 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
23347 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
23349 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
23350 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
23352 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
23353 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
23355 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
23356 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
23358 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
23359 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
23361 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
23362 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
23364 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
23365 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
23367 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
23368 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
23370 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
23371 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
23373 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
23374 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
23376 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
23377 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
23379 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
23380 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
23382 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
23383 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
23385 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
23386 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
23388 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
23389 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
23391 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
23392 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
23394 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
23395 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
23397 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
23398 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
23400 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
23401 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
23403 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
23404 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23406 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
23407 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
23409 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
23410 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
23412 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
23413 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
23415 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
23416 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
23418 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
23419 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
23421 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
23422 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
23424 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
23425 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
23427 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
23428 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
23430 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
23431 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
23433 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
23434 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
23436 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
23437 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
23439 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
23440 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
23442 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
23443 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
23445 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
23446 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
23448 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
23449 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
23451 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
23452 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
23454 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
23455 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
23457 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
23458 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
23460 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
23461 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
23463 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
23464 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
23466 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
23467 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
23469 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
23470 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
23472 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
23473 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
23475 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
23476 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
23478 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
23479 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
23481 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
23482 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
23484 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
23485 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
23487 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
23488 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
23490 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
23491 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
23493 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
23494 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
23496 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
23497 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23499 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
23500 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
23502 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
23503 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
23505 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
23506 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
23508 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
23509 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
23511 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
23512 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
23514 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
23515 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23517 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
23518 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
23520 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
23521 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
23523 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
23524 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
23526 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
23527 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
23529 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
23530 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
23532 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
23533 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
23535 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
23536 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
23538 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
23539 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
23541 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
23542 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
23544 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
23545 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
23547 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
23548 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
23550 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
23551 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
23553 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
23554 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23556 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
23557 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
23559 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
23560 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
23562 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
23563 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
23565 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
23566 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23568 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
23569 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
23571 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
23572 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
23574 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
23575 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
23577 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
23578 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
23580 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
23581 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
23583 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
23584 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
23586 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
23587 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23589 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
23590 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
23592 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
23593 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
23595 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
23596 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
23598 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
23599 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
23601 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
23602 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
23604 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
23605 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
23607 static void *_p_wxSizerTo_p_wxObject(void *x
) {
23608 return (void *)((wxObject
*) ((wxSizer
*) x
));
23610 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
23611 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
23613 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
23614 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
23616 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
23617 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
23619 static void *_p_wxEventTo_p_wxObject(void *x
) {
23620 return (void *)((wxObject
*) ((wxEvent
*) x
));
23622 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
23623 return (void *)((wxObject
*) ((wxFontData
*) x
));
23625 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
23626 return (void *)((wxObject
*) ((wxPrintData
*) x
));
23628 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
23629 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
23631 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
23632 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
23634 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
23635 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
23637 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
23638 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
23640 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
23641 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
23643 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
23644 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
23646 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
23647 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
23649 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
23650 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
23652 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
23653 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
23655 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
23656 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
23658 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
23659 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
23661 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
23662 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
23664 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
23665 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
23667 static void *_p_wxControlTo_p_wxObject(void *x
) {
23668 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
23670 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
23671 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
23673 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
23674 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23676 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
23677 return (void *)((wxObject
*) ((wxFSFile
*) x
));
23679 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
23680 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
23682 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
23683 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
23685 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
23686 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
23688 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
23689 return (void *)((wxObject
*) ((wxColourData
*) x
));
23691 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
23692 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
23694 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
23695 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
23697 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
23698 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
23700 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
23701 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
23703 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
23704 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
23706 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
23707 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
23709 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
23710 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
23712 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
23713 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
23715 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
23716 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
23718 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
23719 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
23721 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
23722 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
23724 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
23725 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
23727 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
23728 return (void *)((wxObject
*) ((wxPrinter
*) x
));
23730 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
23731 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
23733 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
23734 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
23736 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
23737 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
23739 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
23740 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
23742 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
23743 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
23745 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
23746 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
23748 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
23749 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
23751 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
23752 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
23754 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
23755 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
23757 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
23758 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
23760 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
23761 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
23763 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
23764 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
23766 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
23767 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
23769 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
23770 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
23772 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
23773 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
23775 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
23776 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
23778 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
23779 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
23781 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
23782 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
23784 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
23785 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
23787 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
23788 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
23790 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
23791 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
23793 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
23794 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
23796 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
23797 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
23799 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
23800 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
23802 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
23803 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23805 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
23806 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
23808 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
23809 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
23811 static void *_p_wxImageTo_p_wxObject(void *x
) {
23812 return (void *)((wxObject
*) ((wxImage
*) x
));
23814 static void *_p_wxFrameTo_p_wxObject(void *x
) {
23815 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
23817 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
23818 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
23820 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
23821 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
23823 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
23824 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
23826 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
23827 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
23829 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
23830 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
23832 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
23833 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
23835 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
23836 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
23838 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
23839 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
23841 static void *_p_wxWindowTo_p_wxObject(void *x
) {
23842 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
23844 static void *_p_wxMenuTo_p_wxObject(void *x
) {
23845 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
23847 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
23848 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
23850 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
23851 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
23853 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
23854 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
23856 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
23857 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
23859 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
23860 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
23862 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
23863 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
23865 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
23866 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
23868 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
23869 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
23871 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
23872 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
23874 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
23875 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
23877 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
23878 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
23880 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
23881 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
23883 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
23884 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
23886 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
23887 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
23889 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
23890 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
23892 static void *_p_wxPanelTo_p_wxObject(void *x
) {
23893 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
23895 static void *_p_wxDialogTo_p_wxObject(void *x
) {
23896 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
23898 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
23899 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
23901 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
23902 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
23904 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
23905 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
23907 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
23908 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
23910 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
23911 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
23913 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
23914 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
23916 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
23917 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
23919 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
23920 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
23922 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
23923 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
23925 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
23926 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
23928 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
23929 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
23931 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
23932 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
23934 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
23935 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
23937 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
23938 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
23940 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
23941 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
23943 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
23944 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
23946 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
23947 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
23949 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
23950 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
23952 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
23953 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
23955 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
23956 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
23958 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
23959 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
23961 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
23962 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
23964 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
23965 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
23967 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
23968 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
23970 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
23971 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
23973 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
23974 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23976 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
23977 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
23979 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
23980 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
23982 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
23983 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
23985 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
23986 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
23988 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
23989 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
23991 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
23992 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
23994 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
23995 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
23997 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
23998 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
24000 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
24001 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
24003 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
24004 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
24006 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
24007 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
24009 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
24010 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
24012 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
24013 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
24015 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
24016 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
24018 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
24019 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
24021 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
24022 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
24024 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
24025 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
24027 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
24028 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
24030 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
24031 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
24033 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
24034 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24036 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
24037 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24039 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
24040 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
24042 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
24043 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
24045 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
24046 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24048 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
24049 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
24051 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
24052 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
24054 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
24055 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
24057 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
24058 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
24060 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
24061 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
24063 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
24064 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
24066 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
24067 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
24069 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
24070 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
24072 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
24073 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24075 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
24076 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24078 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
24079 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
24081 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
24082 return (void *)((wxWindow
*) ((wxPanel
*) x
));
24084 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
24085 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
24087 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
24088 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
24090 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
24091 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24093 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
24094 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
24096 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
24097 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24099 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
24100 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
24102 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
24103 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24105 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
24106 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
24108 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
24109 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
24111 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
24112 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
24114 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
24115 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
24117 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
24118 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
24120 static void *_p_wxControlTo_p_wxWindow(void *x
) {
24121 return (void *)((wxWindow
*) ((wxControl
*) x
));
24123 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
24124 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
24126 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
24127 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24129 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
24130 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
24132 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
24133 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
24135 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
24136 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
24138 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
24139 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24141 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
24142 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24144 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
24145 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24147 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
24148 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
24150 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
24151 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24153 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
24154 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
24156 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
24157 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
24159 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
24160 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
24162 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
24163 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
24165 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
24166 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
24168 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
24169 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
24171 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
24172 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
24174 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
24175 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
24177 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
24178 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24180 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
24181 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
24183 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
24184 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
24186 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
24187 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
24189 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
24190 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
24192 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
24193 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
24195 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
24196 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
24198 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
24199 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
24201 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
24202 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24204 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
24205 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24207 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
24208 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
24210 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
24211 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
24213 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
24214 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
24216 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
24217 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
24219 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
24220 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24222 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
24223 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24225 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
24226 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24228 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
24229 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
24231 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
24232 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24234 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
24235 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
24237 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
24238 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24240 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
24241 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
24243 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
24244 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
24246 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
24247 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
24249 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
24250 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
24252 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
24253 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
24255 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
24256 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
24258 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
24259 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
24261 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
24262 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
24264 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
24265 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
24267 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
24268 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
24270 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
24271 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
24273 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
24274 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24276 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
24277 static swig_type_info _swigt__p_wxPreviewFrame
[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame
},{0}};
24278 static swig_type_info _swigt__p_wxPyPreviewFrame
[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
24279 static swig_type_info _swigt__p_wxPyPanel
[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
24280 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
24281 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
24282 static swig_type_info _swigt__p_wxFontData
[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
24283 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}};
24284 static swig_type_info _swigt__p_wxTaskBarIcon
[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
24285 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
24286 static swig_type_info _swigt__p_wxLayoutAlgorithm
[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
24287 static swig_type_info _swigt__p_wxFindDialogEvent
[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
24288 static swig_type_info _swigt__p_wxPreviewCanvas
[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
24289 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
24290 static swig_type_info _swigt__p_wxSplitterEvent
[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
24291 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
24292 static swig_type_info _swigt__p_wxFindReplaceData
[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
24293 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
24294 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
24295 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
24296 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
24297 static swig_type_info _swigt__p_wxMDIChildFrame
[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
24298 static swig_type_info _swigt__p_wxColourData
[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
24299 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent
},{"_p_wxNotifyEvent"},{0}};
24300 static swig_type_info _swigt__p_wxPyWindow
[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
24301 static swig_type_info _swigt__p_wxSplashScreen
[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
24302 static swig_type_info _swigt__p_wxFindReplaceDialog
[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
24303 static swig_type_info _swigt__p_wxProgressDialog
[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
24304 static swig_type_info _swigt__p_wxMessageDialog
[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
24305 static swig_type_info _swigt__p_wxTextEntryDialog
[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
24306 static swig_type_info _swigt__p_wxSingleChoiceDialog
[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
24307 static swig_type_info _swigt__p_wxMultiChoiceDialog
[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
24308 static swig_type_info _swigt__p_wxFileDialog
[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
24309 static swig_type_info _swigt__p_wxPrinter
[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
24310 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
24311 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}};
24312 static swig_type_info _swigt__p_wxCalculateLayoutEvent
[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
24313 static swig_type_info _swigt__p_wxPyHtmlListBox
[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
24314 static swig_type_info _swigt__p_wxPyVListBox
[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox
},{0}};
24315 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
24316 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
24317 static swig_type_info _swigt__p_wxMiniFrame
[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
24318 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}};
24319 static swig_type_info _swigt__p_wxPyPrintout
[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
24320 static swig_type_info _swigt__p_wxTaskBarIconEvent
[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
24321 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
24322 static swig_type_info _swigt__p_wxStatusBar
[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
24323 static swig_type_info _swigt__p_wxMDIParentFrame
[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
24324 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
24325 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}};
24326 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
24327 static swig_type_info _swigt__p_wxMDIClientWindow
[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
24328 static swig_type_info _swigt__p_wxTipWindow
[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
24329 static swig_type_info _swigt__p_wxSashLayoutWindow
[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
24330 static swig_type_info _swigt__p_wxSplitterWindow
[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
24331 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}};
24332 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow
},{0}};
24333 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}};
24334 static swig_type_info _swigt__p_wxSashWindow
[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow
},{0}};
24335 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}};
24336 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}};
24337 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
},{0}};
24338 static swig_type_info _swigt__p_wxSplashScreenWindow
[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
24339 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
24340 static swig_type_info _swigt__p_wxPrintPreview
[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview
},{0}};
24341 static swig_type_info _swigt__p_wxSashEvent
[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
24342 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
24343 static swig_type_info _swigt__p_wxPyPrintPreview
[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
24344 static swig_type_info _swigt__p_wxPageSetupDialog
[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
24345 static swig_type_info _swigt__p_wxFontDialog
[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
24346 static swig_type_info _swigt__p_wxDirDialog
[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
24347 static swig_type_info _swigt__p_wxColourDialog
[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
24348 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}};
24349 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}};
24350 static swig_type_info _swigt__p_wxPrintDialog
[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
24351 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
24352 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}};
24353 static swig_type_info _swigt__p_wxPreviewControlBar
[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar
},{0}};
24354 static swig_type_info _swigt__p_wxPyPreviewControlBar
[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
24355 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
24356 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
24357 static swig_type_info _swigt__p_wxPageSetupDialogData
[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
24358 static swig_type_info _swigt__p_wxPrintDialogData
[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
24360 static swig_type_info
*swig_types_initial
[] = {
24361 _swigt__p_wxQueryLayoutInfoEvent
,
24362 _swigt__p_wxPreviewFrame
,
24363 _swigt__p_wxPyPreviewFrame
,
24364 _swigt__p_wxPyPanel
,
24366 _swigt__p_wxPrintData
,
24367 _swigt__p_wxFontData
,
24369 _swigt__p_wxTaskBarIcon
,
24370 _swigt__p_wxIconBundle
,
24371 _swigt__p_wxLayoutAlgorithm
,
24372 _swigt__p_wxFindDialogEvent
,
24373 _swigt__p_wxPreviewCanvas
,
24375 _swigt__p_wxSplitterEvent
,
24376 _swigt__p_wxRegion
,
24377 _swigt__p_wxFindReplaceData
,
24382 _swigt__p_wxMDIChildFrame
,
24383 _swigt__p_wxColourData
,
24384 _swigt__p_wxNotifyEvent
,
24385 _swigt__p_wxPyWindow
,
24386 _swigt__p_wxSplashScreen
,
24387 _swigt__p_wxFindReplaceDialog
,
24388 _swigt__p_wxProgressDialog
,
24389 _swigt__p_wxMessageDialog
,
24390 _swigt__p_wxTextEntryDialog
,
24391 _swigt__p_wxSingleChoiceDialog
,
24392 _swigt__p_wxMultiChoiceDialog
,
24393 _swigt__p_wxFileDialog
,
24394 _swigt__p_wxPrinter
,
24395 _swigt__p_wxArrayInt
,
24396 _swigt__p_wxEvtHandler
,
24397 _swigt__p_wxCalculateLayoutEvent
,
24398 _swigt__p_wxPyHtmlListBox
,
24399 _swigt__p_wxPyVListBox
,
24402 _swigt__p_wxMiniFrame
,
24404 _swigt__p_wxPyPrintout
,
24405 _swigt__p_wxTaskBarIconEvent
,
24406 _swigt__p_wxScrollWinEvent
,
24407 _swigt__p_wxStatusBar
,
24408 _swigt__p_wxMDIParentFrame
,
24410 _swigt__p_wxObject
,
24411 _swigt__p_unsigned_long
,
24412 _swigt__p_wxMDIClientWindow
,
24413 _swigt__p_wxTipWindow
,
24414 _swigt__p_wxSashLayoutWindow
,
24415 _swigt__p_wxSplitterWindow
,
24416 _swigt__p_wxPyVScrolledWindow
,
24417 _swigt__p_wxPyPopupTransientWindow
,
24418 _swigt__p_wxPopupWindow
,
24419 _swigt__p_wxSashWindow
,
24420 _swigt__p_wxTopLevelWindow
,
24421 _swigt__p_wxWindow
,
24422 _swigt__p_wxScrolledWindow
,
24423 _swigt__p_wxSplashScreenWindow
,
24424 _swigt__p_wxMenuBar
,
24425 _swigt__p_wxPrintPreview
,
24426 _swigt__p_wxSashEvent
,
24427 _swigt__p_wxString
,
24428 _swigt__p_wxPyPrintPreview
,
24429 _swigt__p_wxPageSetupDialog
,
24430 _swigt__p_wxFontDialog
,
24431 _swigt__p_wxDirDialog
,
24432 _swigt__p_wxColourDialog
,
24433 _swigt__p_wxDialog
,
24435 _swigt__p_wxPrintDialog
,
24436 _swigt__p_wxBitmap
,
24437 _swigt__p_wxCommandEvent
,
24438 _swigt__p_wxPreviewControlBar
,
24439 _swigt__p_wxPyPreviewControlBar
,
24440 _swigt__p_wxColour
,
24441 _swigt__p_wxToolBar
,
24442 _swigt__p_wxPageSetupDialogData
,
24443 _swigt__p_wxPrintDialogData
,
24448 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
24450 static swig_const_info swig_const_table
[] = {
24460 SWIGEXPORT(void) SWIG_init(void) {
24461 static PyObject
*SWIG_globals
= 0;
24462 static int typeinit
= 0;
24465 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
24466 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
24467 d
= PyModule_GetDict(m
);
24470 for (i
= 0; swig_types_initial
[i
]; i
++) {
24471 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
24475 SWIG_InstallConstants(d
,swig_const_table
);
24477 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
24478 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
24479 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
24480 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
24481 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
24482 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
24483 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
24484 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
24485 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOBORDER
));
24486 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOCAPTION
));
24487 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_PyObj_FromInt((int)wxFULLSCREEN_ALL
));
24488 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_PyObj_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
24489 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_PyObj_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
24490 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_PyObj_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
24491 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_PyObj_FromInt((int)wxSPLASH_NO_CENTRE
));
24492 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_PyObj_FromInt((int)wxSPLASH_TIMEOUT
));
24493 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_PyObj_FromInt((int)wxSPLASH_NO_TIMEOUT
));
24494 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
24495 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_PyObj_FromInt((int)wxSP_NOBORDER
));
24496 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_PyObj_FromInt((int)wxSP_NOSASH
));
24497 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_PyObj_FromInt((int)wxSP_PERMIT_UNSPLIT
));
24498 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_PyObj_FromInt((int)wxSP_LIVE_UPDATE
));
24499 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_PyObj_FromInt((int)wxSP_3DSASH
));
24500 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_PyObj_FromInt((int)wxSP_3DBORDER
));
24501 PyDict_SetItemString(d
,"SP_BORDER", SWIG_PyObj_FromInt((int)wxSP_BORDER
));
24502 PyDict_SetItemString(d
,"SP_3D", SWIG_PyObj_FromInt((int)wxSP_3D
));
24503 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSPLIT_HORIZONTAL
));
24504 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_PyObj_FromInt((int)wxSPLIT_VERTICAL
));
24505 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_NONE
));
24506 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
24507 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
24508 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
24509 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
24510 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
24511 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
24512 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
24513 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
24514 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_PyObj_FromInt((int)wxSASH_DRAG_NONE
));
24515 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_PyObj_FromInt((int)wxSASH_DRAG_DRAGGING
));
24516 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_PyObj_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
24517 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_PyObj_FromInt((int)wxSW_NOBORDER
));
24518 PyDict_SetItemString(d
,"SW_BORDER", SWIG_PyObj_FromInt((int)wxSW_BORDER
));
24519 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_PyObj_FromInt((int)wxSW_3DSASH
));
24520 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_PyObj_FromInt((int)wxSW_3DBORDER
));
24521 PyDict_SetItemString(d
,"SW_3D", SWIG_PyObj_FromInt((int)wxSW_3D
));
24522 PyDict_SetItemString(d
,"SASH_TOP", SWIG_PyObj_FromInt((int)wxSASH_TOP
));
24523 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_PyObj_FromInt((int)wxSASH_RIGHT
));
24524 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_PyObj_FromInt((int)wxSASH_BOTTOM
));
24525 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_PyObj_FromInt((int)wxSASH_LEFT
));
24526 PyDict_SetItemString(d
,"SASH_NONE", SWIG_PyObj_FromInt((int)wxSASH_NONE
));
24527 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_PyObj_FromInt((int)wxSASH_STATUS_OK
));
24528 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_PyObj_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
24529 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
24530 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_PyObj_FromInt((int)wxLAYOUT_HORIZONTAL
));
24531 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_PyObj_FromInt((int)wxLAYOUT_VERTICAL
));
24532 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_PyObj_FromInt((int)wxLAYOUT_NONE
));
24533 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_PyObj_FromInt((int)wxLAYOUT_TOP
));
24534 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_PyObj_FromInt((int)wxLAYOUT_LEFT
));
24535 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_PyObj_FromInt((int)wxLAYOUT_RIGHT
));
24536 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_PyObj_FromInt((int)wxLAYOUT_BOTTOM
));
24537 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_PyObj_FromInt((int)wxLAYOUT_LENGTH_Y
));
24538 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_PyObj_FromInt((int)wxLAYOUT_LENGTH_X
));
24539 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_PyObj_FromInt((int)wxLAYOUT_MRU_LENGTH
));
24540 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_PyObj_FromInt((int)wxLAYOUT_QUERY
));
24541 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
24542 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
24543 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
24545 // Map renamed classes back to their common name for OOR
24546 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
24547 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
24548 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
24550 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
24551 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
24552 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
24553 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
24554 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
24555 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
24556 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
24557 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
24558 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
24559 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
24560 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
24561 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
24562 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
24563 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_PyObj_FromInt((int)wxCHOICEDLG_STYLE
));
24564 PyDict_SetItemString(d
,"FR_DOWN", SWIG_PyObj_FromInt((int)wxFR_DOWN
));
24565 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_PyObj_FromInt((int)wxFR_WHOLEWORD
));
24566 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_PyObj_FromInt((int)wxFR_MATCHCASE
));
24567 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_PyObj_FromInt((int)wxFR_REPLACEDIALOG
));
24568 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_PyObj_FromInt((int)wxFR_NOUPDOWN
));
24569 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_PyObj_FromInt((int)wxFR_NOMATCHCASE
));
24570 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_PyObj_FromInt((int)wxFR_NOWHOLEWORD
));
24571 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
24572 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
24573 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
24574 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
24575 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
24576 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_PyObj_FromInt((int)4001));
24577 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_PyObj_FromInt((int)4001));
24578 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_PyObj_FromInt((int)4002));
24579 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_PyObj_FromInt((int)4003));
24580 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_PyObj_FromInt((int)4004));
24581 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_PyObj_FromInt((int)4005));
24582 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_PyObj_FromInt((int)4100));
24583 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_PyObj_FromInt((int)4600));
24584 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
24585 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
24586 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_PyObj_FromInt((int)wxPRINT_MODE_NONE
));
24587 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_PyObj_FromInt((int)wxPRINT_MODE_PREVIEW
));
24588 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_PyObj_FromInt((int)wxPRINT_MODE_FILE
));
24589 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_PyObj_FromInt((int)wxPRINT_MODE_PRINTER
));
24590 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_PyObj_FromInt((int)wxPRINTER_NO_ERROR
));
24591 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_PyObj_FromInt((int)wxPRINTER_CANCELLED
));
24592 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_PyObj_FromInt((int)wxPRINTER_ERROR
));
24593 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_PyObj_FromInt((int)wxPREVIEW_PRINT
));
24594 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_PyObj_FromInt((int)wxPREVIEW_PREVIOUS
));
24595 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_PyObj_FromInt((int)wxPREVIEW_NEXT
));
24596 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_PyObj_FromInt((int)wxPREVIEW_ZOOM
));
24597 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_PyObj_FromInt((int)wxPREVIEW_FIRST
));
24598 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_PyObj_FromInt((int)wxPREVIEW_LAST
));
24599 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_PyObj_FromInt((int)wxPREVIEW_GOTO
));
24600 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_PyObj_FromInt((int)wxPREVIEW_DEFAULT
));
24601 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_PyObj_FromInt((int)wxID_PREVIEW_CLOSE
));
24602 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_PyObj_FromInt((int)wxID_PREVIEW_NEXT
));
24603 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_PyObj_FromInt((int)wxID_PREVIEW_PREVIOUS
));
24604 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_PyObj_FromInt((int)wxID_PREVIEW_PRINT
));
24605 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_PyObj_FromInt((int)wxID_PREVIEW_ZOOM
));
24606 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_PyObj_FromInt((int)wxID_PREVIEW_FIRST
));
24607 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_PyObj_FromInt((int)wxID_PREVIEW_LAST
));
24608 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_PyObj_FromInt((int)wxID_PREVIEW_GOTO
));
24610 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");