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_wxPyPopupTransientWindow swig_types[53]
287 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[54]
288 #define SWIGTYPE_p_wxSplitterWindow swig_types[55]
289 #define SWIGTYPE_p_wxPyVScrolledWindow 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
){
447 return self
->IsModalShowing();
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 wxPopupWindow
: public wxWindow
{
466 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
467 wxPopupWindow() { wxPyRaiseNotImplemented(); }
470 class wxPyPopupTransientWindow
: public wxPopupWindow
473 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
474 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
478 #include <wx/tipwin.h>
480 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
481 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
484 #include <wx/tipwin.h>
487 #include <wx/vscroll.h>
490 class wxPyVScrolledWindow
: public wxVScrolledWindow
492 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
494 wxPyVScrolledWindow() : wxVScrolledWindow() {}
496 wxPyVScrolledWindow(wxWindow
*parent
,
497 wxWindowID id
= wxID_ANY
,
498 const wxPoint
& pos
= wxDefaultPosition
,
499 const wxSize
& size
= wxDefaultSize
,
501 const wxString
& name
= wxPyPanelNameStr
)
502 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
505 // Overridable virtuals
507 // this function must be overridden in the derived class and it should
508 // return the height of the given line in pixels
509 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
512 // this function doesn't have to be overridden but it may be useful to do
513 // it if calculating the lines heights is a relatively expensive operation
514 // as it gives the user code a possibility to calculate several of them at
517 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
518 // shouldn't rely on the latter being called for all lines in the interval
519 // specified here. It is also possible that OnGetLineHeight() will be
520 // called for the lines outside of this interval, so this is really just a
521 // hint, not a promise.
523 // finally note that lineMin is inclusive, while lineMax is exclusive, as
525 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
528 // when the number of lines changes, we try to estimate the total height
529 // of all lines which is a rather expensive operation in terms of lines
530 // access, so if the user code may estimate the average height
531 // better/faster than we do, it should override this function to implement
534 // this function should return the best guess for the total height it may
536 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
539 // Also expose some other interesting protected methods
542 // find the index of the line we need to show at the top of the window such
543 // that the last (fully or partially) visible line is the given one
544 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
545 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
547 // get the total height of the lines between lineMin (inclusive) and
548 // lineMax (exclusive)
549 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
550 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
556 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
558 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
559 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
560 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
563 SWIGSTATIC(PyObject
* )
564 SWIG_PyObj_FromUnsignedLong(unsigned long value
)
566 return (value
> (unsigned long)(LONG_MAX
)) ?
567 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
571 #include <wx/vlbox.h>
573 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
575 class wxPyVListBox
: public wxVListBox
577 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
579 wxPyVListBox() : wxVListBox() {}
581 wxPyVListBox(wxWindow
*parent
,
582 wxWindowID id
= wxID_ANY
,
583 const wxPoint
& pos
= wxDefaultPosition
,
584 const wxSize
& size
= wxDefaultSize
,
586 const wxString
& name
= wxPyVListBoxNameStr
)
587 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
590 // Overridable virtuals
592 // the derived class must implement this function to actually draw the item
593 // with the given index on the provided DC
594 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
595 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
598 // the derived class must implement this method to return the height of the
600 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
601 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
604 // this method may be used to draw separators between the lines; note that
605 // the rectangle may be modified, typically to deflate it a bit before
606 // passing to OnDrawItem()
608 // the base class version doesn't do anything
609 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
610 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
613 // this method is used to draw the items background and, maybe, a border
616 // the base class version implements a reasonable default behaviour which
617 // consists in drawing the selected item with the standard background
618 // colour and drawing a border around the item if it is either selected or
620 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
621 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
627 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
629 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
630 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
631 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
632 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
636 #include <wx/htmllbox.h>
639 class wxPyHtmlListBox
: public wxHtmlListBox
641 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
643 wxPyHtmlListBox() : wxHtmlListBox() {}
645 wxPyHtmlListBox(wxWindow
*parent
,
646 wxWindowID id
= wxID_ANY
,
647 const wxPoint
& pos
= wxDefaultPosition
,
648 const wxSize
& size
= wxDefaultSize
,
650 const wxString
& name
= wxPyVListBoxNameStr
)
651 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
654 // Overridable virtuals
656 // this method must be implemented in the derived class and should return
657 // the body (i.e. without <html>) of the HTML for the given item
658 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
660 // this function may be overridden to decorate HTML returned by OnGetItem()
661 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
664 // // this method allows to customize the selection appearance: it may be used
665 // // to specify the colour of the text which normally has the given colour
666 // // colFg when it is inside the selection
668 // // by default, the original colour is not used at all and all text has the
669 // // same (default for this system) colour inside selection
670 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
672 // // this is the same as GetSelectedTextColour() but allows to customize the
673 // // background colour -- this is even more rarely used as you can change it
674 // // globally using SetSelectionBackground()
675 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
682 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
684 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
685 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
692 // implement dummy classes and such for wxMac
694 class wxTaskBarIcon
: public wxEvtHandler
697 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
701 class wxTaskBarIconEvent
: public wxEvent
704 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
705 { wxPyRaiseNotImplemented(); }
706 virtual wxEvent
* Clone() const { return NULL
; }
710 wxEVT_TASKBAR_MOVE
= 0,
711 wxEVT_TASKBAR_LEFT_DOWN
= 0,
712 wxEVT_TASKBAR_LEFT_UP
= 0,
713 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
714 wxEVT_TASKBAR_RIGHT_UP
= 0,
715 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
716 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
720 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
721 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
722 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
723 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
724 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
725 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
726 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
728 self
->GetFilenames(arr
);
729 return wxArrayString2PyList_helper(arr
);
731 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
734 return wxArrayString2PyList_helper(arr
);
736 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
737 return wxArrayInt2PyList_helper(self
->GetSelections());
739 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
740 return new wxSingleChoiceDialog(parent
, message
, caption
,
741 choices
, choices_array
, NULL
, style
, pos
);
746 // C++ version of Python aware wxWindow
747 class wxPyWindow
: public wxWindow
749 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
751 wxPyWindow() : wxWindow() {}
752 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
753 const wxPoint
& pos
= wxDefaultPosition
,
754 const wxSize
& size
= wxDefaultSize
,
756 const wxString
& name
= wxPyPanelNameStr
)
757 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
760 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
761 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
762 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
763 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
765 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
766 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
767 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
769 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
770 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
772 DEC_PYCALLBACK__(InitDialog
);
773 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
774 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
775 DEC_PYCALLBACK_BOOL_(Validate
);
777 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
778 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
779 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
781 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
782 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
787 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
789 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
790 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
791 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
792 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
794 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
795 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
796 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
798 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
799 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
801 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
802 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
803 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
804 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
806 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
807 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
808 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
810 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
811 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
814 // C++ version of Python aware wxPanel
815 class wxPyPanel
: public wxPanel
817 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
819 wxPyPanel() : wxPanel() {}
820 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
821 const wxPoint
& pos
= wxDefaultPosition
,
822 const wxSize
& size
= wxDefaultSize
,
824 const wxString
& name
= wxPyPanelNameStr
)
825 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
828 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
829 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
830 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
831 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
833 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
834 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
835 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
837 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
838 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
840 DEC_PYCALLBACK__(InitDialog
);
841 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
842 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
843 DEC_PYCALLBACK_BOOL_(Validate
);
845 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
846 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
847 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
849 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
850 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
855 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
857 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
858 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
859 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
860 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
862 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
863 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
864 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
866 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
867 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
869 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
870 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
871 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
872 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
874 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
875 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
876 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
878 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
879 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
883 #include "wx/wxPython/printfw.h"
886 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
887 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
891 // Since this one would be tough and ugly to do with the Macros...
892 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
896 wxPyBeginBlockThreads();
897 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
898 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
899 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
902 val
= PyTuple_GetItem(result
, 0);
903 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
906 val
= PyTuple_GetItem(result
, 1);
907 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
910 val
= PyTuple_GetItem(result
, 2);
911 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
914 val
= PyTuple_GetItem(result
, 3);
915 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
922 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
927 wxPyEndBlockThreads();
929 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
932 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
933 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
937 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
938 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
939 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
940 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
941 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
942 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
943 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
949 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
950 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
951 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
954 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
955 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
958 wxPyBeginBlockThreads(); \
959 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
960 PyObject* win = wxPyMake_wxObject(a); \
961 PyObject* dc = wxPyMake_wxObject(&b); \
962 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
966 wxPyEndBlockThreads(); \
968 rval = PCLASS::CBNAME(a, b); \
971 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
972 return PCLASS::CBNAME(a, b); \
978 class wxPyPrintPreview
: public wxPrintPreview
980 DECLARE_CLASS(wxPyPrintPreview
)
982 wxPyPrintPreview(wxPyPrintout
* printout
,
983 wxPyPrintout
* printoutForPrinting
,
984 wxPrintData
* data
=NULL
)
985 : wxPrintPreview(printout
, printoutForPrinting
, data
)
988 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
989 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
990 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
991 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
992 DEC_PYCALLBACK_VOID_INT(SetZoom
);
993 DEC_PYCALLBACK_BOOL_BOOL(Print
);
994 DEC_PYCALLBACK_VOID_(DetermineScaling
);
999 // Stupid renamed classes... Fix this in 2.5...
1000 #if defined(__WXMSW__)
1001 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1002 #elif defined(__WXMAC__)
1003 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1005 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1008 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1009 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1010 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1011 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1012 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1013 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1014 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1017 class wxPyPreviewFrame
: public wxPreviewFrame
1019 DECLARE_CLASS(wxPyPreviewFrame
);
1021 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1022 const wxString
& title
,
1023 const wxPoint
& pos
= wxDefaultPosition
,
1024 const wxSize
& size
= wxDefaultSize
,
1025 long style
= wxDEFAULT_FRAME_STYLE
,
1026 const wxString
& name
= wxPyFrameNameStr
)
1027 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1030 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1031 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1033 DEC_PYCALLBACK_VOID_(Initialize
);
1034 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1035 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1040 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1042 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1043 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1044 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1047 class wxPyPreviewControlBar
: public wxPreviewControlBar
1049 DECLARE_CLASS(wxPyPreviewControlBar
);
1051 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1054 const wxPoint
& pos
= wxDefaultPosition
,
1055 const wxSize
& size
= wxDefaultSize
,
1057 const wxString
& name
= wxPyPanelNameStr
)
1058 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1061 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1063 DEC_PYCALLBACK_VOID_(CreateButtons
);
1064 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1069 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1070 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1071 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1076 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1077 PyObject
*resultobj
;
1078 wxWindow
*arg1
= (wxWindow
*) 0 ;
1079 int arg2
= (int) (int)-1 ;
1080 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1081 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1082 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1083 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1084 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1085 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1086 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1090 bool temp6
= False
;
1091 PyObject
* obj0
= 0 ;
1092 PyObject
* obj1
= 0 ;
1093 PyObject
* obj2
= 0 ;
1094 PyObject
* obj3
= 0 ;
1095 PyObject
* obj4
= 0 ;
1096 PyObject
* obj5
= 0 ;
1098 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1105 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
1106 if (PyErr_Occurred()) SWIG_fail
;
1112 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1118 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1123 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
1124 if (PyErr_Occurred()) SWIG_fail
;
1129 arg6
= wxString_in_helper(obj5
);
1130 if (arg6
== NULL
) SWIG_fail
;
1135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1136 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1138 wxPyEndAllowThreads(__tstate
);
1139 if (PyErr_Occurred()) SWIG_fail
;
1141 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPanel
, 1);
1156 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1157 PyObject
*resultobj
;
1163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1166 result
= (wxPanel
*)new wxPanel();
1168 wxPyEndAllowThreads(__tstate
);
1169 if (PyErr_Occurred()) SWIG_fail
;
1171 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPanel
, 1);
1178 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1179 PyObject
*resultobj
;
1180 wxPanel
*arg1
= (wxPanel
*) 0 ;
1181 wxWindow
*arg2
= (wxWindow
*) 0 ;
1183 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1184 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1185 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1186 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1187 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1188 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1189 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1193 bool temp7
= False
;
1194 PyObject
* obj0
= 0 ;
1195 PyObject
* obj1
= 0 ;
1196 PyObject
* obj2
= 0 ;
1197 PyObject
* obj3
= 0 ;
1198 PyObject
* obj4
= 0 ;
1199 PyObject
* obj5
= 0 ;
1200 PyObject
* obj6
= 0 ;
1202 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1207 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1209 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
1210 if (PyErr_Occurred()) SWIG_fail
;
1215 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1221 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1226 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1227 if (PyErr_Occurred()) SWIG_fail
;
1232 arg7
= wxString_in_helper(obj6
);
1233 if (arg7
== NULL
) SWIG_fail
;
1238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1239 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1241 wxPyEndAllowThreads(__tstate
);
1242 if (PyErr_Occurred()) SWIG_fail
;
1244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1259 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1260 PyObject
*resultobj
;
1261 wxPanel
*arg1
= (wxPanel
*) 0 ;
1262 PyObject
* obj0
= 0 ;
1264 (char *) "self", NULL
1267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1271 (arg1
)->InitDialog();
1273 wxPyEndAllowThreads(__tstate
);
1274 if (PyErr_Occurred()) SWIG_fail
;
1276 Py_INCREF(Py_None
); resultobj
= Py_None
;
1283 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1285 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1286 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1288 return Py_BuildValue((char *)"");
1290 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1291 PyObject
*resultobj
;
1292 wxWindow
*arg1
= (wxWindow
*) 0 ;
1293 int arg2
= (int) (int)-1 ;
1294 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1295 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1296 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1297 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1298 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1299 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1300 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1301 wxScrolledWindow
*result
;
1304 bool temp6
= False
;
1305 PyObject
* obj0
= 0 ;
1306 PyObject
* obj1
= 0 ;
1307 PyObject
* obj2
= 0 ;
1308 PyObject
* obj3
= 0 ;
1309 PyObject
* obj4
= 0 ;
1310 PyObject
* obj5
= 0 ;
1312 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1319 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
1320 if (PyErr_Occurred()) SWIG_fail
;
1326 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1332 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1337 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
1338 if (PyErr_Occurred()) SWIG_fail
;
1343 arg6
= wxString_in_helper(obj5
);
1344 if (arg6
== NULL
) SWIG_fail
;
1349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1350 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1352 wxPyEndAllowThreads(__tstate
);
1353 if (PyErr_Occurred()) SWIG_fail
;
1355 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrolledWindow
, 1);
1370 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1371 PyObject
*resultobj
;
1372 wxScrolledWindow
*result
;
1377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1380 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1382 wxPyEndAllowThreads(__tstate
);
1383 if (PyErr_Occurred()) SWIG_fail
;
1385 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrolledWindow
, 1);
1392 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1393 PyObject
*resultobj
;
1394 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1395 wxWindow
*arg2
= (wxWindow
*) 0 ;
1396 int arg3
= (int) (int)-1 ;
1397 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1398 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1399 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1400 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1401 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1402 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1403 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1407 bool temp7
= False
;
1408 PyObject
* obj0
= 0 ;
1409 PyObject
* obj1
= 0 ;
1410 PyObject
* obj2
= 0 ;
1411 PyObject
* obj3
= 0 ;
1412 PyObject
* obj4
= 0 ;
1413 PyObject
* obj5
= 0 ;
1414 PyObject
* obj6
= 0 ;
1416 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1421 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1424 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
1425 if (PyErr_Occurred()) SWIG_fail
;
1431 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1437 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1442 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1443 if (PyErr_Occurred()) SWIG_fail
;
1448 arg7
= wxString_in_helper(obj6
);
1449 if (arg7
== NULL
) SWIG_fail
;
1454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1455 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1457 wxPyEndAllowThreads(__tstate
);
1458 if (PyErr_Occurred()) SWIG_fail
;
1460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1475 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1476 PyObject
*resultobj
;
1477 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1482 int arg6
= (int) 0 ;
1483 int arg7
= (int) 0 ;
1484 bool arg8
= (bool) False
;
1485 PyObject
* obj0
= 0 ;
1486 PyObject
* obj1
= 0 ;
1487 PyObject
* obj2
= 0 ;
1488 PyObject
* obj3
= 0 ;
1489 PyObject
* obj4
= 0 ;
1490 PyObject
* obj5
= 0 ;
1491 PyObject
* obj6
= 0 ;
1492 PyObject
* obj7
= 0 ;
1494 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1500 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1501 if (PyErr_Occurred()) SWIG_fail
;
1504 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1505 if (PyErr_Occurred()) SWIG_fail
;
1508 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
1509 if (PyErr_Occurred()) SWIG_fail
;
1512 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
1513 if (PyErr_Occurred()) SWIG_fail
;
1517 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
1518 if (PyErr_Occurred()) SWIG_fail
;
1523 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
1524 if (PyErr_Occurred()) SWIG_fail
;
1529 arg8
= (bool) SWIG_PyObj_AsBool(obj7
);
1530 if (PyErr_Occurred()) SWIG_fail
;
1534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1535 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1537 wxPyEndAllowThreads(__tstate
);
1538 if (PyErr_Occurred()) SWIG_fail
;
1540 Py_INCREF(Py_None
); resultobj
= Py_None
;
1547 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1548 PyObject
*resultobj
;
1549 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1552 PyObject
* obj0
= 0 ;
1553 PyObject
* obj1
= 0 ;
1554 PyObject
* obj2
= 0 ;
1556 (char *) "self",(char *) "x",(char *) "y", NULL
1559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1562 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1563 if (PyErr_Occurred()) SWIG_fail
;
1566 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1567 if (PyErr_Occurred()) SWIG_fail
;
1570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1571 (arg1
)->Scroll(arg2
,arg3
);
1573 wxPyEndAllowThreads(__tstate
);
1574 if (PyErr_Occurred()) SWIG_fail
;
1576 Py_INCREF(Py_None
); resultobj
= Py_None
;
1583 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1584 PyObject
*resultobj
;
1585 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1588 PyObject
* obj0
= 0 ;
1589 PyObject
* obj1
= 0 ;
1591 (char *) "self",(char *) "orient", NULL
1594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1597 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1598 if (PyErr_Occurred()) SWIG_fail
;
1601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1602 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1604 wxPyEndAllowThreads(__tstate
);
1605 if (PyErr_Occurred()) SWIG_fail
;
1607 resultobj
= SWIG_PyObj_FromInt((int)result
);
1614 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1615 PyObject
*resultobj
;
1616 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1619 PyObject
* obj0
= 0 ;
1620 PyObject
* obj1
= 0 ;
1621 PyObject
* obj2
= 0 ;
1623 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1629 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1630 if (PyErr_Occurred()) SWIG_fail
;
1633 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1634 if (PyErr_Occurred()) SWIG_fail
;
1637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1638 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1640 wxPyEndAllowThreads(__tstate
);
1641 if (PyErr_Occurred()) SWIG_fail
;
1643 Py_INCREF(Py_None
); resultobj
= Py_None
;
1650 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1651 PyObject
*resultobj
;
1652 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1655 PyObject
* obj0
= 0 ;
1656 PyObject
* obj1
= 0 ;
1657 PyObject
* obj2
= 0 ;
1659 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1665 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1666 if (PyErr_Occurred()) SWIG_fail
;
1669 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1670 if (PyErr_Occurred()) SWIG_fail
;
1673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1674 (arg1
)->SetScrollRate(arg2
,arg3
);
1676 wxPyEndAllowThreads(__tstate
);
1677 if (PyErr_Occurred()) SWIG_fail
;
1679 Py_INCREF(Py_None
); resultobj
= Py_None
;
1686 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1687 PyObject
*resultobj
;
1688 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1689 int *arg2
= (int *) 0 ;
1690 int *arg3
= (int *) 0 ;
1693 PyObject
* obj0
= 0 ;
1695 (char *) "self", NULL
1700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1704 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1706 wxPyEndAllowThreads(__tstate
);
1707 if (PyErr_Occurred()) SWIG_fail
;
1709 Py_INCREF(Py_None
); resultobj
= Py_None
;
1711 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1712 resultobj
= t_output_helper(resultobj
,o
);
1715 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1716 resultobj
= t_output_helper(resultobj
,o
);
1724 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1725 PyObject
*resultobj
;
1726 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1729 PyObject
* obj0
= 0 ;
1730 PyObject
* obj1
= 0 ;
1731 PyObject
* obj2
= 0 ;
1733 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1739 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
1740 if (PyErr_Occurred()) SWIG_fail
;
1743 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
1744 if (PyErr_Occurred()) SWIG_fail
;
1747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1748 (arg1
)->EnableScrolling(arg2
,arg3
);
1750 wxPyEndAllowThreads(__tstate
);
1751 if (PyErr_Occurred()) SWIG_fail
;
1753 Py_INCREF(Py_None
); resultobj
= Py_None
;
1760 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1761 PyObject
*resultobj
;
1762 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1763 int *arg2
= (int *) 0 ;
1764 int *arg3
= (int *) 0 ;
1767 PyObject
* obj0
= 0 ;
1769 (char *) "self", NULL
1774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1778 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1780 wxPyEndAllowThreads(__tstate
);
1781 if (PyErr_Occurred()) SWIG_fail
;
1783 Py_INCREF(Py_None
); resultobj
= Py_None
;
1785 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1786 resultobj
= t_output_helper(resultobj
,o
);
1789 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1790 resultobj
= t_output_helper(resultobj
,o
);
1798 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1799 PyObject
*resultobj
;
1800 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1803 PyObject
* obj0
= 0 ;
1804 PyObject
* obj1
= 0 ;
1805 PyObject
* obj2
= 0 ;
1807 (char *) "self",(char *) "xs",(char *) "ys", NULL
1810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1813 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
1814 if (PyErr_Occurred()) SWIG_fail
;
1817 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
1818 if (PyErr_Occurred()) SWIG_fail
;
1821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1822 (arg1
)->SetScale(arg2
,arg3
);
1824 wxPyEndAllowThreads(__tstate
);
1825 if (PyErr_Occurred()) SWIG_fail
;
1827 Py_INCREF(Py_None
); resultobj
= Py_None
;
1834 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1835 PyObject
*resultobj
;
1836 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1838 PyObject
* obj0
= 0 ;
1840 (char *) "self", NULL
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
1844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1847 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
1849 wxPyEndAllowThreads(__tstate
);
1850 if (PyErr_Occurred()) SWIG_fail
;
1852 resultobj
= SWIG_PyObj_FromDouble((double)result
);
1859 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1860 PyObject
*resultobj
;
1861 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1863 PyObject
* obj0
= 0 ;
1865 (char *) "self", NULL
1868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
1869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1872 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
1874 wxPyEndAllowThreads(__tstate
);
1875 if (PyErr_Occurred()) SWIG_fail
;
1877 resultobj
= SWIG_PyObj_FromDouble((double)result
);
1884 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
1885 PyObject
*resultobj
;
1886 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1890 PyObject
* obj0
= 0 ;
1891 PyObject
* obj1
= 0 ;
1893 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
1894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1897 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1901 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
1903 wxPyEndAllowThreads(__tstate
);
1904 if (PyErr_Occurred()) SWIG_fail
;
1907 wxPoint
* resultptr
;
1908 resultptr
= new wxPoint((wxPoint
&) result
);
1909 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
1917 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
1918 PyObject
*resultobj
;
1919 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1922 int *arg4
= (int *) 0 ;
1923 int *arg5
= (int *) 0 ;
1926 PyObject
* obj0
= 0 ;
1927 PyObject
* obj1
= 0 ;
1928 PyObject
* obj2
= 0 ;
1932 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
1933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1935 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1936 if (PyErr_Occurred()) SWIG_fail
;
1939 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1940 if (PyErr_Occurred()) SWIG_fail
;
1943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1944 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
1946 wxPyEndAllowThreads(__tstate
);
1947 if (PyErr_Occurred()) SWIG_fail
;
1949 Py_INCREF(Py_None
); resultobj
= Py_None
;
1951 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1952 resultobj
= t_output_helper(resultobj
,o
);
1955 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1956 resultobj
= t_output_helper(resultobj
,o
);
1964 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
1969 argc
= PyObject_Length(args
);
1970 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
1971 argv
[ii
] = PyTuple_GetItem(args
,ii
);
1977 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
1986 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
1989 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
1997 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2006 SWIG_PyObj_AsInt(argv
[1]);
2007 if (PyErr_Occurred()) {
2016 SWIG_PyObj_AsInt(argv
[2]);
2017 if (PyErr_Occurred()) {
2025 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2031 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2036 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2037 PyObject
*resultobj
;
2038 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2042 PyObject
* obj0
= 0 ;
2043 PyObject
* obj1
= 0 ;
2045 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2049 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2053 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2055 wxPyEndAllowThreads(__tstate
);
2056 if (PyErr_Occurred()) SWIG_fail
;
2059 wxPoint
* resultptr
;
2060 resultptr
= new wxPoint((wxPoint
&) result
);
2061 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2069 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2070 PyObject
*resultobj
;
2071 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2074 int *arg4
= (int *) 0 ;
2075 int *arg5
= (int *) 0 ;
2078 PyObject
* obj0
= 0 ;
2079 PyObject
* obj1
= 0 ;
2080 PyObject
* obj2
= 0 ;
2084 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2087 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2088 if (PyErr_Occurred()) SWIG_fail
;
2091 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2092 if (PyErr_Occurred()) SWIG_fail
;
2095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2096 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2098 wxPyEndAllowThreads(__tstate
);
2099 if (PyErr_Occurred()) SWIG_fail
;
2101 Py_INCREF(Py_None
); resultobj
= Py_None
;
2103 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2104 resultobj
= t_output_helper(resultobj
,o
);
2107 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2108 resultobj
= t_output_helper(resultobj
,o
);
2116 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2121 argc
= PyObject_Length(args
);
2122 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2123 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2129 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2138 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2141 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2149 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2158 SWIG_PyObj_AsInt(argv
[1]);
2159 if (PyErr_Occurred()) {
2168 SWIG_PyObj_AsInt(argv
[2]);
2169 if (PyErr_Occurred()) {
2177 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2183 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2188 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2189 PyObject
*resultobj
;
2190 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2191 PyObject
* obj0
= 0 ;
2193 (char *) "self", NULL
2196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2200 (arg1
)->AdjustScrollbars();
2202 wxPyEndAllowThreads(__tstate
);
2203 if (PyErr_Occurred()) SWIG_fail
;
2205 Py_INCREF(Py_None
); resultobj
= Py_None
;
2212 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2213 PyObject
*resultobj
;
2214 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2215 wxScrollWinEvent
*arg2
= 0 ;
2217 PyObject
* obj0
= 0 ;
2218 PyObject
* obj1
= 0 ;
2220 (char *) "self",(char *) "event", NULL
2223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2225 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2227 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2231 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2233 wxPyEndAllowThreads(__tstate
);
2234 if (PyErr_Occurred()) SWIG_fail
;
2236 resultobj
= SWIG_PyObj_FromInt((int)result
);
2243 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2244 PyObject
*resultobj
;
2245 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2246 wxWindow
*arg2
= (wxWindow
*) 0 ;
2247 PyObject
* obj0
= 0 ;
2248 PyObject
* obj1
= 0 ;
2250 (char *) "self",(char *) "target", NULL
2253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2255 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2258 (arg1
)->SetTargetWindow(arg2
);
2260 wxPyEndAllowThreads(__tstate
);
2261 if (PyErr_Occurred()) SWIG_fail
;
2263 Py_INCREF(Py_None
); resultobj
= Py_None
;
2270 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2271 PyObject
*resultobj
;
2272 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2274 PyObject
* obj0
= 0 ;
2276 (char *) "self", NULL
2279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2283 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2285 wxPyEndAllowThreads(__tstate
);
2286 if (PyErr_Occurred()) SWIG_fail
;
2289 resultobj
= wxPyMake_wxObject(result
);
2297 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2298 PyObject
*resultobj
;
2299 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2302 PyObject
* obj0
= 0 ;
2303 PyObject
* obj1
= 0 ;
2305 (char *) "self",(char *) "rect", NULL
2308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2312 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2316 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2318 wxPyEndAllowThreads(__tstate
);
2319 if (PyErr_Occurred()) SWIG_fail
;
2321 Py_INCREF(Py_None
); resultobj
= Py_None
;
2328 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2329 PyObject
*resultobj
;
2330 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2332 PyObject
* obj0
= 0 ;
2334 (char *) "self", NULL
2337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2341 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2343 wxPyEndAllowThreads(__tstate
);
2344 if (PyErr_Occurred()) SWIG_fail
;
2348 resultptr
= new wxRect((wxRect
&) result
);
2349 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
2357 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2359 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2360 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2362 return Py_BuildValue((char *)"");
2364 static int _wrap_FrameNameStr_set(PyObject
*) {
2365 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2370 static PyObject
*_wrap_FrameNameStr_get() {
2375 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2377 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2384 static int _wrap_DialogNameStr_set(PyObject
*) {
2385 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2390 static PyObject
*_wrap_DialogNameStr_get() {
2395 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2397 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2404 static int _wrap_StatusLineNameStr_set(PyObject
*) {
2405 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2410 static PyObject
*_wrap_StatusLineNameStr_get() {
2415 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2417 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2424 static int _wrap_ToolBarNameStr_set(PyObject
*) {
2425 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2430 static PyObject
*_wrap_ToolBarNameStr_get() {
2435 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2437 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2444 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
*resultobj
;
2446 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2447 bool arg2
= (bool) True
;
2448 PyObject
* obj0
= 0 ;
2449 PyObject
* obj1
= 0 ;
2451 (char *) "self",(char *) "maximize", NULL
2454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2458 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2459 if (PyErr_Occurred()) SWIG_fail
;
2463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2464 (arg1
)->Maximize(arg2
);
2466 wxPyEndAllowThreads(__tstate
);
2467 if (PyErr_Occurred()) SWIG_fail
;
2469 Py_INCREF(Py_None
); resultobj
= Py_None
;
2476 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2477 PyObject
*resultobj
;
2478 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2479 PyObject
* obj0
= 0 ;
2481 (char *) "self", NULL
2484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2490 wxPyEndAllowThreads(__tstate
);
2491 if (PyErr_Occurred()) SWIG_fail
;
2493 Py_INCREF(Py_None
); resultobj
= Py_None
;
2500 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2501 PyObject
*resultobj
;
2502 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2503 bool arg2
= (bool) True
;
2504 PyObject
* obj0
= 0 ;
2505 PyObject
* obj1
= 0 ;
2507 (char *) "self",(char *) "iconize", NULL
2510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2514 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2515 if (PyErr_Occurred()) SWIG_fail
;
2519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2520 (arg1
)->Iconize(arg2
);
2522 wxPyEndAllowThreads(__tstate
);
2523 if (PyErr_Occurred()) SWIG_fail
;
2525 Py_INCREF(Py_None
); resultobj
= Py_None
;
2532 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2533 PyObject
*resultobj
;
2534 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2536 PyObject
* obj0
= 0 ;
2538 (char *) "self", NULL
2541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2545 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2547 wxPyEndAllowThreads(__tstate
);
2548 if (PyErr_Occurred()) SWIG_fail
;
2550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2557 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2558 PyObject
*resultobj
;
2559 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2561 PyObject
* obj0
= 0 ;
2563 (char *) "self", NULL
2566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2570 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2572 wxPyEndAllowThreads(__tstate
);
2573 if (PyErr_Occurred()) SWIG_fail
;
2575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2582 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2583 PyObject
*resultobj
;
2584 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2586 PyObject
* obj0
= 0 ;
2588 (char *) "self", NULL
2591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2595 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2597 wxPyEndAllowThreads(__tstate
);
2598 if (PyErr_Occurred()) SWIG_fail
;
2602 resultptr
= new wxIcon((wxIcon
&) result
);
2603 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1);
2611 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2612 PyObject
*resultobj
;
2613 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2615 PyObject
* obj0
= 0 ;
2616 PyObject
* obj1
= 0 ;
2618 (char *) "self",(char *) "icon", NULL
2621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2623 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2625 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2629 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2631 wxPyEndAllowThreads(__tstate
);
2632 if (PyErr_Occurred()) SWIG_fail
;
2634 Py_INCREF(Py_None
); resultobj
= Py_None
;
2641 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2642 PyObject
*resultobj
;
2643 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2644 wxIconBundle
*arg2
= 0 ;
2645 PyObject
* obj0
= 0 ;
2646 PyObject
* obj1
= 0 ;
2648 (char *) "self",(char *) "icons", NULL
2651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2653 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2655 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2659 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2661 wxPyEndAllowThreads(__tstate
);
2662 if (PyErr_Occurred()) SWIG_fail
;
2664 Py_INCREF(Py_None
); resultobj
= Py_None
;
2671 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2672 PyObject
*resultobj
;
2673 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2675 long arg3
= (long) wxFULLSCREEN_ALL
;
2677 PyObject
* obj0
= 0 ;
2678 PyObject
* obj1
= 0 ;
2679 PyObject
* obj2
= 0 ;
2681 (char *) "self",(char *) "show",(char *) "style", NULL
2684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2687 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2688 if (PyErr_Occurred()) SWIG_fail
;
2692 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
2693 if (PyErr_Occurred()) SWIG_fail
;
2697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2698 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2700 wxPyEndAllowThreads(__tstate
);
2701 if (PyErr_Occurred()) SWIG_fail
;
2703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2710 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2711 PyObject
*resultobj
;
2712 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2714 PyObject
* obj0
= 0 ;
2716 (char *) "self", NULL
2719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2723 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2725 wxPyEndAllowThreads(__tstate
);
2726 if (PyErr_Occurred()) SWIG_fail
;
2728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2735 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2736 PyObject
*resultobj
;
2737 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2738 wxString
*arg2
= 0 ;
2739 bool temp2
= False
;
2740 PyObject
* obj0
= 0 ;
2741 PyObject
* obj1
= 0 ;
2743 (char *) "self",(char *) "title", NULL
2746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2749 arg2
= wxString_in_helper(obj1
);
2750 if (arg2
== NULL
) SWIG_fail
;
2754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2755 (arg1
)->SetTitle((wxString
const &)*arg2
);
2757 wxPyEndAllowThreads(__tstate
);
2758 if (PyErr_Occurred()) SWIG_fail
;
2760 Py_INCREF(Py_None
); resultobj
= Py_None
;
2775 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2776 PyObject
*resultobj
;
2777 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2779 PyObject
* obj0
= 0 ;
2781 (char *) "self", NULL
2784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2788 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2790 wxPyEndAllowThreads(__tstate
);
2791 if (PyErr_Occurred()) SWIG_fail
;
2795 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2797 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2806 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2807 PyObject
*resultobj
;
2808 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2809 wxRegion
*arg2
= 0 ;
2811 PyObject
* obj0
= 0 ;
2812 PyObject
* obj1
= 0 ;
2814 (char *) "self",(char *) "region", NULL
2817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTopLevelWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2819 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2821 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2825 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2827 wxPyEndAllowThreads(__tstate
);
2828 if (PyErr_Occurred()) SWIG_fail
;
2830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2837 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2840 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
2842 return Py_BuildValue((char *)"");
2844 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2845 PyObject
*resultobj
;
2846 wxWindow
*arg1
= (wxWindow
*) 0 ;
2848 wxString
*arg3
= 0 ;
2849 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2850 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2851 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2852 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2853 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
2854 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
2855 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2857 bool temp3
= False
;
2860 bool temp7
= False
;
2861 PyObject
* obj0
= 0 ;
2862 PyObject
* obj1
= 0 ;
2863 PyObject
* obj2
= 0 ;
2864 PyObject
* obj3
= 0 ;
2865 PyObject
* obj4
= 0 ;
2866 PyObject
* obj5
= 0 ;
2867 PyObject
* obj6
= 0 ;
2869 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2875 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
2876 if (PyErr_Occurred()) SWIG_fail
;
2879 arg3
= wxString_in_helper(obj2
);
2880 if (arg3
== NULL
) SWIG_fail
;
2886 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2892 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2897 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
2898 if (PyErr_Occurred()) SWIG_fail
;
2903 arg7
= wxString_in_helper(obj6
);
2904 if (arg7
== NULL
) SWIG_fail
;
2909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2910 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2912 wxPyEndAllowThreads(__tstate
);
2913 if (PyErr_Occurred()) SWIG_fail
;
2916 resultobj
= wxPyMake_wxObject(result
);
2940 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2941 PyObject
*resultobj
;
2947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
2949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2950 result
= (wxFrame
*)new wxFrame();
2952 wxPyEndAllowThreads(__tstate
);
2953 if (PyErr_Occurred()) SWIG_fail
;
2956 resultobj
= wxPyMake_wxObject(result
);
2964 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2965 PyObject
*resultobj
;
2966 wxFrame
*arg1
= (wxFrame
*) 0 ;
2967 wxWindow
*arg2
= (wxWindow
*) 0 ;
2969 wxString
*arg4
= 0 ;
2970 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2971 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2972 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2973 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2974 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
2975 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
2976 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2978 bool temp4
= False
;
2981 bool temp8
= False
;
2982 PyObject
* obj0
= 0 ;
2983 PyObject
* obj1
= 0 ;
2984 PyObject
* obj2
= 0 ;
2985 PyObject
* obj3
= 0 ;
2986 PyObject
* obj4
= 0 ;
2987 PyObject
* obj5
= 0 ;
2988 PyObject
* obj6
= 0 ;
2989 PyObject
* obj7
= 0 ;
2991 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2996 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2998 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
2999 if (PyErr_Occurred()) SWIG_fail
;
3002 arg4
= wxString_in_helper(obj3
);
3003 if (arg4
== NULL
) SWIG_fail
;
3009 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3015 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3020 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
3021 if (PyErr_Occurred()) SWIG_fail
;
3026 arg8
= wxString_in_helper(obj7
);
3027 if (arg8
== NULL
) SWIG_fail
;
3032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3033 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3035 wxPyEndAllowThreads(__tstate
);
3036 if (PyErr_Occurred()) SWIG_fail
;
3038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3061 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3062 PyObject
*resultobj
;
3063 wxFrame
*arg1
= (wxFrame
*) 0 ;
3065 PyObject
* obj0
= 0 ;
3067 (char *) "self", NULL
3070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3074 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3076 wxPyEndAllowThreads(__tstate
);
3077 if (PyErr_Occurred()) SWIG_fail
;
3080 wxPoint
* resultptr
;
3081 resultptr
= new wxPoint((wxPoint
&) result
);
3082 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3090 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3091 PyObject
*resultobj
;
3092 wxFrame
*arg1
= (wxFrame
*) 0 ;
3093 PyObject
* obj0
= 0 ;
3095 (char *) "self", NULL
3098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3102 (arg1
)->SendSizeEvent();
3104 wxPyEndAllowThreads(__tstate
);
3105 if (PyErr_Occurred()) SWIG_fail
;
3107 Py_INCREF(Py_None
); resultobj
= Py_None
;
3114 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3115 PyObject
*resultobj
;
3116 wxFrame
*arg1
= (wxFrame
*) 0 ;
3117 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3118 PyObject
* obj0
= 0 ;
3119 PyObject
* obj1
= 0 ;
3121 (char *) "self",(char *) "menubar", NULL
3124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3126 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3129 (arg1
)->SetMenuBar(arg2
);
3131 wxPyEndAllowThreads(__tstate
);
3132 if (PyErr_Occurred()) SWIG_fail
;
3134 Py_INCREF(Py_None
); resultobj
= Py_None
;
3141 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3142 PyObject
*resultobj
;
3143 wxFrame
*arg1
= (wxFrame
*) 0 ;
3145 PyObject
* obj0
= 0 ;
3147 (char *) "self", NULL
3150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3154 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3156 wxPyEndAllowThreads(__tstate
);
3157 if (PyErr_Occurred()) SWIG_fail
;
3160 resultobj
= wxPyMake_wxObject(result
);
3168 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3169 PyObject
*resultobj
;
3170 wxFrame
*arg1
= (wxFrame
*) 0 ;
3173 PyObject
* obj0
= 0 ;
3174 PyObject
* obj1
= 0 ;
3176 (char *) "self",(char *) "winid", NULL
3179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3182 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3183 if (PyErr_Occurred()) SWIG_fail
;
3186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3187 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3189 wxPyEndAllowThreads(__tstate
);
3190 if (PyErr_Occurred()) SWIG_fail
;
3192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3199 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3200 PyObject
*resultobj
;
3201 wxFrame
*arg1
= (wxFrame
*) 0 ;
3202 int arg2
= (int) 1 ;
3203 long arg3
= (long) wxST_SIZEGRIP
;
3204 int arg4
= (int) 0 ;
3205 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3206 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3207 wxStatusBar
*result
;
3208 bool temp5
= False
;
3209 PyObject
* obj0
= 0 ;
3210 PyObject
* obj1
= 0 ;
3211 PyObject
* obj2
= 0 ;
3212 PyObject
* obj3
= 0 ;
3213 PyObject
* obj4
= 0 ;
3215 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3222 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3223 if (PyErr_Occurred()) SWIG_fail
;
3228 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3229 if (PyErr_Occurred()) SWIG_fail
;
3234 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
3235 if (PyErr_Occurred()) SWIG_fail
;
3240 arg5
= wxString_in_helper(obj4
);
3241 if (arg5
== NULL
) SWIG_fail
;
3246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3247 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3249 wxPyEndAllowThreads(__tstate
);
3250 if (PyErr_Occurred()) SWIG_fail
;
3253 resultobj
= wxPyMake_wxObject(result
);
3269 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3270 PyObject
*resultobj
;
3271 wxFrame
*arg1
= (wxFrame
*) 0 ;
3272 wxStatusBar
*result
;
3273 PyObject
* obj0
= 0 ;
3275 (char *) "self", NULL
3278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3282 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3284 wxPyEndAllowThreads(__tstate
);
3285 if (PyErr_Occurred()) SWIG_fail
;
3288 resultobj
= wxPyMake_wxObject(result
);
3296 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3297 PyObject
*resultobj
;
3298 wxFrame
*arg1
= (wxFrame
*) 0 ;
3299 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3300 PyObject
* obj0
= 0 ;
3301 PyObject
* obj1
= 0 ;
3303 (char *) "self",(char *) "statBar", NULL
3306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3308 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3311 (arg1
)->SetStatusBar(arg2
);
3313 wxPyEndAllowThreads(__tstate
);
3314 if (PyErr_Occurred()) SWIG_fail
;
3316 Py_INCREF(Py_None
); resultobj
= Py_None
;
3323 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3324 PyObject
*resultobj
;
3325 wxFrame
*arg1
= (wxFrame
*) 0 ;
3326 wxString
*arg2
= 0 ;
3327 int arg3
= (int) 0 ;
3328 bool temp2
= False
;
3329 PyObject
* obj0
= 0 ;
3330 PyObject
* obj1
= 0 ;
3331 PyObject
* obj2
= 0 ;
3333 (char *) "self",(char *) "text",(char *) "number", NULL
3336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3339 arg2
= wxString_in_helper(obj1
);
3340 if (arg2
== NULL
) SWIG_fail
;
3345 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3346 if (PyErr_Occurred()) SWIG_fail
;
3350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3351 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3353 wxPyEndAllowThreads(__tstate
);
3354 if (PyErr_Occurred()) SWIG_fail
;
3356 Py_INCREF(Py_None
); resultobj
= Py_None
;
3371 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
*resultobj
;
3373 wxFrame
*arg1
= (wxFrame
*) 0 ;
3375 int *arg3
= (int *) 0 ;
3376 PyObject
* obj0
= 0 ;
3377 PyObject
* obj1
= 0 ;
3379 (char *) "self",(char *) "widths", NULL
3382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3385 arg2
= PyList_Size(obj1
);
3386 arg3
= int_LIST_helper(obj1
);
3387 if (arg3
== NULL
) SWIG_fail
;
3390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3391 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3393 wxPyEndAllowThreads(__tstate
);
3394 if (PyErr_Occurred()) SWIG_fail
;
3396 Py_INCREF(Py_None
); resultobj
= Py_None
;
3398 if (arg3
) delete [] arg3
;
3403 if (arg3
) delete [] arg3
;
3409 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3410 PyObject
*resultobj
;
3411 wxFrame
*arg1
= (wxFrame
*) 0 ;
3412 wxString
*arg2
= 0 ;
3413 int arg3
= (int) 0 ;
3414 bool temp2
= False
;
3415 PyObject
* obj0
= 0 ;
3416 PyObject
* obj1
= 0 ;
3417 PyObject
* obj2
= 0 ;
3419 (char *) "self",(char *) "text",(char *) "number", NULL
3422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3425 arg2
= wxString_in_helper(obj1
);
3426 if (arg2
== NULL
) SWIG_fail
;
3431 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3432 if (PyErr_Occurred()) SWIG_fail
;
3436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3437 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3439 wxPyEndAllowThreads(__tstate
);
3440 if (PyErr_Occurred()) SWIG_fail
;
3442 Py_INCREF(Py_None
); resultobj
= Py_None
;
3457 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3458 PyObject
*resultobj
;
3459 wxFrame
*arg1
= (wxFrame
*) 0 ;
3460 int arg2
= (int) 0 ;
3461 PyObject
* obj0
= 0 ;
3462 PyObject
* obj1
= 0 ;
3464 (char *) "self",(char *) "number", NULL
3467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3471 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3477 (arg1
)->PopStatusText(arg2
);
3479 wxPyEndAllowThreads(__tstate
);
3480 if (PyErr_Occurred()) SWIG_fail
;
3482 Py_INCREF(Py_None
); resultobj
= Py_None
;
3489 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3490 PyObject
*resultobj
;
3491 wxFrame
*arg1
= (wxFrame
*) 0 ;
3493 PyObject
* obj0
= 0 ;
3494 PyObject
* obj1
= 0 ;
3496 (char *) "self",(char *) "n", NULL
3499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3502 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3503 if (PyErr_Occurred()) SWIG_fail
;
3506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3507 (arg1
)->SetStatusBarPane(arg2
);
3509 wxPyEndAllowThreads(__tstate
);
3510 if (PyErr_Occurred()) SWIG_fail
;
3512 Py_INCREF(Py_None
); resultobj
= Py_None
;
3519 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3520 PyObject
*resultobj
;
3521 wxFrame
*arg1
= (wxFrame
*) 0 ;
3523 PyObject
* obj0
= 0 ;
3525 (char *) "self", NULL
3528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3532 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3534 wxPyEndAllowThreads(__tstate
);
3535 if (PyErr_Occurred()) SWIG_fail
;
3537 resultobj
= SWIG_PyObj_FromInt((int)result
);
3544 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3545 PyObject
*resultobj
;
3546 wxFrame
*arg1
= (wxFrame
*) 0 ;
3547 long arg2
= (long) -1 ;
3548 int arg3
= (int) -1 ;
3549 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3550 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3552 bool temp4
= False
;
3553 PyObject
* obj0
= 0 ;
3554 PyObject
* obj1
= 0 ;
3555 PyObject
* obj2
= 0 ;
3556 PyObject
* obj3
= 0 ;
3558 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3565 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3566 if (PyErr_Occurred()) SWIG_fail
;
3571 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3572 if (PyErr_Occurred()) SWIG_fail
;
3577 arg4
= wxString_in_helper(obj3
);
3578 if (arg4
== NULL
) SWIG_fail
;
3583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3584 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3586 wxPyEndAllowThreads(__tstate
);
3587 if (PyErr_Occurred()) SWIG_fail
;
3590 resultobj
= wxPyMake_wxObject(result
);
3606 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3607 PyObject
*resultobj
;
3608 wxFrame
*arg1
= (wxFrame
*) 0 ;
3610 PyObject
* obj0
= 0 ;
3612 (char *) "self", NULL
3615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3619 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3621 wxPyEndAllowThreads(__tstate
);
3622 if (PyErr_Occurred()) SWIG_fail
;
3625 resultobj
= wxPyMake_wxObject(result
);
3633 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3634 PyObject
*resultobj
;
3635 wxFrame
*arg1
= (wxFrame
*) 0 ;
3636 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3637 PyObject
* obj0
= 0 ;
3638 PyObject
* obj1
= 0 ;
3640 (char *) "self",(char *) "toolbar", NULL
3643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3645 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3648 (arg1
)->SetToolBar(arg2
);
3650 wxPyEndAllowThreads(__tstate
);
3651 if (PyErr_Occurred()) SWIG_fail
;
3653 Py_INCREF(Py_None
); resultobj
= Py_None
;
3660 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3661 PyObject
*resultobj
;
3662 wxFrame
*arg1
= (wxFrame
*) 0 ;
3663 wxString
*arg2
= 0 ;
3665 bool temp2
= False
;
3666 PyObject
* obj0
= 0 ;
3667 PyObject
* obj1
= 0 ;
3668 PyObject
* obj2
= 0 ;
3670 (char *) "self",(char *) "text",(char *) "show", NULL
3673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3676 arg2
= wxString_in_helper(obj1
);
3677 if (arg2
== NULL
) SWIG_fail
;
3681 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
3682 if (PyErr_Occurred()) SWIG_fail
;
3685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3686 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3688 wxPyEndAllowThreads(__tstate
);
3689 if (PyErr_Occurred()) SWIG_fail
;
3691 Py_INCREF(Py_None
); resultobj
= Py_None
;
3706 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3707 PyObject
*resultobj
;
3708 wxFrame
*arg1
= (wxFrame
*) 0 ;
3709 wxMenu
*arg2
= (wxMenu
*) NULL
;
3710 PyObject
* obj0
= 0 ;
3711 PyObject
* obj1
= 0 ;
3713 (char *) "self",(char *) "menu", NULL
3716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3719 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3723 (arg1
)->DoMenuUpdates(arg2
);
3725 wxPyEndAllowThreads(__tstate
);
3726 if (PyErr_Occurred()) SWIG_fail
;
3728 Py_INCREF(Py_None
); resultobj
= Py_None
;
3735 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3738 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3740 return Py_BuildValue((char *)"");
3742 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
*resultobj
;
3744 wxWindow
*arg1
= (wxWindow
*) 0 ;
3746 wxString
*arg3
= 0 ;
3747 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3748 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3749 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3750 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3751 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3752 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3753 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3755 bool temp3
= False
;
3758 bool temp7
= False
;
3759 PyObject
* obj0
= 0 ;
3760 PyObject
* obj1
= 0 ;
3761 PyObject
* obj2
= 0 ;
3762 PyObject
* obj3
= 0 ;
3763 PyObject
* obj4
= 0 ;
3764 PyObject
* obj5
= 0 ;
3765 PyObject
* obj6
= 0 ;
3767 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3773 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
3774 if (PyErr_Occurred()) SWIG_fail
;
3777 arg3
= wxString_in_helper(obj2
);
3778 if (arg3
== NULL
) SWIG_fail
;
3784 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3790 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3795 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
3796 if (PyErr_Occurred()) SWIG_fail
;
3801 arg7
= wxString_in_helper(obj6
);
3802 if (arg7
== NULL
) SWIG_fail
;
3807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3808 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3810 wxPyEndAllowThreads(__tstate
);
3811 if (PyErr_Occurred()) SWIG_fail
;
3813 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3836 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3837 PyObject
*resultobj
;
3843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
3845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3846 result
= (wxDialog
*)new wxDialog();
3848 wxPyEndAllowThreads(__tstate
);
3849 if (PyErr_Occurred()) SWIG_fail
;
3851 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDialog
, 1);
3858 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3859 PyObject
*resultobj
;
3860 wxDialog
*arg1
= (wxDialog
*) 0 ;
3861 wxWindow
*arg2
= (wxWindow
*) 0 ;
3863 wxString
*arg4
= 0 ;
3864 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3865 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3866 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3867 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3868 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
3869 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
3870 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3872 bool temp4
= False
;
3875 bool temp8
= False
;
3876 PyObject
* obj0
= 0 ;
3877 PyObject
* obj1
= 0 ;
3878 PyObject
* obj2
= 0 ;
3879 PyObject
* obj3
= 0 ;
3880 PyObject
* obj4
= 0 ;
3881 PyObject
* obj5
= 0 ;
3882 PyObject
* obj6
= 0 ;
3883 PyObject
* obj7
= 0 ;
3885 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3890 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3892 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
3893 if (PyErr_Occurred()) SWIG_fail
;
3896 arg4
= wxString_in_helper(obj3
);
3897 if (arg4
== NULL
) SWIG_fail
;
3903 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3909 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3914 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
3915 if (PyErr_Occurred()) SWIG_fail
;
3920 arg8
= wxString_in_helper(obj7
);
3921 if (arg8
== NULL
) SWIG_fail
;
3926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3927 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3929 wxPyEndAllowThreads(__tstate
);
3930 if (PyErr_Occurred()) SWIG_fail
;
3932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3955 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3956 PyObject
*resultobj
;
3957 wxDialog
*arg1
= (wxDialog
*) 0 ;
3959 PyObject
* obj0
= 0 ;
3960 PyObject
* obj1
= 0 ;
3962 (char *) "self",(char *) "returnCode", NULL
3965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
3966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3968 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3969 if (PyErr_Occurred()) SWIG_fail
;
3972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3973 (arg1
)->SetReturnCode(arg2
);
3975 wxPyEndAllowThreads(__tstate
);
3976 if (PyErr_Occurred()) SWIG_fail
;
3978 Py_INCREF(Py_None
); resultobj
= Py_None
;
3985 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3986 PyObject
*resultobj
;
3987 wxDialog
*arg1
= (wxDialog
*) 0 ;
3989 PyObject
* obj0
= 0 ;
3991 (char *) "self", NULL
3994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
3995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3998 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4000 wxPyEndAllowThreads(__tstate
);
4001 if (PyErr_Occurred()) SWIG_fail
;
4003 resultobj
= SWIG_PyObj_FromInt((int)result
);
4010 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4011 PyObject
*resultobj
;
4012 wxDialog
*arg1
= (wxDialog
*) 0 ;
4013 wxString
*arg2
= 0 ;
4015 bool temp2
= False
;
4016 PyObject
* obj0
= 0 ;
4017 PyObject
* obj1
= 0 ;
4019 (char *) "self",(char *) "message", NULL
4022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4025 arg2
= wxString_in_helper(obj1
);
4026 if (arg2
== NULL
) SWIG_fail
;
4030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4031 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4033 wxPyEndAllowThreads(__tstate
);
4034 if (PyErr_Occurred()) SWIG_fail
;
4037 resultobj
= wxPyMake_wxSizer(result
);
4053 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4054 PyObject
*resultobj
;
4055 wxDialog
*arg1
= (wxDialog
*) 0 ;
4058 PyObject
* obj0
= 0 ;
4059 PyObject
* obj1
= 0 ;
4061 (char *) "self",(char *) "flags", NULL
4064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4067 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
4068 if (PyErr_Occurred()) SWIG_fail
;
4071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4072 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4074 wxPyEndAllowThreads(__tstate
);
4075 if (PyErr_Occurred()) SWIG_fail
;
4078 resultobj
= wxPyMake_wxSizer(result
);
4086 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4087 PyObject
*resultobj
;
4088 wxDialog
*arg1
= (wxDialog
*) 0 ;
4090 PyObject
* obj0
= 0 ;
4092 (char *) "self", NULL
4095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4099 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4101 wxPyEndAllowThreads(__tstate
);
4102 if (PyErr_Occurred()) SWIG_fail
;
4104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4111 static PyObject
*_wrap_Dialog_ShowModal(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_ShowModal",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
= (int)(arg1
)->ShowModal();
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4129 resultobj
= SWIG_PyObj_FromInt((int)result
);
4136 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4137 PyObject
*resultobj
;
4138 wxDialog
*arg1
= (wxDialog
*) 0 ;
4140 PyObject
* obj0
= 0 ;
4141 PyObject
* obj1
= 0 ;
4143 (char *) "self",(char *) "retCode", NULL
4146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4149 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4150 if (PyErr_Occurred()) SWIG_fail
;
4153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4154 (arg1
)->EndModal(arg2
);
4156 wxPyEndAllowThreads(__tstate
);
4157 if (PyErr_Occurred()) SWIG_fail
;
4159 Py_INCREF(Py_None
); resultobj
= Py_None
;
4166 static PyObject
*_wrap_Dialog_IsModalShowing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4167 PyObject
*resultobj
;
4168 wxDialog
*arg1
= (wxDialog
*) 0 ;
4170 PyObject
* obj0
= 0 ;
4172 (char *) "self", NULL
4175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModalShowing",kwnames
,&obj0
)) goto fail
;
4176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4179 result
= (bool)wxDialog_IsModalShowing(arg1
);
4181 wxPyEndAllowThreads(__tstate
);
4182 if (PyErr_Occurred()) SWIG_fail
;
4184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4191 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4194 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4196 return Py_BuildValue((char *)"");
4198 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4199 PyObject
*resultobj
;
4200 wxWindow
*arg1
= (wxWindow
*) 0 ;
4202 wxString
*arg3
= 0 ;
4203 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4204 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4205 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4206 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4207 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4208 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4209 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4210 wxMiniFrame
*result
;
4211 bool temp3
= False
;
4214 bool temp7
= False
;
4215 PyObject
* obj0
= 0 ;
4216 PyObject
* obj1
= 0 ;
4217 PyObject
* obj2
= 0 ;
4218 PyObject
* obj3
= 0 ;
4219 PyObject
* obj4
= 0 ;
4220 PyObject
* obj5
= 0 ;
4221 PyObject
* obj6
= 0 ;
4223 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4229 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
4230 if (PyErr_Occurred()) SWIG_fail
;
4233 arg3
= wxString_in_helper(obj2
);
4234 if (arg3
== NULL
) SWIG_fail
;
4240 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4246 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4251 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4252 if (PyErr_Occurred()) SWIG_fail
;
4257 arg7
= wxString_in_helper(obj6
);
4258 if (arg7
== NULL
) SWIG_fail
;
4263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) SWIG_fail
;
4269 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
4292 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4293 PyObject
*resultobj
;
4294 wxMiniFrame
*result
;
4299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4302 result
= (wxMiniFrame
*)new wxMiniFrame();
4304 wxPyEndAllowThreads(__tstate
);
4305 if (PyErr_Occurred()) SWIG_fail
;
4307 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMiniFrame
, 1);
4314 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4315 PyObject
*resultobj
;
4316 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4317 wxWindow
*arg2
= (wxWindow
*) 0 ;
4319 wxString
*arg4
= 0 ;
4320 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4321 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4322 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4323 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4324 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4325 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4326 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4328 bool temp4
= False
;
4331 bool temp8
= False
;
4332 PyObject
* obj0
= 0 ;
4333 PyObject
* obj1
= 0 ;
4334 PyObject
* obj2
= 0 ;
4335 PyObject
* obj3
= 0 ;
4336 PyObject
* obj4
= 0 ;
4337 PyObject
* obj5
= 0 ;
4338 PyObject
* obj6
= 0 ;
4339 PyObject
* obj7
= 0 ;
4341 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMiniFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4346 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4348 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
4349 if (PyErr_Occurred()) SWIG_fail
;
4352 arg4
= wxString_in_helper(obj3
);
4353 if (arg4
== NULL
) SWIG_fail
;
4359 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4365 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4370 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4371 if (PyErr_Occurred()) SWIG_fail
;
4376 arg8
= wxString_in_helper(obj7
);
4377 if (arg8
== NULL
) SWIG_fail
;
4382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4383 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4385 wxPyEndAllowThreads(__tstate
);
4386 if (PyErr_Occurred()) SWIG_fail
;
4388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4411 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4413 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4414 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4416 return Py_BuildValue((char *)"");
4418 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4419 PyObject
*resultobj
;
4420 wxBitmap
*arg1
= 0 ;
4421 wxWindow
*arg2
= (wxWindow
*) 0 ;
4423 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4424 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4425 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4426 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4427 long arg6
= (long) wxNO_BORDER
;
4428 wxSplashScreenWindow
*result
;
4431 PyObject
* obj0
= 0 ;
4432 PyObject
* obj1
= 0 ;
4433 PyObject
* obj2
= 0 ;
4434 PyObject
* obj3
= 0 ;
4435 PyObject
* obj4
= 0 ;
4436 PyObject
* obj5
= 0 ;
4438 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4444 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4446 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4448 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4454 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4460 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4465 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4466 if (PyErr_Occurred()) SWIG_fail
;
4470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4471 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4473 wxPyEndAllowThreads(__tstate
);
4474 if (PyErr_Occurred()) SWIG_fail
;
4476 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 1);
4483 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4484 PyObject
*resultobj
;
4485 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4486 wxBitmap
*arg2
= 0 ;
4487 PyObject
* obj0
= 0 ;
4488 PyObject
* obj1
= 0 ;
4490 (char *) "self",(char *) "bitmap", NULL
4493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4495 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4497 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4501 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4503 wxPyEndAllowThreads(__tstate
);
4504 if (PyErr_Occurred()) SWIG_fail
;
4506 Py_INCREF(Py_None
); resultobj
= Py_None
;
4513 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4514 PyObject
*resultobj
;
4515 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4517 PyObject
* obj0
= 0 ;
4519 (char *) "self", NULL
4522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreenWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4527 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4528 result
= (wxBitmap
*) &_result_ref
;
4531 wxPyEndAllowThreads(__tstate
);
4532 if (PyErr_Occurred()) SWIG_fail
;
4534 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
4541 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4543 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4544 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4546 return Py_BuildValue((char *)"");
4548 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4549 PyObject
*resultobj
;
4550 wxBitmap
*arg1
= 0 ;
4553 wxWindow
*arg4
= (wxWindow
*) 0 ;
4555 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4556 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4557 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4558 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4559 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4560 wxSplashScreen
*result
;
4563 PyObject
* obj0
= 0 ;
4564 PyObject
* obj1
= 0 ;
4565 PyObject
* obj2
= 0 ;
4566 PyObject
* obj3
= 0 ;
4567 PyObject
* obj4
= 0 ;
4568 PyObject
* obj5
= 0 ;
4569 PyObject
* obj6
= 0 ;
4570 PyObject
* obj7
= 0 ;
4572 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4578 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4581 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
4582 if (PyErr_Occurred()) SWIG_fail
;
4585 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4586 if (PyErr_Occurred()) SWIG_fail
;
4588 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4590 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4591 if (PyErr_Occurred()) SWIG_fail
;
4596 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4602 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4607 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
4608 if (PyErr_Occurred()) SWIG_fail
;
4612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4613 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4615 wxPyEndAllowThreads(__tstate
);
4616 if (PyErr_Occurred()) SWIG_fail
;
4618 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreen
, 1);
4625 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
*resultobj
;
4627 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4629 PyObject
* obj0
= 0 ;
4631 (char *) "self", NULL
4634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4638 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4640 wxPyEndAllowThreads(__tstate
);
4641 if (PyErr_Occurred()) SWIG_fail
;
4643 resultobj
= SWIG_PyObj_FromLong((long)result
);
4650 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4651 PyObject
*resultobj
;
4652 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4653 wxSplashScreenWindow
*result
;
4654 PyObject
* obj0
= 0 ;
4656 (char *) "self", NULL
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4663 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4665 wxPyEndAllowThreads(__tstate
);
4666 if (PyErr_Occurred()) SWIG_fail
;
4668 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplashScreenWindow
, 0);
4675 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4676 PyObject
*resultobj
;
4677 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4679 PyObject
* obj0
= 0 ;
4681 (char *) "self", NULL
4684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplashScreen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4688 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4690 wxPyEndAllowThreads(__tstate
);
4691 if (PyErr_Occurred()) SWIG_fail
;
4693 resultobj
= SWIG_PyObj_FromInt((int)result
);
4700 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4703 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4705 return Py_BuildValue((char *)"");
4707 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4708 PyObject
*resultobj
;
4709 wxWindow
*arg1
= (wxWindow
*) 0 ;
4710 int arg2
= (int) -1 ;
4711 long arg3
= (long) wxST_SIZEGRIP
;
4712 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4713 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4714 wxStatusBar
*result
;
4715 bool temp4
= False
;
4716 PyObject
* obj0
= 0 ;
4717 PyObject
* obj1
= 0 ;
4718 PyObject
* obj2
= 0 ;
4719 PyObject
* obj3
= 0 ;
4721 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4728 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4729 if (PyErr_Occurred()) SWIG_fail
;
4734 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
4735 if (PyErr_Occurred()) SWIG_fail
;
4740 arg4
= wxString_in_helper(obj3
);
4741 if (arg4
== NULL
) SWIG_fail
;
4746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4747 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4749 wxPyEndAllowThreads(__tstate
);
4750 if (PyErr_Occurred()) SWIG_fail
;
4753 resultobj
= wxPyMake_wxObject(result
);
4769 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4770 PyObject
*resultobj
;
4771 wxStatusBar
*result
;
4776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4779 result
= (wxStatusBar
*)new wxStatusBar();
4781 wxPyEndAllowThreads(__tstate
);
4782 if (PyErr_Occurred()) SWIG_fail
;
4785 resultobj
= wxPyMake_wxObject(result
);
4793 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4794 PyObject
*resultobj
;
4795 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4796 wxWindow
*arg2
= (wxWindow
*) 0 ;
4798 long arg4
= (long) wxST_SIZEGRIP
;
4799 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4800 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4802 bool temp5
= False
;
4803 PyObject
* obj0
= 0 ;
4804 PyObject
* obj1
= 0 ;
4805 PyObject
* obj2
= 0 ;
4806 PyObject
* obj3
= 0 ;
4807 PyObject
* obj4
= 0 ;
4809 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4814 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4816 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4817 if (PyErr_Occurred()) SWIG_fail
;
4821 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
4822 if (PyErr_Occurred()) SWIG_fail
;
4827 arg5
= wxString_in_helper(obj4
);
4828 if (arg5
== NULL
) SWIG_fail
;
4833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4834 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4836 wxPyEndAllowThreads(__tstate
);
4837 if (PyErr_Occurred()) SWIG_fail
;
4839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4854 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4855 PyObject
*resultobj
;
4856 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4857 int arg2
= (int) 1 ;
4858 PyObject
* obj0
= 0 ;
4859 PyObject
* obj1
= 0 ;
4861 (char *) "self",(char *) "number", NULL
4864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
4865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4868 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4869 if (PyErr_Occurred()) SWIG_fail
;
4873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4874 (arg1
)->SetFieldsCount(arg2
);
4876 wxPyEndAllowThreads(__tstate
);
4877 if (PyErr_Occurred()) SWIG_fail
;
4879 Py_INCREF(Py_None
); resultobj
= Py_None
;
4886 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4887 PyObject
*resultobj
;
4888 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4890 PyObject
* obj0
= 0 ;
4892 (char *) "self", NULL
4895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
4896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4899 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
4901 wxPyEndAllowThreads(__tstate
);
4902 if (PyErr_Occurred()) SWIG_fail
;
4904 resultobj
= SWIG_PyObj_FromInt((int)result
);
4911 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4912 PyObject
*resultobj
;
4913 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4914 wxString
*arg2
= 0 ;
4915 int arg3
= (int) 0 ;
4916 bool temp2
= False
;
4917 PyObject
* obj0
= 0 ;
4918 PyObject
* obj1
= 0 ;
4919 PyObject
* obj2
= 0 ;
4921 (char *) "self",(char *) "text",(char *) "number", NULL
4924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4927 arg2
= wxString_in_helper(obj1
);
4928 if (arg2
== NULL
) SWIG_fail
;
4933 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4934 if (PyErr_Occurred()) SWIG_fail
;
4938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4939 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
4941 wxPyEndAllowThreads(__tstate
);
4942 if (PyErr_Occurred()) SWIG_fail
;
4944 Py_INCREF(Py_None
); resultobj
= Py_None
;
4959 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
*resultobj
;
4961 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4962 int arg2
= (int) 0 ;
4964 PyObject
* obj0
= 0 ;
4965 PyObject
* obj1
= 0 ;
4967 (char *) "self",(char *) "number", NULL
4970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
4971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4974 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4975 if (PyErr_Occurred()) SWIG_fail
;
4979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4980 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
4982 wxPyEndAllowThreads(__tstate
);
4983 if (PyErr_Occurred()) SWIG_fail
;
4987 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4989 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4998 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4999 PyObject
*resultobj
;
5000 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5001 wxString
*arg2
= 0 ;
5002 int arg3
= (int) 0 ;
5003 bool temp2
= False
;
5004 PyObject
* obj0
= 0 ;
5005 PyObject
* obj1
= 0 ;
5006 PyObject
* obj2
= 0 ;
5008 (char *) "self",(char *) "text",(char *) "number", NULL
5011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5014 arg2
= wxString_in_helper(obj1
);
5015 if (arg2
== NULL
) SWIG_fail
;
5020 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5021 if (PyErr_Occurred()) SWIG_fail
;
5025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5026 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5028 wxPyEndAllowThreads(__tstate
);
5029 if (PyErr_Occurred()) SWIG_fail
;
5031 Py_INCREF(Py_None
); resultobj
= Py_None
;
5046 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5047 PyObject
*resultobj
;
5048 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5049 int arg2
= (int) 0 ;
5050 PyObject
* obj0
= 0 ;
5051 PyObject
* obj1
= 0 ;
5053 (char *) "self",(char *) "number", NULL
5056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5060 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5061 if (PyErr_Occurred()) SWIG_fail
;
5065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5066 (arg1
)->PopStatusText(arg2
);
5068 wxPyEndAllowThreads(__tstate
);
5069 if (PyErr_Occurred()) SWIG_fail
;
5071 Py_INCREF(Py_None
); resultobj
= Py_None
;
5078 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5079 PyObject
*resultobj
;
5080 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5082 int *arg3
= (int *) 0 ;
5083 PyObject
* obj0
= 0 ;
5084 PyObject
* obj1
= 0 ;
5086 (char *) "self",(char *) "widths", NULL
5089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5092 arg2
= PyList_Size(obj1
);
5093 arg3
= int_LIST_helper(obj1
);
5094 if (arg3
== NULL
) SWIG_fail
;
5097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5098 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5103 Py_INCREF(Py_None
); resultobj
= Py_None
;
5105 if (arg3
) delete [] arg3
;
5110 if (arg3
) delete [] arg3
;
5116 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5117 PyObject
*resultobj
;
5118 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5121 PyObject
* obj0
= 0 ;
5122 PyObject
* obj1
= 0 ;
5124 (char *) "self",(char *) "i", NULL
5127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5130 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5131 if (PyErr_Occurred()) SWIG_fail
;
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5142 resultptr
= new wxRect((wxRect
&) result
);
5143 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
5151 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5152 PyObject
*resultobj
;
5153 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5155 PyObject
* obj0
= 0 ;
5156 PyObject
* obj1
= 0 ;
5158 (char *) "self",(char *) "height", NULL
5161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5164 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5169 (arg1
)->SetMinHeight(arg2
);
5171 wxPyEndAllowThreads(__tstate
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5174 Py_INCREF(Py_None
); resultobj
= Py_None
;
5181 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5182 PyObject
*resultobj
;
5183 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5185 PyObject
* obj0
= 0 ;
5187 (char *) "self", NULL
5190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5194 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5196 wxPyEndAllowThreads(__tstate
);
5197 if (PyErr_Occurred()) SWIG_fail
;
5199 resultobj
= SWIG_PyObj_FromInt((int)result
);
5206 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5207 PyObject
*resultobj
;
5208 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5210 PyObject
* obj0
= 0 ;
5212 (char *) "self", NULL
5215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStatusBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5219 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5221 wxPyEndAllowThreads(__tstate
);
5222 if (PyErr_Occurred()) SWIG_fail
;
5224 resultobj
= SWIG_PyObj_FromInt((int)result
);
5231 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5234 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5236 return Py_BuildValue((char *)"");
5238 static int _wrap_SplitterNameStr_set(PyObject
*) {
5239 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5244 static PyObject
*_wrap_SplitterNameStr_get() {
5249 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5251 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5258 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5259 PyObject
*resultobj
;
5260 wxWindow
*arg1
= (wxWindow
*) 0 ;
5262 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5263 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5264 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5265 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5266 long arg5
= (long) wxSP_3D
;
5267 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5268 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5269 wxSplitterWindow
*result
;
5272 bool temp6
= False
;
5273 PyObject
* obj0
= 0 ;
5274 PyObject
* obj1
= 0 ;
5275 PyObject
* obj2
= 0 ;
5276 PyObject
* obj3
= 0 ;
5277 PyObject
* obj4
= 0 ;
5278 PyObject
* obj5
= 0 ;
5280 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5286 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5287 if (PyErr_Occurred()) SWIG_fail
;
5292 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5298 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5303 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
5304 if (PyErr_Occurred()) SWIG_fail
;
5309 arg6
= wxString_in_helper(obj5
);
5310 if (arg6
== NULL
) SWIG_fail
;
5315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5316 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5318 wxPyEndAllowThreads(__tstate
);
5319 if (PyErr_Occurred()) SWIG_fail
;
5321 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
5336 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5337 PyObject
*resultobj
;
5338 wxSplitterWindow
*result
;
5343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5346 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5348 wxPyEndAllowThreads(__tstate
);
5349 if (PyErr_Occurred()) SWIG_fail
;
5351 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterWindow
, 1);
5358 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5359 PyObject
*resultobj
;
5360 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5361 wxWindow
*arg2
= (wxWindow
*) 0 ;
5363 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5364 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5365 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5366 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5367 long arg6
= (long) wxSP_3D
;
5368 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5369 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5373 bool temp7
= False
;
5374 PyObject
* obj0
= 0 ;
5375 PyObject
* obj1
= 0 ;
5376 PyObject
* obj2
= 0 ;
5377 PyObject
* obj3
= 0 ;
5378 PyObject
* obj4
= 0 ;
5379 PyObject
* obj5
= 0 ;
5380 PyObject
* obj6
= 0 ;
5382 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5387 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5389 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5390 if (PyErr_Occurred()) SWIG_fail
;
5395 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5401 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5406 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
5407 if (PyErr_Occurred()) SWIG_fail
;
5412 arg7
= wxString_in_helper(obj6
);
5413 if (arg7
== NULL
) SWIG_fail
;
5418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5419 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5421 wxPyEndAllowThreads(__tstate
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5439 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
*resultobj
;
5441 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5443 PyObject
* obj0
= 0 ;
5445 (char *) "self", NULL
5448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5452 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5454 wxPyEndAllowThreads(__tstate
);
5455 if (PyErr_Occurred()) SWIG_fail
;
5458 resultobj
= wxPyMake_wxObject(result
);
5466 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5467 PyObject
*resultobj
;
5468 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5470 PyObject
* obj0
= 0 ;
5472 (char *) "self", NULL
5475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5479 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5481 wxPyEndAllowThreads(__tstate
);
5482 if (PyErr_Occurred()) SWIG_fail
;
5485 resultobj
= wxPyMake_wxObject(result
);
5493 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5494 PyObject
*resultobj
;
5495 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5497 PyObject
* obj0
= 0 ;
5498 PyObject
* obj1
= 0 ;
5500 (char *) "self",(char *) "mode", NULL
5503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5506 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5507 if (PyErr_Occurred()) SWIG_fail
;
5510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5511 (arg1
)->SetSplitMode(arg2
);
5513 wxPyEndAllowThreads(__tstate
);
5514 if (PyErr_Occurred()) SWIG_fail
;
5516 Py_INCREF(Py_None
); resultobj
= Py_None
;
5523 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5524 PyObject
*resultobj
;
5525 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5527 PyObject
* obj0
= 0 ;
5529 (char *) "self", NULL
5532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5536 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5541 resultobj
= SWIG_PyObj_FromInt((int)result
);
5548 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5549 PyObject
*resultobj
;
5550 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5551 wxWindow
*arg2
= (wxWindow
*) 0 ;
5552 PyObject
* obj0
= 0 ;
5553 PyObject
* obj1
= 0 ;
5555 (char *) "self",(char *) "window", NULL
5558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5560 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5563 (arg1
)->Initialize(arg2
);
5565 wxPyEndAllowThreads(__tstate
);
5566 if (PyErr_Occurred()) SWIG_fail
;
5568 Py_INCREF(Py_None
); resultobj
= Py_None
;
5575 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5576 PyObject
*resultobj
;
5577 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5578 wxWindow
*arg2
= (wxWindow
*) 0 ;
5579 wxWindow
*arg3
= (wxWindow
*) 0 ;
5580 int arg4
= (int) 0 ;
5582 PyObject
* obj0
= 0 ;
5583 PyObject
* obj1
= 0 ;
5584 PyObject
* obj2
= 0 ;
5585 PyObject
* obj3
= 0 ;
5587 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5592 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5593 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5596 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5597 if (PyErr_Occurred()) SWIG_fail
;
5601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5602 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5604 wxPyEndAllowThreads(__tstate
);
5605 if (PyErr_Occurred()) SWIG_fail
;
5607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5614 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5615 PyObject
*resultobj
;
5616 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5617 wxWindow
*arg2
= (wxWindow
*) 0 ;
5618 wxWindow
*arg3
= (wxWindow
*) 0 ;
5619 int arg4
= (int) 0 ;
5621 PyObject
* obj0
= 0 ;
5622 PyObject
* obj1
= 0 ;
5623 PyObject
* obj2
= 0 ;
5624 PyObject
* obj3
= 0 ;
5626 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5631 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5632 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5635 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5636 if (PyErr_Occurred()) SWIG_fail
;
5640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5641 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5643 wxPyEndAllowThreads(__tstate
);
5644 if (PyErr_Occurred()) SWIG_fail
;
5646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5653 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5654 PyObject
*resultobj
;
5655 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5656 wxWindow
*arg2
= (wxWindow
*) NULL
;
5658 PyObject
* obj0
= 0 ;
5659 PyObject
* obj1
= 0 ;
5661 (char *) "self",(char *) "toRemove", NULL
5664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5667 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5671 result
= (bool)(arg1
)->Unsplit(arg2
);
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5683 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5684 PyObject
*resultobj
;
5685 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5686 wxWindow
*arg2
= (wxWindow
*) 0 ;
5687 wxWindow
*arg3
= (wxWindow
*) 0 ;
5689 PyObject
* obj0
= 0 ;
5690 PyObject
* obj1
= 0 ;
5691 PyObject
* obj2
= 0 ;
5693 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5698 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5699 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5702 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5704 wxPyEndAllowThreads(__tstate
);
5705 if (PyErr_Occurred()) SWIG_fail
;
5707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5714 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5715 PyObject
*resultobj
;
5716 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5718 PyObject
* obj0
= 0 ;
5720 (char *) "self", NULL
5723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5727 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5739 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5740 PyObject
*resultobj
;
5741 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5743 PyObject
* obj0
= 0 ;
5744 PyObject
* obj1
= 0 ;
5746 (char *) "self",(char *) "width", NULL
5749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5752 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5753 if (PyErr_Occurred()) SWIG_fail
;
5756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5757 (arg1
)->SetSashSize(arg2
);
5759 wxPyEndAllowThreads(__tstate
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5762 Py_INCREF(Py_None
); resultobj
= Py_None
;
5769 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5770 PyObject
*resultobj
;
5771 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5773 PyObject
* obj0
= 0 ;
5774 PyObject
* obj1
= 0 ;
5776 (char *) "self",(char *) "width", NULL
5779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5782 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5783 if (PyErr_Occurred()) SWIG_fail
;
5786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5787 (arg1
)->SetBorderSize(arg2
);
5789 wxPyEndAllowThreads(__tstate
);
5790 if (PyErr_Occurred()) SWIG_fail
;
5792 Py_INCREF(Py_None
); resultobj
= Py_None
;
5799 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5800 PyObject
*resultobj
;
5801 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5803 PyObject
* obj0
= 0 ;
5805 (char *) "self", NULL
5808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
5809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5812 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
5814 wxPyEndAllowThreads(__tstate
);
5815 if (PyErr_Occurred()) SWIG_fail
;
5817 resultobj
= SWIG_PyObj_FromInt((int)result
);
5824 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5825 PyObject
*resultobj
;
5826 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5828 PyObject
* obj0
= 0 ;
5830 (char *) "self", NULL
5833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
5834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5837 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5842 resultobj
= SWIG_PyObj_FromInt((int)result
);
5849 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5850 PyObject
*resultobj
;
5851 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5853 bool arg3
= (bool) True
;
5854 PyObject
* obj0
= 0 ;
5855 PyObject
* obj1
= 0 ;
5856 PyObject
* obj2
= 0 ;
5858 (char *) "self",(char *) "position",(char *) "redraw", NULL
5861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5864 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5869 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
5870 if (PyErr_Occurred()) SWIG_fail
;
5874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5875 (arg1
)->SetSashPosition(arg2
,arg3
);
5877 wxPyEndAllowThreads(__tstate
);
5878 if (PyErr_Occurred()) SWIG_fail
;
5880 Py_INCREF(Py_None
); resultobj
= Py_None
;
5887 static PyObject
*_wrap_SplitterWindow_GetSashPosition(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_GetSashPosition",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
)->GetSashPosition();
5902 wxPyEndAllowThreads(__tstate
);
5903 if (PyErr_Occurred()) SWIG_fail
;
5905 resultobj
= SWIG_PyObj_FromInt((int)result
);
5912 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5913 PyObject
*resultobj
;
5914 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5916 PyObject
* obj0
= 0 ;
5917 PyObject
* obj1
= 0 ;
5919 (char *) "self",(char *) "min", NULL
5922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5925 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5926 if (PyErr_Occurred()) SWIG_fail
;
5929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5930 (arg1
)->SetMinimumPaneSize(arg2
);
5932 wxPyEndAllowThreads(__tstate
);
5933 if (PyErr_Occurred()) SWIG_fail
;
5935 Py_INCREF(Py_None
); resultobj
= Py_None
;
5942 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5943 PyObject
*resultobj
;
5944 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5946 PyObject
* obj0
= 0 ;
5948 (char *) "self", NULL
5951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
5952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5955 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
5957 wxPyEndAllowThreads(__tstate
);
5958 if (PyErr_Occurred()) SWIG_fail
;
5960 resultobj
= SWIG_PyObj_FromInt((int)result
);
5967 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5968 PyObject
*resultobj
;
5969 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5972 int arg4
= (int) 5 ;
5974 PyObject
* obj0
= 0 ;
5975 PyObject
* obj1
= 0 ;
5976 PyObject
* obj2
= 0 ;
5977 PyObject
* obj3
= 0 ;
5979 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5985 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5986 if (PyErr_Occurred()) SWIG_fail
;
5989 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5990 if (PyErr_Occurred()) SWIG_fail
;
5994 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5995 if (PyErr_Occurred()) SWIG_fail
;
5999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6000 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6002 wxPyEndAllowThreads(__tstate
);
6003 if (PyErr_Occurred()) SWIG_fail
;
6005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6012 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6013 PyObject
*resultobj
;
6014 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6015 PyObject
* obj0
= 0 ;
6017 (char *) "self", NULL
6020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",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 (arg1
)->SizeWindows();
6026 wxPyEndAllowThreads(__tstate
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6029 Py_INCREF(Py_None
); resultobj
= Py_None
;
6036 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6037 PyObject
*resultobj
;
6038 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6040 PyObject
* obj0
= 0 ;
6041 PyObject
* obj1
= 0 ;
6043 (char *) "self",(char *) "needUpdating", NULL
6046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6049 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
6050 if (PyErr_Occurred()) SWIG_fail
;
6053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6054 (arg1
)->SetNeedUpdating(arg2
);
6056 wxPyEndAllowThreads(__tstate
);
6057 if (PyErr_Occurred()) SWIG_fail
;
6059 Py_INCREF(Py_None
); resultobj
= Py_None
;
6066 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6067 PyObject
*resultobj
;
6068 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6070 PyObject
* obj0
= 0 ;
6072 (char *) "self", NULL
6075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6079 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6081 wxPyEndAllowThreads(__tstate
);
6082 if (PyErr_Occurred()) SWIG_fail
;
6084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6091 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6094 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6096 return Py_BuildValue((char *)"");
6098 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
*resultobj
;
6100 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6101 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6102 wxSplitterEvent
*result
;
6103 PyObject
* obj0
= 0 ;
6104 PyObject
* obj1
= 0 ;
6106 (char *) "type",(char *) "splitter", NULL
6109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6112 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
6113 if (PyErr_Occurred()) SWIG_fail
;
6117 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSplitterWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6121 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6123 wxPyEndAllowThreads(__tstate
);
6124 if (PyErr_Occurred()) SWIG_fail
;
6126 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSplitterEvent
, 1);
6133 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6134 PyObject
*resultobj
;
6135 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6137 PyObject
* obj0
= 0 ;
6138 PyObject
* obj1
= 0 ;
6140 (char *) "self",(char *) "pos", NULL
6143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6146 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6147 if (PyErr_Occurred()) SWIG_fail
;
6150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6151 (arg1
)->SetSashPosition(arg2
);
6153 wxPyEndAllowThreads(__tstate
);
6154 if (PyErr_Occurred()) SWIG_fail
;
6156 Py_INCREF(Py_None
); resultobj
= Py_None
;
6163 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6164 PyObject
*resultobj
;
6165 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6167 PyObject
* obj0
= 0 ;
6169 (char *) "self", NULL
6172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6176 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6178 wxPyEndAllowThreads(__tstate
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6181 resultobj
= SWIG_PyObj_FromInt((int)result
);
6188 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6189 PyObject
*resultobj
;
6190 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6192 PyObject
* obj0
= 0 ;
6194 (char *) "self", NULL
6197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6201 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6203 wxPyEndAllowThreads(__tstate
);
6204 if (PyErr_Occurred()) SWIG_fail
;
6207 resultobj
= wxPyMake_wxObject(result
);
6215 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6216 PyObject
*resultobj
;
6217 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6219 PyObject
* obj0
= 0 ;
6221 (char *) "self", NULL
6224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6228 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6230 wxPyEndAllowThreads(__tstate
);
6231 if (PyErr_Occurred()) SWIG_fail
;
6233 resultobj
= SWIG_PyObj_FromInt((int)result
);
6240 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6241 PyObject
*resultobj
;
6242 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6244 PyObject
* obj0
= 0 ;
6246 (char *) "self", NULL
6249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSplitterEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6253 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6255 wxPyEndAllowThreads(__tstate
);
6256 if (PyErr_Occurred()) SWIG_fail
;
6258 resultobj
= SWIG_PyObj_FromInt((int)result
);
6265 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6267 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6268 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6270 return Py_BuildValue((char *)"");
6272 static int _wrap_SashNameStr_set(PyObject
*) {
6273 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6278 static PyObject
*_wrap_SashNameStr_get() {
6283 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6285 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6292 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
6293 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6298 static PyObject
*_wrap_SashLayoutNameStr_get() {
6303 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6305 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6312 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6313 PyObject
*resultobj
;
6314 wxWindow
*arg1
= (wxWindow
*) 0 ;
6316 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6317 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6318 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6319 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6320 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6321 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6322 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6323 wxSashWindow
*result
;
6326 bool temp6
= False
;
6327 PyObject
* obj0
= 0 ;
6328 PyObject
* obj1
= 0 ;
6329 PyObject
* obj2
= 0 ;
6330 PyObject
* obj3
= 0 ;
6331 PyObject
* obj4
= 0 ;
6332 PyObject
* obj5
= 0 ;
6334 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6340 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6341 if (PyErr_Occurred()) SWIG_fail
;
6346 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6352 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6357 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
6358 if (PyErr_Occurred()) SWIG_fail
;
6363 arg6
= wxString_in_helper(obj5
);
6364 if (arg6
== NULL
) SWIG_fail
;
6369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6370 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6372 wxPyEndAllowThreads(__tstate
);
6373 if (PyErr_Occurred()) SWIG_fail
;
6375 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
6390 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6391 PyObject
*resultobj
;
6392 wxSashWindow
*result
;
6397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6400 result
= (wxSashWindow
*)new wxSashWindow();
6402 wxPyEndAllowThreads(__tstate
);
6403 if (PyErr_Occurred()) SWIG_fail
;
6405 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashWindow
, 1);
6412 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6413 PyObject
*resultobj
;
6414 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6415 wxWindow
*arg2
= (wxWindow
*) 0 ;
6417 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6418 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6419 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6420 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6421 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6422 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6423 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6427 bool temp7
= False
;
6428 PyObject
* obj0
= 0 ;
6429 PyObject
* obj1
= 0 ;
6430 PyObject
* obj2
= 0 ;
6431 PyObject
* obj3
= 0 ;
6432 PyObject
* obj4
= 0 ;
6433 PyObject
* obj5
= 0 ;
6434 PyObject
* obj6
= 0 ;
6436 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6441 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6443 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6444 if (PyErr_Occurred()) SWIG_fail
;
6449 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6455 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6460 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
6461 if (PyErr_Occurred()) SWIG_fail
;
6466 arg7
= wxString_in_helper(obj6
);
6467 if (arg7
== NULL
) SWIG_fail
;
6472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6473 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6475 wxPyEndAllowThreads(__tstate
);
6476 if (PyErr_Occurred()) SWIG_fail
;
6478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6493 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6494 PyObject
*resultobj
;
6495 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6498 PyObject
* obj0
= 0 ;
6499 PyObject
* obj1
= 0 ;
6500 PyObject
* obj2
= 0 ;
6502 (char *) "self",(char *) "edge",(char *) "sash", NULL
6505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6508 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
6509 if (PyErr_Occurred()) SWIG_fail
;
6512 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6513 if (PyErr_Occurred()) SWIG_fail
;
6516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6517 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6519 wxPyEndAllowThreads(__tstate
);
6520 if (PyErr_Occurred()) SWIG_fail
;
6522 Py_INCREF(Py_None
); resultobj
= Py_None
;
6529 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6530 PyObject
*resultobj
;
6531 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6534 PyObject
* obj0
= 0 ;
6535 PyObject
* obj1
= 0 ;
6537 (char *) "self",(char *) "edge", NULL
6540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6543 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
6544 if (PyErr_Occurred()) SWIG_fail
;
6547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6548 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6550 wxPyEndAllowThreads(__tstate
);
6551 if (PyErr_Occurred()) SWIG_fail
;
6553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6560 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6561 PyObject
*resultobj
;
6562 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6565 PyObject
* obj0
= 0 ;
6566 PyObject
* obj1
= 0 ;
6567 PyObject
* obj2
= 0 ;
6569 (char *) "self",(char *) "edge",(char *) "border", NULL
6572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6575 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6579 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6580 if (PyErr_Occurred()) SWIG_fail
;
6583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6584 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6586 wxPyEndAllowThreads(__tstate
);
6587 if (PyErr_Occurred()) SWIG_fail
;
6589 Py_INCREF(Py_None
); resultobj
= Py_None
;
6596 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6597 PyObject
*resultobj
;
6598 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6601 PyObject
* obj0
= 0 ;
6602 PyObject
* obj1
= 0 ;
6604 (char *) "self",(char *) "edge", NULL
6607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
6608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6610 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
6611 if (PyErr_Occurred()) SWIG_fail
;
6614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6615 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
6617 wxPyEndAllowThreads(__tstate
);
6618 if (PyErr_Occurred()) SWIG_fail
;
6620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6627 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6628 PyObject
*resultobj
;
6629 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6632 PyObject
* obj0
= 0 ;
6633 PyObject
* obj1
= 0 ;
6635 (char *) "self",(char *) "edge", NULL
6638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
6639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6641 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
6642 if (PyErr_Occurred()) SWIG_fail
;
6645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6646 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
6648 wxPyEndAllowThreads(__tstate
);
6649 if (PyErr_Occurred()) SWIG_fail
;
6651 resultobj
= SWIG_PyObj_FromInt((int)result
);
6658 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(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_SetDefaultBorderSize",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
)->SetDefaultBorderSize(arg2
);
6678 wxPyEndAllowThreads(__tstate
);
6679 if (PyErr_Occurred()) SWIG_fail
;
6681 Py_INCREF(Py_None
); resultobj
= Py_None
;
6688 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(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_GetDefaultBorderSize",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
)->GetDefaultBorderSize();
6703 wxPyEndAllowThreads(__tstate
);
6704 if (PyErr_Occurred()) SWIG_fail
;
6706 resultobj
= SWIG_PyObj_FromInt((int)result
);
6713 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(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 *) "width", NULL
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",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
)->SetExtraBorderSize(arg2
);
6733 wxPyEndAllowThreads(__tstate
);
6734 if (PyErr_Occurred()) SWIG_fail
;
6736 Py_INCREF(Py_None
); resultobj
= Py_None
;
6743 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6744 PyObject
*resultobj
;
6745 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6747 PyObject
* obj0
= 0 ;
6749 (char *) "self", NULL
6752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
6753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6756 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
6758 wxPyEndAllowThreads(__tstate
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6761 resultobj
= SWIG_PyObj_FromInt((int)result
);
6768 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6769 PyObject
*resultobj
;
6770 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6772 PyObject
* obj0
= 0 ;
6773 PyObject
* obj1
= 0 ;
6775 (char *) "self",(char *) "min", NULL
6778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6781 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6782 if (PyErr_Occurred()) SWIG_fail
;
6785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6786 (arg1
)->SetMinimumSizeX(arg2
);
6788 wxPyEndAllowThreads(__tstate
);
6789 if (PyErr_Occurred()) SWIG_fail
;
6791 Py_INCREF(Py_None
); resultobj
= Py_None
;
6798 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6799 PyObject
*resultobj
;
6800 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6802 PyObject
* obj0
= 0 ;
6803 PyObject
* obj1
= 0 ;
6805 (char *) "self",(char *) "min", NULL
6808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
6809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6811 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6812 if (PyErr_Occurred()) SWIG_fail
;
6815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6816 (arg1
)->SetMinimumSizeY(arg2
);
6818 wxPyEndAllowThreads(__tstate
);
6819 if (PyErr_Occurred()) SWIG_fail
;
6821 Py_INCREF(Py_None
); resultobj
= Py_None
;
6828 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6829 PyObject
*resultobj
;
6830 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6832 PyObject
* obj0
= 0 ;
6834 (char *) "self", NULL
6837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
6838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6841 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
6843 wxPyEndAllowThreads(__tstate
);
6844 if (PyErr_Occurred()) SWIG_fail
;
6846 resultobj
= SWIG_PyObj_FromInt((int)result
);
6853 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6854 PyObject
*resultobj
;
6855 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6857 PyObject
* obj0
= 0 ;
6859 (char *) "self", NULL
6862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
6863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6866 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
6868 wxPyEndAllowThreads(__tstate
);
6869 if (PyErr_Occurred()) SWIG_fail
;
6871 resultobj
= SWIG_PyObj_FromInt((int)result
);
6878 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6879 PyObject
*resultobj
;
6880 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6882 PyObject
* obj0
= 0 ;
6883 PyObject
* obj1
= 0 ;
6885 (char *) "self",(char *) "max", NULL
6888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6891 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6892 if (PyErr_Occurred()) SWIG_fail
;
6895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6896 (arg1
)->SetMaximumSizeX(arg2
);
6898 wxPyEndAllowThreads(__tstate
);
6899 if (PyErr_Occurred()) SWIG_fail
;
6901 Py_INCREF(Py_None
); resultobj
= Py_None
;
6908 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6909 PyObject
*resultobj
;
6910 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6912 PyObject
* obj0
= 0 ;
6913 PyObject
* obj1
= 0 ;
6915 (char *) "self",(char *) "max", NULL
6918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
6919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6921 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6922 if (PyErr_Occurred()) SWIG_fail
;
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6926 (arg1
)->SetMaximumSizeY(arg2
);
6928 wxPyEndAllowThreads(__tstate
);
6929 if (PyErr_Occurred()) SWIG_fail
;
6931 Py_INCREF(Py_None
); resultobj
= Py_None
;
6938 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6939 PyObject
*resultobj
;
6940 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6942 PyObject
* obj0
= 0 ;
6944 (char *) "self", NULL
6947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
6948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6951 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
6953 wxPyEndAllowThreads(__tstate
);
6954 if (PyErr_Occurred()) SWIG_fail
;
6956 resultobj
= SWIG_PyObj_FromInt((int)result
);
6963 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6964 PyObject
*resultobj
;
6965 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6967 PyObject
* obj0
= 0 ;
6969 (char *) "self", NULL
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
6973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
6978 wxPyEndAllowThreads(__tstate
);
6979 if (PyErr_Occurred()) SWIG_fail
;
6981 resultobj
= SWIG_PyObj_FromInt((int)result
);
6988 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6989 PyObject
*resultobj
;
6990 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6993 int arg4
= (int) 2 ;
6995 PyObject
* obj0
= 0 ;
6996 PyObject
* obj1
= 0 ;
6997 PyObject
* obj2
= 0 ;
6998 PyObject
* obj3
= 0 ;
7000 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7006 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7007 if (PyErr_Occurred()) SWIG_fail
;
7010 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7011 if (PyErr_Occurred()) SWIG_fail
;
7015 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
7016 if (PyErr_Occurred()) SWIG_fail
;
7020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7021 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7023 wxPyEndAllowThreads(__tstate
);
7024 if (PyErr_Occurred()) SWIG_fail
;
7026 resultobj
= SWIG_PyObj_FromInt((int)result
);
7033 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7034 PyObject
*resultobj
;
7035 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7036 PyObject
* obj0
= 0 ;
7038 (char *) "self", NULL
7041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7045 (arg1
)->SizeWindows();
7047 wxPyEndAllowThreads(__tstate
);
7048 if (PyErr_Occurred()) SWIG_fail
;
7050 Py_INCREF(Py_None
); resultobj
= Py_None
;
7057 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7060 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7062 return Py_BuildValue((char *)"");
7064 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7065 PyObject
*resultobj
;
7066 int arg1
= (int) 0 ;
7067 int arg2
= (int) wxSASH_NONE
;
7068 wxSashEvent
*result
;
7069 PyObject
* obj0
= 0 ;
7070 PyObject
* obj1
= 0 ;
7072 (char *) "id",(char *) "edge", NULL
7075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7078 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7079 if (PyErr_Occurred()) SWIG_fail
;
7084 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
7085 if (PyErr_Occurred()) SWIG_fail
;
7089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7090 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7092 wxPyEndAllowThreads(__tstate
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7095 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashEvent
, 1);
7102 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7103 PyObject
*resultobj
;
7104 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7106 PyObject
* obj0
= 0 ;
7107 PyObject
* obj1
= 0 ;
7109 (char *) "self",(char *) "edge", NULL
7112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7115 arg2
= (wxSashEdgePosition
) SWIG_PyObj_AsInt(obj1
);
7116 if (PyErr_Occurred()) SWIG_fail
;
7119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7120 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7122 wxPyEndAllowThreads(__tstate
);
7123 if (PyErr_Occurred()) SWIG_fail
;
7125 Py_INCREF(Py_None
); resultobj
= Py_None
;
7132 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7133 PyObject
*resultobj
;
7134 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7136 PyObject
* obj0
= 0 ;
7138 (char *) "self", NULL
7141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7145 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7147 wxPyEndAllowThreads(__tstate
);
7148 if (PyErr_Occurred()) SWIG_fail
;
7150 resultobj
= SWIG_PyObj_FromInt((int)result
);
7157 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7158 PyObject
*resultobj
;
7159 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7162 PyObject
* obj0
= 0 ;
7163 PyObject
* obj1
= 0 ;
7165 (char *) "self",(char *) "rect", NULL
7168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7172 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7176 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7178 wxPyEndAllowThreads(__tstate
);
7179 if (PyErr_Occurred()) SWIG_fail
;
7181 Py_INCREF(Py_None
); resultobj
= Py_None
;
7188 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7189 PyObject
*resultobj
;
7190 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7192 PyObject
* obj0
= 0 ;
7194 (char *) "self", NULL
7197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7201 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7203 wxPyEndAllowThreads(__tstate
);
7204 if (PyErr_Occurred()) SWIG_fail
;
7208 resultptr
= new wxRect((wxRect
&) result
);
7209 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
7217 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7218 PyObject
*resultobj
;
7219 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7221 PyObject
* obj0
= 0 ;
7222 PyObject
* obj1
= 0 ;
7224 (char *) "self",(char *) "status", NULL
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7230 arg2
= (wxSashDragStatus
) SWIG_PyObj_AsInt(obj1
);
7231 if (PyErr_Occurred()) SWIG_fail
;
7234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7235 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7237 wxPyEndAllowThreads(__tstate
);
7238 if (PyErr_Occurred()) SWIG_fail
;
7240 Py_INCREF(Py_None
); resultobj
= Py_None
;
7247 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7248 PyObject
*resultobj
;
7249 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7251 PyObject
* obj0
= 0 ;
7253 (char *) "self", NULL
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7260 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7262 wxPyEndAllowThreads(__tstate
);
7263 if (PyErr_Occurred()) SWIG_fail
;
7265 resultobj
= SWIG_PyObj_FromInt((int)result
);
7272 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7275 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7277 return Py_BuildValue((char *)"");
7279 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7280 PyObject
*resultobj
;
7281 int arg1
= (int) 0 ;
7282 wxQueryLayoutInfoEvent
*result
;
7283 PyObject
* obj0
= 0 ;
7288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7291 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7292 if (PyErr_Occurred()) SWIG_fail
;
7296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7297 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7299 wxPyEndAllowThreads(__tstate
);
7300 if (PyErr_Occurred()) SWIG_fail
;
7302 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7309 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(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 *) "length", NULL
7319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",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
)->SetRequestedLength(arg2
);
7329 wxPyEndAllowThreads(__tstate
);
7330 if (PyErr_Occurred()) SWIG_fail
;
7332 Py_INCREF(Py_None
); resultobj
= Py_None
;
7339 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(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_GetRequestedLength",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
)->GetRequestedLength();
7354 wxPyEndAllowThreads(__tstate
);
7355 if (PyErr_Occurred()) SWIG_fail
;
7357 resultobj
= SWIG_PyObj_FromInt((int)result
);
7364 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7365 PyObject
*resultobj
;
7366 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7368 PyObject
* obj0
= 0 ;
7369 PyObject
* obj1
= 0 ;
7371 (char *) "self",(char *) "flags", NULL
7374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7377 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7378 if (PyErr_Occurred()) SWIG_fail
;
7381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7382 (arg1
)->SetFlags(arg2
);
7384 wxPyEndAllowThreads(__tstate
);
7385 if (PyErr_Occurred()) SWIG_fail
;
7387 Py_INCREF(Py_None
); resultobj
= Py_None
;
7394 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7395 PyObject
*resultobj
;
7396 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7398 PyObject
* obj0
= 0 ;
7400 (char *) "self", NULL
7403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7407 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7409 wxPyEndAllowThreads(__tstate
);
7410 if (PyErr_Occurred()) SWIG_fail
;
7412 resultobj
= SWIG_PyObj_FromInt((int)result
);
7419 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7420 PyObject
*resultobj
;
7421 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7424 PyObject
* obj0
= 0 ;
7425 PyObject
* obj1
= 0 ;
7427 (char *) "self",(char *) "size", NULL
7430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7434 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7438 (arg1
)->SetSize((wxSize
const &)*arg2
);
7440 wxPyEndAllowThreads(__tstate
);
7441 if (PyErr_Occurred()) SWIG_fail
;
7443 Py_INCREF(Py_None
); resultobj
= Py_None
;
7450 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7451 PyObject
*resultobj
;
7452 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7454 PyObject
* obj0
= 0 ;
7456 (char *) "self", NULL
7459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7463 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7465 wxPyEndAllowThreads(__tstate
);
7466 if (PyErr_Occurred()) SWIG_fail
;
7470 resultptr
= new wxSize((wxSize
&) result
);
7471 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
7479 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(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 *) "orient", NULL
7489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7492 arg2
= (wxLayoutOrientation
) SWIG_PyObj_AsInt(obj1
);
7493 if (PyErr_Occurred()) SWIG_fail
;
7496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7497 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7499 wxPyEndAllowThreads(__tstate
);
7500 if (PyErr_Occurred()) SWIG_fail
;
7502 Py_INCREF(Py_None
); resultobj
= Py_None
;
7509 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(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_GetOrientation",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
)->GetOrientation();
7524 wxPyEndAllowThreads(__tstate
);
7525 if (PyErr_Occurred()) SWIG_fail
;
7527 resultobj
= SWIG_PyObj_FromInt((int)result
);
7534 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7535 PyObject
*resultobj
;
7536 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7538 PyObject
* obj0
= 0 ;
7539 PyObject
* obj1
= 0 ;
7541 (char *) "self",(char *) "align", NULL
7544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7547 arg2
= (wxLayoutAlignment
) SWIG_PyObj_AsInt(obj1
);
7548 if (PyErr_Occurred()) SWIG_fail
;
7551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7552 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7554 wxPyEndAllowThreads(__tstate
);
7555 if (PyErr_Occurred()) SWIG_fail
;
7557 Py_INCREF(Py_None
); resultobj
= Py_None
;
7564 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7565 PyObject
*resultobj
;
7566 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7568 PyObject
* obj0
= 0 ;
7570 (char *) "self", NULL
7573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7577 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
7579 wxPyEndAllowThreads(__tstate
);
7580 if (PyErr_Occurred()) SWIG_fail
;
7582 resultobj
= SWIG_PyObj_FromInt((int)result
);
7589 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7591 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7592 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7594 return Py_BuildValue((char *)"");
7596 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7597 PyObject
*resultobj
;
7598 int arg1
= (int) 0 ;
7599 wxCalculateLayoutEvent
*result
;
7600 PyObject
* obj0
= 0 ;
7605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
7608 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7609 if (PyErr_Occurred()) SWIG_fail
;
7613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7614 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
7616 wxPyEndAllowThreads(__tstate
);
7617 if (PyErr_Occurred()) SWIG_fail
;
7619 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
7626 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7627 PyObject
*resultobj
;
7628 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7630 PyObject
* obj0
= 0 ;
7631 PyObject
* obj1
= 0 ;
7633 (char *) "self",(char *) "flags", NULL
7636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7639 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7640 if (PyErr_Occurred()) SWIG_fail
;
7643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7644 (arg1
)->SetFlags(arg2
);
7646 wxPyEndAllowThreads(__tstate
);
7647 if (PyErr_Occurred()) SWIG_fail
;
7649 Py_INCREF(Py_None
); resultobj
= Py_None
;
7656 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7657 PyObject
*resultobj
;
7658 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7660 PyObject
* obj0
= 0 ;
7662 (char *) "self", NULL
7665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7669 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
7671 wxPyEndAllowThreads(__tstate
);
7672 if (PyErr_Occurred()) SWIG_fail
;
7674 resultobj
= SWIG_PyObj_FromInt((int)result
);
7681 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7682 PyObject
*resultobj
;
7683 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7686 PyObject
* obj0
= 0 ;
7687 PyObject
* obj1
= 0 ;
7689 (char *) "self",(char *) "rect", NULL
7692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7696 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7700 (arg1
)->SetRect((wxRect
const &)*arg2
);
7702 wxPyEndAllowThreads(__tstate
);
7703 if (PyErr_Occurred()) SWIG_fail
;
7705 Py_INCREF(Py_None
); resultobj
= Py_None
;
7712 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7713 PyObject
*resultobj
;
7714 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7716 PyObject
* obj0
= 0 ;
7718 (char *) "self", NULL
7721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
7722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7725 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
7727 wxPyEndAllowThreads(__tstate
);
7728 if (PyErr_Occurred()) SWIG_fail
;
7732 resultptr
= new wxRect((wxRect
&) result
);
7733 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
7741 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7743 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7744 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
7746 return Py_BuildValue((char *)"");
7748 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7749 PyObject
*resultobj
;
7750 wxWindow
*arg1
= (wxWindow
*) 0 ;
7752 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7753 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7754 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7755 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7756 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7757 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
7758 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7759 wxSashLayoutWindow
*result
;
7762 bool temp6
= False
;
7763 PyObject
* obj0
= 0 ;
7764 PyObject
* obj1
= 0 ;
7765 PyObject
* obj2
= 0 ;
7766 PyObject
* obj3
= 0 ;
7767 PyObject
* obj4
= 0 ;
7768 PyObject
* obj5
= 0 ;
7770 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7776 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7777 if (PyErr_Occurred()) SWIG_fail
;
7782 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7788 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7793 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
7794 if (PyErr_Occurred()) SWIG_fail
;
7799 arg6
= wxString_in_helper(obj5
);
7800 if (arg6
== NULL
) SWIG_fail
;
7805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7806 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7808 wxPyEndAllowThreads(__tstate
);
7809 if (PyErr_Occurred()) SWIG_fail
;
7811 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
7826 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7827 PyObject
*resultobj
;
7828 wxSashLayoutWindow
*result
;
7833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
7835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7836 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7841 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSashLayoutWindow
, 1);
7848 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7849 PyObject
*resultobj
;
7850 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7851 wxWindow
*arg2
= (wxWindow
*) 0 ;
7853 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7854 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7855 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7856 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7857 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7858 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
7859 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7863 bool temp7
= False
;
7864 PyObject
* obj0
= 0 ;
7865 PyObject
* obj1
= 0 ;
7866 PyObject
* obj2
= 0 ;
7867 PyObject
* obj3
= 0 ;
7868 PyObject
* obj4
= 0 ;
7869 PyObject
* obj5
= 0 ;
7870 PyObject
* obj6
= 0 ;
7872 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7877 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7879 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7880 if (PyErr_Occurred()) SWIG_fail
;
7885 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7891 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7896 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
7897 if (PyErr_Occurred()) SWIG_fail
;
7902 arg7
= wxString_in_helper(obj6
);
7903 if (arg7
== NULL
) SWIG_fail
;
7908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7909 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7911 wxPyEndAllowThreads(__tstate
);
7912 if (PyErr_Occurred()) SWIG_fail
;
7914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7929 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7930 PyObject
*resultobj
;
7931 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7933 PyObject
* obj0
= 0 ;
7935 (char *) "self", NULL
7938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
7939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7942 result
= (int)(arg1
)->GetAlignment();
7944 wxPyEndAllowThreads(__tstate
);
7945 if (PyErr_Occurred()) SWIG_fail
;
7947 resultobj
= SWIG_PyObj_FromInt((int)result
);
7954 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7955 PyObject
*resultobj
;
7956 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7958 PyObject
* obj0
= 0 ;
7960 (char *) "self", NULL
7963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
7964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7967 result
= (int)(arg1
)->GetOrientation();
7969 wxPyEndAllowThreads(__tstate
);
7970 if (PyErr_Occurred()) SWIG_fail
;
7972 resultobj
= SWIG_PyObj_FromInt((int)result
);
7979 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7980 PyObject
*resultobj
;
7981 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7983 PyObject
* obj0
= 0 ;
7984 PyObject
* obj1
= 0 ;
7986 (char *) "self",(char *) "alignment", NULL
7989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7992 arg2
= (wxLayoutAlignment
) SWIG_PyObj_AsInt(obj1
);
7993 if (PyErr_Occurred()) SWIG_fail
;
7996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7997 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7999 wxPyEndAllowThreads(__tstate
);
8000 if (PyErr_Occurred()) SWIG_fail
;
8002 Py_INCREF(Py_None
); resultobj
= Py_None
;
8009 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8010 PyObject
*resultobj
;
8011 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8014 PyObject
* obj0
= 0 ;
8015 PyObject
* obj1
= 0 ;
8017 (char *) "self",(char *) "size", NULL
8020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8024 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8028 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8030 wxPyEndAllowThreads(__tstate
);
8031 if (PyErr_Occurred()) SWIG_fail
;
8033 Py_INCREF(Py_None
); resultobj
= Py_None
;
8040 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8041 PyObject
*resultobj
;
8042 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8044 PyObject
* obj0
= 0 ;
8045 PyObject
* obj1
= 0 ;
8047 (char *) "self",(char *) "orientation", NULL
8050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSashLayoutWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8053 arg2
= (wxLayoutOrientation
) SWIG_PyObj_AsInt(obj1
);
8054 if (PyErr_Occurred()) SWIG_fail
;
8057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8058 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8060 wxPyEndAllowThreads(__tstate
);
8061 if (PyErr_Occurred()) SWIG_fail
;
8063 Py_INCREF(Py_None
); resultobj
= Py_None
;
8070 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8073 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8075 return Py_BuildValue((char *)"");
8077 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8078 PyObject
*resultobj
;
8079 wxLayoutAlgorithm
*result
;
8084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8087 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8089 wxPyEndAllowThreads(__tstate
);
8090 if (PyErr_Occurred()) SWIG_fail
;
8092 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8099 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8100 PyObject
*resultobj
;
8101 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8102 PyObject
* obj0
= 0 ;
8104 (char *) "self", NULL
8107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8113 wxPyEndAllowThreads(__tstate
);
8114 if (PyErr_Occurred()) SWIG_fail
;
8116 Py_INCREF(Py_None
); resultobj
= Py_None
;
8123 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8124 PyObject
*resultobj
;
8125 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8126 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8127 wxRect
*arg3
= (wxRect
*) NULL
;
8129 PyObject
* obj0
= 0 ;
8130 PyObject
* obj1
= 0 ;
8131 PyObject
* obj2
= 0 ;
8133 (char *) "self",(char *) "frame",(char *) "rect", NULL
8136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8138 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8140 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8144 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8146 wxPyEndAllowThreads(__tstate
);
8147 if (PyErr_Occurred()) SWIG_fail
;
8149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8156 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8157 PyObject
*resultobj
;
8158 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8159 wxFrame
*arg2
= (wxFrame
*) 0 ;
8160 wxWindow
*arg3
= (wxWindow
*) NULL
;
8162 PyObject
* obj0
= 0 ;
8163 PyObject
* obj1
= 0 ;
8164 PyObject
* obj2
= 0 ;
8166 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8171 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8173 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8177 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8179 wxPyEndAllowThreads(__tstate
);
8180 if (PyErr_Occurred()) SWIG_fail
;
8182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8189 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8190 PyObject
*resultobj
;
8191 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8192 wxWindow
*arg2
= (wxWindow
*) 0 ;
8193 wxWindow
*arg3
= (wxWindow
*) NULL
;
8195 PyObject
* obj0
= 0 ;
8196 PyObject
* obj1
= 0 ;
8197 PyObject
* obj2
= 0 ;
8199 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutAlgorithm
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8204 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8206 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8210 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8212 wxPyEndAllowThreads(__tstate
);
8213 if (PyErr_Occurred()) SWIG_fail
;
8215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8222 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8224 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8225 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8227 return Py_BuildValue((char *)"");
8229 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8230 PyObject
*resultobj
;
8231 wxWindow
*arg1
= (wxWindow
*) 0 ;
8232 int arg2
= (int) wxBORDER_NONE
;
8233 wxPopupWindow
*result
;
8234 PyObject
* obj0
= 0 ;
8235 PyObject
* obj1
= 0 ;
8237 (char *) "parent",(char *) "flags", NULL
8240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8244 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8245 if (PyErr_Occurred()) SWIG_fail
;
8249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8250 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8252 wxPyEndAllowThreads(__tstate
);
8253 if (PyErr_Occurred()) SWIG_fail
;
8255 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
8262 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8263 PyObject
*resultobj
;
8264 wxPopupWindow
*result
;
8269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8272 result
= (wxPopupWindow
*)new wxPopupWindow();
8274 wxPyEndAllowThreads(__tstate
);
8275 if (PyErr_Occurred()) SWIG_fail
;
8277 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPopupWindow
, 1);
8284 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8287 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8289 return Py_BuildValue((char *)"");
8291 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8292 PyObject
*resultobj
;
8293 wxWindow
*arg1
= (wxWindow
*) 0 ;
8294 int arg2
= (int) wxBORDER_NONE
;
8295 wxPyPopupTransientWindow
*result
;
8296 PyObject
* obj0
= 0 ;
8297 PyObject
* obj1
= 0 ;
8299 (char *) "parent",(char *) "style", NULL
8302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8306 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8307 if (PyErr_Occurred()) SWIG_fail
;
8311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8312 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8314 wxPyEndAllowThreads(__tstate
);
8315 if (PyErr_Occurred()) SWIG_fail
;
8317 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8324 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8325 PyObject
*resultobj
;
8326 wxPyPopupTransientWindow
*result
;
8331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8334 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8336 wxPyEndAllowThreads(__tstate
);
8337 if (PyErr_Occurred()) SWIG_fail
;
8339 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8346 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8349 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8351 return Py_BuildValue((char *)"");
8353 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8354 PyObject
*resultobj
;
8355 wxWindow
*arg1
= (wxWindow
*) 0 ;
8356 wxString
*arg2
= 0 ;
8357 int arg3
= (int) 100 ;
8358 wxRect
*arg4
= (wxRect
*) NULL
;
8359 wxTipWindow
*result
;
8360 bool temp2
= False
;
8361 PyObject
* obj0
= 0 ;
8362 PyObject
* obj1
= 0 ;
8363 PyObject
* obj2
= 0 ;
8364 PyObject
* obj3
= 0 ;
8366 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8372 arg2
= wxString_in_helper(obj1
);
8373 if (arg2
== NULL
) SWIG_fail
;
8378 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8379 if (PyErr_Occurred()) SWIG_fail
;
8383 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8392 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTipWindow
, 1);
8407 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8408 PyObject
*resultobj
;
8409 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8412 PyObject
* obj0
= 0 ;
8413 PyObject
* obj1
= 0 ;
8415 (char *) "self",(char *) "rectBound", NULL
8418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8422 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8426 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
8428 wxPyEndAllowThreads(__tstate
);
8429 if (PyErr_Occurred()) SWIG_fail
;
8431 Py_INCREF(Py_None
); resultobj
= Py_None
;
8438 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8439 PyObject
*resultobj
;
8440 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8441 PyObject
* obj0
= 0 ;
8443 (char *) "self", NULL
8446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
8447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8452 wxPyEndAllowThreads(__tstate
);
8453 if (PyErr_Occurred()) SWIG_fail
;
8455 Py_INCREF(Py_None
); resultobj
= Py_None
;
8462 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8464 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8465 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
8467 return Py_BuildValue((char *)"");
8469 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8470 PyObject
*resultobj
;
8471 wxWindow
*arg1
= (wxWindow
*) 0 ;
8472 int arg2
= (int) wxID_ANY
;
8473 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8474 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8475 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8476 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8477 long arg5
= (long) 0 ;
8478 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8479 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8480 wxPyVScrolledWindow
*result
;
8483 bool temp6
= False
;
8484 PyObject
* obj0
= 0 ;
8485 PyObject
* obj1
= 0 ;
8486 PyObject
* obj2
= 0 ;
8487 PyObject
* obj3
= 0 ;
8488 PyObject
* obj4
= 0 ;
8489 PyObject
* obj5
= 0 ;
8491 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8498 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8505 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8511 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8516 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
8517 if (PyErr_Occurred()) SWIG_fail
;
8522 arg6
= wxString_in_helper(obj5
);
8523 if (arg6
== NULL
) SWIG_fail
;
8528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8529 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8531 wxPyEndAllowThreads(__tstate
);
8532 if (PyErr_Occurred()) SWIG_fail
;
8534 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8549 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8550 PyObject
*resultobj
;
8551 wxPyVScrolledWindow
*result
;
8556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
8558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8559 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
8561 wxPyEndAllowThreads(__tstate
);
8562 if (PyErr_Occurred()) SWIG_fail
;
8564 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8571 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8572 PyObject
*resultobj
;
8573 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8574 PyObject
*arg2
= (PyObject
*) 0 ;
8575 PyObject
*arg3
= (PyObject
*) 0 ;
8576 PyObject
* obj0
= 0 ;
8577 PyObject
* obj1
= 0 ;
8578 PyObject
* obj2
= 0 ;
8580 (char *) "self",(char *) "self",(char *) "_class", NULL
8583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8589 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8591 wxPyEndAllowThreads(__tstate
);
8592 if (PyErr_Occurred()) SWIG_fail
;
8594 Py_INCREF(Py_None
); resultobj
= Py_None
;
8601 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8602 PyObject
*resultobj
;
8603 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8604 wxWindow
*arg2
= (wxWindow
*) 0 ;
8605 int arg3
= (int) wxID_ANY
;
8606 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8607 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8608 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8609 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8610 long arg6
= (long) 0 ;
8611 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
8612 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8616 bool temp7
= False
;
8617 PyObject
* obj0
= 0 ;
8618 PyObject
* obj1
= 0 ;
8619 PyObject
* obj2
= 0 ;
8620 PyObject
* obj3
= 0 ;
8621 PyObject
* obj4
= 0 ;
8622 PyObject
* obj5
= 0 ;
8623 PyObject
* obj6
= 0 ;
8625 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8630 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8633 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8634 if (PyErr_Occurred()) SWIG_fail
;
8640 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8646 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8651 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
8652 if (PyErr_Occurred()) SWIG_fail
;
8657 arg7
= wxString_in_helper(obj6
);
8658 if (arg7
== NULL
) SWIG_fail
;
8663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8664 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8666 wxPyEndAllowThreads(__tstate
);
8667 if (PyErr_Occurred()) SWIG_fail
;
8669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8684 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8685 PyObject
*resultobj
;
8686 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8688 PyObject
* obj0
= 0 ;
8689 PyObject
* obj1
= 0 ;
8691 (char *) "self",(char *) "count", NULL
8694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8697 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8702 (arg1
)->SetLineCount(arg2
);
8704 wxPyEndAllowThreads(__tstate
);
8705 if (PyErr_Occurred()) SWIG_fail
;
8707 Py_INCREF(Py_None
); resultobj
= Py_None
;
8714 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8715 PyObject
*resultobj
;
8716 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8719 PyObject
* obj0
= 0 ;
8720 PyObject
* obj1
= 0 ;
8722 (char *) "self",(char *) "line", NULL
8725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8728 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
8729 if (PyErr_Occurred()) SWIG_fail
;
8732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8733 result
= (bool)(arg1
)->ScrollToLine(arg2
);
8735 wxPyEndAllowThreads(__tstate
);
8736 if (PyErr_Occurred()) SWIG_fail
;
8738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8745 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8746 PyObject
*resultobj
;
8747 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8750 PyObject
* obj0
= 0 ;
8751 PyObject
* obj1
= 0 ;
8753 (char *) "self",(char *) "lines", NULL
8756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
8757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8759 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8760 if (PyErr_Occurred()) SWIG_fail
;
8763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8764 result
= (bool)(arg1
)->ScrollLines(arg2
);
8766 wxPyEndAllowThreads(__tstate
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8776 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8777 PyObject
*resultobj
;
8778 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8781 PyObject
* obj0
= 0 ;
8782 PyObject
* obj1
= 0 ;
8784 (char *) "self",(char *) "pages", NULL
8787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
8788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8790 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8791 if (PyErr_Occurred()) SWIG_fail
;
8794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8795 result
= (bool)(arg1
)->ScrollPages(arg2
);
8797 wxPyEndAllowThreads(__tstate
);
8798 if (PyErr_Occurred()) SWIG_fail
;
8800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8807 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8808 PyObject
*resultobj
;
8809 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8811 PyObject
* obj0
= 0 ;
8812 PyObject
* obj1
= 0 ;
8814 (char *) "self",(char *) "line", NULL
8817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8820 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
8821 if (PyErr_Occurred()) SWIG_fail
;
8824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8825 (arg1
)->RefreshLine(arg2
);
8827 wxPyEndAllowThreads(__tstate
);
8828 if (PyErr_Occurred()) SWIG_fail
;
8830 Py_INCREF(Py_None
); resultobj
= Py_None
;
8837 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8838 PyObject
*resultobj
;
8839 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8842 PyObject
* obj0
= 0 ;
8843 PyObject
* obj1
= 0 ;
8844 PyObject
* obj2
= 0 ;
8846 (char *) "self",(char *) "from",(char *) "to", NULL
8849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8852 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8856 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
8857 if (PyErr_Occurred()) SWIG_fail
;
8860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8861 (arg1
)->RefreshLines(arg2
,arg3
);
8863 wxPyEndAllowThreads(__tstate
);
8864 if (PyErr_Occurred()) SWIG_fail
;
8866 Py_INCREF(Py_None
); resultobj
= Py_None
;
8873 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8874 PyObject
*resultobj
;
8875 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8879 PyObject
* obj0
= 0 ;
8880 PyObject
* obj1
= 0 ;
8881 PyObject
* obj2
= 0 ;
8883 (char *) "self",(char *) "x",(char *) "y", NULL
8886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8889 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8890 if (PyErr_Occurred()) SWIG_fail
;
8893 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8894 if (PyErr_Occurred()) SWIG_fail
;
8897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8898 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
8900 wxPyEndAllowThreads(__tstate
);
8901 if (PyErr_Occurred()) SWIG_fail
;
8903 resultobj
= SWIG_PyObj_FromInt((int)result
);
8910 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8911 PyObject
*resultobj
;
8912 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8916 PyObject
* obj0
= 0 ;
8917 PyObject
* obj1
= 0 ;
8919 (char *) "self",(char *) "pt", NULL
8922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8926 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8930 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8932 wxPyEndAllowThreads(__tstate
);
8933 if (PyErr_Occurred()) SWIG_fail
;
8935 resultobj
= SWIG_PyObj_FromInt((int)result
);
8942 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8943 PyObject
*resultobj
;
8944 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8945 PyObject
* obj0
= 0 ;
8947 (char *) "self", NULL
8950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
8951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8954 (arg1
)->RefreshAll();
8956 wxPyEndAllowThreads(__tstate
);
8957 if (PyErr_Occurred()) SWIG_fail
;
8959 Py_INCREF(Py_None
); resultobj
= Py_None
;
8966 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8967 PyObject
*resultobj
;
8968 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8970 PyObject
* obj0
= 0 ;
8972 (char *) "self", NULL
8975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
8976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8979 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
8981 wxPyEndAllowThreads(__tstate
);
8982 if (PyErr_Occurred()) SWIG_fail
;
8984 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
8991 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8992 PyObject
*resultobj
;
8993 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8995 PyObject
* obj0
= 0 ;
8997 (char *) "self", NULL
9000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9004 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9006 wxPyEndAllowThreads(__tstate
);
9007 if (PyErr_Occurred()) SWIG_fail
;
9009 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
9016 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9017 PyObject
*resultobj
;
9018 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9020 PyObject
* obj0
= 0 ;
9022 (char *) "self", NULL
9025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9029 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9031 wxPyEndAllowThreads(__tstate
);
9032 if (PyErr_Occurred()) SWIG_fail
;
9034 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
9041 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9042 PyObject
*resultobj
;
9043 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9046 PyObject
* obj0
= 0 ;
9047 PyObject
* obj1
= 0 ;
9049 (char *) "self",(char *) "line", NULL
9052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVScrolledWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9055 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9056 if (PyErr_Occurred()) SWIG_fail
;
9059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9060 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9062 wxPyEndAllowThreads(__tstate
);
9063 if (PyErr_Occurred()) SWIG_fail
;
9065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9072 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9074 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9075 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9077 return Py_BuildValue((char *)"");
9079 static int _wrap_VListBoxNameStr_set(PyObject
*) {
9080 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9085 static PyObject
*_wrap_VListBoxNameStr_get() {
9090 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9092 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9099 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9100 PyObject
*resultobj
;
9101 wxWindow
*arg1
= (wxWindow
*) 0 ;
9102 int arg2
= (int) wxID_ANY
;
9103 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9104 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9105 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9106 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9107 long arg5
= (long) 0 ;
9108 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9109 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9110 wxPyVListBox
*result
;
9113 bool temp6
= False
;
9114 PyObject
* obj0
= 0 ;
9115 PyObject
* obj1
= 0 ;
9116 PyObject
* obj2
= 0 ;
9117 PyObject
* obj3
= 0 ;
9118 PyObject
* obj4
= 0 ;
9119 PyObject
* obj5
= 0 ;
9121 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9128 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9135 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9141 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9146 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
9147 if (PyErr_Occurred()) SWIG_fail
;
9152 arg6
= wxString_in_helper(obj5
);
9153 if (arg6
== NULL
) SWIG_fail
;
9158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9159 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9161 wxPyEndAllowThreads(__tstate
);
9162 if (PyErr_Occurred()) SWIG_fail
;
9164 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
9179 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9180 PyObject
*resultobj
;
9181 wxPyVListBox
*result
;
9186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9189 result
= (wxPyVListBox
*)new wxPyVListBox();
9191 wxPyEndAllowThreads(__tstate
);
9192 if (PyErr_Occurred()) SWIG_fail
;
9194 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyVListBox
, 1);
9201 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9202 PyObject
*resultobj
;
9203 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9204 PyObject
*arg2
= (PyObject
*) 0 ;
9205 PyObject
*arg3
= (PyObject
*) 0 ;
9206 PyObject
* obj0
= 0 ;
9207 PyObject
* obj1
= 0 ;
9208 PyObject
* obj2
= 0 ;
9210 (char *) "self",(char *) "self",(char *) "_class", NULL
9213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9219 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9221 wxPyEndAllowThreads(__tstate
);
9222 if (PyErr_Occurred()) SWIG_fail
;
9224 Py_INCREF(Py_None
); resultobj
= Py_None
;
9231 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9232 PyObject
*resultobj
;
9233 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9234 wxWindow
*arg2
= (wxWindow
*) 0 ;
9235 int arg3
= (int) wxID_ANY
;
9236 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9237 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9238 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9239 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9240 long arg6
= (long) 0 ;
9241 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9242 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9246 bool temp7
= False
;
9247 PyObject
* obj0
= 0 ;
9248 PyObject
* obj1
= 0 ;
9249 PyObject
* obj2
= 0 ;
9250 PyObject
* obj3
= 0 ;
9251 PyObject
* obj4
= 0 ;
9252 PyObject
* obj5
= 0 ;
9253 PyObject
* obj6
= 0 ;
9255 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9260 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9263 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9264 if (PyErr_Occurred()) SWIG_fail
;
9270 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9276 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9281 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9287 arg7
= wxString_in_helper(obj6
);
9288 if (arg7
== NULL
) SWIG_fail
;
9293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9294 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9296 wxPyEndAllowThreads(__tstate
);
9297 if (PyErr_Occurred()) SWIG_fail
;
9299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9314 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9315 PyObject
*resultobj
;
9316 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9318 PyObject
* obj0
= 0 ;
9320 (char *) "self", NULL
9323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9327 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9332 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
9339 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9340 PyObject
*resultobj
;
9341 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9343 PyObject
* obj0
= 0 ;
9345 (char *) "self", NULL
9348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9352 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9354 wxPyEndAllowThreads(__tstate
);
9355 if (PyErr_Occurred()) SWIG_fail
;
9357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9364 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9365 PyObject
*resultobj
;
9366 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9368 PyObject
* obj0
= 0 ;
9370 (char *) "self", NULL
9373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9377 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9379 wxPyEndAllowThreads(__tstate
);
9380 if (PyErr_Occurred()) SWIG_fail
;
9382 resultobj
= SWIG_PyObj_FromInt((int)result
);
9389 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9390 PyObject
*resultobj
;
9391 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9394 PyObject
* obj0
= 0 ;
9395 PyObject
* obj1
= 0 ;
9397 (char *) "self",(char *) "item", NULL
9400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9403 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9404 if (PyErr_Occurred()) SWIG_fail
;
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9410 wxPyEndAllowThreads(__tstate
);
9411 if (PyErr_Occurred()) SWIG_fail
;
9413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9420 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9421 PyObject
*resultobj
;
9422 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9425 PyObject
* obj0
= 0 ;
9426 PyObject
* obj1
= 0 ;
9428 (char *) "self",(char *) "item", NULL
9431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9434 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9435 if (PyErr_Occurred()) SWIG_fail
;
9438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9439 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
9441 wxPyEndAllowThreads(__tstate
);
9442 if (PyErr_Occurred()) SWIG_fail
;
9444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9451 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9452 PyObject
*resultobj
;
9453 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9455 PyObject
* obj0
= 0 ;
9457 (char *) "self", NULL
9460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
9461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9464 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
9466 wxPyEndAllowThreads(__tstate
);
9467 if (PyErr_Occurred()) SWIG_fail
;
9469 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
9476 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9477 PyObject
*resultobj
;
9478 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9479 unsigned long *arg2
= 0 ;
9481 PyObject
* obj0
= 0 ;
9482 PyObject
* obj1
= 0 ;
9484 (char *) "self",(char *) "cookie", NULL
9487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9489 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9491 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9495 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
9497 wxPyEndAllowThreads(__tstate
);
9498 if (PyErr_Occurred()) SWIG_fail
;
9500 resultobj
= SWIG_PyObj_FromInt((int)result
);
9507 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9508 PyObject
*resultobj
;
9509 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9510 unsigned long *arg2
= 0 ;
9512 PyObject
* obj0
= 0 ;
9513 PyObject
* obj1
= 0 ;
9515 (char *) "self",(char *) "cookie", NULL
9518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9520 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_long
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9522 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
9528 wxPyEndAllowThreads(__tstate
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9531 resultobj
= SWIG_PyObj_FromInt((int)result
);
9538 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9539 PyObject
*resultobj
;
9540 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9542 PyObject
* obj0
= 0 ;
9544 (char *) "self", NULL
9547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
9548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9551 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
9553 wxPyEndAllowThreads(__tstate
);
9554 if (PyErr_Occurred()) SWIG_fail
;
9557 wxPoint
* resultptr
;
9558 resultptr
= new wxPoint((wxPoint
&) result
);
9559 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
9567 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9568 PyObject
*resultobj
;
9569 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9571 PyObject
* obj0
= 0 ;
9573 (char *) "self", NULL
9576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
9577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9581 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
9582 result
= (wxColour
*) &_result_ref
;
9585 wxPyEndAllowThreads(__tstate
);
9586 if (PyErr_Occurred()) SWIG_fail
;
9588 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
9595 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9596 PyObject
*resultobj
;
9597 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9599 PyObject
* obj0
= 0 ;
9600 PyObject
* obj1
= 0 ;
9602 (char *) "self",(char *) "count", NULL
9605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9608 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9613 (arg1
)->SetItemCount(arg2
);
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9618 Py_INCREF(Py_None
); resultobj
= Py_None
;
9625 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
;
9627 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9628 PyObject
* obj0
= 0 ;
9630 (char *) "self", NULL
9633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
9634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9639 wxPyEndAllowThreads(__tstate
);
9640 if (PyErr_Occurred()) SWIG_fail
;
9642 Py_INCREF(Py_None
); resultobj
= Py_None
;
9649 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9650 PyObject
*resultobj
;
9651 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9653 PyObject
* obj0
= 0 ;
9654 PyObject
* obj1
= 0 ;
9656 (char *) "self",(char *) "selection", NULL
9659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9662 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9663 if (PyErr_Occurred()) SWIG_fail
;
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 (arg1
)->SetSelection(arg2
);
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9672 Py_INCREF(Py_None
); resultobj
= Py_None
;
9679 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9680 PyObject
*resultobj
;
9681 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9683 bool arg3
= (bool) True
;
9685 PyObject
* obj0
= 0 ;
9686 PyObject
* obj1
= 0 ;
9687 PyObject
* obj2
= 0 ;
9689 (char *) "self",(char *) "item",(char *) "select", NULL
9692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9695 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9700 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
9701 if (PyErr_Occurred()) SWIG_fail
;
9705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9706 result
= (bool)(arg1
)->Select(arg2
,arg3
);
9708 wxPyEndAllowThreads(__tstate
);
9709 if (PyErr_Occurred()) SWIG_fail
;
9711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9718 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9719 PyObject
*resultobj
;
9720 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9724 PyObject
* obj0
= 0 ;
9725 PyObject
* obj1
= 0 ;
9726 PyObject
* obj2
= 0 ;
9728 (char *) "self",(char *) "from",(char *) "to", NULL
9731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9734 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9735 if (PyErr_Occurred()) SWIG_fail
;
9738 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
9739 if (PyErr_Occurred()) SWIG_fail
;
9742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9743 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
9745 wxPyEndAllowThreads(__tstate
);
9746 if (PyErr_Occurred()) SWIG_fail
;
9748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9755 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9756 PyObject
*resultobj
;
9757 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9759 PyObject
* obj0
= 0 ;
9760 PyObject
* obj1
= 0 ;
9762 (char *) "self",(char *) "item", NULL
9765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
9766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9768 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
9769 if (PyErr_Occurred()) SWIG_fail
;
9772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9773 (arg1
)->Toggle(arg2
);
9775 wxPyEndAllowThreads(__tstate
);
9776 if (PyErr_Occurred()) SWIG_fail
;
9778 Py_INCREF(Py_None
); resultobj
= Py_None
;
9785 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9786 PyObject
*resultobj
;
9787 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9789 PyObject
* obj0
= 0 ;
9791 (char *) "self", NULL
9794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
9795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9798 result
= (bool)(arg1
)->SelectAll();
9800 wxPyEndAllowThreads(__tstate
);
9801 if (PyErr_Occurred()) SWIG_fail
;
9803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9810 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9811 PyObject
*resultobj
;
9812 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9814 PyObject
* obj0
= 0 ;
9816 (char *) "self", NULL
9819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
9820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9823 result
= (bool)(arg1
)->DeselectAll();
9825 wxPyEndAllowThreads(__tstate
);
9826 if (PyErr_Occurred()) SWIG_fail
;
9828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9835 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9836 PyObject
*resultobj
;
9837 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9840 PyObject
* obj0
= 0 ;
9841 PyObject
* obj1
= 0 ;
9843 (char *) "self",(char *) "pt", NULL
9846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
9847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9850 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9854 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
9856 wxPyEndAllowThreads(__tstate
);
9857 if (PyErr_Occurred()) SWIG_fail
;
9859 Py_INCREF(Py_None
); resultobj
= Py_None
;
9866 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9867 PyObject
*resultobj
;
9868 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9871 PyObject
* obj0
= 0 ;
9872 PyObject
* obj1
= 0 ;
9873 PyObject
* obj2
= 0 ;
9875 (char *) "self",(char *) "x",(char *) "y", NULL
9878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9881 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9882 if (PyErr_Occurred()) SWIG_fail
;
9885 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9886 if (PyErr_Occurred()) SWIG_fail
;
9889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9890 (arg1
)->SetMargins(arg2
,arg3
);
9892 wxPyEndAllowThreads(__tstate
);
9893 if (PyErr_Occurred()) SWIG_fail
;
9895 Py_INCREF(Py_None
); resultobj
= Py_None
;
9902 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9903 PyObject
*resultobj
;
9904 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9905 wxColour
*arg2
= 0 ;
9907 PyObject
* obj0
= 0 ;
9908 PyObject
* obj1
= 0 ;
9910 (char *) "self",(char *) "col", NULL
9913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
9914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyVListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9917 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9921 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
9923 wxPyEndAllowThreads(__tstate
);
9924 if (PyErr_Occurred()) SWIG_fail
;
9926 Py_INCREF(Py_None
); resultobj
= Py_None
;
9933 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
9935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9936 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
9938 return Py_BuildValue((char *)"");
9940 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9941 PyObject
*resultobj
;
9942 wxWindow
*arg1
= (wxWindow
*) 0 ;
9943 int arg2
= (int) wxID_ANY
;
9944 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9945 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9946 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9947 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9948 long arg5
= (long) 0 ;
9949 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9950 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9951 wxPyHtmlListBox
*result
;
9954 bool temp6
= False
;
9955 PyObject
* obj0
= 0 ;
9956 PyObject
* obj1
= 0 ;
9957 PyObject
* obj2
= 0 ;
9958 PyObject
* obj3
= 0 ;
9959 PyObject
* obj4
= 0 ;
9960 PyObject
* obj5
= 0 ;
9962 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9969 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9970 if (PyErr_Occurred()) SWIG_fail
;
9976 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9982 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9987 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
9988 if (PyErr_Occurred()) SWIG_fail
;
9993 arg6
= wxString_in_helper(obj5
);
9994 if (arg6
== NULL
) SWIG_fail
;
9999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10000 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10002 wxPyEndAllowThreads(__tstate
);
10003 if (PyErr_Occurred()) SWIG_fail
;
10005 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
10020 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10021 PyObject
*resultobj
;
10022 wxPyHtmlListBox
*result
;
10023 char *kwnames
[] = {
10027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10030 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10032 wxPyEndAllowThreads(__tstate
);
10033 if (PyErr_Occurred()) SWIG_fail
;
10035 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyHtmlListBox
, 1);
10042 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10043 PyObject
*resultobj
;
10044 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10045 PyObject
*arg2
= (PyObject
*) 0 ;
10046 PyObject
*arg3
= (PyObject
*) 0 ;
10047 PyObject
* obj0
= 0 ;
10048 PyObject
* obj1
= 0 ;
10049 PyObject
* obj2
= 0 ;
10050 char *kwnames
[] = {
10051 (char *) "self",(char *) "self",(char *) "_class", NULL
10054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10060 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10062 wxPyEndAllowThreads(__tstate
);
10063 if (PyErr_Occurred()) SWIG_fail
;
10065 Py_INCREF(Py_None
); resultobj
= Py_None
;
10072 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10073 PyObject
*resultobj
;
10074 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10075 wxWindow
*arg2
= (wxWindow
*) 0 ;
10076 int arg3
= (int) wxID_ANY
;
10077 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10078 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10079 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10080 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10081 long arg6
= (long) 0 ;
10082 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10083 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10087 bool temp7
= False
;
10088 PyObject
* obj0
= 0 ;
10089 PyObject
* obj1
= 0 ;
10090 PyObject
* obj2
= 0 ;
10091 PyObject
* obj3
= 0 ;
10092 PyObject
* obj4
= 0 ;
10093 PyObject
* obj5
= 0 ;
10094 PyObject
* obj6
= 0 ;
10095 char *kwnames
[] = {
10096 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10101 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10104 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10111 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10117 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10122 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
10123 if (PyErr_Occurred()) SWIG_fail
;
10128 arg7
= wxString_in_helper(obj6
);
10129 if (arg7
== NULL
) SWIG_fail
;
10134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10135 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10137 wxPyEndAllowThreads(__tstate
);
10138 if (PyErr_Occurred()) SWIG_fail
;
10140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10155 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10156 PyObject
*resultobj
;
10157 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10158 PyObject
* obj0
= 0 ;
10159 char *kwnames
[] = {
10160 (char *) "self", NULL
10163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10167 (arg1
)->RefreshAll();
10169 wxPyEndAllowThreads(__tstate
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10172 Py_INCREF(Py_None
); resultobj
= Py_None
;
10179 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10180 PyObject
*resultobj
;
10181 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10183 PyObject
* obj0
= 0 ;
10184 PyObject
* obj1
= 0 ;
10185 char *kwnames
[] = {
10186 (char *) "self",(char *) "count", NULL
10189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyHtmlListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10192 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
10193 if (PyErr_Occurred()) SWIG_fail
;
10196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10197 (arg1
)->SetItemCount(arg2
);
10199 wxPyEndAllowThreads(__tstate
);
10200 if (PyErr_Occurred()) SWIG_fail
;
10202 Py_INCREF(Py_None
); resultobj
= Py_None
;
10209 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10212 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10214 return Py_BuildValue((char *)"");
10216 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10217 PyObject
*resultobj
;
10218 wxTaskBarIcon
*result
;
10219 char *kwnames
[] = {
10223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10226 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10231 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIcon
, 1);
10238 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10239 PyObject
*resultobj
;
10240 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10241 PyObject
* obj0
= 0 ;
10242 char *kwnames
[] = {
10243 (char *) "self", NULL
10246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10252 wxPyEndAllowThreads(__tstate
);
10253 if (PyErr_Occurred()) SWIG_fail
;
10255 Py_INCREF(Py_None
); resultobj
= Py_None
;
10262 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
10264 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10265 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
10267 return Py_BuildValue((char *)"");
10269 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10270 PyObject
*resultobj
;
10272 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
10273 wxTaskBarIconEvent
*result
;
10274 PyObject
* obj0
= 0 ;
10275 PyObject
* obj1
= 0 ;
10276 char *kwnames
[] = {
10277 (char *) "evtType",(char *) "tbIcon", NULL
10280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10282 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
10283 if (PyErr_Occurred()) SWIG_fail
;
10285 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTaskBarIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10288 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
10290 wxPyEndAllowThreads(__tstate
);
10291 if (PyErr_Occurred()) SWIG_fail
;
10293 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTaskBarIconEvent
, 1);
10300 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10302 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10303 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
10305 return Py_BuildValue((char *)"");
10307 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
10308 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
10313 static PyObject
*_wrap_FileSelectorPromptStr_get() {
10318 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10320 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10327 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
10328 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
10333 static PyObject
*_wrap_DirSelectorPromptStr_get() {
10338 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10340 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10347 static int _wrap_DirDialogNameStr_set(PyObject
*) {
10348 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
10353 static PyObject
*_wrap_DirDialogNameStr_get() {
10358 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10360 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10367 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
10368 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
10373 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
10378 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10380 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10387 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
10388 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
10393 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
10398 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10400 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10407 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
10408 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
10413 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
10418 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10420 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10427 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10428 PyObject
*resultobj
;
10429 wxColourData
*result
;
10430 char *kwnames
[] = {
10434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
10436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10437 result
= (wxColourData
*)new wxColourData();
10439 wxPyEndAllowThreads(__tstate
);
10440 if (PyErr_Occurred()) SWIG_fail
;
10442 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 1);
10449 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10450 PyObject
*resultobj
;
10451 wxColourData
*arg1
= (wxColourData
*) 0 ;
10452 PyObject
* obj0
= 0 ;
10453 char *kwnames
[] = {
10454 (char *) "self", NULL
10457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
10458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10463 wxPyEndAllowThreads(__tstate
);
10464 if (PyErr_Occurred()) SWIG_fail
;
10466 Py_INCREF(Py_None
); resultobj
= Py_None
;
10473 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10474 PyObject
*resultobj
;
10475 wxColourData
*arg1
= (wxColourData
*) 0 ;
10477 PyObject
* obj0
= 0 ;
10478 char *kwnames
[] = {
10479 (char *) "self", NULL
10482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
10483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10486 result
= (bool)(arg1
)->GetChooseFull();
10488 wxPyEndAllowThreads(__tstate
);
10489 if (PyErr_Occurred()) SWIG_fail
;
10491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10498 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10499 PyObject
*resultobj
;
10500 wxColourData
*arg1
= (wxColourData
*) 0 ;
10502 PyObject
* obj0
= 0 ;
10503 char *kwnames
[] = {
10504 (char *) "self", NULL
10507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
10508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10511 result
= (arg1
)->GetColour();
10513 wxPyEndAllowThreads(__tstate
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10517 wxColour
* resultptr
;
10518 resultptr
= new wxColour((wxColour
&) result
);
10519 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10527 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10528 PyObject
*resultobj
;
10529 wxColourData
*arg1
= (wxColourData
*) 0 ;
10532 PyObject
* obj0
= 0 ;
10533 PyObject
* obj1
= 0 ;
10534 char *kwnames
[] = {
10535 (char *) "self",(char *) "i", NULL
10538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10541 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10542 if (PyErr_Occurred()) SWIG_fail
;
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 result
= (arg1
)->GetCustomColour(arg2
);
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10552 wxColour
* resultptr
;
10553 resultptr
= new wxColour((wxColour
&) result
);
10554 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10562 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10563 PyObject
*resultobj
;
10564 wxColourData
*arg1
= (wxColourData
*) 0 ;
10566 PyObject
* obj0
= 0 ;
10567 PyObject
* obj1
= 0 ;
10568 char *kwnames
[] = {
10569 (char *) "self",(char *) "flag", NULL
10572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
10573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10575 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10576 if (PyErr_Occurred()) SWIG_fail
;
10579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10580 (arg1
)->SetChooseFull(arg2
);
10582 wxPyEndAllowThreads(__tstate
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10585 Py_INCREF(Py_None
); resultobj
= Py_None
;
10592 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10593 PyObject
*resultobj
;
10594 wxColourData
*arg1
= (wxColourData
*) 0 ;
10595 wxColour
*arg2
= 0 ;
10597 PyObject
* obj0
= 0 ;
10598 PyObject
* obj1
= 0 ;
10599 char *kwnames
[] = {
10600 (char *) "self",(char *) "colour", NULL
10603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10607 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10611 (arg1
)->SetColour((wxColour
const &)*arg2
);
10613 wxPyEndAllowThreads(__tstate
);
10614 if (PyErr_Occurred()) SWIG_fail
;
10616 Py_INCREF(Py_None
); resultobj
= Py_None
;
10623 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10624 PyObject
*resultobj
;
10625 wxColourData
*arg1
= (wxColourData
*) 0 ;
10627 wxColour
*arg3
= 0 ;
10629 PyObject
* obj0
= 0 ;
10630 PyObject
* obj1
= 0 ;
10631 PyObject
* obj2
= 0 ;
10632 char *kwnames
[] = {
10633 (char *) "self",(char *) "i",(char *) "colour", NULL
10636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10639 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10640 if (PyErr_Occurred()) SWIG_fail
;
10644 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10648 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
10650 wxPyEndAllowThreads(__tstate
);
10651 if (PyErr_Occurred()) SWIG_fail
;
10653 Py_INCREF(Py_None
); resultobj
= Py_None
;
10660 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
10662 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10663 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
10665 return Py_BuildValue((char *)"");
10667 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10668 PyObject
*resultobj
;
10669 wxWindow
*arg1
= (wxWindow
*) 0 ;
10670 wxColourData
*arg2
= (wxColourData
*) NULL
;
10671 wxColourDialog
*result
;
10672 PyObject
* obj0
= 0 ;
10673 PyObject
* obj1
= 0 ;
10674 char *kwnames
[] = {
10675 (char *) "parent",(char *) "data", NULL
10678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
10679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10681 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxColourData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10685 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
10687 wxPyEndAllowThreads(__tstate
);
10688 if (PyErr_Occurred()) SWIG_fail
;
10690 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourDialog
, 1);
10697 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10698 PyObject
*resultobj
;
10699 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
10700 wxColourData
*result
;
10701 PyObject
* obj0
= 0 ;
10702 char *kwnames
[] = {
10703 (char *) "self", NULL
10706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
10707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10711 wxColourData
&_result_ref
= (arg1
)->GetColourData();
10712 result
= (wxColourData
*) &_result_ref
;
10715 wxPyEndAllowThreads(__tstate
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10718 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourData
, 0);
10725 static PyObject
*_wrap_ColourDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10726 PyObject
*resultobj
;
10727 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
10729 PyObject
* obj0
= 0 ;
10730 char *kwnames
[] = {
10731 (char *) "self", NULL
10734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
10735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10738 result
= (int)(arg1
)->ShowModal();
10740 wxPyEndAllowThreads(__tstate
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10743 resultobj
= SWIG_PyObj_FromInt((int)result
);
10750 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
10752 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10753 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
10755 return Py_BuildValue((char *)"");
10757 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10758 PyObject
*resultobj
;
10759 wxWindow
*arg1
= (wxWindow
*) 0 ;
10760 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
10761 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10762 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10763 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10764 long arg4
= (long) 0 ;
10765 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10766 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10767 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10768 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10769 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
10770 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10771 wxDirDialog
*result
;
10772 bool temp2
= False
;
10773 bool temp3
= False
;
10776 bool temp7
= False
;
10777 PyObject
* obj0
= 0 ;
10778 PyObject
* obj1
= 0 ;
10779 PyObject
* obj2
= 0 ;
10780 PyObject
* obj3
= 0 ;
10781 PyObject
* obj4
= 0 ;
10782 PyObject
* obj5
= 0 ;
10783 PyObject
* obj6
= 0 ;
10784 char *kwnames
[] = {
10785 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
10788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10792 arg2
= wxString_in_helper(obj1
);
10793 if (arg2
== NULL
) SWIG_fail
;
10799 arg3
= wxString_in_helper(obj2
);
10800 if (arg3
== NULL
) SWIG_fail
;
10806 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
10807 if (PyErr_Occurred()) SWIG_fail
;
10813 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10819 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10824 arg7
= wxString_in_helper(obj6
);
10825 if (arg7
== NULL
) SWIG_fail
;
10830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10831 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
10833 wxPyEndAllowThreads(__tstate
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10836 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirDialog
, 1);
10867 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10868 PyObject
*resultobj
;
10869 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10871 PyObject
* obj0
= 0 ;
10872 char *kwnames
[] = {
10873 (char *) "self", NULL
10876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
10877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10880 result
= (arg1
)->GetPath();
10882 wxPyEndAllowThreads(__tstate
);
10883 if (PyErr_Occurred()) SWIG_fail
;
10887 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10889 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10898 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10899 PyObject
*resultobj
;
10900 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10902 PyObject
* obj0
= 0 ;
10903 char *kwnames
[] = {
10904 (char *) "self", NULL
10907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
10908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10911 result
= (arg1
)->GetMessage();
10913 wxPyEndAllowThreads(__tstate
);
10914 if (PyErr_Occurred()) SWIG_fail
;
10918 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10920 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10929 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10930 PyObject
*resultobj
;
10931 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10933 PyObject
* obj0
= 0 ;
10934 char *kwnames
[] = {
10935 (char *) "self", NULL
10938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
10939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10942 result
= (long)(arg1
)->GetStyle();
10944 wxPyEndAllowThreads(__tstate
);
10945 if (PyErr_Occurred()) SWIG_fail
;
10947 resultobj
= SWIG_PyObj_FromLong((long)result
);
10954 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10955 PyObject
*resultobj
;
10956 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10957 wxString
*arg2
= 0 ;
10958 bool temp2
= False
;
10959 PyObject
* obj0
= 0 ;
10960 PyObject
* obj1
= 0 ;
10961 char *kwnames
[] = {
10962 (char *) "self",(char *) "message", NULL
10965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10968 arg2
= wxString_in_helper(obj1
);
10969 if (arg2
== NULL
) SWIG_fail
;
10973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10974 (arg1
)->SetMessage((wxString
const &)*arg2
);
10976 wxPyEndAllowThreads(__tstate
);
10977 if (PyErr_Occurred()) SWIG_fail
;
10979 Py_INCREF(Py_None
); resultobj
= Py_None
;
10994 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10995 PyObject
*resultobj
;
10996 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10997 wxString
*arg2
= 0 ;
10998 bool temp2
= False
;
10999 PyObject
* obj0
= 0 ;
11000 PyObject
* obj1
= 0 ;
11001 char *kwnames
[] = {
11002 (char *) "self",(char *) "path", NULL
11005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11008 arg2
= wxString_in_helper(obj1
);
11009 if (arg2
== NULL
) SWIG_fail
;
11013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11014 (arg1
)->SetPath((wxString
const &)*arg2
);
11016 wxPyEndAllowThreads(__tstate
);
11017 if (PyErr_Occurred()) SWIG_fail
;
11019 Py_INCREF(Py_None
); resultobj
= Py_None
;
11034 static PyObject
*_wrap_DirDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11035 PyObject
*resultobj
;
11036 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11038 PyObject
* obj0
= 0 ;
11039 char *kwnames
[] = {
11040 (char *) "self", NULL
11043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
11044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11047 result
= (int)(arg1
)->ShowModal();
11049 wxPyEndAllowThreads(__tstate
);
11050 if (PyErr_Occurred()) SWIG_fail
;
11052 resultobj
= SWIG_PyObj_FromInt((int)result
);
11059 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11062 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11064 return Py_BuildValue((char *)"");
11066 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11067 PyObject
*resultobj
;
11068 wxWindow
*arg1
= (wxWindow
*) 0 ;
11069 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11070 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11071 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11072 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11073 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11074 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11075 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11076 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11077 long arg6
= (long) 0 ;
11078 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11079 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11080 wxFileDialog
*result
;
11081 bool temp2
= False
;
11082 bool temp3
= False
;
11083 bool temp4
= False
;
11084 bool temp5
= False
;
11086 PyObject
* obj0
= 0 ;
11087 PyObject
* obj1
= 0 ;
11088 PyObject
* obj2
= 0 ;
11089 PyObject
* obj3
= 0 ;
11090 PyObject
* obj4
= 0 ;
11091 PyObject
* obj5
= 0 ;
11092 PyObject
* obj6
= 0 ;
11093 char *kwnames
[] = {
11094 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11101 arg2
= wxString_in_helper(obj1
);
11102 if (arg2
== NULL
) SWIG_fail
;
11108 arg3
= wxString_in_helper(obj2
);
11109 if (arg3
== NULL
) SWIG_fail
;
11115 arg4
= wxString_in_helper(obj3
);
11116 if (arg4
== NULL
) SWIG_fail
;
11122 arg5
= wxString_in_helper(obj4
);
11123 if (arg5
== NULL
) SWIG_fail
;
11129 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
11130 if (PyErr_Occurred()) SWIG_fail
;
11136 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11141 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11143 wxPyEndAllowThreads(__tstate
);
11144 if (PyErr_Occurred()) SWIG_fail
;
11146 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileDialog
, 1);
11185 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11186 PyObject
*resultobj
;
11187 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11188 wxString
*arg2
= 0 ;
11189 bool temp2
= False
;
11190 PyObject
* obj0
= 0 ;
11191 PyObject
* obj1
= 0 ;
11192 char *kwnames
[] = {
11193 (char *) "self",(char *) "message", NULL
11196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11199 arg2
= wxString_in_helper(obj1
);
11200 if (arg2
== NULL
) SWIG_fail
;
11204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11205 (arg1
)->SetMessage((wxString
const &)*arg2
);
11207 wxPyEndAllowThreads(__tstate
);
11208 if (PyErr_Occurred()) SWIG_fail
;
11210 Py_INCREF(Py_None
); resultobj
= Py_None
;
11225 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11226 PyObject
*resultobj
;
11227 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11228 wxString
*arg2
= 0 ;
11229 bool temp2
= False
;
11230 PyObject
* obj0
= 0 ;
11231 PyObject
* obj1
= 0 ;
11232 char *kwnames
[] = {
11233 (char *) "self",(char *) "path", NULL
11236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11239 arg2
= wxString_in_helper(obj1
);
11240 if (arg2
== NULL
) SWIG_fail
;
11244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11245 (arg1
)->SetPath((wxString
const &)*arg2
);
11247 wxPyEndAllowThreads(__tstate
);
11248 if (PyErr_Occurred()) SWIG_fail
;
11250 Py_INCREF(Py_None
); resultobj
= Py_None
;
11265 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11266 PyObject
*resultobj
;
11267 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11268 wxString
*arg2
= 0 ;
11269 bool temp2
= False
;
11270 PyObject
* obj0
= 0 ;
11271 PyObject
* obj1
= 0 ;
11272 char *kwnames
[] = {
11273 (char *) "self",(char *) "dir", NULL
11276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
11277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11279 arg2
= wxString_in_helper(obj1
);
11280 if (arg2
== NULL
) SWIG_fail
;
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11285 (arg1
)->SetDirectory((wxString
const &)*arg2
);
11287 wxPyEndAllowThreads(__tstate
);
11288 if (PyErr_Occurred()) SWIG_fail
;
11290 Py_INCREF(Py_None
); resultobj
= Py_None
;
11305 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11306 PyObject
*resultobj
;
11307 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11308 wxString
*arg2
= 0 ;
11309 bool temp2
= False
;
11310 PyObject
* obj0
= 0 ;
11311 PyObject
* obj1
= 0 ;
11312 char *kwnames
[] = {
11313 (char *) "self",(char *) "name", NULL
11316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11319 arg2
= wxString_in_helper(obj1
);
11320 if (arg2
== NULL
) SWIG_fail
;
11324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11325 (arg1
)->SetFilename((wxString
const &)*arg2
);
11327 wxPyEndAllowThreads(__tstate
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11330 Py_INCREF(Py_None
); resultobj
= Py_None
;
11345 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11346 PyObject
*resultobj
;
11347 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11348 wxString
*arg2
= 0 ;
11349 bool temp2
= False
;
11350 PyObject
* obj0
= 0 ;
11351 PyObject
* obj1
= 0 ;
11352 char *kwnames
[] = {
11353 (char *) "self",(char *) "wildCard", NULL
11356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
11357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11359 arg2
= wxString_in_helper(obj1
);
11360 if (arg2
== NULL
) SWIG_fail
;
11364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11365 (arg1
)->SetWildcard((wxString
const &)*arg2
);
11367 wxPyEndAllowThreads(__tstate
);
11368 if (PyErr_Occurred()) SWIG_fail
;
11370 Py_INCREF(Py_None
); resultobj
= Py_None
;
11385 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11386 PyObject
*resultobj
;
11387 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11389 PyObject
* obj0
= 0 ;
11390 PyObject
* obj1
= 0 ;
11391 char *kwnames
[] = {
11392 (char *) "self",(char *) "style", NULL
11395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11398 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
11399 if (PyErr_Occurred()) SWIG_fail
;
11402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11403 (arg1
)->SetStyle(arg2
);
11405 wxPyEndAllowThreads(__tstate
);
11406 if (PyErr_Occurred()) SWIG_fail
;
11408 Py_INCREF(Py_None
); resultobj
= Py_None
;
11415 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11416 PyObject
*resultobj
;
11417 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11419 PyObject
* obj0
= 0 ;
11420 PyObject
* obj1
= 0 ;
11421 char *kwnames
[] = {
11422 (char *) "self",(char *) "filterIndex", NULL
11425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
11426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11428 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11429 if (PyErr_Occurred()) SWIG_fail
;
11432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11433 (arg1
)->SetFilterIndex(arg2
);
11435 wxPyEndAllowThreads(__tstate
);
11436 if (PyErr_Occurred()) SWIG_fail
;
11438 Py_INCREF(Py_None
); resultobj
= Py_None
;
11445 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11446 PyObject
*resultobj
;
11447 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11449 PyObject
* obj0
= 0 ;
11450 char *kwnames
[] = {
11451 (char *) "self", NULL
11454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11458 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
11460 wxPyEndAllowThreads(__tstate
);
11461 if (PyErr_Occurred()) SWIG_fail
;
11465 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11467 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11476 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11477 PyObject
*resultobj
;
11478 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11480 PyObject
* obj0
= 0 ;
11481 char *kwnames
[] = {
11482 (char *) "self", NULL
11485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11489 result
= ((wxFileDialog
const *)arg1
)->GetPath();
11491 wxPyEndAllowThreads(__tstate
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11496 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11498 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11507 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11508 PyObject
*resultobj
;
11509 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11511 PyObject
* obj0
= 0 ;
11512 char *kwnames
[] = {
11513 (char *) "self", NULL
11516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
11517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11520 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
11522 wxPyEndAllowThreads(__tstate
);
11523 if (PyErr_Occurred()) SWIG_fail
;
11527 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11529 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11538 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11539 PyObject
*resultobj
;
11540 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11542 PyObject
* obj0
= 0 ;
11543 char *kwnames
[] = {
11544 (char *) "self", NULL
11547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
11548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11551 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
11553 wxPyEndAllowThreads(__tstate
);
11554 if (PyErr_Occurred()) SWIG_fail
;
11558 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11560 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11569 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11570 PyObject
*resultobj
;
11571 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11573 PyObject
* obj0
= 0 ;
11574 char *kwnames
[] = {
11575 (char *) "self", NULL
11578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
11579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11582 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
11584 wxPyEndAllowThreads(__tstate
);
11585 if (PyErr_Occurred()) SWIG_fail
;
11589 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11591 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11600 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11601 PyObject
*resultobj
;
11602 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11604 PyObject
* obj0
= 0 ;
11605 char *kwnames
[] = {
11606 (char *) "self", NULL
11609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11613 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
11615 wxPyEndAllowThreads(__tstate
);
11616 if (PyErr_Occurred()) SWIG_fail
;
11618 resultobj
= SWIG_PyObj_FromLong((long)result
);
11625 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11626 PyObject
*resultobj
;
11627 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11629 PyObject
* obj0
= 0 ;
11630 char *kwnames
[] = {
11631 (char *) "self", NULL
11634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
11635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11638 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
11640 wxPyEndAllowThreads(__tstate
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11643 resultobj
= SWIG_PyObj_FromInt((int)result
);
11650 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11651 PyObject
*resultobj
;
11652 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11654 PyObject
* obj0
= 0 ;
11655 char *kwnames
[] = {
11656 (char *) "self", NULL
11659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
11660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11663 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
11665 wxPyEndAllowThreads(__tstate
);
11666 if (PyErr_Occurred()) SWIG_fail
;
11668 resultobj
= result
;
11675 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11676 PyObject
*resultobj
;
11677 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11679 PyObject
* obj0
= 0 ;
11680 char *kwnames
[] = {
11681 (char *) "self", NULL
11684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
11685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11688 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
11690 wxPyEndAllowThreads(__tstate
);
11691 if (PyErr_Occurred()) SWIG_fail
;
11693 resultobj
= result
;
11700 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11703 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
11705 return Py_BuildValue((char *)"");
11707 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11708 PyObject
*resultobj
;
11709 wxWindow
*arg1
= (wxWindow
*) 0 ;
11710 wxString
*arg2
= 0 ;
11711 wxString
*arg3
= 0 ;
11712 int arg4
= (int) 0 ;
11713 wxString
*arg5
= (wxString
*) 0 ;
11714 long arg6
= (long) wxCHOICEDLG_STYLE
;
11715 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11716 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11717 wxMultiChoiceDialog
*result
;
11718 bool temp2
= False
;
11719 bool temp3
= False
;
11721 PyObject
* obj0
= 0 ;
11722 PyObject
* obj1
= 0 ;
11723 PyObject
* obj2
= 0 ;
11724 PyObject
* obj3
= 0 ;
11725 PyObject
* obj4
= 0 ;
11726 PyObject
* obj5
= 0 ;
11727 char *kwnames
[] = {
11728 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11734 arg2
= wxString_in_helper(obj1
);
11735 if (arg2
== NULL
) SWIG_fail
;
11739 arg3
= wxString_in_helper(obj2
);
11740 if (arg3
== NULL
) SWIG_fail
;
11745 arg4
= PyList_Size(obj3
);
11746 arg5
= wxString_LIST_helper(obj3
);
11747 if (arg5
== NULL
) SWIG_fail
;
11752 arg6
= (long) SWIG_PyObj_AsLong(obj4
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11759 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
11763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11764 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
11766 wxPyEndAllowThreads(__tstate
);
11767 if (PyErr_Occurred()) SWIG_fail
;
11769 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMultiChoiceDialog
, 1);
11779 if (arg5
) delete [] arg5
;
11792 if (arg5
) delete [] arg5
;
11798 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11799 PyObject
*resultobj
;
11800 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
11801 wxArrayInt
*arg2
= 0 ;
11802 PyObject
* obj0
= 0 ;
11803 PyObject
* obj1
= 0 ;
11804 char *kwnames
[] = {
11805 (char *) "self",(char *) "selections", NULL
11808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
11809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11811 if (! PySequence_Check(obj1
)) {
11812 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
11815 arg2
= new wxArrayInt
;
11816 int i
, len
=PySequence_Length(obj1
);
11817 for (i
=0; i
<len
; i
++) {
11818 PyObject
* item
= PySequence_GetItem(obj1
, i
);
11819 PyObject
* number
= PyNumber_Int(item
);
11820 arg2
->Add(PyInt_AS_LONG(number
));
11826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11827 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
11829 wxPyEndAllowThreads(__tstate
);
11830 if (PyErr_Occurred()) SWIG_fail
;
11832 Py_INCREF(Py_None
); resultobj
= Py_None
;
11834 if (arg2
) delete arg2
;
11839 if (arg2
) delete arg2
;
11845 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11846 PyObject
*resultobj
;
11847 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
11849 PyObject
* obj0
= 0 ;
11850 char *kwnames
[] = {
11851 (char *) "self", NULL
11854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
11855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMultiChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11858 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
11860 wxPyEndAllowThreads(__tstate
);
11861 if (PyErr_Occurred()) SWIG_fail
;
11863 resultobj
= result
;
11870 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11872 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11873 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
11875 return Py_BuildValue((char *)"");
11877 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11878 PyObject
*resultobj
;
11879 wxWindow
*arg1
= (wxWindow
*) 0 ;
11880 wxString
*arg2
= 0 ;
11881 wxString
*arg3
= 0 ;
11883 wxString
*arg5
= (wxString
*) 0 ;
11884 long arg6
= (long) wxCHOICEDLG_STYLE
;
11885 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11886 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11887 wxSingleChoiceDialog
*result
;
11888 bool temp2
= False
;
11889 bool temp3
= False
;
11891 PyObject
* obj0
= 0 ;
11892 PyObject
* obj1
= 0 ;
11893 PyObject
* obj2
= 0 ;
11894 PyObject
* obj3
= 0 ;
11895 PyObject
* obj4
= 0 ;
11896 PyObject
* obj5
= 0 ;
11897 char *kwnames
[] = {
11898 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11904 arg2
= wxString_in_helper(obj1
);
11905 if (arg2
== NULL
) SWIG_fail
;
11909 arg3
= wxString_in_helper(obj2
);
11910 if (arg3
== NULL
) SWIG_fail
;
11914 arg4
= PyList_Size(obj3
);
11915 arg5
= wxString_LIST_helper(obj3
);
11916 if (arg5
== NULL
) SWIG_fail
;
11920 arg6
= (long) SWIG_PyObj_AsLong(obj4
);
11921 if (PyErr_Occurred()) SWIG_fail
;
11927 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
11931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11932 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
11934 wxPyEndAllowThreads(__tstate
);
11935 if (PyErr_Occurred()) SWIG_fail
;
11937 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleChoiceDialog
, 1);
11947 if (arg5
) delete [] arg5
;
11960 if (arg5
) delete [] arg5
;
11966 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11967 PyObject
*resultobj
;
11968 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11970 PyObject
* obj0
= 0 ;
11971 char *kwnames
[] = {
11972 (char *) "self", NULL
11975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
11976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11979 result
= (int)(arg1
)->GetSelection();
11981 wxPyEndAllowThreads(__tstate
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11984 resultobj
= SWIG_PyObj_FromInt((int)result
);
11991 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11992 PyObject
*resultobj
;
11993 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11995 PyObject
* obj0
= 0 ;
11996 char *kwnames
[] = {
11997 (char *) "self", NULL
12000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12004 result
= (arg1
)->GetStringSelection();
12006 wxPyEndAllowThreads(__tstate
);
12007 if (PyErr_Occurred()) SWIG_fail
;
12011 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12013 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12022 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12023 PyObject
*resultobj
;
12024 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12026 PyObject
* obj0
= 0 ;
12027 PyObject
* obj1
= 0 ;
12028 char *kwnames
[] = {
12029 (char *) "self",(char *) "sel", NULL
12032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12035 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12036 if (PyErr_Occurred()) SWIG_fail
;
12039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12040 (arg1
)->SetSelection(arg2
);
12042 wxPyEndAllowThreads(__tstate
);
12043 if (PyErr_Occurred()) SWIG_fail
;
12045 Py_INCREF(Py_None
); resultobj
= Py_None
;
12052 static PyObject
*_wrap_SingleChoiceDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12053 PyObject
*resultobj
;
12054 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12056 PyObject
* obj0
= 0 ;
12057 char *kwnames
[] = {
12058 (char *) "self", NULL
12061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
12062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleChoiceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12065 result
= (int)(arg1
)->ShowModal();
12067 wxPyEndAllowThreads(__tstate
);
12068 if (PyErr_Occurred()) SWIG_fail
;
12070 resultobj
= SWIG_PyObj_FromInt((int)result
);
12077 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12079 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12080 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12082 return Py_BuildValue((char *)"");
12084 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12085 PyObject
*resultobj
;
12086 wxWindow
*arg1
= (wxWindow
*) 0 ;
12087 wxString
*arg2
= 0 ;
12088 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12089 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12090 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12091 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12092 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12093 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12094 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12095 wxTextEntryDialog
*result
;
12096 bool temp2
= False
;
12097 bool temp3
= False
;
12098 bool temp4
= False
;
12100 PyObject
* obj0
= 0 ;
12101 PyObject
* obj1
= 0 ;
12102 PyObject
* obj2
= 0 ;
12103 PyObject
* obj3
= 0 ;
12104 PyObject
* obj4
= 0 ;
12105 PyObject
* obj5
= 0 ;
12106 char *kwnames
[] = {
12107 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12113 arg2
= wxString_in_helper(obj1
);
12114 if (arg2
== NULL
) SWIG_fail
;
12119 arg3
= wxString_in_helper(obj2
);
12120 if (arg3
== NULL
) SWIG_fail
;
12126 arg4
= wxString_in_helper(obj3
);
12127 if (arg4
== NULL
) SWIG_fail
;
12133 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
12134 if (PyErr_Occurred()) SWIG_fail
;
12140 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12145 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12147 wxPyEndAllowThreads(__tstate
);
12148 if (PyErr_Occurred()) SWIG_fail
;
12150 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextEntryDialog
, 1);
12181 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12182 PyObject
*resultobj
;
12183 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12185 PyObject
* obj0
= 0 ;
12186 char *kwnames
[] = {
12187 (char *) "self", NULL
12190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12194 result
= (arg1
)->GetValue();
12196 wxPyEndAllowThreads(__tstate
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12201 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12203 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12212 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12213 PyObject
*resultobj
;
12214 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12215 wxString
*arg2
= 0 ;
12216 bool temp2
= False
;
12217 PyObject
* obj0
= 0 ;
12218 PyObject
* obj1
= 0 ;
12219 char *kwnames
[] = {
12220 (char *) "self",(char *) "value", NULL
12223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12226 arg2
= wxString_in_helper(obj1
);
12227 if (arg2
== NULL
) SWIG_fail
;
12231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12232 (arg1
)->SetValue((wxString
const &)*arg2
);
12234 wxPyEndAllowThreads(__tstate
);
12235 if (PyErr_Occurred()) SWIG_fail
;
12237 Py_INCREF(Py_None
); resultobj
= Py_None
;
12252 static PyObject
*_wrap_TextEntryDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12253 PyObject
*resultobj
;
12254 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12256 PyObject
* obj0
= 0 ;
12257 char *kwnames
[] = {
12258 (char *) "self", NULL
12261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
12262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextEntryDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12265 result
= (int)(arg1
)->ShowModal();
12267 wxPyEndAllowThreads(__tstate
);
12268 if (PyErr_Occurred()) SWIG_fail
;
12270 resultobj
= SWIG_PyObj_FromInt((int)result
);
12277 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12280 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12282 return Py_BuildValue((char *)"");
12284 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12285 PyObject
*resultobj
;
12286 wxFontData
*result
;
12287 char *kwnames
[] = {
12291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
12293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12294 result
= (wxFontData
*)new wxFontData();
12296 wxPyEndAllowThreads(__tstate
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12299 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 1);
12306 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12307 PyObject
*resultobj
;
12308 wxFontData
*arg1
= (wxFontData
*) 0 ;
12309 PyObject
* obj0
= 0 ;
12310 char *kwnames
[] = {
12311 (char *) "self", NULL
12314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
12315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12320 wxPyEndAllowThreads(__tstate
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12323 Py_INCREF(Py_None
); resultobj
= Py_None
;
12330 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12331 PyObject
*resultobj
;
12332 wxFontData
*arg1
= (wxFontData
*) 0 ;
12334 PyObject
* obj0
= 0 ;
12335 PyObject
* obj1
= 0 ;
12336 char *kwnames
[] = {
12337 (char *) "self",(char *) "enable", NULL
12340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
12341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12343 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12344 if (PyErr_Occurred()) SWIG_fail
;
12347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12348 (arg1
)->EnableEffects(arg2
);
12350 wxPyEndAllowThreads(__tstate
);
12351 if (PyErr_Occurred()) SWIG_fail
;
12353 Py_INCREF(Py_None
); resultobj
= Py_None
;
12360 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12361 PyObject
*resultobj
;
12362 wxFontData
*arg1
= (wxFontData
*) 0 ;
12364 PyObject
* obj0
= 0 ;
12365 char *kwnames
[] = {
12366 (char *) "self", NULL
12369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
12370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12373 result
= (bool)(arg1
)->GetAllowSymbols();
12375 wxPyEndAllowThreads(__tstate
);
12376 if (PyErr_Occurred()) SWIG_fail
;
12378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12385 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12386 PyObject
*resultobj
;
12387 wxFontData
*arg1
= (wxFontData
*) 0 ;
12389 PyObject
* obj0
= 0 ;
12390 char *kwnames
[] = {
12391 (char *) "self", NULL
12394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
12395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12398 result
= (arg1
)->GetColour();
12400 wxPyEndAllowThreads(__tstate
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12404 wxColour
* resultptr
;
12405 resultptr
= new wxColour((wxColour
&) result
);
12406 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
12414 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12415 PyObject
*resultobj
;
12416 wxFontData
*arg1
= (wxFontData
*) 0 ;
12418 PyObject
* obj0
= 0 ;
12419 char *kwnames
[] = {
12420 (char *) "self", NULL
12423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
12424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12427 result
= (arg1
)->GetChosenFont();
12429 wxPyEndAllowThreads(__tstate
);
12430 if (PyErr_Occurred()) SWIG_fail
;
12433 wxFont
* resultptr
;
12434 resultptr
= new wxFont((wxFont
&) result
);
12435 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
12443 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12444 PyObject
*resultobj
;
12445 wxFontData
*arg1
= (wxFontData
*) 0 ;
12447 PyObject
* obj0
= 0 ;
12448 char *kwnames
[] = {
12449 (char *) "self", NULL
12452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
12453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12456 result
= (bool)(arg1
)->GetEnableEffects();
12458 wxPyEndAllowThreads(__tstate
);
12459 if (PyErr_Occurred()) SWIG_fail
;
12461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12468 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12469 PyObject
*resultobj
;
12470 wxFontData
*arg1
= (wxFontData
*) 0 ;
12472 PyObject
* obj0
= 0 ;
12473 char *kwnames
[] = {
12474 (char *) "self", NULL
12477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
12478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12481 result
= (arg1
)->GetInitialFont();
12483 wxPyEndAllowThreads(__tstate
);
12484 if (PyErr_Occurred()) SWIG_fail
;
12487 wxFont
* resultptr
;
12488 resultptr
= new wxFont((wxFont
&) result
);
12489 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
12497 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12498 PyObject
*resultobj
;
12499 wxFontData
*arg1
= (wxFontData
*) 0 ;
12501 PyObject
* obj0
= 0 ;
12502 char *kwnames
[] = {
12503 (char *) "self", NULL
12506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
12507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12510 result
= (bool)(arg1
)->GetShowHelp();
12512 wxPyEndAllowThreads(__tstate
);
12513 if (PyErr_Occurred()) SWIG_fail
;
12515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12522 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12523 PyObject
*resultobj
;
12524 wxFontData
*arg1
= (wxFontData
*) 0 ;
12526 PyObject
* obj0
= 0 ;
12527 PyObject
* obj1
= 0 ;
12528 char *kwnames
[] = {
12529 (char *) "self",(char *) "allowSymbols", NULL
12532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
12533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12535 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12536 if (PyErr_Occurred()) SWIG_fail
;
12539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12540 (arg1
)->SetAllowSymbols(arg2
);
12542 wxPyEndAllowThreads(__tstate
);
12543 if (PyErr_Occurred()) SWIG_fail
;
12545 Py_INCREF(Py_None
); resultobj
= Py_None
;
12552 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12553 PyObject
*resultobj
;
12554 wxFontData
*arg1
= (wxFontData
*) 0 ;
12556 PyObject
* obj0
= 0 ;
12557 PyObject
* obj1
= 0 ;
12558 char *kwnames
[] = {
12559 (char *) "self",(char *) "font", NULL
12562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12564 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12565 if (arg2
== NULL
) {
12566 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12570 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
12572 wxPyEndAllowThreads(__tstate
);
12573 if (PyErr_Occurred()) SWIG_fail
;
12575 Py_INCREF(Py_None
); resultobj
= Py_None
;
12582 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12583 PyObject
*resultobj
;
12584 wxFontData
*arg1
= (wxFontData
*) 0 ;
12585 wxColour
*arg2
= 0 ;
12587 PyObject
* obj0
= 0 ;
12588 PyObject
* obj1
= 0 ;
12589 char *kwnames
[] = {
12590 (char *) "self",(char *) "colour", NULL
12593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12597 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12601 (arg1
)->SetColour((wxColour
const &)*arg2
);
12603 wxPyEndAllowThreads(__tstate
);
12604 if (PyErr_Occurred()) SWIG_fail
;
12606 Py_INCREF(Py_None
); resultobj
= Py_None
;
12613 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12614 PyObject
*resultobj
;
12615 wxFontData
*arg1
= (wxFontData
*) 0 ;
12617 PyObject
* obj0
= 0 ;
12618 PyObject
* obj1
= 0 ;
12619 char *kwnames
[] = {
12620 (char *) "self",(char *) "font", NULL
12623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12625 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12626 if (arg2
== NULL
) {
12627 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12631 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
12633 wxPyEndAllowThreads(__tstate
);
12634 if (PyErr_Occurred()) SWIG_fail
;
12636 Py_INCREF(Py_None
); resultobj
= Py_None
;
12643 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12644 PyObject
*resultobj
;
12645 wxFontData
*arg1
= (wxFontData
*) 0 ;
12648 PyObject
* obj0
= 0 ;
12649 PyObject
* obj1
= 0 ;
12650 PyObject
* obj2
= 0 ;
12651 char *kwnames
[] = {
12652 (char *) "self",(char *) "min",(char *) "max", NULL
12655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12658 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12659 if (PyErr_Occurred()) SWIG_fail
;
12662 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12663 if (PyErr_Occurred()) SWIG_fail
;
12666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12667 (arg1
)->SetRange(arg2
,arg3
);
12669 wxPyEndAllowThreads(__tstate
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12672 Py_INCREF(Py_None
); resultobj
= Py_None
;
12679 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12680 PyObject
*resultobj
;
12681 wxFontData
*arg1
= (wxFontData
*) 0 ;
12683 PyObject
* obj0
= 0 ;
12684 PyObject
* obj1
= 0 ;
12685 char *kwnames
[] = {
12686 (char *) "self",(char *) "showHelp", NULL
12689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
12690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12692 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12693 if (PyErr_Occurred()) SWIG_fail
;
12696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12697 (arg1
)->SetShowHelp(arg2
);
12699 wxPyEndAllowThreads(__tstate
);
12700 if (PyErr_Occurred()) SWIG_fail
;
12702 Py_INCREF(Py_None
); resultobj
= Py_None
;
12709 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
12711 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12712 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
12714 return Py_BuildValue((char *)"");
12716 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12717 PyObject
*resultobj
;
12718 wxWindow
*arg1
= (wxWindow
*) 0 ;
12719 wxFontData
*arg2
= 0 ;
12720 wxFontDialog
*result
;
12721 PyObject
* obj0
= 0 ;
12722 PyObject
* obj1
= 0 ;
12723 char *kwnames
[] = {
12724 (char *) "parent",(char *) "data", NULL
12727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
12728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12729 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFontData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12730 if (arg2
== NULL
) {
12731 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12735 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
12737 wxPyEndAllowThreads(__tstate
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12740 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontDialog
, 1);
12747 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12748 PyObject
*resultobj
;
12749 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
12750 wxFontData
*result
;
12751 PyObject
* obj0
= 0 ;
12752 char *kwnames
[] = {
12753 (char *) "self", NULL
12756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
12757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12761 wxFontData
&_result_ref
= (arg1
)->GetFontData();
12762 result
= (wxFontData
*) &_result_ref
;
12765 wxPyEndAllowThreads(__tstate
);
12766 if (PyErr_Occurred()) SWIG_fail
;
12768 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontData
, 0);
12775 static PyObject
*_wrap_FontDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12776 PyObject
*resultobj
;
12777 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
12779 PyObject
* obj0
= 0 ;
12780 char *kwnames
[] = {
12781 (char *) "self", NULL
12784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
12785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12788 result
= (int)(arg1
)->ShowModal();
12790 wxPyEndAllowThreads(__tstate
);
12791 if (PyErr_Occurred()) SWIG_fail
;
12793 resultobj
= SWIG_PyObj_FromInt((int)result
);
12800 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12803 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
12805 return Py_BuildValue((char *)"");
12807 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12808 PyObject
*resultobj
;
12809 wxWindow
*arg1
= (wxWindow
*) 0 ;
12810 wxString
*arg2
= 0 ;
12811 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
12812 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12813 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12814 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12815 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12816 wxMessageDialog
*result
;
12817 bool temp2
= False
;
12818 bool temp3
= False
;
12820 PyObject
* obj0
= 0 ;
12821 PyObject
* obj1
= 0 ;
12822 PyObject
* obj2
= 0 ;
12823 PyObject
* obj3
= 0 ;
12824 PyObject
* obj4
= 0 ;
12825 char *kwnames
[] = {
12826 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
12829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12832 arg2
= wxString_in_helper(obj1
);
12833 if (arg2
== NULL
) SWIG_fail
;
12838 arg3
= wxString_in_helper(obj2
);
12839 if (arg3
== NULL
) SWIG_fail
;
12845 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12852 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12857 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
12859 wxPyEndAllowThreads(__tstate
);
12860 if (PyErr_Occurred()) SWIG_fail
;
12862 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMessageDialog
, 1);
12885 static PyObject
*_wrap_MessageDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12886 PyObject
*resultobj
;
12887 wxMessageDialog
*arg1
= (wxMessageDialog
*) 0 ;
12889 PyObject
* obj0
= 0 ;
12890 char *kwnames
[] = {
12891 (char *) "self", NULL
12894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MessageDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
12895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMessageDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12898 result
= (int)(arg1
)->ShowModal();
12900 wxPyEndAllowThreads(__tstate
);
12901 if (PyErr_Occurred()) SWIG_fail
;
12903 resultobj
= SWIG_PyObj_FromInt((int)result
);
12910 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12912 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12913 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
12915 return Py_BuildValue((char *)"");
12917 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12918 PyObject
*resultobj
;
12919 wxString
*arg1
= 0 ;
12920 wxString
*arg2
= 0 ;
12921 int arg3
= (int) 100 ;
12922 wxWindow
*arg4
= (wxWindow
*) NULL
;
12923 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
12924 wxProgressDialog
*result
;
12925 bool temp1
= False
;
12926 bool temp2
= False
;
12927 PyObject
* obj0
= 0 ;
12928 PyObject
* obj1
= 0 ;
12929 PyObject
* obj2
= 0 ;
12930 PyObject
* obj3
= 0 ;
12931 PyObject
* obj4
= 0 ;
12932 char *kwnames
[] = {
12933 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
12936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12938 arg1
= wxString_in_helper(obj0
);
12939 if (arg1
== NULL
) SWIG_fail
;
12943 arg2
= wxString_in_helper(obj1
);
12944 if (arg2
== NULL
) SWIG_fail
;
12949 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12950 if (PyErr_Occurred()) SWIG_fail
;
12954 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12958 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12959 if (PyErr_Occurred()) SWIG_fail
;
12963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12964 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
12966 wxPyEndAllowThreads(__tstate
);
12967 if (PyErr_Occurred()) SWIG_fail
;
12969 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxProgressDialog
, 1);
12992 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12993 PyObject
*resultobj
;
12994 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
12996 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12997 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12999 bool temp3
= False
;
13000 PyObject
* obj0
= 0 ;
13001 PyObject
* obj1
= 0 ;
13002 PyObject
* obj2
= 0 ;
13003 char *kwnames
[] = {
13004 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13010 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13011 if (PyErr_Occurred()) SWIG_fail
;
13015 arg3
= wxString_in_helper(obj2
);
13016 if (arg3
== NULL
) SWIG_fail
;
13021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13022 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13024 wxPyEndAllowThreads(__tstate
);
13025 if (PyErr_Occurred()) SWIG_fail
;
13027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13042 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13043 PyObject
*resultobj
;
13044 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13045 PyObject
* obj0
= 0 ;
13046 char *kwnames
[] = {
13047 (char *) "self", NULL
13050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProgressDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13056 wxPyEndAllowThreads(__tstate
);
13057 if (PyErr_Occurred()) SWIG_fail
;
13059 Py_INCREF(Py_None
); resultobj
= Py_None
;
13066 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13068 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13069 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13071 return Py_BuildValue((char *)"");
13073 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13074 PyObject
*resultobj
;
13075 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13076 int arg2
= (int) 0 ;
13077 wxFindDialogEvent
*result
;
13078 PyObject
* obj0
= 0 ;
13079 PyObject
* obj1
= 0 ;
13080 char *kwnames
[] = {
13081 (char *) "commandType",(char *) "id", NULL
13084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13087 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
13088 if (PyErr_Occurred()) SWIG_fail
;
13093 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13094 if (PyErr_Occurred()) SWIG_fail
;
13098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13099 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13101 wxPyEndAllowThreads(__tstate
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13104 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindDialogEvent
, 1);
13111 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
*resultobj
;
13113 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13115 PyObject
* obj0
= 0 ;
13116 char *kwnames
[] = {
13117 (char *) "self", NULL
13120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13124 result
= (int)(arg1
)->GetFlags();
13126 wxPyEndAllowThreads(__tstate
);
13127 if (PyErr_Occurred()) SWIG_fail
;
13129 resultobj
= SWIG_PyObj_FromInt((int)result
);
13136 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13137 PyObject
*resultobj
;
13138 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13140 PyObject
* obj0
= 0 ;
13141 char *kwnames
[] = {
13142 (char *) "self", NULL
13145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13150 wxString
const &_result_ref
= (arg1
)->GetFindString();
13151 result
= (wxString
*) &_result_ref
;
13154 wxPyEndAllowThreads(__tstate
);
13155 if (PyErr_Occurred()) SWIG_fail
;
13159 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13161 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13170 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13171 PyObject
*resultobj
;
13172 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13174 PyObject
* obj0
= 0 ;
13175 char *kwnames
[] = {
13176 (char *) "self", NULL
13179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13184 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13185 result
= (wxString
*) &_result_ref
;
13188 wxPyEndAllowThreads(__tstate
);
13189 if (PyErr_Occurred()) SWIG_fail
;
13193 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13195 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13204 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13205 PyObject
*resultobj
;
13206 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13207 wxFindReplaceDialog
*result
;
13208 PyObject
* obj0
= 0 ;
13209 char *kwnames
[] = {
13210 (char *) "self", NULL
13213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13217 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13219 wxPyEndAllowThreads(__tstate
);
13220 if (PyErr_Occurred()) SWIG_fail
;
13222 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 0);
13229 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13230 PyObject
*resultobj
;
13231 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13233 PyObject
* obj0
= 0 ;
13234 PyObject
* obj1
= 0 ;
13235 char *kwnames
[] = {
13236 (char *) "self",(char *) "flags", NULL
13239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13242 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13243 if (PyErr_Occurred()) SWIG_fail
;
13246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13247 (arg1
)->SetFlags(arg2
);
13249 wxPyEndAllowThreads(__tstate
);
13250 if (PyErr_Occurred()) SWIG_fail
;
13252 Py_INCREF(Py_None
); resultobj
= Py_None
;
13259 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13260 PyObject
*resultobj
;
13261 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13262 wxString
*arg2
= 0 ;
13263 bool temp2
= False
;
13264 PyObject
* obj0
= 0 ;
13265 PyObject
* obj1
= 0 ;
13266 char *kwnames
[] = {
13267 (char *) "self",(char *) "str", NULL
13270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13273 arg2
= wxString_in_helper(obj1
);
13274 if (arg2
== NULL
) SWIG_fail
;
13278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13279 (arg1
)->SetFindString((wxString
const &)*arg2
);
13281 wxPyEndAllowThreads(__tstate
);
13282 if (PyErr_Occurred()) SWIG_fail
;
13284 Py_INCREF(Py_None
); resultobj
= Py_None
;
13299 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13300 PyObject
*resultobj
;
13301 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13302 wxString
*arg2
= 0 ;
13303 bool temp2
= False
;
13304 PyObject
* obj0
= 0 ;
13305 PyObject
* obj1
= 0 ;
13306 char *kwnames
[] = {
13307 (char *) "self",(char *) "str", NULL
13310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindDialogEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13313 arg2
= wxString_in_helper(obj1
);
13314 if (arg2
== NULL
) SWIG_fail
;
13318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13319 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13321 wxPyEndAllowThreads(__tstate
);
13322 if (PyErr_Occurred()) SWIG_fail
;
13324 Py_INCREF(Py_None
); resultobj
= Py_None
;
13339 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13341 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13342 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
13344 return Py_BuildValue((char *)"");
13346 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13347 PyObject
*resultobj
;
13348 int arg1
= (int) 0 ;
13349 wxFindReplaceData
*result
;
13350 PyObject
* obj0
= 0 ;
13351 char *kwnames
[] = {
13352 (char *) "flags", NULL
13355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13358 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
13359 if (PyErr_Occurred()) SWIG_fail
;
13363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13364 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
13366 wxPyEndAllowThreads(__tstate
);
13367 if (PyErr_Occurred()) SWIG_fail
;
13369 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 1);
13376 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13377 PyObject
*resultobj
;
13378 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13379 PyObject
* obj0
= 0 ;
13380 char *kwnames
[] = {
13381 (char *) "self", NULL
13384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13390 wxPyEndAllowThreads(__tstate
);
13391 if (PyErr_Occurred()) SWIG_fail
;
13393 Py_INCREF(Py_None
); resultobj
= Py_None
;
13400 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13401 PyObject
*resultobj
;
13402 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13404 PyObject
* obj0
= 0 ;
13405 char *kwnames
[] = {
13406 (char *) "self", NULL
13409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
13410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13414 wxString
const &_result_ref
= (arg1
)->GetFindString();
13415 result
= (wxString
*) &_result_ref
;
13418 wxPyEndAllowThreads(__tstate
);
13419 if (PyErr_Occurred()) SWIG_fail
;
13423 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13425 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13434 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13435 PyObject
*resultobj
;
13436 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13438 PyObject
* obj0
= 0 ;
13439 char *kwnames
[] = {
13440 (char *) "self", NULL
13443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13448 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13449 result
= (wxString
*) &_result_ref
;
13452 wxPyEndAllowThreads(__tstate
);
13453 if (PyErr_Occurred()) SWIG_fail
;
13457 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13459 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13468 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13469 PyObject
*resultobj
;
13470 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13472 PyObject
* obj0
= 0 ;
13473 char *kwnames
[] = {
13474 (char *) "self", NULL
13477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
13478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13481 result
= (int)(arg1
)->GetFlags();
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13486 resultobj
= SWIG_PyObj_FromInt((int)result
);
13493 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13494 PyObject
*resultobj
;
13495 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13497 PyObject
* obj0
= 0 ;
13498 PyObject
* obj1
= 0 ;
13499 char *kwnames
[] = {
13500 (char *) "self",(char *) "flags", NULL
13503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13506 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13507 if (PyErr_Occurred()) SWIG_fail
;
13510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13511 (arg1
)->SetFlags(arg2
);
13513 wxPyEndAllowThreads(__tstate
);
13514 if (PyErr_Occurred()) SWIG_fail
;
13516 Py_INCREF(Py_None
); resultobj
= Py_None
;
13523 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13524 PyObject
*resultobj
;
13525 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13526 wxString
*arg2
= 0 ;
13527 bool temp2
= False
;
13528 PyObject
* obj0
= 0 ;
13529 PyObject
* obj1
= 0 ;
13530 char *kwnames
[] = {
13531 (char *) "self",(char *) "str", NULL
13534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13537 arg2
= wxString_in_helper(obj1
);
13538 if (arg2
== NULL
) SWIG_fail
;
13542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13543 (arg1
)->SetFindString((wxString
const &)*arg2
);
13545 wxPyEndAllowThreads(__tstate
);
13546 if (PyErr_Occurred()) SWIG_fail
;
13548 Py_INCREF(Py_None
); resultobj
= Py_None
;
13563 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13564 PyObject
*resultobj
;
13565 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13566 wxString
*arg2
= 0 ;
13567 bool temp2
= False
;
13568 PyObject
* obj0
= 0 ;
13569 PyObject
* obj1
= 0 ;
13570 char *kwnames
[] = {
13571 (char *) "self",(char *) "str", NULL
13574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13577 arg2
= wxString_in_helper(obj1
);
13578 if (arg2
== NULL
) SWIG_fail
;
13582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13583 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13585 wxPyEndAllowThreads(__tstate
);
13586 if (PyErr_Occurred()) SWIG_fail
;
13588 Py_INCREF(Py_None
); resultobj
= Py_None
;
13603 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
13605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13606 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
13608 return Py_BuildValue((char *)"");
13610 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13611 PyObject
*resultobj
;
13612 wxWindow
*arg1
= (wxWindow
*) 0 ;
13613 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
13614 wxString
*arg3
= 0 ;
13615 int arg4
= (int) 0 ;
13616 wxFindReplaceDialog
*result
;
13617 bool temp3
= False
;
13618 PyObject
* obj0
= 0 ;
13619 PyObject
* obj1
= 0 ;
13620 PyObject
* obj2
= 0 ;
13621 PyObject
* obj3
= 0 ;
13622 char *kwnames
[] = {
13623 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13628 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13630 arg3
= wxString_in_helper(obj2
);
13631 if (arg3
== NULL
) SWIG_fail
;
13636 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
13637 if (PyErr_Occurred()) SWIG_fail
;
13641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13642 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13644 wxPyEndAllowThreads(__tstate
);
13645 if (PyErr_Occurred()) SWIG_fail
;
13647 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
13662 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13663 PyObject
*resultobj
;
13664 wxFindReplaceDialog
*result
;
13665 char *kwnames
[] = {
13669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
13671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13672 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
13674 wxPyEndAllowThreads(__tstate
);
13675 if (PyErr_Occurred()) SWIG_fail
;
13677 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceDialog
, 1);
13684 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13685 PyObject
*resultobj
;
13686 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13687 wxWindow
*arg2
= (wxWindow
*) 0 ;
13688 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
13689 wxString
*arg4
= 0 ;
13690 int arg5
= (int) 0 ;
13692 bool temp4
= False
;
13693 PyObject
* obj0
= 0 ;
13694 PyObject
* obj1
= 0 ;
13695 PyObject
* obj2
= 0 ;
13696 PyObject
* obj3
= 0 ;
13697 PyObject
* obj4
= 0 ;
13698 char *kwnames
[] = {
13699 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13704 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13705 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13707 arg4
= wxString_in_helper(obj3
);
13708 if (arg4
== NULL
) SWIG_fail
;
13713 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13714 if (PyErr_Occurred()) SWIG_fail
;
13718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13719 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13721 wxPyEndAllowThreads(__tstate
);
13722 if (PyErr_Occurred()) SWIG_fail
;
13724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13739 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13740 PyObject
*resultobj
;
13741 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13742 wxFindReplaceData
*result
;
13743 PyObject
* obj0
= 0 ;
13744 char *kwnames
[] = {
13745 (char *) "self", NULL
13748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
13749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13752 result
= (wxFindReplaceData
*)(arg1
)->GetData();
13754 wxPyEndAllowThreads(__tstate
);
13755 if (PyErr_Occurred()) SWIG_fail
;
13757 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFindReplaceData
, 0);
13764 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13765 PyObject
*resultobj
;
13766 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13767 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
13768 PyObject
* obj0
= 0 ;
13769 PyObject
* obj1
= 0 ;
13770 char *kwnames
[] = {
13771 (char *) "self",(char *) "data", NULL
13774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
13775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFindReplaceDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13776 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFindReplaceData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13779 (arg1
)->SetData(arg2
);
13781 wxPyEndAllowThreads(__tstate
);
13782 if (PyErr_Occurred()) SWIG_fail
;
13784 Py_INCREF(Py_None
); resultobj
= Py_None
;
13791 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13793 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13794 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
13796 return Py_BuildValue((char *)"");
13798 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13799 PyObject
*resultobj
;
13800 wxWindow
*arg1
= (wxWindow
*) 0 ;
13802 wxString
*arg3
= 0 ;
13803 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13804 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13805 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13806 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13807 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
13808 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
13809 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13810 wxMDIParentFrame
*result
;
13811 bool temp3
= False
;
13814 bool temp7
= False
;
13815 PyObject
* obj0
= 0 ;
13816 PyObject
* obj1
= 0 ;
13817 PyObject
* obj2
= 0 ;
13818 PyObject
* obj3
= 0 ;
13819 PyObject
* obj4
= 0 ;
13820 PyObject
* obj5
= 0 ;
13821 PyObject
* obj6
= 0 ;
13822 char *kwnames
[] = {
13823 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13829 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
13830 if (PyErr_Occurred()) SWIG_fail
;
13833 arg3
= wxString_in_helper(obj2
);
13834 if (arg3
== NULL
) SWIG_fail
;
13840 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13846 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13851 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13857 arg7
= wxString_in_helper(obj6
);
13858 if (arg7
== NULL
) SWIG_fail
;
13863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13864 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13866 wxPyEndAllowThreads(__tstate
);
13867 if (PyErr_Occurred()) SWIG_fail
;
13869 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
13892 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13893 PyObject
*resultobj
;
13894 wxMDIParentFrame
*result
;
13895 char *kwnames
[] = {
13899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
13901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13902 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
13904 wxPyEndAllowThreads(__tstate
);
13905 if (PyErr_Occurred()) SWIG_fail
;
13907 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMDIParentFrame
, 1);
13914 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13915 PyObject
*resultobj
;
13916 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13917 wxWindow
*arg2
= (wxWindow
*) 0 ;
13919 wxString
*arg4
= 0 ;
13920 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13921 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13922 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13923 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13924 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
13925 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
13926 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13928 bool temp4
= False
;
13931 bool temp8
= False
;
13932 PyObject
* obj0
= 0 ;
13933 PyObject
* obj1
= 0 ;
13934 PyObject
* obj2
= 0 ;
13935 PyObject
* obj3
= 0 ;
13936 PyObject
* obj4
= 0 ;
13937 PyObject
* obj5
= 0 ;
13938 PyObject
* obj6
= 0 ;
13939 PyObject
* obj7
= 0 ;
13940 char *kwnames
[] = {
13941 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13946 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13948 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
13949 if (PyErr_Occurred()) SWIG_fail
;
13952 arg4
= wxString_in_helper(obj3
);
13953 if (arg4
== NULL
) SWIG_fail
;
13959 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13965 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13970 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
13971 if (PyErr_Occurred()) SWIG_fail
;
13976 arg8
= wxString_in_helper(obj7
);
13977 if (arg8
== NULL
) SWIG_fail
;
13982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13983 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
13985 wxPyEndAllowThreads(__tstate
);
13986 if (PyErr_Occurred()) SWIG_fail
;
13988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14011 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14012 PyObject
*resultobj
;
14013 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14014 PyObject
* obj0
= 0 ;
14015 char *kwnames
[] = {
14016 (char *) "self", NULL
14019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14023 (arg1
)->ActivateNext();
14025 wxPyEndAllowThreads(__tstate
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14028 Py_INCREF(Py_None
); resultobj
= Py_None
;
14035 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14036 PyObject
*resultobj
;
14037 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14038 PyObject
* obj0
= 0 ;
14039 char *kwnames
[] = {
14040 (char *) "self", NULL
14043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14047 (arg1
)->ActivatePrevious();
14049 wxPyEndAllowThreads(__tstate
);
14050 if (PyErr_Occurred()) SWIG_fail
;
14052 Py_INCREF(Py_None
); resultobj
= Py_None
;
14059 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14060 PyObject
*resultobj
;
14061 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14062 PyObject
* obj0
= 0 ;
14063 char *kwnames
[] = {
14064 (char *) "self", NULL
14067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14071 (arg1
)->ArrangeIcons();
14073 wxPyEndAllowThreads(__tstate
);
14074 if (PyErr_Occurred()) SWIG_fail
;
14076 Py_INCREF(Py_None
); resultobj
= Py_None
;
14083 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14084 PyObject
*resultobj
;
14085 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14086 PyObject
* obj0
= 0 ;
14087 char *kwnames
[] = {
14088 (char *) "self", NULL
14091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14097 wxPyEndAllowThreads(__tstate
);
14098 if (PyErr_Occurred()) SWIG_fail
;
14100 Py_INCREF(Py_None
); resultobj
= Py_None
;
14107 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14108 PyObject
*resultobj
;
14109 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14110 wxMDIChildFrame
*result
;
14111 PyObject
* obj0
= 0 ;
14112 char *kwnames
[] = {
14113 (char *) "self", NULL
14116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14120 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14122 wxPyEndAllowThreads(__tstate
);
14123 if (PyErr_Occurred()) SWIG_fail
;
14126 resultobj
= wxPyMake_wxObject(result
);
14134 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14135 PyObject
*resultobj
;
14136 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14137 wxMDIClientWindow
*result
;
14138 PyObject
* obj0
= 0 ;
14139 char *kwnames
[] = {
14140 (char *) "self", NULL
14143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14147 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14149 wxPyEndAllowThreads(__tstate
);
14150 if (PyErr_Occurred()) SWIG_fail
;
14153 resultobj
= wxPyMake_wxObject(result
);
14161 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14162 PyObject
*resultobj
;
14163 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14165 PyObject
* obj0
= 0 ;
14166 char *kwnames
[] = {
14167 (char *) "self", NULL
14170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14174 result
= (wxWindow
*)(arg1
)->GetToolBar();
14176 wxPyEndAllowThreads(__tstate
);
14177 if (PyErr_Occurred()) SWIG_fail
;
14180 resultobj
= wxPyMake_wxObject(result
);
14188 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14189 PyObject
*resultobj
;
14190 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14191 PyObject
* obj0
= 0 ;
14192 char *kwnames
[] = {
14193 (char *) "self", NULL
14196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14202 wxPyEndAllowThreads(__tstate
);
14203 if (PyErr_Occurred()) SWIG_fail
;
14205 Py_INCREF(Py_None
); resultobj
= Py_None
;
14212 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14214 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14215 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14217 return Py_BuildValue((char *)"");
14219 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14220 PyObject
*resultobj
;
14221 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14223 wxString
*arg3
= 0 ;
14224 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14225 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14226 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14227 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14228 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14229 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14230 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14231 wxMDIChildFrame
*result
;
14232 bool temp3
= False
;
14235 bool temp7
= False
;
14236 PyObject
* obj0
= 0 ;
14237 PyObject
* obj1
= 0 ;
14238 PyObject
* obj2
= 0 ;
14239 PyObject
* obj3
= 0 ;
14240 PyObject
* obj4
= 0 ;
14241 PyObject
* obj5
= 0 ;
14242 PyObject
* obj6
= 0 ;
14243 char *kwnames
[] = {
14244 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14250 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
14251 if (PyErr_Occurred()) SWIG_fail
;
14254 arg3
= wxString_in_helper(obj2
);
14255 if (arg3
== NULL
) SWIG_fail
;
14261 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14267 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14272 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
14273 if (PyErr_Occurred()) SWIG_fail
;
14278 arg7
= wxString_in_helper(obj6
);
14279 if (arg7
== NULL
) SWIG_fail
;
14284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14285 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14287 wxPyEndAllowThreads(__tstate
);
14288 if (PyErr_Occurred()) SWIG_fail
;
14291 resultobj
= wxPyMake_wxObject(result
);
14315 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14316 PyObject
*resultobj
;
14317 wxMDIChildFrame
*result
;
14318 char *kwnames
[] = {
14322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
14324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14325 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
14327 wxPyEndAllowThreads(__tstate
);
14328 if (PyErr_Occurred()) SWIG_fail
;
14331 resultobj
= wxPyMake_wxObject(result
);
14339 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14340 PyObject
*resultobj
;
14341 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14342 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14344 wxString
*arg4
= 0 ;
14345 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14346 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14347 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14348 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14349 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
14350 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14351 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14353 bool temp4
= False
;
14356 bool temp8
= False
;
14357 PyObject
* obj0
= 0 ;
14358 PyObject
* obj1
= 0 ;
14359 PyObject
* obj2
= 0 ;
14360 PyObject
* obj3
= 0 ;
14361 PyObject
* obj4
= 0 ;
14362 PyObject
* obj5
= 0 ;
14363 PyObject
* obj6
= 0 ;
14364 PyObject
* obj7
= 0 ;
14365 char *kwnames
[] = {
14366 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14371 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14373 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
14374 if (PyErr_Occurred()) SWIG_fail
;
14377 arg4
= wxString_in_helper(obj3
);
14378 if (arg4
== NULL
) SWIG_fail
;
14384 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14390 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14395 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
14396 if (PyErr_Occurred()) SWIG_fail
;
14401 arg8
= wxString_in_helper(obj7
);
14402 if (arg8
== NULL
) SWIG_fail
;
14407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14408 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14410 wxPyEndAllowThreads(__tstate
);
14411 if (PyErr_Occurred()) SWIG_fail
;
14413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14436 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14437 PyObject
*resultobj
;
14438 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14439 PyObject
* obj0
= 0 ;
14440 char *kwnames
[] = {
14441 (char *) "self", NULL
14444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
14445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14448 (arg1
)->Activate();
14450 wxPyEndAllowThreads(__tstate
);
14451 if (PyErr_Occurred()) SWIG_fail
;
14453 Py_INCREF(Py_None
); resultobj
= Py_None
;
14460 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14461 PyObject
*resultobj
;
14462 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14464 PyObject
* obj0
= 0 ;
14465 PyObject
* obj1
= 0 ;
14466 char *kwnames
[] = {
14467 (char *) "self",(char *) "maximize", NULL
14470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
14471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14473 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14474 if (PyErr_Occurred()) SWIG_fail
;
14477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14478 (arg1
)->Maximize(arg2
);
14480 wxPyEndAllowThreads(__tstate
);
14481 if (PyErr_Occurred()) SWIG_fail
;
14483 Py_INCREF(Py_None
); resultobj
= Py_None
;
14490 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14491 PyObject
*resultobj
;
14492 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14493 PyObject
* obj0
= 0 ;
14494 char *kwnames
[] = {
14495 (char *) "self", NULL
14498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
14499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIChildFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14504 wxPyEndAllowThreads(__tstate
);
14505 if (PyErr_Occurred()) SWIG_fail
;
14507 Py_INCREF(Py_None
); resultobj
= Py_None
;
14514 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14517 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
14519 return Py_BuildValue((char *)"");
14521 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14522 PyObject
*resultobj
;
14523 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14524 long arg2
= (long) 0 ;
14525 wxMDIClientWindow
*result
;
14526 PyObject
* obj0
= 0 ;
14527 PyObject
* obj1
= 0 ;
14528 char *kwnames
[] = {
14529 (char *) "parent",(char *) "style", NULL
14532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
14533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14536 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
14537 if (PyErr_Occurred()) SWIG_fail
;
14541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14542 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
14544 wxPyEndAllowThreads(__tstate
);
14545 if (PyErr_Occurred()) SWIG_fail
;
14548 resultobj
= wxPyMake_wxObject(result
);
14556 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14557 PyObject
*resultobj
;
14558 wxMDIClientWindow
*result
;
14559 char *kwnames
[] = {
14563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
14565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14566 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
14568 wxPyEndAllowThreads(__tstate
);
14569 if (PyErr_Occurred()) SWIG_fail
;
14572 resultobj
= wxPyMake_wxObject(result
);
14580 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14581 PyObject
*resultobj
;
14582 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
14583 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14584 long arg3
= (long) 0 ;
14586 PyObject
* obj0
= 0 ;
14587 PyObject
* obj1
= 0 ;
14588 PyObject
* obj2
= 0 ;
14589 char *kwnames
[] = {
14590 (char *) "self",(char *) "parent",(char *) "style", NULL
14593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMDIClientWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14595 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMDIParentFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14598 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14604 result
= (bool)(arg1
)->Create(arg2
,arg3
);
14606 wxPyEndAllowThreads(__tstate
);
14607 if (PyErr_Occurred()) SWIG_fail
;
14609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14616 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
14618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14619 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
14621 return Py_BuildValue((char *)"");
14623 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14624 PyObject
*resultobj
;
14625 wxWindow
*arg1
= (wxWindow
*) 0 ;
14627 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14628 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14629 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14630 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14631 long arg5
= (long) 0 ;
14632 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
14633 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14634 wxPyWindow
*result
;
14637 bool temp6
= False
;
14638 PyObject
* obj0
= 0 ;
14639 PyObject
* obj1
= 0 ;
14640 PyObject
* obj2
= 0 ;
14641 PyObject
* obj3
= 0 ;
14642 PyObject
* obj4
= 0 ;
14643 PyObject
* obj5
= 0 ;
14644 char *kwnames
[] = {
14645 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14651 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
14652 if (PyErr_Occurred()) SWIG_fail
;
14657 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14663 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14668 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
14669 if (PyErr_Occurred()) SWIG_fail
;
14674 arg6
= wxString_in_helper(obj5
);
14675 if (arg6
== NULL
) SWIG_fail
;
14680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14681 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14683 wxPyEndAllowThreads(__tstate
);
14684 if (PyErr_Occurred()) SWIG_fail
;
14686 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyWindow
, 1);
14701 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14702 PyObject
*resultobj
;
14703 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14704 PyObject
*arg2
= (PyObject
*) 0 ;
14705 PyObject
*arg3
= (PyObject
*) 0 ;
14706 PyObject
* obj0
= 0 ;
14707 PyObject
* obj1
= 0 ;
14708 PyObject
* obj2
= 0 ;
14709 char *kwnames
[] = {
14710 (char *) "self",(char *) "self",(char *) "_class", NULL
14713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14719 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14721 wxPyEndAllowThreads(__tstate
);
14722 if (PyErr_Occurred()) SWIG_fail
;
14724 Py_INCREF(Py_None
); resultobj
= Py_None
;
14731 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14732 PyObject
*resultobj
;
14733 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14738 PyObject
* obj0
= 0 ;
14739 PyObject
* obj1
= 0 ;
14740 PyObject
* obj2
= 0 ;
14741 PyObject
* obj3
= 0 ;
14742 PyObject
* obj4
= 0 ;
14743 char *kwnames
[] = {
14744 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14750 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14751 if (PyErr_Occurred()) SWIG_fail
;
14754 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14755 if (PyErr_Occurred()) SWIG_fail
;
14758 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14759 if (PyErr_Occurred()) SWIG_fail
;
14762 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
14763 if (PyErr_Occurred()) SWIG_fail
;
14766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14767 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
14769 wxPyEndAllowThreads(__tstate
);
14770 if (PyErr_Occurred()) SWIG_fail
;
14772 Py_INCREF(Py_None
); resultobj
= Py_None
;
14779 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14780 PyObject
*resultobj
;
14781 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14786 int arg6
= (int) wxSIZE_AUTO
;
14787 PyObject
* obj0
= 0 ;
14788 PyObject
* obj1
= 0 ;
14789 PyObject
* obj2
= 0 ;
14790 PyObject
* obj3
= 0 ;
14791 PyObject
* obj4
= 0 ;
14792 PyObject
* obj5
= 0 ;
14793 char *kwnames
[] = {
14794 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14800 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14801 if (PyErr_Occurred()) SWIG_fail
;
14804 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14805 if (PyErr_Occurred()) SWIG_fail
;
14808 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14809 if (PyErr_Occurred()) SWIG_fail
;
14812 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
14813 if (PyErr_Occurred()) SWIG_fail
;
14817 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
14818 if (PyErr_Occurred()) SWIG_fail
;
14822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14823 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
14825 wxPyEndAllowThreads(__tstate
);
14826 if (PyErr_Occurred()) SWIG_fail
;
14828 Py_INCREF(Py_None
); resultobj
= Py_None
;
14835 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14836 PyObject
*resultobj
;
14837 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14840 PyObject
* obj0
= 0 ;
14841 PyObject
* obj1
= 0 ;
14842 PyObject
* obj2
= 0 ;
14843 char *kwnames
[] = {
14844 (char *) "self",(char *) "width",(char *) "height", NULL
14847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14850 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14851 if (PyErr_Occurred()) SWIG_fail
;
14854 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14855 if (PyErr_Occurred()) SWIG_fail
;
14858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14859 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
14861 wxPyEndAllowThreads(__tstate
);
14862 if (PyErr_Occurred()) SWIG_fail
;
14864 Py_INCREF(Py_None
); resultobj
= Py_None
;
14871 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14872 PyObject
*resultobj
;
14873 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14876 PyObject
* obj0
= 0 ;
14877 PyObject
* obj1
= 0 ;
14878 PyObject
* obj2
= 0 ;
14879 char *kwnames
[] = {
14880 (char *) "self",(char *) "x",(char *) "y", NULL
14883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14886 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14887 if (PyErr_Occurred()) SWIG_fail
;
14890 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14891 if (PyErr_Occurred()) SWIG_fail
;
14894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14895 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
14897 wxPyEndAllowThreads(__tstate
);
14898 if (PyErr_Occurred()) SWIG_fail
;
14900 Py_INCREF(Py_None
); resultobj
= Py_None
;
14907 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14908 PyObject
*resultobj
;
14909 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14910 int *arg2
= (int *) 0 ;
14911 int *arg3
= (int *) 0 ;
14914 PyObject
* obj0
= 0 ;
14915 char *kwnames
[] = {
14916 (char *) "self", NULL
14921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
14922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14925 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
14927 wxPyEndAllowThreads(__tstate
);
14928 if (PyErr_Occurred()) SWIG_fail
;
14930 Py_INCREF(Py_None
); resultobj
= Py_None
;
14932 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14933 resultobj
= t_output_helper(resultobj
,o
);
14936 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14937 resultobj
= t_output_helper(resultobj
,o
);
14945 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14946 PyObject
*resultobj
;
14947 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14948 int *arg2
= (int *) 0 ;
14949 int *arg3
= (int *) 0 ;
14952 PyObject
* obj0
= 0 ;
14953 char *kwnames
[] = {
14954 (char *) "self", NULL
14959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
14960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14963 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
14965 wxPyEndAllowThreads(__tstate
);
14966 if (PyErr_Occurred()) SWIG_fail
;
14968 Py_INCREF(Py_None
); resultobj
= Py_None
;
14970 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14971 resultobj
= t_output_helper(resultobj
,o
);
14974 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14975 resultobj
= t_output_helper(resultobj
,o
);
14983 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14984 PyObject
*resultobj
;
14985 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14986 int *arg2
= (int *) 0 ;
14987 int *arg3
= (int *) 0 ;
14990 PyObject
* obj0
= 0 ;
14991 char *kwnames
[] = {
14992 (char *) "self", NULL
14997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
14998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15001 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15003 wxPyEndAllowThreads(__tstate
);
15004 if (PyErr_Occurred()) SWIG_fail
;
15006 Py_INCREF(Py_None
); resultobj
= Py_None
;
15008 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15009 resultobj
= t_output_helper(resultobj
,o
);
15012 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15013 resultobj
= t_output_helper(resultobj
,o
);
15021 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15022 PyObject
*resultobj
;
15023 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15025 PyObject
* obj0
= 0 ;
15026 char *kwnames
[] = {
15027 (char *) "self", NULL
15030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15034 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15036 wxPyEndAllowThreads(__tstate
);
15037 if (PyErr_Occurred()) SWIG_fail
;
15040 wxSize
* resultptr
;
15041 resultptr
= new wxSize((wxSize
&) result
);
15042 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15050 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15051 PyObject
*resultobj
;
15052 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15054 PyObject
* obj0
= 0 ;
15055 char *kwnames
[] = {
15056 (char *) "self", NULL
15059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15063 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15065 wxPyEndAllowThreads(__tstate
);
15066 if (PyErr_Occurred()) SWIG_fail
;
15069 wxSize
* resultptr
;
15070 resultptr
= new wxSize((wxSize
&) result
);
15071 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15079 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15080 PyObject
*resultobj
;
15081 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15082 PyObject
* obj0
= 0 ;
15083 char *kwnames
[] = {
15084 (char *) "self", NULL
15087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15091 (arg1
)->base_InitDialog();
15093 wxPyEndAllowThreads(__tstate
);
15094 if (PyErr_Occurred()) SWIG_fail
;
15096 Py_INCREF(Py_None
); resultobj
= Py_None
;
15103 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15104 PyObject
*resultobj
;
15105 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15107 PyObject
* obj0
= 0 ;
15108 char *kwnames
[] = {
15109 (char *) "self", NULL
15112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15116 result
= (bool)(arg1
)->base_TransferDataToWindow();
15118 wxPyEndAllowThreads(__tstate
);
15119 if (PyErr_Occurred()) SWIG_fail
;
15121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15128 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15129 PyObject
*resultobj
;
15130 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15132 PyObject
* obj0
= 0 ;
15133 char *kwnames
[] = {
15134 (char *) "self", NULL
15137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15141 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15143 wxPyEndAllowThreads(__tstate
);
15144 if (PyErr_Occurred()) SWIG_fail
;
15146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15153 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15154 PyObject
*resultobj
;
15155 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15157 PyObject
* obj0
= 0 ;
15158 char *kwnames
[] = {
15159 (char *) "self", NULL
15162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15166 result
= (bool)(arg1
)->base_Validate();
15168 wxPyEndAllowThreads(__tstate
);
15169 if (PyErr_Occurred()) SWIG_fail
;
15171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15178 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15179 PyObject
*resultobj
;
15180 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15182 PyObject
* obj0
= 0 ;
15183 char *kwnames
[] = {
15184 (char *) "self", NULL
15187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15191 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15193 wxPyEndAllowThreads(__tstate
);
15194 if (PyErr_Occurred()) SWIG_fail
;
15196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15203 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15204 PyObject
*resultobj
;
15205 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15207 PyObject
* obj0
= 0 ;
15208 char *kwnames
[] = {
15209 (char *) "self", NULL
15212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15216 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15218 wxPyEndAllowThreads(__tstate
);
15219 if (PyErr_Occurred()) SWIG_fail
;
15221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15228 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15229 PyObject
*resultobj
;
15230 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15232 PyObject
* obj0
= 0 ;
15233 char *kwnames
[] = {
15234 (char *) "self", NULL
15237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15241 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
15243 wxPyEndAllowThreads(__tstate
);
15244 if (PyErr_Occurred()) SWIG_fail
;
15247 wxSize
* resultptr
;
15248 resultptr
= new wxSize((wxSize
&) result
);
15249 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15257 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15258 PyObject
*resultobj
;
15259 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15260 wxWindow
*arg2
= (wxWindow
*) 0 ;
15261 PyObject
* obj0
= 0 ;
15262 PyObject
* obj1
= 0 ;
15263 char *kwnames
[] = {
15264 (char *) "self",(char *) "child", NULL
15267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15269 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15272 (arg1
)->base_AddChild(arg2
);
15274 wxPyEndAllowThreads(__tstate
);
15275 if (PyErr_Occurred()) SWIG_fail
;
15277 Py_INCREF(Py_None
); resultobj
= Py_None
;
15284 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15285 PyObject
*resultobj
;
15286 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15287 wxWindow
*arg2
= (wxWindow
*) 0 ;
15288 PyObject
* obj0
= 0 ;
15289 PyObject
* obj1
= 0 ;
15290 char *kwnames
[] = {
15291 (char *) "self",(char *) "child", NULL
15294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15296 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15299 (arg1
)->base_RemoveChild(arg2
);
15301 wxPyEndAllowThreads(__tstate
);
15302 if (PyErr_Occurred()) SWIG_fail
;
15304 Py_INCREF(Py_None
); resultobj
= Py_None
;
15311 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15313 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15314 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
15316 return Py_BuildValue((char *)"");
15318 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15319 PyObject
*resultobj
;
15320 wxWindow
*arg1
= (wxWindow
*) 0 ;
15322 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15323 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15324 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15325 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15326 long arg5
= (long) 0 ;
15327 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15328 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15332 bool temp6
= False
;
15333 PyObject
* obj0
= 0 ;
15334 PyObject
* obj1
= 0 ;
15335 PyObject
* obj2
= 0 ;
15336 PyObject
* obj3
= 0 ;
15337 PyObject
* obj4
= 0 ;
15338 PyObject
* obj5
= 0 ;
15339 char *kwnames
[] = {
15340 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15346 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
15347 if (PyErr_Occurred()) SWIG_fail
;
15352 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15358 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15363 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
15364 if (PyErr_Occurred()) SWIG_fail
;
15369 arg6
= wxString_in_helper(obj5
);
15370 if (arg6
== NULL
) SWIG_fail
;
15375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15376 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15378 wxPyEndAllowThreads(__tstate
);
15379 if (PyErr_Occurred()) SWIG_fail
;
15381 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPanel
, 1);
15396 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15397 PyObject
*resultobj
;
15398 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15399 PyObject
*arg2
= (PyObject
*) 0 ;
15400 PyObject
*arg3
= (PyObject
*) 0 ;
15401 PyObject
* obj0
= 0 ;
15402 PyObject
* obj1
= 0 ;
15403 PyObject
* obj2
= 0 ;
15404 char *kwnames
[] = {
15405 (char *) "self",(char *) "self",(char *) "_class", NULL
15408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15414 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15416 wxPyEndAllowThreads(__tstate
);
15417 if (PyErr_Occurred()) SWIG_fail
;
15419 Py_INCREF(Py_None
); resultobj
= Py_None
;
15426 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15427 PyObject
*resultobj
;
15428 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15433 PyObject
* obj0
= 0 ;
15434 PyObject
* obj1
= 0 ;
15435 PyObject
* obj2
= 0 ;
15436 PyObject
* obj3
= 0 ;
15437 PyObject
* obj4
= 0 ;
15438 char *kwnames
[] = {
15439 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15445 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15446 if (PyErr_Occurred()) SWIG_fail
;
15449 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15450 if (PyErr_Occurred()) SWIG_fail
;
15453 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15454 if (PyErr_Occurred()) SWIG_fail
;
15457 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
15458 if (PyErr_Occurred()) SWIG_fail
;
15461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15462 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15464 wxPyEndAllowThreads(__tstate
);
15465 if (PyErr_Occurred()) SWIG_fail
;
15467 Py_INCREF(Py_None
); resultobj
= Py_None
;
15474 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15475 PyObject
*resultobj
;
15476 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15481 int arg6
= (int) wxSIZE_AUTO
;
15482 PyObject
* obj0
= 0 ;
15483 PyObject
* obj1
= 0 ;
15484 PyObject
* obj2
= 0 ;
15485 PyObject
* obj3
= 0 ;
15486 PyObject
* obj4
= 0 ;
15487 PyObject
* obj5
= 0 ;
15488 char *kwnames
[] = {
15489 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15495 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15496 if (PyErr_Occurred()) SWIG_fail
;
15499 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15500 if (PyErr_Occurred()) SWIG_fail
;
15503 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15504 if (PyErr_Occurred()) SWIG_fail
;
15507 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
15508 if (PyErr_Occurred()) SWIG_fail
;
15512 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
15513 if (PyErr_Occurred()) SWIG_fail
;
15517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15518 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15520 wxPyEndAllowThreads(__tstate
);
15521 if (PyErr_Occurred()) SWIG_fail
;
15523 Py_INCREF(Py_None
); resultobj
= Py_None
;
15530 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15531 PyObject
*resultobj
;
15532 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15535 PyObject
* obj0
= 0 ;
15536 PyObject
* obj1
= 0 ;
15537 PyObject
* obj2
= 0 ;
15538 char *kwnames
[] = {
15539 (char *) "self",(char *) "width",(char *) "height", NULL
15542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15545 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15546 if (PyErr_Occurred()) SWIG_fail
;
15549 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15550 if (PyErr_Occurred()) SWIG_fail
;
15553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15554 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15556 wxPyEndAllowThreads(__tstate
);
15557 if (PyErr_Occurred()) SWIG_fail
;
15559 Py_INCREF(Py_None
); resultobj
= Py_None
;
15566 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15567 PyObject
*resultobj
;
15568 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15571 PyObject
* obj0
= 0 ;
15572 PyObject
* obj1
= 0 ;
15573 PyObject
* obj2
= 0 ;
15574 char *kwnames
[] = {
15575 (char *) "self",(char *) "x",(char *) "y", NULL
15578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15581 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15582 if (PyErr_Occurred()) SWIG_fail
;
15585 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15586 if (PyErr_Occurred()) SWIG_fail
;
15589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15590 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15592 wxPyEndAllowThreads(__tstate
);
15593 if (PyErr_Occurred()) SWIG_fail
;
15595 Py_INCREF(Py_None
); resultobj
= Py_None
;
15602 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15603 PyObject
*resultobj
;
15604 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15605 int *arg2
= (int *) 0 ;
15606 int *arg3
= (int *) 0 ;
15609 PyObject
* obj0
= 0 ;
15610 char *kwnames
[] = {
15611 (char *) "self", NULL
15616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15620 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15622 wxPyEndAllowThreads(__tstate
);
15623 if (PyErr_Occurred()) SWIG_fail
;
15625 Py_INCREF(Py_None
); resultobj
= Py_None
;
15627 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15628 resultobj
= t_output_helper(resultobj
,o
);
15631 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15632 resultobj
= t_output_helper(resultobj
,o
);
15640 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15641 PyObject
*resultobj
;
15642 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15643 int *arg2
= (int *) 0 ;
15644 int *arg3
= (int *) 0 ;
15647 PyObject
* obj0
= 0 ;
15648 char *kwnames
[] = {
15649 (char *) "self", NULL
15654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15658 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15660 wxPyEndAllowThreads(__tstate
);
15661 if (PyErr_Occurred()) SWIG_fail
;
15663 Py_INCREF(Py_None
); resultobj
= Py_None
;
15665 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15666 resultobj
= t_output_helper(resultobj
,o
);
15669 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15670 resultobj
= t_output_helper(resultobj
,o
);
15678 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15679 PyObject
*resultobj
;
15680 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15681 int *arg2
= (int *) 0 ;
15682 int *arg3
= (int *) 0 ;
15685 PyObject
* obj0
= 0 ;
15686 char *kwnames
[] = {
15687 (char *) "self", NULL
15692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15696 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15698 wxPyEndAllowThreads(__tstate
);
15699 if (PyErr_Occurred()) SWIG_fail
;
15701 Py_INCREF(Py_None
); resultobj
= Py_None
;
15703 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15704 resultobj
= t_output_helper(resultobj
,o
);
15707 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15708 resultobj
= t_output_helper(resultobj
,o
);
15716 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15717 PyObject
*resultobj
;
15718 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15720 PyObject
* obj0
= 0 ;
15721 char *kwnames
[] = {
15722 (char *) "self", NULL
15725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15729 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
15731 wxPyEndAllowThreads(__tstate
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15735 wxSize
* resultptr
;
15736 resultptr
= new wxSize((wxSize
&) result
);
15737 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15745 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15746 PyObject
*resultobj
;
15747 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15749 PyObject
* obj0
= 0 ;
15750 char *kwnames
[] = {
15751 (char *) "self", NULL
15754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15758 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
15760 wxPyEndAllowThreads(__tstate
);
15761 if (PyErr_Occurred()) SWIG_fail
;
15764 wxSize
* resultptr
;
15765 resultptr
= new wxSize((wxSize
&) result
);
15766 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15774 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15775 PyObject
*resultobj
;
15776 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15777 PyObject
* obj0
= 0 ;
15778 char *kwnames
[] = {
15779 (char *) "self", NULL
15782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15786 (arg1
)->base_InitDialog();
15788 wxPyEndAllowThreads(__tstate
);
15789 if (PyErr_Occurred()) SWIG_fail
;
15791 Py_INCREF(Py_None
); resultobj
= Py_None
;
15798 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15799 PyObject
*resultobj
;
15800 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15802 PyObject
* obj0
= 0 ;
15803 char *kwnames
[] = {
15804 (char *) "self", NULL
15807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15811 result
= (bool)(arg1
)->base_TransferDataToWindow();
15813 wxPyEndAllowThreads(__tstate
);
15814 if (PyErr_Occurred()) SWIG_fail
;
15816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15823 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15824 PyObject
*resultobj
;
15825 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15827 PyObject
* obj0
= 0 ;
15828 char *kwnames
[] = {
15829 (char *) "self", NULL
15832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15836 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15838 wxPyEndAllowThreads(__tstate
);
15839 if (PyErr_Occurred()) SWIG_fail
;
15841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15848 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15849 PyObject
*resultobj
;
15850 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15852 PyObject
* obj0
= 0 ;
15853 char *kwnames
[] = {
15854 (char *) "self", NULL
15857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
15858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15861 result
= (bool)(arg1
)->base_Validate();
15863 wxPyEndAllowThreads(__tstate
);
15864 if (PyErr_Occurred()) SWIG_fail
;
15866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15873 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15874 PyObject
*resultobj
;
15875 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15877 PyObject
* obj0
= 0 ;
15878 char *kwnames
[] = {
15879 (char *) "self", NULL
15882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15886 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
15888 wxPyEndAllowThreads(__tstate
);
15889 if (PyErr_Occurred()) SWIG_fail
;
15891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15898 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15899 PyObject
*resultobj
;
15900 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15902 PyObject
* obj0
= 0 ;
15903 char *kwnames
[] = {
15904 (char *) "self", NULL
15907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15911 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15913 wxPyEndAllowThreads(__tstate
);
15914 if (PyErr_Occurred()) SWIG_fail
;
15916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15923 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15924 PyObject
*resultobj
;
15925 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15927 PyObject
* obj0
= 0 ;
15928 char *kwnames
[] = {
15929 (char *) "self", NULL
15932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15936 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
15938 wxPyEndAllowThreads(__tstate
);
15939 if (PyErr_Occurred()) SWIG_fail
;
15942 wxSize
* resultptr
;
15943 resultptr
= new wxSize((wxSize
&) result
);
15944 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15952 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15953 PyObject
*resultobj
;
15954 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15955 wxWindow
*arg2
= (wxWindow
*) 0 ;
15956 PyObject
* obj0
= 0 ;
15957 PyObject
* obj1
= 0 ;
15958 char *kwnames
[] = {
15959 (char *) "self",(char *) "child", NULL
15962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15964 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15967 (arg1
)->base_AddChild(arg2
);
15969 wxPyEndAllowThreads(__tstate
);
15970 if (PyErr_Occurred()) SWIG_fail
;
15972 Py_INCREF(Py_None
); resultobj
= Py_None
;
15979 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15980 PyObject
*resultobj
;
15981 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15982 wxWindow
*arg2
= (wxWindow
*) 0 ;
15983 PyObject
* obj0
= 0 ;
15984 PyObject
* obj1
= 0 ;
15985 char *kwnames
[] = {
15986 (char *) "self",(char *) "child", NULL
15989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPanel
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15991 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15994 (arg1
)->base_RemoveChild(arg2
);
15996 wxPyEndAllowThreads(__tstate
);
15997 if (PyErr_Occurred()) SWIG_fail
;
15999 Py_INCREF(Py_None
); resultobj
= Py_None
;
16006 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
16008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16009 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
16011 return Py_BuildValue((char *)"");
16013 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
16014 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
16019 static PyObject
*_wrap_PrintoutTitleStr_get() {
16024 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
16026 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
16033 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
16034 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
16039 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
16044 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
16046 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
16053 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16054 PyObject
*resultobj
;
16055 wxPrintData
*result
;
16056 char *kwnames
[] = {
16060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
16062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16063 result
= (wxPrintData
*)new wxPrintData();
16065 wxPyEndAllowThreads(__tstate
);
16066 if (PyErr_Occurred()) SWIG_fail
;
16068 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 1);
16075 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16076 PyObject
*resultobj
;
16077 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16078 PyObject
* obj0
= 0 ;
16079 char *kwnames
[] = {
16080 (char *) "self", NULL
16083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
16084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16089 wxPyEndAllowThreads(__tstate
);
16090 if (PyErr_Occurred()) SWIG_fail
;
16092 Py_INCREF(Py_None
); resultobj
= Py_None
;
16099 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16100 PyObject
*resultobj
;
16101 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16103 PyObject
* obj0
= 0 ;
16104 char *kwnames
[] = {
16105 (char *) "self", NULL
16108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
16109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16112 result
= (int)(arg1
)->GetNoCopies();
16114 wxPyEndAllowThreads(__tstate
);
16115 if (PyErr_Occurred()) SWIG_fail
;
16117 resultobj
= SWIG_PyObj_FromInt((int)result
);
16124 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16125 PyObject
*resultobj
;
16126 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16128 PyObject
* obj0
= 0 ;
16129 char *kwnames
[] = {
16130 (char *) "self", NULL
16133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
16134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16137 result
= (bool)(arg1
)->GetCollate();
16139 wxPyEndAllowThreads(__tstate
);
16140 if (PyErr_Occurred()) SWIG_fail
;
16142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16149 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16150 PyObject
*resultobj
;
16151 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16153 PyObject
* obj0
= 0 ;
16154 char *kwnames
[] = {
16155 (char *) "self", NULL
16158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
16159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16162 result
= (int)(arg1
)->GetOrientation();
16164 wxPyEndAllowThreads(__tstate
);
16165 if (PyErr_Occurred()) SWIG_fail
;
16167 resultobj
= SWIG_PyObj_FromInt((int)result
);
16174 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16175 PyObject
*resultobj
;
16176 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16178 PyObject
* obj0
= 0 ;
16179 char *kwnames
[] = {
16180 (char *) "self", NULL
16183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
16184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16187 result
= (bool)(arg1
)->Ok();
16189 wxPyEndAllowThreads(__tstate
);
16190 if (PyErr_Occurred()) SWIG_fail
;
16192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16199 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16200 PyObject
*resultobj
;
16201 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16203 PyObject
* obj0
= 0 ;
16204 char *kwnames
[] = {
16205 (char *) "self", NULL
16208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
16209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16213 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
16214 result
= (wxString
*) &_result_ref
;
16217 wxPyEndAllowThreads(__tstate
);
16218 if (PyErr_Occurred()) SWIG_fail
;
16222 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16224 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16233 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16234 PyObject
*resultobj
;
16235 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16237 PyObject
* obj0
= 0 ;
16238 char *kwnames
[] = {
16239 (char *) "self", NULL
16242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
16243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16246 result
= (bool)(arg1
)->GetColour();
16248 wxPyEndAllowThreads(__tstate
);
16249 if (PyErr_Occurred()) SWIG_fail
;
16251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16258 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16259 PyObject
*resultobj
;
16260 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16262 PyObject
* obj0
= 0 ;
16263 char *kwnames
[] = {
16264 (char *) "self", NULL
16267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
16268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16271 result
= (int)(arg1
)->GetDuplex();
16273 wxPyEndAllowThreads(__tstate
);
16274 if (PyErr_Occurred()) SWIG_fail
;
16276 resultobj
= SWIG_PyObj_FromInt((int)result
);
16283 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16284 PyObject
*resultobj
;
16285 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16287 PyObject
* obj0
= 0 ;
16288 char *kwnames
[] = {
16289 (char *) "self", NULL
16292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
16293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16296 result
= (int)(arg1
)->GetPaperId();
16298 wxPyEndAllowThreads(__tstate
);
16299 if (PyErr_Occurred()) SWIG_fail
;
16301 resultobj
= SWIG_PyObj_FromInt((int)result
);
16308 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16309 PyObject
*resultobj
;
16310 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16312 PyObject
* obj0
= 0 ;
16313 char *kwnames
[] = {
16314 (char *) "self", NULL
16317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
16318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16322 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
16323 result
= (wxSize
*) &_result_ref
;
16326 wxPyEndAllowThreads(__tstate
);
16327 if (PyErr_Occurred()) SWIG_fail
;
16329 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
16336 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16337 PyObject
*resultobj
;
16338 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16340 PyObject
* obj0
= 0 ;
16341 char *kwnames
[] = {
16342 (char *) "self", NULL
16345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
16346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16349 result
= (int)(arg1
)->GetQuality();
16351 wxPyEndAllowThreads(__tstate
);
16352 if (PyErr_Occurred()) SWIG_fail
;
16354 resultobj
= SWIG_PyObj_FromInt((int)result
);
16361 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16362 PyObject
*resultobj
;
16363 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16365 PyObject
* obj0
= 0 ;
16366 PyObject
* obj1
= 0 ;
16367 char *kwnames
[] = {
16368 (char *) "self",(char *) "v", NULL
16371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
16372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16374 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16375 if (PyErr_Occurred()) SWIG_fail
;
16378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16379 (arg1
)->SetNoCopies(arg2
);
16381 wxPyEndAllowThreads(__tstate
);
16382 if (PyErr_Occurred()) SWIG_fail
;
16384 Py_INCREF(Py_None
); resultobj
= Py_None
;
16391 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16392 PyObject
*resultobj
;
16393 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16395 PyObject
* obj0
= 0 ;
16396 PyObject
* obj1
= 0 ;
16397 char *kwnames
[] = {
16398 (char *) "self",(char *) "flag", NULL
16401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
16402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16404 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16405 if (PyErr_Occurred()) SWIG_fail
;
16408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16409 (arg1
)->SetCollate(arg2
);
16411 wxPyEndAllowThreads(__tstate
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16414 Py_INCREF(Py_None
); resultobj
= Py_None
;
16421 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16422 PyObject
*resultobj
;
16423 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16425 PyObject
* obj0
= 0 ;
16426 PyObject
* obj1
= 0 ;
16427 char *kwnames
[] = {
16428 (char *) "self",(char *) "orient", NULL
16431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16434 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16435 if (PyErr_Occurred()) SWIG_fail
;
16438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16439 (arg1
)->SetOrientation(arg2
);
16441 wxPyEndAllowThreads(__tstate
);
16442 if (PyErr_Occurred()) SWIG_fail
;
16444 Py_INCREF(Py_None
); resultobj
= Py_None
;
16451 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16452 PyObject
*resultobj
;
16453 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16454 wxString
*arg2
= 0 ;
16455 bool temp2
= False
;
16456 PyObject
* obj0
= 0 ;
16457 PyObject
* obj1
= 0 ;
16458 char *kwnames
[] = {
16459 (char *) "self",(char *) "name", NULL
16462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
16463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16465 arg2
= wxString_in_helper(obj1
);
16466 if (arg2
== NULL
) SWIG_fail
;
16470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16471 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
16473 wxPyEndAllowThreads(__tstate
);
16474 if (PyErr_Occurred()) SWIG_fail
;
16476 Py_INCREF(Py_None
); resultobj
= Py_None
;
16491 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16492 PyObject
*resultobj
;
16493 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16495 PyObject
* obj0
= 0 ;
16496 PyObject
* obj1
= 0 ;
16497 char *kwnames
[] = {
16498 (char *) "self",(char *) "colour", NULL
16501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16504 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16505 if (PyErr_Occurred()) SWIG_fail
;
16508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16509 (arg1
)->SetColour(arg2
);
16511 wxPyEndAllowThreads(__tstate
);
16512 if (PyErr_Occurred()) SWIG_fail
;
16514 Py_INCREF(Py_None
); resultobj
= Py_None
;
16521 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16522 PyObject
*resultobj
;
16523 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16525 PyObject
* obj0
= 0 ;
16526 PyObject
* obj1
= 0 ;
16527 char *kwnames
[] = {
16528 (char *) "self",(char *) "duplex", NULL
16531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
16532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16534 arg2
= (wxDuplexMode
) SWIG_PyObj_AsInt(obj1
);
16535 if (PyErr_Occurred()) SWIG_fail
;
16538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16539 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
16541 wxPyEndAllowThreads(__tstate
);
16542 if (PyErr_Occurred()) SWIG_fail
;
16544 Py_INCREF(Py_None
); resultobj
= Py_None
;
16551 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16552 PyObject
*resultobj
;
16553 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16555 PyObject
* obj0
= 0 ;
16556 PyObject
* obj1
= 0 ;
16557 char *kwnames
[] = {
16558 (char *) "self",(char *) "sizeId", NULL
16561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
16562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16564 arg2
= (wxPaperSize
) SWIG_PyObj_AsInt(obj1
);
16565 if (PyErr_Occurred()) SWIG_fail
;
16568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16569 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
16571 wxPyEndAllowThreads(__tstate
);
16572 if (PyErr_Occurred()) SWIG_fail
;
16574 Py_INCREF(Py_None
); resultobj
= Py_None
;
16581 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16582 PyObject
*resultobj
;
16583 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16586 PyObject
* obj0
= 0 ;
16587 PyObject
* obj1
= 0 ;
16588 char *kwnames
[] = {
16589 (char *) "self",(char *) "sz", NULL
16592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16596 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16600 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
16602 wxPyEndAllowThreads(__tstate
);
16603 if (PyErr_Occurred()) SWIG_fail
;
16605 Py_INCREF(Py_None
); resultobj
= Py_None
;
16612 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16613 PyObject
*resultobj
;
16614 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16616 PyObject
* obj0
= 0 ;
16617 PyObject
* obj1
= 0 ;
16618 char *kwnames
[] = {
16619 (char *) "self",(char *) "quality", NULL
16622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
16623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16625 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16626 if (PyErr_Occurred()) SWIG_fail
;
16629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16630 (arg1
)->SetQuality(arg2
);
16632 wxPyEndAllowThreads(__tstate
);
16633 if (PyErr_Occurred()) SWIG_fail
;
16635 Py_INCREF(Py_None
); resultobj
= Py_None
;
16642 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16643 PyObject
*resultobj
;
16644 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16646 PyObject
* obj0
= 0 ;
16647 char *kwnames
[] = {
16648 (char *) "self", NULL
16651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
16652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16656 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
16657 result
= (wxString
*) &_result_ref
;
16660 wxPyEndAllowThreads(__tstate
);
16661 if (PyErr_Occurred()) SWIG_fail
;
16665 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16667 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16676 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16677 PyObject
*resultobj
;
16678 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16680 PyObject
* obj0
= 0 ;
16681 char *kwnames
[] = {
16682 (char *) "self", NULL
16685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
16686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16690 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
16691 result
= (wxString
*) &_result_ref
;
16694 wxPyEndAllowThreads(__tstate
);
16695 if (PyErr_Occurred()) SWIG_fail
;
16699 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16701 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16710 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16711 PyObject
*resultobj
;
16712 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16714 PyObject
* obj0
= 0 ;
16715 char *kwnames
[] = {
16716 (char *) "self", NULL
16719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
16720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16724 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
16725 result
= (wxString
*) &_result_ref
;
16728 wxPyEndAllowThreads(__tstate
);
16729 if (PyErr_Occurred()) SWIG_fail
;
16733 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16735 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16744 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16745 PyObject
*resultobj
;
16746 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16748 PyObject
* obj0
= 0 ;
16749 char *kwnames
[] = {
16750 (char *) "self", NULL
16753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
16754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16758 wxString
const &_result_ref
= (arg1
)->GetFilename();
16759 result
= (wxString
*) &_result_ref
;
16762 wxPyEndAllowThreads(__tstate
);
16763 if (PyErr_Occurred()) SWIG_fail
;
16767 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16769 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16778 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16779 PyObject
*resultobj
;
16780 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16782 PyObject
* obj0
= 0 ;
16783 char *kwnames
[] = {
16784 (char *) "self", NULL
16787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
16788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16792 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
16793 result
= (wxString
*) &_result_ref
;
16796 wxPyEndAllowThreads(__tstate
);
16797 if (PyErr_Occurred()) SWIG_fail
;
16801 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16803 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16812 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16813 PyObject
*resultobj
;
16814 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16816 PyObject
* obj0
= 0 ;
16817 char *kwnames
[] = {
16818 (char *) "self", NULL
16821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
16822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16825 result
= (double)(arg1
)->GetPrinterScaleX();
16827 wxPyEndAllowThreads(__tstate
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16830 resultobj
= SWIG_PyObj_FromDouble((double)result
);
16837 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16838 PyObject
*resultobj
;
16839 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16841 PyObject
* obj0
= 0 ;
16842 char *kwnames
[] = {
16843 (char *) "self", NULL
16846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
16847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16850 result
= (double)(arg1
)->GetPrinterScaleY();
16852 wxPyEndAllowThreads(__tstate
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16855 resultobj
= SWIG_PyObj_FromDouble((double)result
);
16862 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16863 PyObject
*resultobj
;
16864 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16866 PyObject
* obj0
= 0 ;
16867 char *kwnames
[] = {
16868 (char *) "self", NULL
16871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
16872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16875 result
= (long)(arg1
)->GetPrinterTranslateX();
16877 wxPyEndAllowThreads(__tstate
);
16878 if (PyErr_Occurred()) SWIG_fail
;
16880 resultobj
= SWIG_PyObj_FromLong((long)result
);
16887 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16888 PyObject
*resultobj
;
16889 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16891 PyObject
* obj0
= 0 ;
16892 char *kwnames
[] = {
16893 (char *) "self", NULL
16896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
16897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16900 result
= (long)(arg1
)->GetPrinterTranslateY();
16902 wxPyEndAllowThreads(__tstate
);
16903 if (PyErr_Occurred()) SWIG_fail
;
16905 resultobj
= SWIG_PyObj_FromLong((long)result
);
16912 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16913 PyObject
*resultobj
;
16914 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16916 PyObject
* obj0
= 0 ;
16917 char *kwnames
[] = {
16918 (char *) "self", NULL
16921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
16922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16925 result
= (int)(arg1
)->GetPrintMode();
16927 wxPyEndAllowThreads(__tstate
);
16928 if (PyErr_Occurred()) SWIG_fail
;
16930 resultobj
= SWIG_PyObj_FromInt((int)result
);
16937 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16938 PyObject
*resultobj
;
16939 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16940 wxString
*arg2
= 0 ;
16941 bool temp2
= False
;
16942 PyObject
* obj0
= 0 ;
16943 PyObject
* obj1
= 0 ;
16944 char *kwnames
[] = {
16945 (char *) "self",(char *) "command", NULL
16948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
16949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16951 arg2
= wxString_in_helper(obj1
);
16952 if (arg2
== NULL
) SWIG_fail
;
16956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16957 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
16959 wxPyEndAllowThreads(__tstate
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16962 Py_INCREF(Py_None
); resultobj
= Py_None
;
16977 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16978 PyObject
*resultobj
;
16979 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16980 wxString
*arg2
= 0 ;
16981 bool temp2
= False
;
16982 PyObject
* obj0
= 0 ;
16983 PyObject
* obj1
= 0 ;
16984 char *kwnames
[] = {
16985 (char *) "self",(char *) "options", NULL
16988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
16989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16991 arg2
= wxString_in_helper(obj1
);
16992 if (arg2
== NULL
) SWIG_fail
;
16996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16997 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
16999 wxPyEndAllowThreads(__tstate
);
17000 if (PyErr_Occurred()) SWIG_fail
;
17002 Py_INCREF(Py_None
); resultobj
= Py_None
;
17017 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17018 PyObject
*resultobj
;
17019 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17020 wxString
*arg2
= 0 ;
17021 bool temp2
= False
;
17022 PyObject
* obj0
= 0 ;
17023 PyObject
* obj1
= 0 ;
17024 char *kwnames
[] = {
17025 (char *) "self",(char *) "command", NULL
17028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
17029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17031 arg2
= wxString_in_helper(obj1
);
17032 if (arg2
== NULL
) SWIG_fail
;
17036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17037 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
17039 wxPyEndAllowThreads(__tstate
);
17040 if (PyErr_Occurred()) SWIG_fail
;
17042 Py_INCREF(Py_None
); resultobj
= Py_None
;
17057 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17058 PyObject
*resultobj
;
17059 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17060 wxString
*arg2
= 0 ;
17061 bool temp2
= False
;
17062 PyObject
* obj0
= 0 ;
17063 PyObject
* obj1
= 0 ;
17064 char *kwnames
[] = {
17065 (char *) "self",(char *) "filename", NULL
17068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
17069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17071 arg2
= wxString_in_helper(obj1
);
17072 if (arg2
== NULL
) SWIG_fail
;
17076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17077 (arg1
)->SetFilename((wxString
const &)*arg2
);
17079 wxPyEndAllowThreads(__tstate
);
17080 if (PyErr_Occurred()) SWIG_fail
;
17082 Py_INCREF(Py_None
); resultobj
= Py_None
;
17097 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17098 PyObject
*resultobj
;
17099 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17100 wxString
*arg2
= 0 ;
17101 bool temp2
= False
;
17102 PyObject
* obj0
= 0 ;
17103 PyObject
* obj1
= 0 ;
17104 char *kwnames
[] = {
17105 (char *) "self",(char *) "path", NULL
17108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
17109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17111 arg2
= wxString_in_helper(obj1
);
17112 if (arg2
== NULL
) SWIG_fail
;
17116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17117 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
17119 wxPyEndAllowThreads(__tstate
);
17120 if (PyErr_Occurred()) SWIG_fail
;
17122 Py_INCREF(Py_None
); resultobj
= Py_None
;
17137 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17138 PyObject
*resultobj
;
17139 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17141 PyObject
* obj0
= 0 ;
17142 PyObject
* obj1
= 0 ;
17143 char *kwnames
[] = {
17144 (char *) "self",(char *) "x", NULL
17147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
17148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17150 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
17151 if (PyErr_Occurred()) SWIG_fail
;
17154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17155 (arg1
)->SetPrinterScaleX(arg2
);
17157 wxPyEndAllowThreads(__tstate
);
17158 if (PyErr_Occurred()) SWIG_fail
;
17160 Py_INCREF(Py_None
); resultobj
= Py_None
;
17167 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17168 PyObject
*resultobj
;
17169 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17171 PyObject
* obj0
= 0 ;
17172 PyObject
* obj1
= 0 ;
17173 char *kwnames
[] = {
17174 (char *) "self",(char *) "y", NULL
17177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
17178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17180 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
17181 if (PyErr_Occurred()) SWIG_fail
;
17184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17185 (arg1
)->SetPrinterScaleY(arg2
);
17187 wxPyEndAllowThreads(__tstate
);
17188 if (PyErr_Occurred()) SWIG_fail
;
17190 Py_INCREF(Py_None
); resultobj
= Py_None
;
17197 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17198 PyObject
*resultobj
;
17199 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17202 PyObject
* obj0
= 0 ;
17203 PyObject
* obj1
= 0 ;
17204 PyObject
* obj2
= 0 ;
17205 char *kwnames
[] = {
17206 (char *) "self",(char *) "x",(char *) "y", NULL
17209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17212 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
17213 if (PyErr_Occurred()) SWIG_fail
;
17216 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
17217 if (PyErr_Occurred()) SWIG_fail
;
17220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17221 (arg1
)->SetPrinterScaling(arg2
,arg3
);
17223 wxPyEndAllowThreads(__tstate
);
17224 if (PyErr_Occurred()) SWIG_fail
;
17226 Py_INCREF(Py_None
); resultobj
= Py_None
;
17233 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17234 PyObject
*resultobj
;
17235 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17237 PyObject
* obj0
= 0 ;
17238 PyObject
* obj1
= 0 ;
17239 char *kwnames
[] = {
17240 (char *) "self",(char *) "x", NULL
17243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
17244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17246 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17247 if (PyErr_Occurred()) SWIG_fail
;
17250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17251 (arg1
)->SetPrinterTranslateX(arg2
);
17253 wxPyEndAllowThreads(__tstate
);
17254 if (PyErr_Occurred()) SWIG_fail
;
17256 Py_INCREF(Py_None
); resultobj
= Py_None
;
17263 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17264 PyObject
*resultobj
;
17265 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17267 PyObject
* obj0
= 0 ;
17268 PyObject
* obj1
= 0 ;
17269 char *kwnames
[] = {
17270 (char *) "self",(char *) "y", NULL
17273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
17274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17276 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17277 if (PyErr_Occurred()) SWIG_fail
;
17280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17281 (arg1
)->SetPrinterTranslateY(arg2
);
17283 wxPyEndAllowThreads(__tstate
);
17284 if (PyErr_Occurred()) SWIG_fail
;
17286 Py_INCREF(Py_None
); resultobj
= Py_None
;
17293 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17294 PyObject
*resultobj
;
17295 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17298 PyObject
* obj0
= 0 ;
17299 PyObject
* obj1
= 0 ;
17300 PyObject
* obj2
= 0 ;
17301 char *kwnames
[] = {
17302 (char *) "self",(char *) "x",(char *) "y", NULL
17305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17308 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17309 if (PyErr_Occurred()) SWIG_fail
;
17312 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
17313 if (PyErr_Occurred()) SWIG_fail
;
17316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17317 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
17319 wxPyEndAllowThreads(__tstate
);
17320 if (PyErr_Occurred()) SWIG_fail
;
17322 Py_INCREF(Py_None
); resultobj
= Py_None
;
17329 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17330 PyObject
*resultobj
;
17331 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17333 PyObject
* obj0
= 0 ;
17334 PyObject
* obj1
= 0 ;
17335 char *kwnames
[] = {
17336 (char *) "self",(char *) "printMode", NULL
17339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
17340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17342 arg2
= (wxPrintMode
) SWIG_PyObj_AsInt(obj1
);
17343 if (PyErr_Occurred()) SWIG_fail
;
17346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17347 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
17349 wxPyEndAllowThreads(__tstate
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17352 Py_INCREF(Py_None
); resultobj
= Py_None
;
17359 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
17361 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17362 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
17364 return Py_BuildValue((char *)"");
17366 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17367 PyObject
*resultobj
;
17368 wxPageSetupDialogData
*result
;
17369 char *kwnames
[] = {
17373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
17375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17376 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
17378 wxPyEndAllowThreads(__tstate
);
17379 if (PyErr_Occurred()) SWIG_fail
;
17381 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 1);
17388 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17389 PyObject
*resultobj
;
17390 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17391 PyObject
* obj0
= 0 ;
17392 char *kwnames
[] = {
17393 (char *) "self", NULL
17396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
17397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17402 wxPyEndAllowThreads(__tstate
);
17403 if (PyErr_Occurred()) SWIG_fail
;
17405 Py_INCREF(Py_None
); resultobj
= Py_None
;
17412 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17413 PyObject
*resultobj
;
17414 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17416 PyObject
* obj0
= 0 ;
17417 PyObject
* obj1
= 0 ;
17418 char *kwnames
[] = {
17419 (char *) "self",(char *) "flag", NULL
17422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17425 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17426 if (PyErr_Occurred()) SWIG_fail
;
17429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17430 (arg1
)->EnableHelp(arg2
);
17432 wxPyEndAllowThreads(__tstate
);
17433 if (PyErr_Occurred()) SWIG_fail
;
17435 Py_INCREF(Py_None
); resultobj
= Py_None
;
17442 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17443 PyObject
*resultobj
;
17444 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17446 PyObject
* obj0
= 0 ;
17447 PyObject
* obj1
= 0 ;
17448 char *kwnames
[] = {
17449 (char *) "self",(char *) "flag", NULL
17452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17455 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17456 if (PyErr_Occurred()) SWIG_fail
;
17459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17460 (arg1
)->EnableMargins(arg2
);
17462 wxPyEndAllowThreads(__tstate
);
17463 if (PyErr_Occurred()) SWIG_fail
;
17465 Py_INCREF(Py_None
); resultobj
= Py_None
;
17472 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17473 PyObject
*resultobj
;
17474 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17476 PyObject
* obj0
= 0 ;
17477 PyObject
* obj1
= 0 ;
17478 char *kwnames
[] = {
17479 (char *) "self",(char *) "flag", NULL
17482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
17483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17485 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17486 if (PyErr_Occurred()) SWIG_fail
;
17489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17490 (arg1
)->EnableOrientation(arg2
);
17492 wxPyEndAllowThreads(__tstate
);
17493 if (PyErr_Occurred()) SWIG_fail
;
17495 Py_INCREF(Py_None
); resultobj
= Py_None
;
17502 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17503 PyObject
*resultobj
;
17504 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17506 PyObject
* obj0
= 0 ;
17507 PyObject
* obj1
= 0 ;
17508 char *kwnames
[] = {
17509 (char *) "self",(char *) "flag", NULL
17512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
17513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17515 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17516 if (PyErr_Occurred()) SWIG_fail
;
17519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17520 (arg1
)->EnablePaper(arg2
);
17522 wxPyEndAllowThreads(__tstate
);
17523 if (PyErr_Occurred()) SWIG_fail
;
17525 Py_INCREF(Py_None
); resultobj
= Py_None
;
17532 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17533 PyObject
*resultobj
;
17534 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17536 PyObject
* obj0
= 0 ;
17537 PyObject
* obj1
= 0 ;
17538 char *kwnames
[] = {
17539 (char *) "self",(char *) "flag", NULL
17542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
17543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17545 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17546 if (PyErr_Occurred()) SWIG_fail
;
17549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17550 (arg1
)->EnablePrinter(arg2
);
17552 wxPyEndAllowThreads(__tstate
);
17553 if (PyErr_Occurred()) SWIG_fail
;
17555 Py_INCREF(Py_None
); resultobj
= Py_None
;
17562 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17563 PyObject
*resultobj
;
17564 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17566 PyObject
* obj0
= 0 ;
17567 char *kwnames
[] = {
17568 (char *) "self", NULL
17571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
17572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17575 result
= (bool)(arg1
)->GetDefaultMinMargins();
17577 wxPyEndAllowThreads(__tstate
);
17578 if (PyErr_Occurred()) SWIG_fail
;
17580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17587 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17588 PyObject
*resultobj
;
17589 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17591 PyObject
* obj0
= 0 ;
17592 char *kwnames
[] = {
17593 (char *) "self", NULL
17596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
17597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17600 result
= (bool)(arg1
)->GetEnableMargins();
17602 wxPyEndAllowThreads(__tstate
);
17603 if (PyErr_Occurred()) SWIG_fail
;
17605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17612 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17613 PyObject
*resultobj
;
17614 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17616 PyObject
* obj0
= 0 ;
17617 char *kwnames
[] = {
17618 (char *) "self", NULL
17621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
17622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17625 result
= (bool)(arg1
)->GetEnableOrientation();
17627 wxPyEndAllowThreads(__tstate
);
17628 if (PyErr_Occurred()) SWIG_fail
;
17630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17637 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17638 PyObject
*resultobj
;
17639 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17641 PyObject
* obj0
= 0 ;
17642 char *kwnames
[] = {
17643 (char *) "self", NULL
17646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
17647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17650 result
= (bool)(arg1
)->GetEnablePaper();
17652 wxPyEndAllowThreads(__tstate
);
17653 if (PyErr_Occurred()) SWIG_fail
;
17655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17662 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17663 PyObject
*resultobj
;
17664 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17666 PyObject
* obj0
= 0 ;
17667 char *kwnames
[] = {
17668 (char *) "self", NULL
17671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
17672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17675 result
= (bool)(arg1
)->GetEnablePrinter();
17677 wxPyEndAllowThreads(__tstate
);
17678 if (PyErr_Occurred()) SWIG_fail
;
17680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17687 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17688 PyObject
*resultobj
;
17689 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17691 PyObject
* obj0
= 0 ;
17692 char *kwnames
[] = {
17693 (char *) "self", NULL
17696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
17697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17700 result
= (bool)(arg1
)->GetEnableHelp();
17702 wxPyEndAllowThreads(__tstate
);
17703 if (PyErr_Occurred()) SWIG_fail
;
17705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17712 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17713 PyObject
*resultobj
;
17714 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17716 PyObject
* obj0
= 0 ;
17717 char *kwnames
[] = {
17718 (char *) "self", NULL
17721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
17722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17725 result
= (bool)(arg1
)->GetDefaultInfo();
17727 wxPyEndAllowThreads(__tstate
);
17728 if (PyErr_Occurred()) SWIG_fail
;
17730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17737 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17738 PyObject
*resultobj
;
17739 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17741 PyObject
* obj0
= 0 ;
17742 char *kwnames
[] = {
17743 (char *) "self", NULL
17746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
17747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17750 result
= (arg1
)->GetMarginTopLeft();
17752 wxPyEndAllowThreads(__tstate
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17756 wxPoint
* resultptr
;
17757 resultptr
= new wxPoint((wxPoint
&) result
);
17758 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
17766 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17767 PyObject
*resultobj
;
17768 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17770 PyObject
* obj0
= 0 ;
17771 char *kwnames
[] = {
17772 (char *) "self", NULL
17775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
17776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17779 result
= (arg1
)->GetMarginBottomRight();
17781 wxPyEndAllowThreads(__tstate
);
17782 if (PyErr_Occurred()) SWIG_fail
;
17785 wxPoint
* resultptr
;
17786 resultptr
= new wxPoint((wxPoint
&) result
);
17787 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
17795 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17796 PyObject
*resultobj
;
17797 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17799 PyObject
* obj0
= 0 ;
17800 char *kwnames
[] = {
17801 (char *) "self", NULL
17804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
17805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17808 result
= (arg1
)->GetMinMarginTopLeft();
17810 wxPyEndAllowThreads(__tstate
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17814 wxPoint
* resultptr
;
17815 resultptr
= new wxPoint((wxPoint
&) result
);
17816 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
17824 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17825 PyObject
*resultobj
;
17826 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17828 PyObject
* obj0
= 0 ;
17829 char *kwnames
[] = {
17830 (char *) "self", NULL
17833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
17834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17837 result
= (arg1
)->GetMinMarginBottomRight();
17839 wxPyEndAllowThreads(__tstate
);
17840 if (PyErr_Occurred()) SWIG_fail
;
17843 wxPoint
* resultptr
;
17844 resultptr
= new wxPoint((wxPoint
&) result
);
17845 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
17853 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17854 PyObject
*resultobj
;
17855 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17857 PyObject
* obj0
= 0 ;
17858 char *kwnames
[] = {
17859 (char *) "self", NULL
17862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
17863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17866 result
= (int)(arg1
)->GetPaperId();
17868 wxPyEndAllowThreads(__tstate
);
17869 if (PyErr_Occurred()) SWIG_fail
;
17871 resultobj
= SWIG_PyObj_FromInt((int)result
);
17878 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17879 PyObject
*resultobj
;
17880 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17882 PyObject
* obj0
= 0 ;
17883 char *kwnames
[] = {
17884 (char *) "self", NULL
17887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
17888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 result
= (arg1
)->GetPaperSize();
17893 wxPyEndAllowThreads(__tstate
);
17894 if (PyErr_Occurred()) SWIG_fail
;
17897 wxSize
* resultptr
;
17898 resultptr
= new wxSize((wxSize
&) result
);
17899 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
17907 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17908 PyObject
*resultobj
;
17909 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17910 wxPrintData
*result
;
17911 PyObject
* obj0
= 0 ;
17912 char *kwnames
[] = {
17913 (char *) "self", NULL
17916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
17917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17921 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
17922 result
= (wxPrintData
*) &_result_ref
;
17925 wxPyEndAllowThreads(__tstate
);
17926 if (PyErr_Occurred()) SWIG_fail
;
17928 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
17935 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17936 PyObject
*resultobj
;
17937 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17939 PyObject
* obj0
= 0 ;
17940 char *kwnames
[] = {
17941 (char *) "self", NULL
17944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
17945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17948 result
= (bool)(arg1
)->Ok();
17950 wxPyEndAllowThreads(__tstate
);
17951 if (PyErr_Occurred()) SWIG_fail
;
17953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17960 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17961 PyObject
*resultobj
;
17962 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17964 PyObject
* obj0
= 0 ;
17965 PyObject
* obj1
= 0 ;
17966 char *kwnames
[] = {
17967 (char *) "self",(char *) "flag", NULL
17970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
17971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17973 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17974 if (PyErr_Occurred()) SWIG_fail
;
17977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17978 (arg1
)->SetDefaultInfo(arg2
);
17980 wxPyEndAllowThreads(__tstate
);
17981 if (PyErr_Occurred()) SWIG_fail
;
17983 Py_INCREF(Py_None
); resultobj
= Py_None
;
17990 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17991 PyObject
*resultobj
;
17992 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17994 PyObject
* obj0
= 0 ;
17995 PyObject
* obj1
= 0 ;
17996 char *kwnames
[] = {
17997 (char *) "self",(char *) "flag", NULL
18000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18003 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18004 if (PyErr_Occurred()) SWIG_fail
;
18007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18008 (arg1
)->SetDefaultMinMargins(arg2
);
18010 wxPyEndAllowThreads(__tstate
);
18011 if (PyErr_Occurred()) SWIG_fail
;
18013 Py_INCREF(Py_None
); resultobj
= Py_None
;
18020 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18021 PyObject
*resultobj
;
18022 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18023 wxPoint
*arg2
= 0 ;
18025 PyObject
* obj0
= 0 ;
18026 PyObject
* obj1
= 0 ;
18027 char *kwnames
[] = {
18028 (char *) "self",(char *) "pt", NULL
18031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
18032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18035 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18039 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
18041 wxPyEndAllowThreads(__tstate
);
18042 if (PyErr_Occurred()) SWIG_fail
;
18044 Py_INCREF(Py_None
); resultobj
= Py_None
;
18051 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18052 PyObject
*resultobj
;
18053 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18054 wxPoint
*arg2
= 0 ;
18056 PyObject
* obj0
= 0 ;
18057 PyObject
* obj1
= 0 ;
18058 char *kwnames
[] = {
18059 (char *) "self",(char *) "pt", NULL
18062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
18063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18066 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18070 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
18072 wxPyEndAllowThreads(__tstate
);
18073 if (PyErr_Occurred()) SWIG_fail
;
18075 Py_INCREF(Py_None
); resultobj
= Py_None
;
18082 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18083 PyObject
*resultobj
;
18084 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18085 wxPoint
*arg2
= 0 ;
18087 PyObject
* obj0
= 0 ;
18088 PyObject
* obj1
= 0 ;
18089 char *kwnames
[] = {
18090 (char *) "self",(char *) "pt", NULL
18093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
18094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18097 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18101 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
18103 wxPyEndAllowThreads(__tstate
);
18104 if (PyErr_Occurred()) SWIG_fail
;
18106 Py_INCREF(Py_None
); resultobj
= Py_None
;
18113 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18114 PyObject
*resultobj
;
18115 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18116 wxPoint
*arg2
= 0 ;
18118 PyObject
* obj0
= 0 ;
18119 PyObject
* obj1
= 0 ;
18120 char *kwnames
[] = {
18121 (char *) "self",(char *) "pt", NULL
18124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
18125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18128 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18132 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
18134 wxPyEndAllowThreads(__tstate
);
18135 if (PyErr_Occurred()) SWIG_fail
;
18137 Py_INCREF(Py_None
); resultobj
= Py_None
;
18144 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18145 PyObject
*resultobj
;
18146 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18148 PyObject
* obj0
= 0 ;
18149 PyObject
* obj1
= 0 ;
18150 char *kwnames
[] = {
18151 (char *) "self",(char *) "id", NULL
18154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18157 arg2
= (wxPaperSize
) SWIG_PyObj_AsInt(obj1
);
18158 if (PyErr_Occurred()) SWIG_fail
;
18161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18162 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18164 wxPyEndAllowThreads(__tstate
);
18165 if (PyErr_Occurred()) SWIG_fail
;
18167 Py_INCREF(Py_None
); resultobj
= Py_None
;
18174 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18175 PyObject
*resultobj
;
18176 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18179 PyObject
* obj0
= 0 ;
18180 PyObject
* obj1
= 0 ;
18181 char *kwnames
[] = {
18182 (char *) "self",(char *) "size", NULL
18185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18189 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18193 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18195 wxPyEndAllowThreads(__tstate
);
18196 if (PyErr_Occurred()) SWIG_fail
;
18198 Py_INCREF(Py_None
); resultobj
= Py_None
;
18205 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18206 PyObject
*resultobj
;
18207 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18208 wxPrintData
*arg2
= 0 ;
18209 PyObject
* obj0
= 0 ;
18210 PyObject
* obj1
= 0 ;
18211 char *kwnames
[] = {
18212 (char *) "self",(char *) "printData", NULL
18215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
18216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18217 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18218 if (arg2
== NULL
) {
18219 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18223 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
18225 wxPyEndAllowThreads(__tstate
);
18226 if (PyErr_Occurred()) SWIG_fail
;
18228 Py_INCREF(Py_None
); resultobj
= Py_None
;
18235 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
18237 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18238 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
18240 return Py_BuildValue((char *)"");
18242 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18243 PyObject
*resultobj
;
18244 wxWindow
*arg1
= (wxWindow
*) 0 ;
18245 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
18246 wxPageSetupDialog
*result
;
18247 PyObject
* obj0
= 0 ;
18248 PyObject
* obj1
= 0 ;
18249 char *kwnames
[] = {
18250 (char *) "parent",(char *) "data", NULL
18253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
18254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18256 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPageSetupDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18260 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
18262 wxPyEndAllowThreads(__tstate
);
18263 if (PyErr_Occurred()) SWIG_fail
;
18265 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialog
, 1);
18272 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18273 PyObject
*resultobj
;
18274 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
18275 wxPageSetupDialogData
*result
;
18276 PyObject
* obj0
= 0 ;
18277 char *kwnames
[] = {
18278 (char *) "self", NULL
18281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
18282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18286 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
18287 result
= (wxPageSetupDialogData
*) &_result_ref
;
18290 wxPyEndAllowThreads(__tstate
);
18291 if (PyErr_Occurred()) SWIG_fail
;
18293 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPageSetupDialogData
, 0);
18300 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18301 PyObject
*resultobj
;
18302 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
18304 PyObject
* obj0
= 0 ;
18305 char *kwnames
[] = {
18306 (char *) "self", NULL
18309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
18310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPageSetupDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18313 result
= (int)(arg1
)->ShowModal();
18315 wxPyEndAllowThreads(__tstate
);
18316 if (PyErr_Occurred()) SWIG_fail
;
18318 resultobj
= SWIG_PyObj_FromInt((int)result
);
18325 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
18327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18328 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
18330 return Py_BuildValue((char *)"");
18332 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18333 PyObject
*resultobj
;
18334 wxPrintDialogData
*result
;
18335 char *kwnames
[] = {
18339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintDialogData",kwnames
)) goto fail
;
18341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18342 result
= (wxPrintDialogData
*)new wxPrintDialogData();
18344 wxPyEndAllowThreads(__tstate
);
18345 if (PyErr_Occurred()) SWIG_fail
;
18347 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 1);
18354 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18355 PyObject
*resultobj
;
18356 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18357 PyObject
* obj0
= 0 ;
18358 char *kwnames
[] = {
18359 (char *) "self", NULL
18362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
18363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18368 wxPyEndAllowThreads(__tstate
);
18369 if (PyErr_Occurred()) SWIG_fail
;
18371 Py_INCREF(Py_None
); resultobj
= Py_None
;
18378 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18379 PyObject
*resultobj
;
18380 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18382 PyObject
* obj0
= 0 ;
18383 char *kwnames
[] = {
18384 (char *) "self", NULL
18387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
18388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18391 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
18393 wxPyEndAllowThreads(__tstate
);
18394 if (PyErr_Occurred()) SWIG_fail
;
18396 resultobj
= SWIG_PyObj_FromInt((int)result
);
18403 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18404 PyObject
*resultobj
;
18405 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18407 PyObject
* obj0
= 0 ;
18408 char *kwnames
[] = {
18409 (char *) "self", NULL
18412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
18413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18416 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
18418 wxPyEndAllowThreads(__tstate
);
18419 if (PyErr_Occurred()) SWIG_fail
;
18421 resultobj
= SWIG_PyObj_FromInt((int)result
);
18428 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18429 PyObject
*resultobj
;
18430 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18432 PyObject
* obj0
= 0 ;
18433 char *kwnames
[] = {
18434 (char *) "self", NULL
18437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
18438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18441 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
18443 wxPyEndAllowThreads(__tstate
);
18444 if (PyErr_Occurred()) SWIG_fail
;
18446 resultobj
= SWIG_PyObj_FromInt((int)result
);
18453 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18454 PyObject
*resultobj
;
18455 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18457 PyObject
* obj0
= 0 ;
18458 char *kwnames
[] = {
18459 (char *) "self", NULL
18462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
18463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18466 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
18468 wxPyEndAllowThreads(__tstate
);
18469 if (PyErr_Occurred()) SWIG_fail
;
18471 resultobj
= SWIG_PyObj_FromInt((int)result
);
18478 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18479 PyObject
*resultobj
;
18480 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18482 PyObject
* obj0
= 0 ;
18483 char *kwnames
[] = {
18484 (char *) "self", NULL
18487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18491 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
18493 wxPyEndAllowThreads(__tstate
);
18494 if (PyErr_Occurred()) SWIG_fail
;
18496 resultobj
= SWIG_PyObj_FromInt((int)result
);
18503 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18504 PyObject
*resultobj
;
18505 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18507 PyObject
* obj0
= 0 ;
18508 char *kwnames
[] = {
18509 (char *) "self", NULL
18512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
18513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18516 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
18518 wxPyEndAllowThreads(__tstate
);
18519 if (PyErr_Occurred()) SWIG_fail
;
18521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18528 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18529 PyObject
*resultobj
;
18530 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18532 PyObject
* obj0
= 0 ;
18533 char *kwnames
[] = {
18534 (char *) "self", NULL
18537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
18538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18541 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
18543 wxPyEndAllowThreads(__tstate
);
18544 if (PyErr_Occurred()) SWIG_fail
;
18546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18553 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18554 PyObject
*resultobj
;
18555 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18557 PyObject
* obj0
= 0 ;
18558 char *kwnames
[] = {
18559 (char *) "self", NULL
18562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
18563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18566 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
18568 wxPyEndAllowThreads(__tstate
);
18569 if (PyErr_Occurred()) SWIG_fail
;
18571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18578 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18579 PyObject
*resultobj
;
18580 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18582 PyObject
* obj0
= 0 ;
18583 char *kwnames
[] = {
18584 (char *) "self", NULL
18587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
18588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18591 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
18593 wxPyEndAllowThreads(__tstate
);
18594 if (PyErr_Occurred()) SWIG_fail
;
18596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18603 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18604 PyObject
*resultobj
;
18605 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18607 PyObject
* obj0
= 0 ;
18608 char *kwnames
[] = {
18609 (char *) "self", NULL
18612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
18613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18616 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
18618 wxPyEndAllowThreads(__tstate
);
18619 if (PyErr_Occurred()) SWIG_fail
;
18621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18628 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18629 PyObject
*resultobj
;
18630 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18632 PyObject
* obj0
= 0 ;
18633 PyObject
* obj1
= 0 ;
18634 char *kwnames
[] = {
18635 (char *) "self",(char *) "v", NULL
18638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
18639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18641 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18646 (arg1
)->SetFromPage(arg2
);
18648 wxPyEndAllowThreads(__tstate
);
18649 if (PyErr_Occurred()) SWIG_fail
;
18651 Py_INCREF(Py_None
); resultobj
= Py_None
;
18658 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18659 PyObject
*resultobj
;
18660 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18662 PyObject
* obj0
= 0 ;
18663 PyObject
* obj1
= 0 ;
18664 char *kwnames
[] = {
18665 (char *) "self",(char *) "v", NULL
18668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
18669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18671 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18672 if (PyErr_Occurred()) SWIG_fail
;
18675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18676 (arg1
)->SetToPage(arg2
);
18678 wxPyEndAllowThreads(__tstate
);
18679 if (PyErr_Occurred()) SWIG_fail
;
18681 Py_INCREF(Py_None
); resultobj
= Py_None
;
18688 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18689 PyObject
*resultobj
;
18690 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18692 PyObject
* obj0
= 0 ;
18693 PyObject
* obj1
= 0 ;
18694 char *kwnames
[] = {
18695 (char *) "self",(char *) "v", NULL
18698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
18699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18701 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18702 if (PyErr_Occurred()) SWIG_fail
;
18705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18706 (arg1
)->SetMinPage(arg2
);
18708 wxPyEndAllowThreads(__tstate
);
18709 if (PyErr_Occurred()) SWIG_fail
;
18711 Py_INCREF(Py_None
); resultobj
= Py_None
;
18718 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18719 PyObject
*resultobj
;
18720 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18722 PyObject
* obj0
= 0 ;
18723 PyObject
* obj1
= 0 ;
18724 char *kwnames
[] = {
18725 (char *) "self",(char *) "v", NULL
18728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
18729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18731 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18732 if (PyErr_Occurred()) SWIG_fail
;
18735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18736 (arg1
)->SetMaxPage(arg2
);
18738 wxPyEndAllowThreads(__tstate
);
18739 if (PyErr_Occurred()) SWIG_fail
;
18741 Py_INCREF(Py_None
); resultobj
= Py_None
;
18748 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18749 PyObject
*resultobj
;
18750 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18752 PyObject
* obj0
= 0 ;
18753 PyObject
* obj1
= 0 ;
18754 char *kwnames
[] = {
18755 (char *) "self",(char *) "v", NULL
18758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18761 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18762 if (PyErr_Occurred()) SWIG_fail
;
18765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18766 (arg1
)->SetNoCopies(arg2
);
18768 wxPyEndAllowThreads(__tstate
);
18769 if (PyErr_Occurred()) SWIG_fail
;
18771 Py_INCREF(Py_None
); resultobj
= Py_None
;
18778 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18779 PyObject
*resultobj
;
18780 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18782 PyObject
* obj0
= 0 ;
18783 PyObject
* obj1
= 0 ;
18784 char *kwnames
[] = {
18785 (char *) "self",(char *) "flag", NULL
18788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
18789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18791 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18792 if (PyErr_Occurred()) SWIG_fail
;
18795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18796 (arg1
)->SetAllPages(arg2
);
18798 wxPyEndAllowThreads(__tstate
);
18799 if (PyErr_Occurred()) SWIG_fail
;
18801 Py_INCREF(Py_None
); resultobj
= Py_None
;
18808 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18809 PyObject
*resultobj
;
18810 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18812 PyObject
* obj0
= 0 ;
18813 PyObject
* obj1
= 0 ;
18814 char *kwnames
[] = {
18815 (char *) "self",(char *) "flag", NULL
18818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
18819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18821 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18822 if (PyErr_Occurred()) SWIG_fail
;
18825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18826 (arg1
)->SetSelection(arg2
);
18828 wxPyEndAllowThreads(__tstate
);
18829 if (PyErr_Occurred()) SWIG_fail
;
18831 Py_INCREF(Py_None
); resultobj
= Py_None
;
18838 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18839 PyObject
*resultobj
;
18840 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18842 PyObject
* obj0
= 0 ;
18843 PyObject
* obj1
= 0 ;
18844 char *kwnames
[] = {
18845 (char *) "self",(char *) "flag", NULL
18848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18851 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18852 if (PyErr_Occurred()) SWIG_fail
;
18855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18856 (arg1
)->SetCollate(arg2
);
18858 wxPyEndAllowThreads(__tstate
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18861 Py_INCREF(Py_None
); resultobj
= Py_None
;
18868 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18869 PyObject
*resultobj
;
18870 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18872 PyObject
* obj0
= 0 ;
18873 PyObject
* obj1
= 0 ;
18874 char *kwnames
[] = {
18875 (char *) "self",(char *) "flag", NULL
18878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
18879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18881 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18882 if (PyErr_Occurred()) SWIG_fail
;
18885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18886 (arg1
)->SetPrintToFile(arg2
);
18888 wxPyEndAllowThreads(__tstate
);
18889 if (PyErr_Occurred()) SWIG_fail
;
18891 Py_INCREF(Py_None
); resultobj
= Py_None
;
18898 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18899 PyObject
*resultobj
;
18900 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18902 PyObject
* obj0
= 0 ;
18903 PyObject
* obj1
= 0 ;
18904 char *kwnames
[] = {
18905 (char *) "self",(char *) "flag", NULL
18908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
18909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18911 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18912 if (PyErr_Occurred()) SWIG_fail
;
18915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18916 (arg1
)->SetSetupDialog(arg2
);
18918 wxPyEndAllowThreads(__tstate
);
18919 if (PyErr_Occurred()) SWIG_fail
;
18921 Py_INCREF(Py_None
); resultobj
= Py_None
;
18928 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18929 PyObject
*resultobj
;
18930 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18932 PyObject
* obj0
= 0 ;
18933 PyObject
* obj1
= 0 ;
18934 char *kwnames
[] = {
18935 (char *) "self",(char *) "flag", NULL
18938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
18939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18941 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18942 if (PyErr_Occurred()) SWIG_fail
;
18945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18946 (arg1
)->EnablePrintToFile(arg2
);
18948 wxPyEndAllowThreads(__tstate
);
18949 if (PyErr_Occurred()) SWIG_fail
;
18951 Py_INCREF(Py_None
); resultobj
= Py_None
;
18958 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18959 PyObject
*resultobj
;
18960 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18962 PyObject
* obj0
= 0 ;
18963 PyObject
* obj1
= 0 ;
18964 char *kwnames
[] = {
18965 (char *) "self",(char *) "flag", NULL
18968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
18969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18971 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18972 if (PyErr_Occurred()) SWIG_fail
;
18975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18976 (arg1
)->EnableSelection(arg2
);
18978 wxPyEndAllowThreads(__tstate
);
18979 if (PyErr_Occurred()) SWIG_fail
;
18981 Py_INCREF(Py_None
); resultobj
= Py_None
;
18988 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18989 PyObject
*resultobj
;
18990 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18992 PyObject
* obj0
= 0 ;
18993 PyObject
* obj1
= 0 ;
18994 char *kwnames
[] = {
18995 (char *) "self",(char *) "flag", NULL
18998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
18999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19001 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19002 if (PyErr_Occurred()) SWIG_fail
;
19005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19006 (arg1
)->EnablePageNumbers(arg2
);
19008 wxPyEndAllowThreads(__tstate
);
19009 if (PyErr_Occurred()) SWIG_fail
;
19011 Py_INCREF(Py_None
); resultobj
= Py_None
;
19018 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19019 PyObject
*resultobj
;
19020 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19022 PyObject
* obj0
= 0 ;
19023 PyObject
* obj1
= 0 ;
19024 char *kwnames
[] = {
19025 (char *) "self",(char *) "flag", NULL
19028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19031 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19032 if (PyErr_Occurred()) SWIG_fail
;
19035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19036 (arg1
)->EnableHelp(arg2
);
19038 wxPyEndAllowThreads(__tstate
);
19039 if (PyErr_Occurred()) SWIG_fail
;
19041 Py_INCREF(Py_None
); resultobj
= Py_None
;
19048 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19049 PyObject
*resultobj
;
19050 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19052 PyObject
* obj0
= 0 ;
19053 char *kwnames
[] = {
19054 (char *) "self", NULL
19057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
19058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19061 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
19063 wxPyEndAllowThreads(__tstate
);
19064 if (PyErr_Occurred()) SWIG_fail
;
19066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19073 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19074 PyObject
*resultobj
;
19075 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19077 PyObject
* obj0
= 0 ;
19078 char *kwnames
[] = {
19079 (char *) "self", NULL
19082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
19083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19086 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
19088 wxPyEndAllowThreads(__tstate
);
19089 if (PyErr_Occurred()) SWIG_fail
;
19091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19098 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19099 PyObject
*resultobj
;
19100 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19102 PyObject
* obj0
= 0 ;
19103 char *kwnames
[] = {
19104 (char *) "self", NULL
19107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
19108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19111 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
19113 wxPyEndAllowThreads(__tstate
);
19114 if (PyErr_Occurred()) SWIG_fail
;
19116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19123 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19124 PyObject
*resultobj
;
19125 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19127 PyObject
* obj0
= 0 ;
19128 char *kwnames
[] = {
19129 (char *) "self", NULL
19132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19136 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
19138 wxPyEndAllowThreads(__tstate
);
19139 if (PyErr_Occurred()) SWIG_fail
;
19141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19148 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19149 PyObject
*resultobj
;
19150 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19152 PyObject
* obj0
= 0 ;
19153 char *kwnames
[] = {
19154 (char *) "self", NULL
19157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19161 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
19163 wxPyEndAllowThreads(__tstate
);
19164 if (PyErr_Occurred()) SWIG_fail
;
19166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19173 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19174 PyObject
*resultobj
;
19175 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19176 wxPrintData
*result
;
19177 PyObject
* obj0
= 0 ;
19178 char *kwnames
[] = {
19179 (char *) "self", NULL
19182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19187 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19188 result
= (wxPrintData
*) &_result_ref
;
19191 wxPyEndAllowThreads(__tstate
);
19192 if (PyErr_Occurred()) SWIG_fail
;
19194 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
19201 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19202 PyObject
*resultobj
;
19203 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19204 wxPrintData
*arg2
= 0 ;
19205 PyObject
* obj0
= 0 ;
19206 PyObject
* obj1
= 0 ;
19207 char *kwnames
[] = {
19208 (char *) "self",(char *) "printData", NULL
19211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
19212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19213 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19214 if (arg2
== NULL
) {
19215 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19219 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
19221 wxPyEndAllowThreads(__tstate
);
19222 if (PyErr_Occurred()) SWIG_fail
;
19224 Py_INCREF(Py_None
); resultobj
= Py_None
;
19231 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
19233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19234 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
19236 return Py_BuildValue((char *)"");
19238 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19239 PyObject
*resultobj
;
19240 wxWindow
*arg1
= (wxWindow
*) 0 ;
19241 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
19242 wxPrintDialog
*result
;
19243 PyObject
* obj0
= 0 ;
19244 PyObject
* obj1
= 0 ;
19245 char *kwnames
[] = {
19246 (char *) "parent",(char *) "data", NULL
19249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19252 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19256 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
19258 wxPyEndAllowThreads(__tstate
);
19259 if (PyErr_Occurred()) SWIG_fail
;
19261 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialog
, 1);
19268 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19269 PyObject
*resultobj
;
19270 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19271 wxPrintDialogData
*result
;
19272 PyObject
* obj0
= 0 ;
19273 char *kwnames
[] = {
19274 (char *) "self", NULL
19277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
19278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19282 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
19283 result
= (wxPrintDialogData
*) &_result_ref
;
19286 wxPyEndAllowThreads(__tstate
);
19287 if (PyErr_Occurred()) SWIG_fail
;
19289 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
19296 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19297 PyObject
*resultobj
;
19298 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19300 PyObject
* obj0
= 0 ;
19301 char *kwnames
[] = {
19302 (char *) "self", NULL
19305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
19306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19309 result
= (wxDC
*)(arg1
)->GetPrintDC();
19311 wxPyEndAllowThreads(__tstate
);
19312 if (PyErr_Occurred()) SWIG_fail
;
19315 resultobj
= wxPyMake_wxObject(result
);
19323 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19324 PyObject
*resultobj
;
19325 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19327 PyObject
* obj0
= 0 ;
19328 char *kwnames
[] = {
19329 (char *) "self", NULL
19332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
19333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19336 result
= (int)(arg1
)->ShowModal();
19338 wxPyEndAllowThreads(__tstate
);
19339 if (PyErr_Occurred()) SWIG_fail
;
19341 resultobj
= SWIG_PyObj_FromInt((int)result
);
19348 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
19350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19351 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
19353 return Py_BuildValue((char *)"");
19355 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19356 PyObject
*resultobj
;
19357 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
19359 PyObject
* obj0
= 0 ;
19360 char *kwnames
[] = {
19361 (char *) "data", NULL
19364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
19366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintDialogData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19370 result
= (wxPrinter
*)new wxPrinter(arg1
);
19372 wxPyEndAllowThreads(__tstate
);
19373 if (PyErr_Occurred()) SWIG_fail
;
19375 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrinter
, 1);
19382 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19383 PyObject
*resultobj
;
19384 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19385 PyObject
* obj0
= 0 ;
19386 char *kwnames
[] = {
19387 (char *) "self", NULL
19390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
19391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19396 wxPyEndAllowThreads(__tstate
);
19397 if (PyErr_Occurred()) SWIG_fail
;
19399 Py_INCREF(Py_None
); resultobj
= Py_None
;
19406 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19407 PyObject
*resultobj
;
19408 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19409 wxWindow
*arg2
= (wxWindow
*) 0 ;
19410 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19411 PyObject
* obj0
= 0 ;
19412 PyObject
* obj1
= 0 ;
19413 PyObject
* obj2
= 0 ;
19414 char *kwnames
[] = {
19415 (char *) "self",(char *) "parent",(char *) "printout", NULL
19418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19420 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19421 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19424 (arg1
)->CreateAbortWindow(arg2
,arg3
);
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19429 Py_INCREF(Py_None
); resultobj
= Py_None
;
19436 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19437 PyObject
*resultobj
;
19438 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19439 wxPrintDialogData
*result
;
19440 PyObject
* obj0
= 0 ;
19441 char *kwnames
[] = {
19442 (char *) "self", NULL
19445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
19446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19450 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
19451 result
= (wxPrintDialogData
*) &_result_ref
;
19454 wxPyEndAllowThreads(__tstate
);
19455 if (PyErr_Occurred()) SWIG_fail
;
19457 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
19464 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19465 PyObject
*resultobj
;
19466 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19467 wxWindow
*arg2
= (wxWindow
*) 0 ;
19468 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19469 int arg4
= (int) True
;
19471 PyObject
* obj0
= 0 ;
19472 PyObject
* obj1
= 0 ;
19473 PyObject
* obj2
= 0 ;
19474 PyObject
* obj3
= 0 ;
19475 char *kwnames
[] = {
19476 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
19479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19481 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19482 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19485 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
19486 if (PyErr_Occurred()) SWIG_fail
;
19490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19491 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
19493 wxPyEndAllowThreads(__tstate
);
19494 if (PyErr_Occurred()) SWIG_fail
;
19496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19503 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19504 PyObject
*resultobj
;
19505 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19506 wxWindow
*arg2
= (wxWindow
*) 0 ;
19508 PyObject
* obj0
= 0 ;
19509 PyObject
* obj1
= 0 ;
19510 char *kwnames
[] = {
19511 (char *) "self",(char *) "parent", NULL
19514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19516 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19519 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
19521 wxPyEndAllowThreads(__tstate
);
19522 if (PyErr_Occurred()) SWIG_fail
;
19525 resultobj
= wxPyMake_wxObject(result
);
19533 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19534 PyObject
*resultobj
;
19535 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19536 wxWindow
*arg2
= (wxWindow
*) 0 ;
19537 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19538 wxString
*arg4
= 0 ;
19539 bool temp4
= False
;
19540 PyObject
* obj0
= 0 ;
19541 PyObject
* obj1
= 0 ;
19542 PyObject
* obj2
= 0 ;
19543 PyObject
* obj3
= 0 ;
19544 char *kwnames
[] = {
19545 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
19548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19550 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19551 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19553 arg4
= wxString_in_helper(obj3
);
19554 if (arg4
== NULL
) SWIG_fail
;
19558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19559 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
19561 wxPyEndAllowThreads(__tstate
);
19562 if (PyErr_Occurred()) SWIG_fail
;
19564 Py_INCREF(Py_None
); resultobj
= Py_None
;
19579 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19580 PyObject
*resultobj
;
19581 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19582 wxWindow
*arg2
= (wxWindow
*) 0 ;
19584 PyObject
* obj0
= 0 ;
19585 PyObject
* obj1
= 0 ;
19586 char *kwnames
[] = {
19587 (char *) "self",(char *) "parent", NULL
19590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
19591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19592 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19595 result
= (bool)(arg1
)->Setup(arg2
);
19597 wxPyEndAllowThreads(__tstate
);
19598 if (PyErr_Occurred()) SWIG_fail
;
19600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19607 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19608 PyObject
*resultobj
;
19609 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19611 PyObject
* obj0
= 0 ;
19612 char *kwnames
[] = {
19613 (char *) "self", NULL
19616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
19617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrinter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19620 result
= (bool)(arg1
)->GetAbort();
19622 wxPyEndAllowThreads(__tstate
);
19623 if (PyErr_Occurred()) SWIG_fail
;
19625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19632 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19633 PyObject
*resultobj
;
19635 char *kwnames
[] = {
19639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
19641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19642 result
= (int)wxPrinter::GetLastError();
19644 wxPyEndAllowThreads(__tstate
);
19645 if (PyErr_Occurred()) SWIG_fail
;
19647 resultobj
= SWIG_PyObj_FromInt((int)result
);
19654 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
19656 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19657 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
19659 return Py_BuildValue((char *)"");
19661 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19662 PyObject
*resultobj
;
19663 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
19664 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
19665 wxPyPrintout
*result
;
19666 bool temp1
= False
;
19667 PyObject
* obj0
= 0 ;
19668 char *kwnames
[] = {
19669 (char *) "title", NULL
19672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
19675 arg1
= wxString_in_helper(obj0
);
19676 if (arg1
== NULL
) SWIG_fail
;
19681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19682 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
19684 wxPyEndAllowThreads(__tstate
);
19685 if (PyErr_Occurred()) SWIG_fail
;
19688 resultobj
= wxPyMake_wxObject(result
);
19704 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19705 PyObject
*resultobj
;
19706 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19707 PyObject
*arg2
= (PyObject
*) 0 ;
19708 PyObject
*arg3
= (PyObject
*) 0 ;
19709 PyObject
* obj0
= 0 ;
19710 PyObject
* obj1
= 0 ;
19711 PyObject
* obj2
= 0 ;
19712 char *kwnames
[] = {
19713 (char *) "self",(char *) "self",(char *) "_class", NULL
19716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19722 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19724 wxPyEndAllowThreads(__tstate
);
19725 if (PyErr_Occurred()) SWIG_fail
;
19727 Py_INCREF(Py_None
); resultobj
= Py_None
;
19734 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19735 PyObject
*resultobj
;
19736 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19738 PyObject
* obj0
= 0 ;
19739 char *kwnames
[] = {
19740 (char *) "self", NULL
19743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
19744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19747 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
19749 wxPyEndAllowThreads(__tstate
);
19750 if (PyErr_Occurred()) SWIG_fail
;
19754 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19756 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19765 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19766 PyObject
*resultobj
;
19767 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19769 PyObject
* obj0
= 0 ;
19770 char *kwnames
[] = {
19771 (char *) "self", NULL
19774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
19775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19778 result
= (wxDC
*)(arg1
)->GetDC();
19780 wxPyEndAllowThreads(__tstate
);
19781 if (PyErr_Occurred()) SWIG_fail
;
19784 resultobj
= wxPyMake_wxObject(result
);
19792 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19793 PyObject
*resultobj
;
19794 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19795 wxDC
*arg2
= (wxDC
*) 0 ;
19796 PyObject
* obj0
= 0 ;
19797 PyObject
* obj1
= 0 ;
19798 char *kwnames
[] = {
19799 (char *) "self",(char *) "dc", NULL
19802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
19803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19804 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19807 (arg1
)->SetDC(arg2
);
19809 wxPyEndAllowThreads(__tstate
);
19810 if (PyErr_Occurred()) SWIG_fail
;
19812 Py_INCREF(Py_None
); resultobj
= Py_None
;
19819 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19820 PyObject
*resultobj
;
19821 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19824 PyObject
* obj0
= 0 ;
19825 PyObject
* obj1
= 0 ;
19826 PyObject
* obj2
= 0 ;
19827 char *kwnames
[] = {
19828 (char *) "self",(char *) "w",(char *) "h", NULL
19831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19834 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19835 if (PyErr_Occurred()) SWIG_fail
;
19838 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
19839 if (PyErr_Occurred()) SWIG_fail
;
19842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19843 (arg1
)->SetPageSizePixels(arg2
,arg3
);
19845 wxPyEndAllowThreads(__tstate
);
19846 if (PyErr_Occurred()) SWIG_fail
;
19848 Py_INCREF(Py_None
); resultobj
= Py_None
;
19855 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19856 PyObject
*resultobj
;
19857 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19858 int *arg2
= (int *) 0 ;
19859 int *arg3
= (int *) 0 ;
19862 PyObject
* obj0
= 0 ;
19863 char *kwnames
[] = {
19864 (char *) "self", NULL
19869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
19870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19873 (arg1
)->GetPageSizePixels(arg2
,arg3
);
19875 wxPyEndAllowThreads(__tstate
);
19876 if (PyErr_Occurred()) SWIG_fail
;
19878 Py_INCREF(Py_None
); resultobj
= Py_None
;
19880 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
19881 resultobj
= t_output_helper(resultobj
,o
);
19884 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19885 resultobj
= t_output_helper(resultobj
,o
);
19893 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19894 PyObject
*resultobj
;
19895 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19898 PyObject
* obj0
= 0 ;
19899 PyObject
* obj1
= 0 ;
19900 PyObject
* obj2
= 0 ;
19901 char *kwnames
[] = {
19902 (char *) "self",(char *) "w",(char *) "h", NULL
19905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19908 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19909 if (PyErr_Occurred()) SWIG_fail
;
19912 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
19913 if (PyErr_Occurred()) SWIG_fail
;
19916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19917 (arg1
)->SetPageSizeMM(arg2
,arg3
);
19919 wxPyEndAllowThreads(__tstate
);
19920 if (PyErr_Occurred()) SWIG_fail
;
19922 Py_INCREF(Py_None
); resultobj
= Py_None
;
19929 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19930 PyObject
*resultobj
;
19931 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19932 int *arg2
= (int *) 0 ;
19933 int *arg3
= (int *) 0 ;
19936 PyObject
* obj0
= 0 ;
19937 char *kwnames
[] = {
19938 (char *) "self", NULL
19943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
19944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19947 (arg1
)->GetPageSizeMM(arg2
,arg3
);
19949 wxPyEndAllowThreads(__tstate
);
19950 if (PyErr_Occurred()) SWIG_fail
;
19952 Py_INCREF(Py_None
); resultobj
= Py_None
;
19954 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
19955 resultobj
= t_output_helper(resultobj
,o
);
19958 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19959 resultobj
= t_output_helper(resultobj
,o
);
19967 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19968 PyObject
*resultobj
;
19969 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19972 PyObject
* obj0
= 0 ;
19973 PyObject
* obj1
= 0 ;
19974 PyObject
* obj2
= 0 ;
19975 char *kwnames
[] = {
19976 (char *) "self",(char *) "x",(char *) "y", NULL
19979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19982 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19983 if (PyErr_Occurred()) SWIG_fail
;
19986 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
19987 if (PyErr_Occurred()) SWIG_fail
;
19990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19991 (arg1
)->SetPPIScreen(arg2
,arg3
);
19993 wxPyEndAllowThreads(__tstate
);
19994 if (PyErr_Occurred()) SWIG_fail
;
19996 Py_INCREF(Py_None
); resultobj
= Py_None
;
20003 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20004 PyObject
*resultobj
;
20005 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20006 int *arg2
= (int *) 0 ;
20007 int *arg3
= (int *) 0 ;
20010 PyObject
* obj0
= 0 ;
20011 char *kwnames
[] = {
20012 (char *) "self", NULL
20017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
20018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20021 (arg1
)->GetPPIScreen(arg2
,arg3
);
20023 wxPyEndAllowThreads(__tstate
);
20024 if (PyErr_Occurred()) SWIG_fail
;
20026 Py_INCREF(Py_None
); resultobj
= Py_None
;
20028 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20029 resultobj
= t_output_helper(resultobj
,o
);
20032 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20033 resultobj
= t_output_helper(resultobj
,o
);
20041 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20042 PyObject
*resultobj
;
20043 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20046 PyObject
* obj0
= 0 ;
20047 PyObject
* obj1
= 0 ;
20048 PyObject
* obj2
= 0 ;
20049 char *kwnames
[] = {
20050 (char *) "self",(char *) "x",(char *) "y", NULL
20053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20056 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20057 if (PyErr_Occurred()) SWIG_fail
;
20060 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20061 if (PyErr_Occurred()) SWIG_fail
;
20064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20065 (arg1
)->SetPPIPrinter(arg2
,arg3
);
20067 wxPyEndAllowThreads(__tstate
);
20068 if (PyErr_Occurred()) SWIG_fail
;
20070 Py_INCREF(Py_None
); resultobj
= Py_None
;
20077 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20078 PyObject
*resultobj
;
20079 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20080 int *arg2
= (int *) 0 ;
20081 int *arg3
= (int *) 0 ;
20084 PyObject
* obj0
= 0 ;
20085 char *kwnames
[] = {
20086 (char *) "self", NULL
20091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
20092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20095 (arg1
)->GetPPIPrinter(arg2
,arg3
);
20097 wxPyEndAllowThreads(__tstate
);
20098 if (PyErr_Occurred()) SWIG_fail
;
20100 Py_INCREF(Py_None
); resultobj
= Py_None
;
20102 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20103 resultobj
= t_output_helper(resultobj
,o
);
20106 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20107 resultobj
= t_output_helper(resultobj
,o
);
20115 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20116 PyObject
*resultobj
;
20117 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20119 PyObject
* obj0
= 0 ;
20120 char *kwnames
[] = {
20121 (char *) "self", NULL
20124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
20125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20128 result
= (bool)(arg1
)->IsPreview();
20130 wxPyEndAllowThreads(__tstate
);
20131 if (PyErr_Occurred()) SWIG_fail
;
20133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20140 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20141 PyObject
*resultobj
;
20142 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20144 PyObject
* obj0
= 0 ;
20145 PyObject
* obj1
= 0 ;
20146 char *kwnames
[] = {
20147 (char *) "self",(char *) "p", NULL
20150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
20151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20153 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
20154 if (PyErr_Occurred()) SWIG_fail
;
20157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20158 (arg1
)->SetIsPreview(arg2
);
20160 wxPyEndAllowThreads(__tstate
);
20161 if (PyErr_Occurred()) SWIG_fail
;
20163 Py_INCREF(Py_None
); resultobj
= Py_None
;
20170 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20171 PyObject
*resultobj
;
20172 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20176 PyObject
* obj0
= 0 ;
20177 PyObject
* obj1
= 0 ;
20178 PyObject
* obj2
= 0 ;
20179 char *kwnames
[] = {
20180 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
20183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20186 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20187 if (PyErr_Occurred()) SWIG_fail
;
20190 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20191 if (PyErr_Occurred()) SWIG_fail
;
20194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20195 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
20197 wxPyEndAllowThreads(__tstate
);
20198 if (PyErr_Occurred()) SWIG_fail
;
20200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20207 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20208 PyObject
*resultobj
;
20209 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20210 PyObject
* obj0
= 0 ;
20211 char *kwnames
[] = {
20212 (char *) "self", NULL
20215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
20216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20219 (arg1
)->base_OnEndDocument();
20221 wxPyEndAllowThreads(__tstate
);
20222 if (PyErr_Occurred()) SWIG_fail
;
20224 Py_INCREF(Py_None
); resultobj
= Py_None
;
20231 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20232 PyObject
*resultobj
;
20233 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20234 PyObject
* obj0
= 0 ;
20235 char *kwnames
[] = {
20236 (char *) "self", NULL
20239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
20240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20243 (arg1
)->base_OnBeginPrinting();
20245 wxPyEndAllowThreads(__tstate
);
20246 if (PyErr_Occurred()) SWIG_fail
;
20248 Py_INCREF(Py_None
); resultobj
= Py_None
;
20255 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20256 PyObject
*resultobj
;
20257 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20258 PyObject
* obj0
= 0 ;
20259 char *kwnames
[] = {
20260 (char *) "self", NULL
20263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
20264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20267 (arg1
)->base_OnEndPrinting();
20269 wxPyEndAllowThreads(__tstate
);
20270 if (PyErr_Occurred()) SWIG_fail
;
20272 Py_INCREF(Py_None
); resultobj
= Py_None
;
20279 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20280 PyObject
*resultobj
;
20281 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20282 PyObject
* obj0
= 0 ;
20283 char *kwnames
[] = {
20284 (char *) "self", NULL
20287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
20288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20291 (arg1
)->base_OnPreparePrinting();
20293 wxPyEndAllowThreads(__tstate
);
20294 if (PyErr_Occurred()) SWIG_fail
;
20296 Py_INCREF(Py_None
); resultobj
= Py_None
;
20303 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20304 PyObject
*resultobj
;
20305 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20308 PyObject
* obj0
= 0 ;
20309 PyObject
* obj1
= 0 ;
20310 char *kwnames
[] = {
20311 (char *) "self",(char *) "page", NULL
20314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20317 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20318 if (PyErr_Occurred()) SWIG_fail
;
20321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20322 result
= (bool)(arg1
)->base_HasPage(arg2
);
20324 wxPyEndAllowThreads(__tstate
);
20325 if (PyErr_Occurred()) SWIG_fail
;
20327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20334 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20335 PyObject
*resultobj
;
20336 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20337 int *arg2
= (int *) 0 ;
20338 int *arg3
= (int *) 0 ;
20339 int *arg4
= (int *) 0 ;
20340 int *arg5
= (int *) 0 ;
20345 PyObject
* obj0
= 0 ;
20346 char *kwnames
[] = {
20347 (char *) "self", NULL
20354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
20355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20358 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
20360 wxPyEndAllowThreads(__tstate
);
20361 if (PyErr_Occurred()) SWIG_fail
;
20363 Py_INCREF(Py_None
); resultobj
= Py_None
;
20365 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20366 resultobj
= t_output_helper(resultobj
,o
);
20369 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20370 resultobj
= t_output_helper(resultobj
,o
);
20373 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
20374 resultobj
= t_output_helper(resultobj
,o
);
20377 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
20378 resultobj
= t_output_helper(resultobj
,o
);
20386 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
20388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20389 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
20391 return Py_BuildValue((char *)"");
20393 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20394 PyObject
*resultobj
;
20395 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20396 wxWindow
*arg2
= (wxWindow
*) 0 ;
20397 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20398 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20399 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20400 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20401 long arg5
= (long) 0 ;
20402 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
20403 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20404 wxPreviewCanvas
*result
;
20407 bool temp6
= False
;
20408 PyObject
* obj0
= 0 ;
20409 PyObject
* obj1
= 0 ;
20410 PyObject
* obj2
= 0 ;
20411 PyObject
* obj3
= 0 ;
20412 PyObject
* obj4
= 0 ;
20413 PyObject
* obj5
= 0 ;
20414 char *kwnames
[] = {
20415 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20420 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20424 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20430 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20435 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
20436 if (PyErr_Occurred()) SWIG_fail
;
20441 arg6
= wxString_in_helper(obj5
);
20442 if (arg6
== NULL
) SWIG_fail
;
20447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20448 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20450 wxPyEndAllowThreads(__tstate
);
20451 if (PyErr_Occurred()) SWIG_fail
;
20453 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 1);
20468 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
20470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20471 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
20473 return Py_BuildValue((char *)"");
20475 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20476 PyObject
*resultobj
;
20477 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20478 wxFrame
*arg2
= (wxFrame
*) 0 ;
20479 wxString
*arg3
= 0 ;
20480 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20481 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20482 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20483 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20484 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20485 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20486 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20487 wxPreviewFrame
*result
;
20488 bool temp3
= False
;
20491 bool temp7
= False
;
20492 PyObject
* obj0
= 0 ;
20493 PyObject
* obj1
= 0 ;
20494 PyObject
* obj2
= 0 ;
20495 PyObject
* obj3
= 0 ;
20496 PyObject
* obj4
= 0 ;
20497 PyObject
* obj5
= 0 ;
20498 PyObject
* obj6
= 0 ;
20499 char *kwnames
[] = {
20500 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20505 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20507 arg3
= wxString_in_helper(obj2
);
20508 if (arg3
== NULL
) SWIG_fail
;
20514 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20520 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20525 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
20526 if (PyErr_Occurred()) SWIG_fail
;
20531 arg7
= wxString_in_helper(obj6
);
20532 if (arg7
== NULL
) SWIG_fail
;
20537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20538 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20540 wxPyEndAllowThreads(__tstate
);
20541 if (PyErr_Occurred()) SWIG_fail
;
20543 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewFrame
, 1);
20566 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20567 PyObject
*resultobj
;
20568 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20569 PyObject
* obj0
= 0 ;
20570 char *kwnames
[] = {
20571 (char *) "self", NULL
20574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
20575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20578 (arg1
)->Initialize();
20580 wxPyEndAllowThreads(__tstate
);
20581 if (PyErr_Occurred()) SWIG_fail
;
20583 Py_INCREF(Py_None
); resultobj
= Py_None
;
20590 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20591 PyObject
*resultobj
;
20592 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20593 PyObject
* obj0
= 0 ;
20594 char *kwnames
[] = {
20595 (char *) "self", NULL
20598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
20599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20602 (arg1
)->CreateControlBar();
20604 wxPyEndAllowThreads(__tstate
);
20605 if (PyErr_Occurred()) SWIG_fail
;
20607 Py_INCREF(Py_None
); resultobj
= Py_None
;
20614 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20615 PyObject
*resultobj
;
20616 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20617 PyObject
* obj0
= 0 ;
20618 char *kwnames
[] = {
20619 (char *) "self", NULL
20622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
20623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20626 (arg1
)->CreateCanvas();
20628 wxPyEndAllowThreads(__tstate
);
20629 if (PyErr_Occurred()) SWIG_fail
;
20631 Py_INCREF(Py_None
); resultobj
= Py_None
;
20638 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20639 PyObject
*resultobj
;
20640 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20641 wxPreviewControlBar
*result
;
20642 PyObject
* obj0
= 0 ;
20643 char *kwnames
[] = {
20644 (char *) "self", NULL
20647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
20648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20651 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
20653 wxPyEndAllowThreads(__tstate
);
20654 if (PyErr_Occurred()) SWIG_fail
;
20656 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 0);
20663 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
20665 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20666 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
20668 return Py_BuildValue((char *)"");
20670 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20671 PyObject
*resultobj
;
20672 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20674 wxWindow
*arg3
= (wxWindow
*) 0 ;
20675 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20676 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20677 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20678 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20679 long arg6
= (long) wxTAB_TRAVERSAL
;
20680 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
20681 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20682 wxPreviewControlBar
*result
;
20685 bool temp7
= False
;
20686 PyObject
* obj0
= 0 ;
20687 PyObject
* obj1
= 0 ;
20688 PyObject
* obj2
= 0 ;
20689 PyObject
* obj3
= 0 ;
20690 PyObject
* obj4
= 0 ;
20691 PyObject
* obj5
= 0 ;
20692 PyObject
* obj6
= 0 ;
20693 char *kwnames
[] = {
20694 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20700 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20701 if (PyErr_Occurred()) SWIG_fail
;
20703 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20707 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20713 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20718 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
20719 if (PyErr_Occurred()) SWIG_fail
;
20724 arg7
= wxString_in_helper(obj6
);
20725 if (arg7
== NULL
) SWIG_fail
;
20730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20731 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20733 wxPyEndAllowThreads(__tstate
);
20734 if (PyErr_Occurred()) SWIG_fail
;
20736 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewControlBar
, 1);
20751 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20752 PyObject
*resultobj
;
20753 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
20755 PyObject
* obj0
= 0 ;
20756 char *kwnames
[] = {
20757 (char *) "self", NULL
20760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
20761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20764 result
= (int)(arg1
)->GetZoomControl();
20766 wxPyEndAllowThreads(__tstate
);
20767 if (PyErr_Occurred()) SWIG_fail
;
20769 resultobj
= SWIG_PyObj_FromInt((int)result
);
20776 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20777 PyObject
*resultobj
;
20778 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
20780 PyObject
* obj0
= 0 ;
20781 PyObject
* obj1
= 0 ;
20782 char *kwnames
[] = {
20783 (char *) "self",(char *) "zoom", NULL
20786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
20787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20789 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20790 if (PyErr_Occurred()) SWIG_fail
;
20793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20794 (arg1
)->SetZoomControl(arg2
);
20796 wxPyEndAllowThreads(__tstate
);
20797 if (PyErr_Occurred()) SWIG_fail
;
20799 Py_INCREF(Py_None
); resultobj
= Py_None
;
20806 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20807 PyObject
*resultobj
;
20808 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
20809 wxPrintPreview
*result
;
20810 PyObject
* obj0
= 0 ;
20811 char *kwnames
[] = {
20812 (char *) "self", NULL
20815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
20816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20819 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
20821 wxPyEndAllowThreads(__tstate
);
20822 if (PyErr_Occurred()) SWIG_fail
;
20824 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 0);
20831 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20832 PyObject
*resultobj
;
20833 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
20834 PyObject
* obj0
= 0 ;
20835 char *kwnames
[] = {
20836 (char *) "self", NULL
20839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
20840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20845 wxPyEndAllowThreads(__tstate
);
20846 if (PyErr_Occurred()) SWIG_fail
;
20848 Py_INCREF(Py_None
); resultobj
= Py_None
;
20855 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20856 PyObject
*resultobj
;
20857 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
20858 PyObject
* obj0
= 0 ;
20859 char *kwnames
[] = {
20860 (char *) "self", NULL
20863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
20864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20867 (arg1
)->OnPrevious();
20869 wxPyEndAllowThreads(__tstate
);
20870 if (PyErr_Occurred()) SWIG_fail
;
20872 Py_INCREF(Py_None
); resultobj
= Py_None
;
20879 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20880 PyObject
*resultobj
;
20881 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
20882 PyObject
* obj0
= 0 ;
20883 char *kwnames
[] = {
20884 (char *) "self", NULL
20887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
20888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20893 wxPyEndAllowThreads(__tstate
);
20894 if (PyErr_Occurred()) SWIG_fail
;
20896 Py_INCREF(Py_None
); resultobj
= Py_None
;
20903 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20904 PyObject
*resultobj
;
20905 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
20906 PyObject
* obj0
= 0 ;
20907 char *kwnames
[] = {
20908 (char *) "self", NULL
20911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
20912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20917 wxPyEndAllowThreads(__tstate
);
20918 if (PyErr_Occurred()) SWIG_fail
;
20920 Py_INCREF(Py_None
); resultobj
= Py_None
;
20927 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20928 PyObject
*resultobj
;
20929 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
20930 PyObject
* obj0
= 0 ;
20931 char *kwnames
[] = {
20932 (char *) "self", NULL
20935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
20936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20941 wxPyEndAllowThreads(__tstate
);
20942 if (PyErr_Occurred()) SWIG_fail
;
20944 Py_INCREF(Py_None
); resultobj
= Py_None
;
20951 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
20953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20954 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
20956 return Py_BuildValue((char *)"");
20958 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20959 PyObject
*resultobj
;
20960 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20961 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
20962 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
20963 wxPrintPreview
*result
;
20964 PyObject
* obj0
= 0 ;
20965 PyObject
* obj1
= 0 ;
20966 PyObject
* obj2
= 0 ;
20967 char *kwnames
[] = {
20968 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
20971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20973 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20975 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20979 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
20981 wxPyEndAllowThreads(__tstate
);
20982 if (PyErr_Occurred()) SWIG_fail
;
20984 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintPreview
, 1);
20991 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20992 PyObject
*resultobj
;
20993 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20996 PyObject
* obj0
= 0 ;
20997 PyObject
* obj1
= 0 ;
20998 char *kwnames
[] = {
20999 (char *) "self",(char *) "pageNum", NULL
21002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21005 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21006 if (PyErr_Occurred()) SWIG_fail
;
21009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21010 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
21012 wxPyEndAllowThreads(__tstate
);
21013 if (PyErr_Occurred()) SWIG_fail
;
21015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21022 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21023 PyObject
*resultobj
;
21024 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21026 PyObject
* obj0
= 0 ;
21027 char *kwnames
[] = {
21028 (char *) "self", NULL
21031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
21032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21035 result
= (int)(arg1
)->GetCurrentPage();
21037 wxPyEndAllowThreads(__tstate
);
21038 if (PyErr_Occurred()) SWIG_fail
;
21040 resultobj
= SWIG_PyObj_FromInt((int)result
);
21047 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21048 PyObject
*resultobj
;
21049 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21050 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21051 PyObject
* obj0
= 0 ;
21052 PyObject
* obj1
= 0 ;
21053 char *kwnames
[] = {
21054 (char *) "self",(char *) "printout", NULL
21057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
21058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21059 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21062 (arg1
)->SetPrintout(arg2
);
21064 wxPyEndAllowThreads(__tstate
);
21065 if (PyErr_Occurred()) SWIG_fail
;
21067 Py_INCREF(Py_None
); resultobj
= Py_None
;
21074 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21075 PyObject
*resultobj
;
21076 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21077 wxPyPrintout
*result
;
21078 PyObject
* obj0
= 0 ;
21079 char *kwnames
[] = {
21080 (char *) "self", NULL
21083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
21084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21087 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
21089 wxPyEndAllowThreads(__tstate
);
21090 if (PyErr_Occurred()) SWIG_fail
;
21093 resultobj
= wxPyMake_wxObject(result
);
21101 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21102 PyObject
*resultobj
;
21103 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21104 wxPyPrintout
*result
;
21105 PyObject
* obj0
= 0 ;
21106 char *kwnames
[] = {
21107 (char *) "self", NULL
21110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
21111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21114 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
21116 wxPyEndAllowThreads(__tstate
);
21117 if (PyErr_Occurred()) SWIG_fail
;
21120 resultobj
= wxPyMake_wxObject(result
);
21128 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21129 PyObject
*resultobj
;
21130 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21131 wxFrame
*arg2
= (wxFrame
*) 0 ;
21132 PyObject
* obj0
= 0 ;
21133 PyObject
* obj1
= 0 ;
21134 char *kwnames
[] = {
21135 (char *) "self",(char *) "frame", NULL
21138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
21139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21140 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21143 (arg1
)->SetFrame(arg2
);
21145 wxPyEndAllowThreads(__tstate
);
21146 if (PyErr_Occurred()) SWIG_fail
;
21148 Py_INCREF(Py_None
); resultobj
= Py_None
;
21155 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21156 PyObject
*resultobj
;
21157 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21158 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21159 PyObject
* obj0
= 0 ;
21160 PyObject
* obj1
= 0 ;
21161 char *kwnames
[] = {
21162 (char *) "self",(char *) "canvas", NULL
21165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
21166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21167 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21170 (arg1
)->SetCanvas(arg2
);
21172 wxPyEndAllowThreads(__tstate
);
21173 if (PyErr_Occurred()) SWIG_fail
;
21175 Py_INCREF(Py_None
); resultobj
= Py_None
;
21182 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21183 PyObject
*resultobj
;
21184 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21186 PyObject
* obj0
= 0 ;
21187 char *kwnames
[] = {
21188 (char *) "self", NULL
21191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
21192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21195 result
= (wxFrame
*)(arg1
)->GetFrame();
21197 wxPyEndAllowThreads(__tstate
);
21198 if (PyErr_Occurred()) SWIG_fail
;
21201 resultobj
= wxPyMake_wxObject(result
);
21209 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21210 PyObject
*resultobj
;
21211 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21212 wxPreviewCanvas
*result
;
21213 PyObject
* obj0
= 0 ;
21214 char *kwnames
[] = {
21215 (char *) "self", NULL
21218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
21219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21222 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
21224 wxPyEndAllowThreads(__tstate
);
21225 if (PyErr_Occurred()) SWIG_fail
;
21227 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPreviewCanvas
, 0);
21234 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21235 PyObject
*resultobj
;
21236 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21237 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21240 PyObject
* obj0
= 0 ;
21241 PyObject
* obj1
= 0 ;
21242 PyObject
* obj2
= 0 ;
21243 char *kwnames
[] = {
21244 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21249 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21250 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21251 if (arg3
== NULL
) {
21252 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21256 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
21258 wxPyEndAllowThreads(__tstate
);
21259 if (PyErr_Occurred()) SWIG_fail
;
21261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21268 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21269 PyObject
*resultobj
;
21270 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21271 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21274 PyObject
* obj0
= 0 ;
21275 PyObject
* obj1
= 0 ;
21276 PyObject
* obj2
= 0 ;
21277 char *kwnames
[] = {
21278 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21283 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21284 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21285 if (arg3
== NULL
) {
21286 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21290 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
21292 wxPyEndAllowThreads(__tstate
);
21293 if (PyErr_Occurred()) SWIG_fail
;
21295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21302 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21303 PyObject
*resultobj
;
21304 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21307 PyObject
* obj0
= 0 ;
21308 PyObject
* obj1
= 0 ;
21309 char *kwnames
[] = {
21310 (char *) "self",(char *) "pageNum", NULL
21313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21316 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21317 if (PyErr_Occurred()) SWIG_fail
;
21320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21321 result
= (bool)(arg1
)->RenderPage(arg2
);
21323 wxPyEndAllowThreads(__tstate
);
21324 if (PyErr_Occurred()) SWIG_fail
;
21326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21333 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21334 PyObject
*resultobj
;
21335 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21336 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21337 PyObject
* obj0
= 0 ;
21338 PyObject
* obj1
= 0 ;
21339 char *kwnames
[] = {
21340 (char *) "self",(char *) "canvas", NULL
21343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
21344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21345 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21348 (arg1
)->AdjustScrollbars(arg2
);
21350 wxPyEndAllowThreads(__tstate
);
21351 if (PyErr_Occurred()) SWIG_fail
;
21353 Py_INCREF(Py_None
); resultobj
= Py_None
;
21360 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21361 PyObject
*resultobj
;
21362 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21363 wxPrintDialogData
*result
;
21364 PyObject
* obj0
= 0 ;
21365 char *kwnames
[] = {
21366 (char *) "self", NULL
21369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21374 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21375 result
= (wxPrintDialogData
*) &_result_ref
;
21378 wxPyEndAllowThreads(__tstate
);
21379 if (PyErr_Occurred()) SWIG_fail
;
21381 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintDialogData
, 0);
21388 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21389 PyObject
*resultobj
;
21390 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21392 PyObject
* obj0
= 0 ;
21393 PyObject
* obj1
= 0 ;
21394 char *kwnames
[] = {
21395 (char *) "self",(char *) "percent", NULL
21398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
21399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21401 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21402 if (PyErr_Occurred()) SWIG_fail
;
21405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21406 (arg1
)->SetZoom(arg2
);
21408 wxPyEndAllowThreads(__tstate
);
21409 if (PyErr_Occurred()) SWIG_fail
;
21411 Py_INCREF(Py_None
); resultobj
= Py_None
;
21418 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21419 PyObject
*resultobj
;
21420 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21422 PyObject
* obj0
= 0 ;
21423 char *kwnames
[] = {
21424 (char *) "self", NULL
21427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
21428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21431 result
= (int)(arg1
)->GetZoom();
21433 wxPyEndAllowThreads(__tstate
);
21434 if (PyErr_Occurred()) SWIG_fail
;
21436 resultobj
= SWIG_PyObj_FromInt((int)result
);
21443 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21444 PyObject
*resultobj
;
21445 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21447 PyObject
* obj0
= 0 ;
21448 char *kwnames
[] = {
21449 (char *) "self", NULL
21452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
21453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21456 result
= (int)(arg1
)->GetMaxPage();
21458 wxPyEndAllowThreads(__tstate
);
21459 if (PyErr_Occurred()) SWIG_fail
;
21461 resultobj
= SWIG_PyObj_FromInt((int)result
);
21468 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21469 PyObject
*resultobj
;
21470 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21472 PyObject
* obj0
= 0 ;
21473 char *kwnames
[] = {
21474 (char *) "self", NULL
21477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
21478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21481 result
= (int)(arg1
)->GetMinPage();
21483 wxPyEndAllowThreads(__tstate
);
21484 if (PyErr_Occurred()) SWIG_fail
;
21486 resultobj
= SWIG_PyObj_FromInt((int)result
);
21493 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21494 PyObject
*resultobj
;
21495 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21497 PyObject
* obj0
= 0 ;
21498 char *kwnames
[] = {
21499 (char *) "self", NULL
21502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
21503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21506 result
= (bool)(arg1
)->Ok();
21508 wxPyEndAllowThreads(__tstate
);
21509 if (PyErr_Occurred()) SWIG_fail
;
21511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21518 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21519 PyObject
*resultobj
;
21520 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21522 PyObject
* obj0
= 0 ;
21523 PyObject
* obj1
= 0 ;
21524 char *kwnames
[] = {
21525 (char *) "self",(char *) "ok", NULL
21528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
21529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21531 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
21532 if (PyErr_Occurred()) SWIG_fail
;
21535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21536 (arg1
)->SetOk(arg2
);
21538 wxPyEndAllowThreads(__tstate
);
21539 if (PyErr_Occurred()) SWIG_fail
;
21541 Py_INCREF(Py_None
); resultobj
= Py_None
;
21548 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21549 PyObject
*resultobj
;
21550 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21553 PyObject
* obj0
= 0 ;
21554 PyObject
* obj1
= 0 ;
21555 char *kwnames
[] = {
21556 (char *) "self",(char *) "interactive", NULL
21559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
21560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21562 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
21563 if (PyErr_Occurred()) SWIG_fail
;
21566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21567 result
= (bool)(arg1
)->Print(arg2
);
21569 wxPyEndAllowThreads(__tstate
);
21570 if (PyErr_Occurred()) SWIG_fail
;
21572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21579 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21580 PyObject
*resultobj
;
21581 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21582 PyObject
* obj0
= 0 ;
21583 char *kwnames
[] = {
21584 (char *) "self", NULL
21587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
21588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21591 (arg1
)->DetermineScaling();
21593 wxPyEndAllowThreads(__tstate
);
21594 if (PyErr_Occurred()) SWIG_fail
;
21596 Py_INCREF(Py_None
); resultobj
= Py_None
;
21603 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
21605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21606 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
21608 return Py_BuildValue((char *)"");
21610 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21611 PyObject
*resultobj
;
21612 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21613 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21614 wxPrintData
*arg3
= (wxPrintData
*) NULL
;
21615 wxPyPrintPreview
*result
;
21616 PyObject
* obj0
= 0 ;
21617 PyObject
* obj1
= 0 ;
21618 PyObject
* obj2
= 0 ;
21619 char *kwnames
[] = {
21620 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
21623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_PyPrintPreview",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21625 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyPrintout
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21627 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21631 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
21633 wxPyEndAllowThreads(__tstate
);
21634 if (PyErr_Occurred()) SWIG_fail
;
21636 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPrintPreview
, 1);
21643 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21644 PyObject
*resultobj
;
21645 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
21646 PyObject
*arg2
= (PyObject
*) 0 ;
21647 PyObject
*arg3
= (PyObject
*) 0 ;
21648 PyObject
* obj0
= 0 ;
21649 PyObject
* obj1
= 0 ;
21650 PyObject
* obj2
= 0 ;
21651 char *kwnames
[] = {
21652 (char *) "self",(char *) "self",(char *) "_class", NULL
21655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21661 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21663 wxPyEndAllowThreads(__tstate
);
21664 if (PyErr_Occurred()) SWIG_fail
;
21666 Py_INCREF(Py_None
); resultobj
= Py_None
;
21673 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21674 PyObject
*resultobj
;
21675 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
21678 PyObject
* obj0
= 0 ;
21679 PyObject
* obj1
= 0 ;
21680 char *kwnames
[] = {
21681 (char *) "self",(char *) "pageNum", NULL
21684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21687 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21688 if (PyErr_Occurred()) SWIG_fail
;
21691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21692 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
21694 wxPyEndAllowThreads(__tstate
);
21695 if (PyErr_Occurred()) SWIG_fail
;
21697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21704 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21705 PyObject
*resultobj
;
21706 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
21707 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21710 PyObject
* obj0
= 0 ;
21711 PyObject
* obj1
= 0 ;
21712 PyObject
* obj2
= 0 ;
21713 char *kwnames
[] = {
21714 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21719 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21720 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21721 if (arg3
== NULL
) {
21722 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21726 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
21728 wxPyEndAllowThreads(__tstate
);
21729 if (PyErr_Occurred()) SWIG_fail
;
21731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21738 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21739 PyObject
*resultobj
;
21740 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
21741 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21744 PyObject
* obj0
= 0 ;
21745 PyObject
* obj1
= 0 ;
21746 PyObject
* obj2
= 0 ;
21747 char *kwnames
[] = {
21748 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21753 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21754 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21755 if (arg3
== NULL
) {
21756 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21760 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
21762 wxPyEndAllowThreads(__tstate
);
21763 if (PyErr_Occurred()) SWIG_fail
;
21765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21772 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21773 PyObject
*resultobj
;
21774 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
21777 PyObject
* obj0
= 0 ;
21778 PyObject
* obj1
= 0 ;
21779 char *kwnames
[] = {
21780 (char *) "self",(char *) "pageNum", NULL
21783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21786 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21787 if (PyErr_Occurred()) SWIG_fail
;
21790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21791 result
= (bool)(arg1
)->base_RenderPage(arg2
);
21793 wxPyEndAllowThreads(__tstate
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21803 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21804 PyObject
*resultobj
;
21805 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
21807 PyObject
* obj0
= 0 ;
21808 PyObject
* obj1
= 0 ;
21809 char *kwnames
[] = {
21810 (char *) "self",(char *) "percent", NULL
21813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
21814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21816 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21817 if (PyErr_Occurred()) SWIG_fail
;
21820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21821 (arg1
)->base_SetZoom(arg2
);
21823 wxPyEndAllowThreads(__tstate
);
21824 if (PyErr_Occurred()) SWIG_fail
;
21826 Py_INCREF(Py_None
); resultobj
= Py_None
;
21833 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21834 PyObject
*resultobj
;
21835 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
21838 PyObject
* obj0
= 0 ;
21839 PyObject
* obj1
= 0 ;
21840 char *kwnames
[] = {
21841 (char *) "self",(char *) "interactive", NULL
21844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
21845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21847 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
21848 if (PyErr_Occurred()) SWIG_fail
;
21851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21852 result
= (bool)(arg1
)->base_Print(arg2
);
21854 wxPyEndAllowThreads(__tstate
);
21855 if (PyErr_Occurred()) SWIG_fail
;
21857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21864 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21865 PyObject
*resultobj
;
21866 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
21867 PyObject
* obj0
= 0 ;
21868 char *kwnames
[] = {
21869 (char *) "self", NULL
21872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
21873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21876 (arg1
)->base_DetermineScaling();
21878 wxPyEndAllowThreads(__tstate
);
21879 if (PyErr_Occurred()) SWIG_fail
;
21881 Py_INCREF(Py_None
); resultobj
= Py_None
;
21888 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
21890 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21891 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
21893 return Py_BuildValue((char *)"");
21895 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21896 PyObject
*resultobj
;
21897 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21898 wxFrame
*arg2
= (wxFrame
*) 0 ;
21899 wxString
*arg3
= 0 ;
21900 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21901 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21902 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21903 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21904 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
21905 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
21906 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21907 wxPyPreviewFrame
*result
;
21908 bool temp3
= False
;
21911 bool temp7
= False
;
21912 PyObject
* obj0
= 0 ;
21913 PyObject
* obj1
= 0 ;
21914 PyObject
* obj2
= 0 ;
21915 PyObject
* obj3
= 0 ;
21916 PyObject
* obj4
= 0 ;
21917 PyObject
* obj5
= 0 ;
21918 PyObject
* obj6
= 0 ;
21919 char *kwnames
[] = {
21920 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21925 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21927 arg3
= wxString_in_helper(obj2
);
21928 if (arg3
== NULL
) SWIG_fail
;
21934 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21940 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21945 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
21946 if (PyErr_Occurred()) SWIG_fail
;
21951 arg7
= wxString_in_helper(obj6
);
21952 if (arg7
== NULL
) SWIG_fail
;
21957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21958 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21960 wxPyEndAllowThreads(__tstate
);
21961 if (PyErr_Occurred()) SWIG_fail
;
21963 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewFrame
, 1);
21986 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21987 PyObject
*resultobj
;
21988 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
21989 PyObject
*arg2
= (PyObject
*) 0 ;
21990 PyObject
*arg3
= (PyObject
*) 0 ;
21991 PyObject
* obj0
= 0 ;
21992 PyObject
* obj1
= 0 ;
21993 PyObject
* obj2
= 0 ;
21994 char *kwnames
[] = {
21995 (char *) "self",(char *) "self",(char *) "_class", NULL
21998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22004 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22006 wxPyEndAllowThreads(__tstate
);
22007 if (PyErr_Occurred()) SWIG_fail
;
22009 Py_INCREF(Py_None
); resultobj
= Py_None
;
22016 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22017 PyObject
*resultobj
;
22018 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22019 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22020 PyObject
* obj0
= 0 ;
22021 PyObject
* obj1
= 0 ;
22022 char *kwnames
[] = {
22023 (char *) "self",(char *) "canvas", NULL
22026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
22027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22028 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22031 (arg1
)->SetPreviewCanvas(arg2
);
22033 wxPyEndAllowThreads(__tstate
);
22034 if (PyErr_Occurred()) SWIG_fail
;
22036 Py_INCREF(Py_None
); resultobj
= Py_None
;
22043 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22044 PyObject
*resultobj
;
22045 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22046 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
22047 PyObject
* obj0
= 0 ;
22048 PyObject
* obj1
= 0 ;
22049 char *kwnames
[] = {
22050 (char *) "self",(char *) "bar", NULL
22053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
22054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22055 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22058 (arg1
)->SetControlBar(arg2
);
22060 wxPyEndAllowThreads(__tstate
);
22061 if (PyErr_Occurred()) SWIG_fail
;
22063 Py_INCREF(Py_None
); resultobj
= Py_None
;
22070 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22071 PyObject
*resultobj
;
22072 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22073 PyObject
* obj0
= 0 ;
22074 char *kwnames
[] = {
22075 (char *) "self", NULL
22078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
22079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22082 (arg1
)->base_Initialize();
22084 wxPyEndAllowThreads(__tstate
);
22085 if (PyErr_Occurred()) SWIG_fail
;
22087 Py_INCREF(Py_None
); resultobj
= Py_None
;
22094 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22095 PyObject
*resultobj
;
22096 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22097 PyObject
* obj0
= 0 ;
22098 char *kwnames
[] = {
22099 (char *) "self", NULL
22102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22106 (arg1
)->base_CreateCanvas();
22108 wxPyEndAllowThreads(__tstate
);
22109 if (PyErr_Occurred()) SWIG_fail
;
22111 Py_INCREF(Py_None
); resultobj
= Py_None
;
22118 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22119 PyObject
*resultobj
;
22120 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22121 PyObject
* obj0
= 0 ;
22122 char *kwnames
[] = {
22123 (char *) "self", NULL
22126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22130 (arg1
)->base_CreateControlBar();
22132 wxPyEndAllowThreads(__tstate
);
22133 if (PyErr_Occurred()) SWIG_fail
;
22135 Py_INCREF(Py_None
); resultobj
= Py_None
;
22142 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22145 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
22147 return Py_BuildValue((char *)"");
22149 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22150 PyObject
*resultobj
;
22151 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22153 wxWindow
*arg3
= (wxWindow
*) 0 ;
22154 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22155 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22156 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22157 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22158 long arg6
= (long) 0 ;
22159 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22160 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22161 wxPyPreviewControlBar
*result
;
22164 bool temp7
= False
;
22165 PyObject
* obj0
= 0 ;
22166 PyObject
* obj1
= 0 ;
22167 PyObject
* obj2
= 0 ;
22168 PyObject
* obj3
= 0 ;
22169 PyObject
* obj4
= 0 ;
22170 PyObject
* obj5
= 0 ;
22171 PyObject
* obj6
= 0 ;
22172 char *kwnames
[] = {
22173 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22179 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22180 if (PyErr_Occurred()) SWIG_fail
;
22182 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22186 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22192 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22197 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
22198 if (PyErr_Occurred()) SWIG_fail
;
22203 arg7
= wxString_in_helper(obj6
);
22204 if (arg7
== NULL
) SWIG_fail
;
22209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22210 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22212 wxPyEndAllowThreads(__tstate
);
22213 if (PyErr_Occurred()) SWIG_fail
;
22215 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPreviewControlBar
, 1);
22230 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22231 PyObject
*resultobj
;
22232 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22233 PyObject
*arg2
= (PyObject
*) 0 ;
22234 PyObject
*arg3
= (PyObject
*) 0 ;
22235 PyObject
* obj0
= 0 ;
22236 PyObject
* obj1
= 0 ;
22237 PyObject
* obj2
= 0 ;
22238 char *kwnames
[] = {
22239 (char *) "self",(char *) "self",(char *) "_class", NULL
22242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22248 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22250 wxPyEndAllowThreads(__tstate
);
22251 if (PyErr_Occurred()) SWIG_fail
;
22253 Py_INCREF(Py_None
); resultobj
= Py_None
;
22260 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22261 PyObject
*resultobj
;
22262 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22263 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
22264 PyObject
* obj0
= 0 ;
22265 PyObject
* obj1
= 0 ;
22266 char *kwnames
[] = {
22267 (char *) "self",(char *) "preview", NULL
22270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22272 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintPreview
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22275 (arg1
)->SetPrintPreview(arg2
);
22277 wxPyEndAllowThreads(__tstate
);
22278 if (PyErr_Occurred()) SWIG_fail
;
22280 Py_INCREF(Py_None
); resultobj
= Py_None
;
22287 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22288 PyObject
*resultobj
;
22289 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22290 PyObject
* obj0
= 0 ;
22291 char *kwnames
[] = {
22292 (char *) "self", NULL
22295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
22296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22299 (arg1
)->base_CreateButtons();
22301 wxPyEndAllowThreads(__tstate
);
22302 if (PyErr_Occurred()) SWIG_fail
;
22304 Py_INCREF(Py_None
); resultobj
= Py_None
;
22311 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22312 PyObject
*resultobj
;
22313 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22315 PyObject
* obj0
= 0 ;
22316 PyObject
* obj1
= 0 ;
22317 char *kwnames
[] = {
22318 (char *) "self",(char *) "zoom", NULL
22321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPreviewControlBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22324 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22325 if (PyErr_Occurred()) SWIG_fail
;
22328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22329 (arg1
)->base_SetZoomControl(arg2
);
22331 wxPyEndAllowThreads(__tstate
);
22332 if (PyErr_Occurred()) SWIG_fail
;
22334 Py_INCREF(Py_None
); resultobj
= Py_None
;
22341 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
22343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22344 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
22346 return Py_BuildValue((char *)"");
22348 static PyMethodDef SwigMethods
[] = {
22349 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
22350 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
22351 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
22352 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
22353 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
22354 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
22355 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
22356 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22357 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
22358 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
22359 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
22360 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
22361 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
22362 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
22363 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
22364 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
22365 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
22366 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
22367 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
22368 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
22369 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
22370 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
22371 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
22372 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
22373 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
22374 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
22375 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
22376 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
22377 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
22378 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
22379 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
22380 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
22381 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
22382 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
22383 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
22384 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
22385 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
22386 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
22387 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
22388 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
22389 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
22390 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
22391 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
22392 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
22393 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
22394 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
22395 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
22396 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
22397 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
22398 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
22399 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22400 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22401 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22402 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22403 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
22404 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22405 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22406 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
22407 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
22408 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
22409 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
22410 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
22411 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
22412 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
22413 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
22414 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
22415 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
22416 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
22417 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
22418 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
22419 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
22420 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
22421 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
22422 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
22423 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
22424 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
},
22425 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
22426 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
22427 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
22428 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
22429 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
22430 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
22431 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
22432 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
22433 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
22434 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
22435 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
22436 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
22437 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
22438 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
22439 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22440 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
22441 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
22442 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
22443 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
22444 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22445 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22446 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22447 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
22448 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
22449 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
22450 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
22451 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
22452 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
22453 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
22454 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
22455 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
22456 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22457 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
22458 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
22459 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
22460 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
22461 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
22462 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
22463 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
22464 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
22465 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
22466 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
22467 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
22468 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22469 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
22470 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22471 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
22472 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
22473 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
22474 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
22475 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
22476 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
22477 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
22478 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
22479 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
22480 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
22481 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
22482 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
22483 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
22484 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
22485 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
22486 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
22487 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
22488 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
22489 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22490 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
22491 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
22492 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
22493 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
22494 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
22495 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22496 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22497 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22498 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
22499 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
22500 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
22501 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
22502 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
22503 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
22504 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
22505 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
22506 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
22507 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
22508 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
22509 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
22510 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
22511 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
22512 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
22513 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
22514 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
22515 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
22516 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
22517 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
22518 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
22519 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
22520 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
22521 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22522 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22523 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
22524 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
22525 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
22526 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
22527 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
22528 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
22529 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
22530 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
22531 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22532 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22533 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
22534 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
22535 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
22536 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
22537 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
22538 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22539 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
22540 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
22541 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
22542 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
22543 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
22544 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
22545 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
22546 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
22547 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
22548 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
22549 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
22550 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
22551 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
22552 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
22553 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
22554 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
22555 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
22556 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
22557 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
22558 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
22559 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
22560 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
22561 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
22562 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
22563 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
22564 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22565 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
22566 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
22567 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
22568 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
22569 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
22570 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
22571 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
22572 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
22573 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
22574 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
22575 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
22576 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
22577 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
22578 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
22579 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
22580 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
22581 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
22582 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
22583 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
22584 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
22585 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
22586 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
22587 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
22588 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
22589 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
22590 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
22591 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
22592 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
22593 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
22594 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
22595 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
22596 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
22597 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
22598 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
22599 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
22600 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
22601 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
22602 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
22603 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
22604 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
22605 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
22606 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
22607 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
22608 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
22609 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
22610 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
22611 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
22612 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
22613 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
22614 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
22615 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
22616 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
22617 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
22618 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
22619 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
22620 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
22621 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
22622 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
22623 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
22624 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
22625 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
22626 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
22627 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
22628 { (char *)"ColourDialog_ShowModal", (PyCFunction
) _wrap_ColourDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
22629 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
22630 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
22631 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
22632 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
22633 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
22634 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
22635 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
22636 { (char *)"DirDialog_ShowModal", (PyCFunction
) _wrap_DirDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
22637 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
22638 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
22639 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
22640 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
22641 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
22642 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
22643 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
22644 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
22645 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
22646 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
22647 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
22648 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
22649 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
22650 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
22651 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
22652 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
22653 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
22654 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
22655 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
22656 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
22657 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
22658 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
22659 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
22660 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
22661 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
22662 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
22663 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
22664 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction
) _wrap_SingleChoiceDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
22665 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
22666 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
22667 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
22668 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
22669 { (char *)"TextEntryDialog_ShowModal", (PyCFunction
) _wrap_TextEntryDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
22670 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
22671 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
22672 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
22673 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
22674 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
22675 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
22676 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
22677 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
22678 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
22679 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
22680 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
22681 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
22682 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
22683 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
22684 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
22685 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
22686 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
22687 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
22688 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
22689 { (char *)"FontDialog_ShowModal", (PyCFunction
) _wrap_FontDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
22690 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
22691 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
22692 { (char *)"MessageDialog_ShowModal", (PyCFunction
) _wrap_MessageDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
22693 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
22694 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
22695 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
22696 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
22697 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
22698 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
22699 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22700 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
22701 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
22702 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
22703 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22704 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
22705 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
22706 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
22707 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
22708 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
22709 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
22710 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
22711 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22712 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
22713 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
22714 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
22715 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
22716 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
22717 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
22718 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
22719 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
22720 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
22721 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
22722 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
22723 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
22724 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
22725 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
22726 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
22727 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
22728 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
22729 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
22730 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
22731 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
22732 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
22733 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
22734 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
22735 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
22736 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
22737 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
22738 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
22739 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
22740 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
22741 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
22742 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
22743 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22744 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
22745 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
22746 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
22747 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
22748 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
22749 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
22750 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
22751 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
22752 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
22753 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
22754 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
22755 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
22756 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
22757 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
22758 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
22759 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
22760 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
22761 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
22762 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
22763 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
22764 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
22765 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
22766 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
22767 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
22768 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
22769 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
22770 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
22771 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
22772 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
22773 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
22774 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
22775 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
22776 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
22777 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
22778 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
22779 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
22780 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
22781 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
22782 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
22783 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
22784 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
22785 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
22786 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
22787 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
22788 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
22789 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
22790 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
22791 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
22792 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
22793 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
22794 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
22795 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
22796 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
22797 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
22798 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
22799 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
22800 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
22801 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
22802 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
22803 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
22804 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
22805 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
22806 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
22807 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
22808 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
22809 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
22810 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
22811 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
22812 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
22813 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
22814 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
22815 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
22816 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
22817 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
22818 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
22819 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
22820 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
22821 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
22822 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
22823 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
22824 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
22825 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
22826 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
22827 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
22828 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
22829 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
22830 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
22831 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
22832 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
22833 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
22834 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
22835 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
22836 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
22837 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
22838 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
22839 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
22840 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
22841 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
22842 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
22843 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
22844 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
22845 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
22846 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
22847 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
22848 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
22849 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
22850 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
22851 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
22852 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
22853 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
22854 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
22855 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
22856 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
22857 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
22858 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
22859 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
22860 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
22861 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
22862 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
22863 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
22864 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
22865 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
22866 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
22867 { (char *)"new_PrintDialogData", (PyCFunction
) _wrap_new_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
22868 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
22869 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
22870 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
22871 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
22872 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
22873 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
22874 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
22875 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
22876 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
22877 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
22878 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
22879 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
22880 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
22881 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
22882 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
22883 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
22884 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
22885 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
22886 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
22887 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
22888 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
22889 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
22890 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
22891 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
22892 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
22893 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
22894 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
22895 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
22896 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
22897 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
22898 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
22899 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
22900 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
22901 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
22902 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
22903 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
22904 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
22905 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
22906 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
22907 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
22908 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
22909 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
22910 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
22911 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
22912 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
22913 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
22914 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
22915 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
22916 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
22917 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
22918 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
22919 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
22920 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
22921 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
22922 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
22923 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
22924 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
22925 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
22926 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
22927 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
22928 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
22929 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
22930 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
22931 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
22932 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
22933 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
22934 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
22935 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
22936 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
22937 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
22938 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
22939 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
22940 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
22941 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
22942 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
22943 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
22944 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
22945 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
22946 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
22947 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
22948 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
22949 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
22950 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
22951 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
22952 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
22953 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
22954 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
22955 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
22956 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
22957 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
22958 { (char *)"new_PrintPreview", (PyCFunction
) _wrap_new_PrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
22959 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
22960 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
22961 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
22962 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
22963 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
22964 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
22965 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
22966 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
22967 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
22968 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
22969 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
22970 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
22971 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
22972 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
22973 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
22974 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
22975 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
22976 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
22977 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
22978 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
22979 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
22980 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
22981 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
22982 { (char *)"new_PyPrintPreview", (PyCFunction
) _wrap_new_PyPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
22983 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
22984 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
22985 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
22986 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
22987 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
22988 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
22989 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
22990 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
22991 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
22992 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
22993 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
22994 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
22995 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
22996 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
22997 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
22998 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
22999 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
23000 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23001 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23002 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
23003 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
23004 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
23005 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
23010 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
23012 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
23013 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23015 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
23016 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
23018 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
23019 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
23021 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
23022 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
23024 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
23025 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
23027 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
23028 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
23030 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
23031 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
23033 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
23034 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23036 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
23037 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
23039 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
23040 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
23042 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
23043 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
23045 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
23046 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
23048 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
23049 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
23051 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
23052 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
23054 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
23055 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
23057 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
23058 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
23060 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
23061 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
23063 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
23064 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
23066 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
23067 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
23069 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
23070 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
23072 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
23073 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
23075 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
23076 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
23078 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
23079 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
23081 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
23082 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
23084 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
23085 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
23087 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
23088 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
23090 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
23091 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
23093 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
23094 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
23096 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
23097 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
23099 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
23100 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
23102 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
23103 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
23105 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
23106 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
23108 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
23109 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
23111 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
23112 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
23114 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
23115 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
23117 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
23118 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
23120 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
23121 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
23123 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
23124 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
23126 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
23127 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
23129 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
23130 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
23132 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
23133 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
23135 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
23136 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
23138 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
23139 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23141 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
23142 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
23144 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
23145 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
23147 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
23148 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
23150 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
23151 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
23153 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
23154 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
23156 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
23157 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
23159 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
23160 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
23162 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
23163 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
23165 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
23166 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
23168 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
23169 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
23171 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
23172 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
23174 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
23175 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
23177 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
23178 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
23180 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
23181 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
23183 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
23184 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
23186 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
23187 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
23189 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
23190 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
23192 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
23193 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
23195 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
23196 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
23198 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
23199 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
23201 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
23202 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
23204 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
23205 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
23207 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
23208 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
23210 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
23211 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
23213 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
23214 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
23216 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
23217 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
23219 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
23220 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
23222 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
23223 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
23225 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
23226 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
23228 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
23229 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
23231 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
23232 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23234 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
23235 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
23237 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
23238 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
23240 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
23241 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
23243 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
23244 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
23246 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
23247 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
23249 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
23250 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23252 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
23253 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
23255 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
23256 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
23258 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
23259 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
23261 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
23262 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
23264 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
23265 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
23267 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
23268 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
23270 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
23271 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
23273 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
23274 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
23276 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
23277 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
23279 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
23280 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
23282 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
23283 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
23285 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
23286 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
23288 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
23289 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23291 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
23292 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
23294 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
23295 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
23297 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
23298 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
23300 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
23301 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
23303 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
23304 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23306 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
23307 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
23309 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
23310 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
23312 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
23313 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
23315 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
23316 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
23318 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
23319 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
23321 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
23322 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
23324 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
23325 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23327 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
23328 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
23330 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
23331 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
23333 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
23334 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
23336 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
23337 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
23339 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
23340 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
23342 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
23343 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
23345 static void *_p_wxSizerTo_p_wxObject(void *x
) {
23346 return (void *)((wxObject
*) ((wxSizer
*) x
));
23348 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
23349 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
23351 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
23352 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
23354 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
23355 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
23357 static void *_p_wxEventTo_p_wxObject(void *x
) {
23358 return (void *)((wxObject
*) ((wxEvent
*) x
));
23360 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
23361 return (void *)((wxObject
*) ((wxFontData
*) x
));
23363 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
23364 return (void *)((wxObject
*) ((wxPrintData
*) x
));
23366 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
23367 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
23369 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
23370 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
23372 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
23373 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
23375 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
23376 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
23378 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
23379 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
23381 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
23382 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
23384 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
23385 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
23387 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
23388 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
23390 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
23391 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
23393 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
23394 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
23396 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
23397 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
23399 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
23400 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
23402 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
23403 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
23405 static void *_p_wxControlTo_p_wxObject(void *x
) {
23406 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
23408 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
23409 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
23411 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
23412 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23414 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
23415 return (void *)((wxObject
*) ((wxFSFile
*) x
));
23417 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
23418 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
23420 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
23421 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
23423 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
23424 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
23426 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
23427 return (void *)((wxObject
*) ((wxColourData
*) x
));
23429 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
23430 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
23432 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
23433 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
23435 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
23436 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
23438 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
23439 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
23441 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
23442 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
23444 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
23445 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
23447 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
23448 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
23450 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
23451 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
23453 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
23454 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
23456 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
23457 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
23459 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
23460 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
23462 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
23463 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
23465 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
23466 return (void *)((wxObject
*) ((wxPrinter
*) x
));
23468 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
23469 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
23471 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
23472 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
23474 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
23475 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
23477 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
23478 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
23480 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
23481 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
23483 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
23484 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
23486 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
23487 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
23489 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
23490 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
23492 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
23493 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
23495 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
23496 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
23498 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
23499 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
23501 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
23502 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
23504 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
23505 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
23507 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
23508 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
23510 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
23511 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
23513 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
23514 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
23516 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
23517 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
23519 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
23520 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
23522 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
23523 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
23525 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
23526 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
23528 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
23529 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
23531 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
23532 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
23534 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
23535 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
23537 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
23538 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
23540 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
23541 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23543 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
23544 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
23546 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
23547 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
23549 static void *_p_wxImageTo_p_wxObject(void *x
) {
23550 return (void *)((wxObject
*) ((wxImage
*) x
));
23552 static void *_p_wxFrameTo_p_wxObject(void *x
) {
23553 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
23555 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
23556 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
23558 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
23559 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
23561 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
23562 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
23564 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
23565 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
23567 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
23568 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
23570 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
23571 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
23573 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
23574 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
23576 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
23577 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
23579 static void *_p_wxWindowTo_p_wxObject(void *x
) {
23580 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
23582 static void *_p_wxMenuTo_p_wxObject(void *x
) {
23583 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
23585 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
23586 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
23588 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
23589 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
23591 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
23592 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
23594 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
23595 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
23597 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
23598 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
23600 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
23601 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
23603 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
23604 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
23606 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
23607 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
23609 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
23610 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
23612 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
23613 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
23615 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
23616 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
23618 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
23619 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
23621 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
23622 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
23624 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
23625 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
23627 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
23628 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
23630 static void *_p_wxPanelTo_p_wxObject(void *x
) {
23631 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
23633 static void *_p_wxDialogTo_p_wxObject(void *x
) {
23634 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
23636 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
23637 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
23639 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
23640 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
23642 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
23643 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
23645 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
23646 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
23648 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
23649 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
23651 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
23652 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
23654 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
23655 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
23657 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
23658 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
23660 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
23661 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
23663 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
23664 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
23666 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
23667 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
23669 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
23670 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
23672 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
23673 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
23675 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
23676 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
23678 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
23679 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
23681 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
23682 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
23684 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
23685 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
23687 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
23688 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
23690 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
23691 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
23693 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
23694 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
23696 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
23697 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
23699 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
23700 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
23702 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
23703 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
23705 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
23706 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
23708 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
23709 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
23711 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
23712 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23714 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
23715 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
23717 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
23718 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
23720 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
23721 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
23723 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
23724 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
23726 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
23727 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
23729 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
23730 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
23732 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
23733 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
23735 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
23736 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
23738 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
23739 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
23741 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
23742 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
23744 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
23745 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
23747 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
23748 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
23750 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
23751 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
23753 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
23754 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
23756 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
23757 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
23759 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
23760 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
23762 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
23763 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
23765 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
23766 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
23768 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
23769 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
23771 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
23772 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
23774 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
23775 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
23777 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
23778 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
23780 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
23781 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23783 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
23784 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
23786 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
23787 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
23789 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
23790 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
23792 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
23793 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
23795 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
23796 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
23798 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
23799 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
23801 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
23802 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
23804 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
23805 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
23807 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
23808 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
23810 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
23811 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
23813 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
23814 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
23816 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
23817 return (void *)((wxWindow
*) ((wxPanel
*) x
));
23819 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
23820 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
23822 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
23823 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
23825 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
23826 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
23828 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
23829 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
23831 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
23832 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
23834 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
23835 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
23837 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
23838 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
23840 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
23841 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
23843 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
23844 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
23846 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
23847 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
23849 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
23850 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
23852 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
23853 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
23855 static void *_p_wxControlTo_p_wxWindow(void *x
) {
23856 return (void *)((wxWindow
*) ((wxControl
*) x
));
23858 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
23859 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
23861 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
23862 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23864 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
23865 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
23867 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
23868 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
23870 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
23871 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
23873 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
23874 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
23876 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
23877 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23879 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
23880 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
23882 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
23883 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
23885 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
23886 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
23888 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
23889 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
23891 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
23892 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
23894 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
23895 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
23897 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
23898 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
23900 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
23901 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
23903 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
23904 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
23906 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
23907 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
23909 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
23910 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
23912 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
23913 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
23915 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
23916 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
23918 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
23919 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
23921 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
23922 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
23924 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
23925 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
23927 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
23928 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
23930 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
23931 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
23933 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
23934 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
23936 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
23937 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
23939 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
23940 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
23942 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
23943 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
23945 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
23946 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
23948 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
23949 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
23951 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
23952 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
23954 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
23955 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
23957 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
23958 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
23960 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
23961 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23963 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
23964 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
23966 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
23967 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
23969 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
23970 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
23972 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
23973 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
23975 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
23976 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
23978 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
23979 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
23981 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
23982 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
23984 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
23985 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
23987 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
23988 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
23990 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
23991 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
23993 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
23994 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
23996 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
23997 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23999 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
24000 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
24002 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
24003 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
24005 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
24006 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
24008 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
24009 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24011 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
24012 static swig_type_info _swigt__p_wxPreviewFrame
[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame
},{0}};
24013 static swig_type_info _swigt__p_wxPyPreviewFrame
[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
24014 static swig_type_info _swigt__p_wxPyPanel
[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
24015 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
24016 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
24017 static swig_type_info _swigt__p_wxFontData
[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
24018 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}};
24019 static swig_type_info _swigt__p_wxTaskBarIcon
[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
24020 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
24021 static swig_type_info _swigt__p_wxLayoutAlgorithm
[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
24022 static swig_type_info _swigt__p_wxFindDialogEvent
[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
24023 static swig_type_info _swigt__p_wxPreviewCanvas
[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
24024 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
24025 static swig_type_info _swigt__p_wxSplitterEvent
[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
24026 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
24027 static swig_type_info _swigt__p_wxFindReplaceData
[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
24028 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
24029 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
24030 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
24031 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
24032 static swig_type_info _swigt__p_wxMDIChildFrame
[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
24033 static swig_type_info _swigt__p_wxColourData
[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
24034 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent
},{"_p_wxNotifyEvent"},{0}};
24035 static swig_type_info _swigt__p_wxPyWindow
[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
24036 static swig_type_info _swigt__p_wxSplashScreen
[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
24037 static swig_type_info _swigt__p_wxFindReplaceDialog
[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
24038 static swig_type_info _swigt__p_wxProgressDialog
[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
24039 static swig_type_info _swigt__p_wxMessageDialog
[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
24040 static swig_type_info _swigt__p_wxTextEntryDialog
[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
24041 static swig_type_info _swigt__p_wxSingleChoiceDialog
[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
24042 static swig_type_info _swigt__p_wxMultiChoiceDialog
[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
24043 static swig_type_info _swigt__p_wxFileDialog
[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
24044 static swig_type_info _swigt__p_wxPrinter
[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
24045 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
24046 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
},{"_p_wxEvtHandler"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler
},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
},{0}};
24047 static swig_type_info _swigt__p_wxCalculateLayoutEvent
[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
24048 static swig_type_info _swigt__p_wxPyHtmlListBox
[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
24049 static swig_type_info _swigt__p_wxPyVListBox
[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox
},{0}};
24050 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
24051 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
24052 static swig_type_info _swigt__p_wxMiniFrame
[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
24053 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxFrame
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame
},{"_p_wxFrame"},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame
},{0}};
24054 static swig_type_info _swigt__p_wxPyPrintout
[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
24055 static swig_type_info _swigt__p_wxTaskBarIconEvent
[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
24056 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
24057 static swig_type_info _swigt__p_wxStatusBar
[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
24058 static swig_type_info _swigt__p_wxMDIParentFrame
[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
24059 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
24060 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
},{"_p_wxEvent", _p_wxEventTo_p_wxObject
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject
},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
},{"_p_wxControl", _p_wxControlTo_p_wxObject
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
},{"_p_wxImage", _p_wxImageTo_p_wxObject
},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
},{0}};
24061 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
24062 static swig_type_info _swigt__p_wxMDIClientWindow
[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
24063 static swig_type_info _swigt__p_wxTipWindow
[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
24064 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{0}};
24065 static swig_type_info _swigt__p_wxSashLayoutWindow
[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
24066 static swig_type_info _swigt__p_wxSplitterWindow
[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
24067 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}};
24068 static swig_type_info _swigt__p_wxPopupWindow
[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0},{"_p_wxPopupWindow"},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
},{0}};
24069 static swig_type_info _swigt__p_wxSashWindow
[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow
},{0}};
24070 static swig_type_info _swigt__p_wxTopLevelWindow
[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow
},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow
},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxTopLevelWindow
},{"_p_wxTopLevelWindow"},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow
},{0}};
24071 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
},{"_p_wxWindow"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
},{"_p_wxControl", _p_wxControlTo_p_wxWindow
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow
},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
},{0}};
24072 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
},{0}};
24073 static swig_type_info _swigt__p_wxSplashScreenWindow
[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
24074 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
24075 static swig_type_info _swigt__p_wxPrintPreview
[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview
},{0}};
24076 static swig_type_info _swigt__p_wxSashEvent
[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
24077 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
24078 static swig_type_info _swigt__p_wxPyPrintPreview
[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
24079 static swig_type_info _swigt__p_wxPageSetupDialog
[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
24080 static swig_type_info _swigt__p_wxFontDialog
[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
24081 static swig_type_info _swigt__p_wxDirDialog
[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
24082 static swig_type_info _swigt__p_wxColourDialog
[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
24083 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}};
24084 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}};
24085 static swig_type_info _swigt__p_wxPrintDialog
[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
24086 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
24087 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}};
24088 static swig_type_info _swigt__p_wxPreviewControlBar
[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar
},{0}};
24089 static swig_type_info _swigt__p_wxPyPreviewControlBar
[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
24090 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
24091 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
24092 static swig_type_info _swigt__p_wxPageSetupDialogData
[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
24093 static swig_type_info _swigt__p_wxPrintDialogData
[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
24095 static swig_type_info
*swig_types_initial
[] = {
24096 _swigt__p_wxQueryLayoutInfoEvent
,
24097 _swigt__p_wxPreviewFrame
,
24098 _swigt__p_wxPyPreviewFrame
,
24099 _swigt__p_wxPyPanel
,
24101 _swigt__p_wxPrintData
,
24102 _swigt__p_wxFontData
,
24104 _swigt__p_wxTaskBarIcon
,
24105 _swigt__p_wxIconBundle
,
24106 _swigt__p_wxLayoutAlgorithm
,
24107 _swigt__p_wxFindDialogEvent
,
24108 _swigt__p_wxPreviewCanvas
,
24110 _swigt__p_wxSplitterEvent
,
24111 _swigt__p_wxRegion
,
24112 _swigt__p_wxFindReplaceData
,
24117 _swigt__p_wxMDIChildFrame
,
24118 _swigt__p_wxColourData
,
24119 _swigt__p_wxNotifyEvent
,
24120 _swigt__p_wxPyWindow
,
24121 _swigt__p_wxSplashScreen
,
24122 _swigt__p_wxFindReplaceDialog
,
24123 _swigt__p_wxProgressDialog
,
24124 _swigt__p_wxMessageDialog
,
24125 _swigt__p_wxTextEntryDialog
,
24126 _swigt__p_wxSingleChoiceDialog
,
24127 _swigt__p_wxMultiChoiceDialog
,
24128 _swigt__p_wxFileDialog
,
24129 _swigt__p_wxPrinter
,
24130 _swigt__p_wxArrayInt
,
24131 _swigt__p_wxEvtHandler
,
24132 _swigt__p_wxCalculateLayoutEvent
,
24133 _swigt__p_wxPyHtmlListBox
,
24134 _swigt__p_wxPyVListBox
,
24137 _swigt__p_wxMiniFrame
,
24139 _swigt__p_wxPyPrintout
,
24140 _swigt__p_wxTaskBarIconEvent
,
24141 _swigt__p_wxScrollWinEvent
,
24142 _swigt__p_wxStatusBar
,
24143 _swigt__p_wxMDIParentFrame
,
24145 _swigt__p_wxObject
,
24146 _swigt__p_unsigned_long
,
24147 _swigt__p_wxMDIClientWindow
,
24148 _swigt__p_wxTipWindow
,
24149 _swigt__p_wxPyPopupTransientWindow
,
24150 _swigt__p_wxSashLayoutWindow
,
24151 _swigt__p_wxSplitterWindow
,
24152 _swigt__p_wxPyVScrolledWindow
,
24153 _swigt__p_wxPopupWindow
,
24154 _swigt__p_wxSashWindow
,
24155 _swigt__p_wxTopLevelWindow
,
24156 _swigt__p_wxWindow
,
24157 _swigt__p_wxScrolledWindow
,
24158 _swigt__p_wxSplashScreenWindow
,
24159 _swigt__p_wxMenuBar
,
24160 _swigt__p_wxPrintPreview
,
24161 _swigt__p_wxSashEvent
,
24162 _swigt__p_wxString
,
24163 _swigt__p_wxPyPrintPreview
,
24164 _swigt__p_wxPageSetupDialog
,
24165 _swigt__p_wxFontDialog
,
24166 _swigt__p_wxDirDialog
,
24167 _swigt__p_wxColourDialog
,
24168 _swigt__p_wxDialog
,
24170 _swigt__p_wxPrintDialog
,
24171 _swigt__p_wxBitmap
,
24172 _swigt__p_wxCommandEvent
,
24173 _swigt__p_wxPreviewControlBar
,
24174 _swigt__p_wxPyPreviewControlBar
,
24175 _swigt__p_wxColour
,
24176 _swigt__p_wxToolBar
,
24177 _swigt__p_wxPageSetupDialogData
,
24178 _swigt__p_wxPrintDialogData
,
24183 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
24185 static swig_const_info swig_const_table
[] = {
24195 SWIGEXPORT(void) SWIG_init(void) {
24196 static PyObject
*SWIG_globals
= 0;
24197 static int typeinit
= 0;
24200 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
24201 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
24202 d
= PyModule_GetDict(m
);
24205 for (i
= 0; swig_types_initial
[i
]; i
++) {
24206 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
24210 SWIG_InstallConstants(d
,swig_const_table
);
24212 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
24213 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
24214 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
24215 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
24216 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
24217 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
24218 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
24219 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
24220 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOBORDER
));
24221 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOCAPTION
));
24222 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_PyObj_FromInt((int)wxFULLSCREEN_ALL
));
24223 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_PyObj_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
24224 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_PyObj_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
24225 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_PyObj_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
24226 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_PyObj_FromInt((int)wxSPLASH_NO_CENTRE
));
24227 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_PyObj_FromInt((int)wxSPLASH_TIMEOUT
));
24228 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_PyObj_FromInt((int)wxSPLASH_NO_TIMEOUT
));
24229 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
24230 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_PyObj_FromInt((int)wxSP_NOBORDER
));
24231 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_PyObj_FromInt((int)wxSP_NOSASH
));
24232 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_PyObj_FromInt((int)wxSP_PERMIT_UNSPLIT
));
24233 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_PyObj_FromInt((int)wxSP_LIVE_UPDATE
));
24234 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_PyObj_FromInt((int)wxSP_3DSASH
));
24235 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_PyObj_FromInt((int)wxSP_3DBORDER
));
24236 PyDict_SetItemString(d
,"SP_BORDER", SWIG_PyObj_FromInt((int)wxSP_BORDER
));
24237 PyDict_SetItemString(d
,"SP_3D", SWIG_PyObj_FromInt((int)wxSP_3D
));
24238 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSPLIT_HORIZONTAL
));
24239 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_PyObj_FromInt((int)wxSPLIT_VERTICAL
));
24240 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_NONE
));
24241 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
24242 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
24243 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
24244 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
24245 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
24246 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
24247 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
24248 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
24249 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_PyObj_FromInt((int)wxSASH_DRAG_NONE
));
24250 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_PyObj_FromInt((int)wxSASH_DRAG_DRAGGING
));
24251 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_PyObj_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
24252 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_PyObj_FromInt((int)wxSW_NOBORDER
));
24253 PyDict_SetItemString(d
,"SW_BORDER", SWIG_PyObj_FromInt((int)wxSW_BORDER
));
24254 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_PyObj_FromInt((int)wxSW_3DSASH
));
24255 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_PyObj_FromInt((int)wxSW_3DBORDER
));
24256 PyDict_SetItemString(d
,"SW_3D", SWIG_PyObj_FromInt((int)wxSW_3D
));
24257 PyDict_SetItemString(d
,"SASH_TOP", SWIG_PyObj_FromInt((int)wxSASH_TOP
));
24258 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_PyObj_FromInt((int)wxSASH_RIGHT
));
24259 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_PyObj_FromInt((int)wxSASH_BOTTOM
));
24260 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_PyObj_FromInt((int)wxSASH_LEFT
));
24261 PyDict_SetItemString(d
,"SASH_NONE", SWIG_PyObj_FromInt((int)wxSASH_NONE
));
24262 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_PyObj_FromInt((int)wxSASH_STATUS_OK
));
24263 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_PyObj_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
24264 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
24265 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_PyObj_FromInt((int)wxLAYOUT_HORIZONTAL
));
24266 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_PyObj_FromInt((int)wxLAYOUT_VERTICAL
));
24267 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_PyObj_FromInt((int)wxLAYOUT_NONE
));
24268 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_PyObj_FromInt((int)wxLAYOUT_TOP
));
24269 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_PyObj_FromInt((int)wxLAYOUT_LEFT
));
24270 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_PyObj_FromInt((int)wxLAYOUT_RIGHT
));
24271 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_PyObj_FromInt((int)wxLAYOUT_BOTTOM
));
24272 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_PyObj_FromInt((int)wxLAYOUT_LENGTH_Y
));
24273 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_PyObj_FromInt((int)wxLAYOUT_LENGTH_X
));
24274 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_PyObj_FromInt((int)wxLAYOUT_MRU_LENGTH
));
24275 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_PyObj_FromInt((int)wxLAYOUT_QUERY
));
24276 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
24277 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
24278 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
24280 // Map renamed classes back to their common name for OOR
24281 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
24282 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
24283 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
24285 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
24286 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
24287 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
24288 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
24289 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
24290 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
24291 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
24292 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
24293 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
24294 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
24295 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
24296 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
24297 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
24298 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_PyObj_FromInt((int)wxCHOICEDLG_STYLE
));
24299 PyDict_SetItemString(d
,"FR_DOWN", SWIG_PyObj_FromInt((int)wxFR_DOWN
));
24300 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_PyObj_FromInt((int)wxFR_WHOLEWORD
));
24301 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_PyObj_FromInt((int)wxFR_MATCHCASE
));
24302 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_PyObj_FromInt((int)wxFR_REPLACEDIALOG
));
24303 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_PyObj_FromInt((int)wxFR_NOUPDOWN
));
24304 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_PyObj_FromInt((int)wxFR_NOMATCHCASE
));
24305 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_PyObj_FromInt((int)wxFR_NOWHOLEWORD
));
24306 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
24307 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
24308 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
24309 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
24310 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
24311 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_PyObj_FromInt((int)4001));
24312 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_PyObj_FromInt((int)4001));
24313 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_PyObj_FromInt((int)4002));
24314 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_PyObj_FromInt((int)4003));
24315 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_PyObj_FromInt((int)4004));
24316 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_PyObj_FromInt((int)4005));
24317 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_PyObj_FromInt((int)4100));
24318 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_PyObj_FromInt((int)4600));
24319 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
24320 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
24321 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_PyObj_FromInt((int)wxPRINT_MODE_NONE
));
24322 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_PyObj_FromInt((int)wxPRINT_MODE_PREVIEW
));
24323 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_PyObj_FromInt((int)wxPRINT_MODE_FILE
));
24324 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_PyObj_FromInt((int)wxPRINT_MODE_PRINTER
));
24325 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_PyObj_FromInt((int)wxPRINTER_NO_ERROR
));
24326 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_PyObj_FromInt((int)wxPRINTER_CANCELLED
));
24327 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_PyObj_FromInt((int)wxPRINTER_ERROR
));
24328 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_PyObj_FromInt((int)wxPREVIEW_PRINT
));
24329 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_PyObj_FromInt((int)wxPREVIEW_PREVIOUS
));
24330 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_PyObj_FromInt((int)wxPREVIEW_NEXT
));
24331 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_PyObj_FromInt((int)wxPREVIEW_ZOOM
));
24332 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_PyObj_FromInt((int)wxPREVIEW_FIRST
));
24333 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_PyObj_FromInt((int)wxPREVIEW_LAST
));
24334 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_PyObj_FromInt((int)wxPREVIEW_GOTO
));
24335 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_PyObj_FromInt((int)wxPREVIEW_DEFAULT
));
24336 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_PyObj_FromInt((int)wxID_PREVIEW_CLOSE
));
24337 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_PyObj_FromInt((int)wxID_PREVIEW_NEXT
));
24338 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_PyObj_FromInt((int)wxID_PREVIEW_PREVIOUS
));
24339 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_PyObj_FromInt((int)wxID_PREVIEW_PRINT
));
24340 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_PyObj_FromInt((int)wxID_PREVIEW_ZOOM
));
24341 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_PyObj_FromInt((int)wxID_PREVIEW_FIRST
));
24342 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_PyObj_FromInt((int)wxID_PREVIEW_LAST
));
24343 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_PyObj_FromInt((int)wxID_PREVIEW_GOTO
));
24345 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");