1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
210 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
211 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
212 #define SWIGTYPE_p_wxPyPanel swig_types[3]
213 #define SWIGTYPE_p_wxMenu swig_types[4]
214 #define SWIGTYPE_p_wxPrintData swig_types[5]
215 #define SWIGTYPE_p_wxFontData swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
218 #define SWIGTYPE_p_wxIconBundle swig_types[9]
219 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
220 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
221 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
224 #define SWIGTYPE_p_wxRegion swig_types[15]
225 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
226 #define SWIGTYPE_p_int swig_types[17]
227 #define SWIGTYPE_p_wxSize swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxIcon swig_types[20]
230 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
231 #define SWIGTYPE_p_wxColourData swig_types[22]
232 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
233 #define SWIGTYPE_p_wxPyWindow swig_types[24]
234 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
235 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
236 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
237 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
238 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
239 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
240 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
241 #define SWIGTYPE_p_wxFileDialog swig_types[32]
242 #define SWIGTYPE_p_wxPrinter swig_types[33]
243 #define SWIGTYPE_p_wxArrayInt swig_types[34]
244 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
245 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
246 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
247 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
248 #define SWIGTYPE_p_wxRect swig_types[39]
249 #define SWIGTYPE_p_char swig_types[40]
250 #define SWIGTYPE_p_wxMiniFrame swig_types[41]
251 #define SWIGTYPE_p_wxFrame swig_types[42]
252 #define SWIGTYPE_p_wxPyPrintout swig_types[43]
253 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[44]
254 #define SWIGTYPE_p_wxScrollWinEvent swig_types[45]
255 #define SWIGTYPE_p_wxStatusBar swig_types[46]
256 #define SWIGTYPE_p_wxMDIParentFrame swig_types[47]
257 #define SWIGTYPE_p_wxPoint swig_types[48]
258 #define SWIGTYPE_p_wxObject swig_types[49]
259 #define SWIGTYPE_p_wxOutputStream swig_types[50]
260 #define SWIGTYPE_p_unsigned_long swig_types[51]
261 #define SWIGTYPE_p_wxMDIClientWindow swig_types[52]
262 #define SWIGTYPE_p_wxTipWindow swig_types[53]
263 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[54]
264 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
265 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
266 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[57]
267 #define SWIGTYPE_p_wxPopupWindow swig_types[58]
268 #define SWIGTYPE_p_wxSashWindow swig_types[59]
269 #define SWIGTYPE_p_wxTopLevelWindow swig_types[60]
270 #define SWIGTYPE_p_wxWindow swig_types[61]
271 #define SWIGTYPE_p_wxScrolledWindow swig_types[62]
272 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[63]
273 #define SWIGTYPE_p_wxMenuBar swig_types[64]
274 #define SWIGTYPE_p_wxPrintPreview swig_types[65]
275 #define SWIGTYPE_p_wxSashEvent swig_types[66]
276 #define SWIGTYPE_p_wxString swig_types[67]
277 #define SWIGTYPE_p_wxPyPrintPreview swig_types[68]
278 #define SWIGTYPE_p_wxFontDialog swig_types[69]
279 #define SWIGTYPE_p_wxDirDialog swig_types[70]
280 #define SWIGTYPE_p_wxColourDialog swig_types[71]
281 #define SWIGTYPE_p_wxDialog swig_types[72]
282 #define SWIGTYPE_p_wxPanel swig_types[73]
283 #define SWIGTYPE_p_wxPageSetupDialog swig_types[74]
284 #define SWIGTYPE_p_wxPrintDialog swig_types[75]
285 #define SWIGTYPE_p_wxBitmap swig_types[76]
286 #define SWIGTYPE_p_wxCommandEvent swig_types[77]
287 #define SWIGTYPE_p_wxPreviewControlBar swig_types[78]
288 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[79]
289 #define SWIGTYPE_p_wxColour swig_types[80]
290 #define SWIGTYPE_p_wxToolBar swig_types[81]
291 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[82]
292 #define SWIGTYPE_p_wxPrintDialogData swig_types[83]
293 static swig_type_info
*swig_types
[85];
295 /* -------- TYPES TABLE (END) -------- */
298 /*-----------------------------------------------
299 @(target):= _windows.so
300 ------------------------------------------------*/
301 #define SWIG_init init_windows
303 #define SWIG_name "_windows"
305 /* Auxiliar swig macros */
308 #define SWIGSTATICINLINE(a) static inline a
309 #define SWIGSTATIC(a) static a
310 #define swig_new_array(type, size) (new type[(size)])
311 #define swig_delete_array(cptr) delete[] cptr
312 #define swig_const_cast(type,a) const_cast<type>(a)
313 #define swig_static_cast(type,a) static_cast<type>(a)
314 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
316 #ifdef HAVE_NUMERIC_CAST
317 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
319 #define swig_numeric_cast(type,a) static_cast<type>(a)
324 #define SWIGSTATICINLINE(a) static a
325 #define SWIGSTATIC(a) static a
326 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
327 #define swig_delete_array(cptr) free((char*)cptr)
328 #define swig_const_cast(type,a) (type)(a)
329 #define swig_static_cast(type,a) (type)(a)
330 #define swig_reinterpret_cast(type,a) (type)(a)
331 #define swig_numeric_cast(type,a) (type)(a)
333 #endif /* __cplusplus */
336 #define SWIG_FromSignedChar PyInt_FromLong
337 #define SWIG_FromUnsignedChar PyInt_FromLong
338 #define SWIG_FromShort PyInt_FromLong
339 #define SWIG_FromUnsignedShort PyInt_FromLong
340 #define SWIG_FromInt PyInt_FromLong
341 #define SWIG_FromLong PyInt_FromLong
342 #define SWIG_FromFloat PyFloat_FromDouble
343 #define SWIG_FromDouble PyFloat_FromDouble
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
348 #include "wx/wxPython/wxPython.h"
349 #include "wx/wxPython/pyclasses.h"
352 static const wxString
wxPyEmptyString(wxEmptyString
);
353 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
360 SWIGSTATICINLINE(long)
361 SWIG_CheckLongInRange(long value
, const char* type
,
362 long min_value
, long max_value
)
364 if (!PyErr_Occurred()) {
365 if (value
< min_value
) {
367 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
368 value
, type
, min_value
);
370 PyErr_SetObject(PyExc_OverflowError
, err
);
372 } else if (value
> max_value
) {
374 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
375 value
, type
, max_value
);
376 PyErr_SetObject(PyExc_OverflowError
, err
);
384 SWIGSTATICINLINE(long)
385 SWIG_AsLong(PyObject
* obj
)
387 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
391 #if INT_MAX != LONG_MAX
392 SWIGSTATICINLINE(int)
393 SWIG_AsInt(PyObject
*obj
)
395 return swig_numeric_cast(int,
396 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
397 "int", INT_MIN
, INT_MAX
));
400 #define SWIG_AsInt SWIG_AsLong
404 SWIGSTATICINLINE(int)
405 SWIG_CheckInt(PyObject
* obj
)
408 if (PyErr_Occurred()) {
417 SWIGSTATICINLINE(int)
418 SWIG_CheckLong(PyObject
* obj
)
421 if (PyErr_Occurred()) {
430 SWIGSTATICINLINE(bool)
431 SWIG_AsBool(PyObject
*obj
)
433 return PyObject_IsTrue(obj
) ? true : false;
437 SWIGSTATICINLINE(int)
438 SWIG_CheckBool(PyObject
* obj
)
441 if (PyErr_Occurred()) {
450 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
456 } else if (target
== Py_None
) {
460 if (!PyTuple_Check(target
)) {
462 target
= PyTuple_New(1);
463 PyTuple_SetItem(target
, 0, o2
);
466 PyTuple_SetItem(o3
, 0, o
);
469 target
= PySequence_Concat(o2
, o3
);
477 SWIGSTATICINLINE(double)
478 SWIG_AsDouble(PyObject
*obj
)
480 double val
= (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
482 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
484 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
486 if (PyErr_Occurred()) {
488 PyErr_SetString(PyExc_TypeError
, "a double is expected");
494 SWIGSTATICINLINE(int)
495 SWIG_CheckDouble(PyObject
* obj
)
498 if (PyErr_Occurred()) {
506 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
507 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
508 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
509 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
510 bool wxDialog_IsModalShowing(wxDialog
*self
){
514 return self
->IsModalShowing();
519 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
521 self
->GetFieldRect(i
, r
);
524 static const wxString
wxPySplitterNameStr(wxT("splitter"));
525 static const wxString
wxPySashNameStr(wxT("sashWindow"));
526 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
528 #include <wx/popupwin.h>
531 class wxPopupWindow
: public wxWindow
{
533 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
534 wxPopupWindow() { wxPyRaiseNotImplemented(); }
537 class wxPyPopupTransientWindow
: public wxPopupWindow
540 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
541 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
545 #include <wx/tipwin.h>
547 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
548 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
551 #include <wx/tipwin.h>
554 #include <wx/vscroll.h>
557 class wxPyVScrolledWindow
: public wxVScrolledWindow
559 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
561 wxPyVScrolledWindow() : wxVScrolledWindow() {}
563 wxPyVScrolledWindow(wxWindow
*parent
,
564 wxWindowID id
= wxID_ANY
,
565 const wxPoint
& pos
= wxDefaultPosition
,
566 const wxSize
& size
= wxDefaultSize
,
568 const wxString
& name
= wxPyPanelNameStr
)
569 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
572 // Overridable virtuals
574 // this function must be overridden in the derived class and it should
575 // return the height of the given line in pixels
576 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
579 // this function doesn't have to be overridden but it may be useful to do
580 // it if calculating the lines heights is a relatively expensive operation
581 // as it gives the user code a possibility to calculate several of them at
584 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
585 // shouldn't rely on the latter being called for all lines in the interval
586 // specified here. It is also possible that OnGetLineHeight() will be
587 // called for the lines outside of this interval, so this is really just a
588 // hint, not a promise.
590 // finally note that lineMin is inclusive, while lineMax is exclusive, as
592 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
595 // when the number of lines changes, we try to estimate the total height
596 // of all lines which is a rather expensive operation in terms of lines
597 // access, so if the user code may estimate the average height
598 // better/faster than we do, it should override this function to implement
601 // this function should return the best guess for the total height it may
603 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
606 // Also expose some other interesting protected methods
609 // find the index of the line we need to show at the top of the window such
610 // that the last (fully or partially) visible line is the given one
611 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
612 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
614 // get the total height of the lines between lineMin (inclusive) and
615 // lineMax (exclusive)
616 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
617 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
623 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
625 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
626 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
627 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
630 SWIGSTATICINLINE(unsigned long)
631 SWIG_AsUnsignedLong(PyObject
* obj
)
633 if (PyLong_Check(obj
)) {
634 return PyLong_AsUnsignedLong(obj
);
636 long i
= PyInt_AsLong(obj
);
637 if ( !PyErr_Occurred() && (i
< 0)) {
638 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
645 SWIGSTATICINLINE(int)
646 SWIG_CheckUnsignedLong(PyObject
* obj
)
648 SWIG_AsUnsignedLong(obj
);
649 if (PyErr_Occurred()) {
658 SWIGSTATICINLINE(PyObject
* )
659 SWIG_FromUnsignedLong(unsigned long value
)
661 return (value
> LONG_MAX
) ?
662 PyLong_FromUnsignedLong(value
)
663 : PyInt_FromLong(swig_numeric_cast(long,value
));
667 #include <wx/vlbox.h>
669 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
671 class wxPyVListBox
: public wxVListBox
673 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
675 wxPyVListBox() : wxVListBox() {}
677 wxPyVListBox(wxWindow
*parent
,
678 wxWindowID id
= wxID_ANY
,
679 const wxPoint
& pos
= wxDefaultPosition
,
680 const wxSize
& size
= wxDefaultSize
,
682 const wxString
& name
= wxPyVListBoxNameStr
)
683 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
686 // Overridable virtuals
688 // the derived class must implement this function to actually draw the item
689 // with the given index on the provided DC
690 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
691 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
694 // the derived class must implement this method to return the height of the
696 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
697 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
700 // this method may be used to draw separators between the lines; note that
701 // the rectangle may be modified, typically to deflate it a bit before
702 // passing to OnDrawItem()
704 // the base class version doesn't do anything
705 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
706 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
709 // this method is used to draw the items background and, maybe, a border
712 // the base class version implements a reasonable default behaviour which
713 // consists in drawing the selected item with the standard background
714 // colour and drawing a border around the item if it is either selected or
716 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
717 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
723 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
725 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
726 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
727 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
728 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
732 #include <wx/htmllbox.h>
735 class wxPyHtmlListBox
: public wxHtmlListBox
737 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
739 wxPyHtmlListBox() : wxHtmlListBox() {}
741 wxPyHtmlListBox(wxWindow
*parent
,
742 wxWindowID id
= wxID_ANY
,
743 const wxPoint
& pos
= wxDefaultPosition
,
744 const wxSize
& size
= wxDefaultSize
,
746 const wxString
& name
= wxPyVListBoxNameStr
)
747 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
750 // Overridable virtuals
752 // this method must be implemented in the derived class and should return
753 // the body (i.e. without <html>) of the HTML for the given item
754 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
756 // this function may be overridden to decorate HTML returned by OnGetItem()
757 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
760 // // this method allows to customize the selection appearance: it may be used
761 // // to specify the colour of the text which normally has the given colour
762 // // colFg when it is inside the selection
764 // // by default, the original colour is not used at all and all text has the
765 // // same (default for this system) colour inside selection
766 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
768 // // this is the same as GetSelectedTextColour() but allows to customize the
769 // // background colour -- this is even more rarely used as you can change it
770 // // globally using SetSelectionBackground()
771 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
778 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
780 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
781 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
788 // implement dummy classes and such for wxMac
790 class wxTaskBarIcon
: public wxEvtHandler
793 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
797 class wxTaskBarIconEvent
: public wxEvent
800 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
801 { wxPyRaiseNotImplemented(); }
802 virtual wxEvent
* Clone() const { return NULL
; }
806 wxEVT_TASKBAR_MOVE
= 0,
807 wxEVT_TASKBAR_LEFT_DOWN
= 0,
808 wxEVT_TASKBAR_LEFT_UP
= 0,
809 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
810 wxEVT_TASKBAR_RIGHT_UP
= 0,
811 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
812 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
816 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
817 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
818 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
819 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
820 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
821 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
822 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
824 self
->GetFilenames(arr
);
825 return wxArrayString2PyList_helper(arr
);
827 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
830 return wxArrayString2PyList_helper(arr
);
832 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
833 return wxArrayInt2PyList_helper(self
->GetSelections());
835 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
836 return new wxSingleChoiceDialog(parent
, message
, caption
,
837 choices
, choices_array
, NULL
, style
, pos
);
842 // C++ version of Python aware wxWindow
843 class wxPyWindow
: public wxWindow
845 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
847 wxPyWindow() : wxWindow() {}
848 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
849 const wxPoint
& pos
= wxDefaultPosition
,
850 const wxSize
& size
= wxDefaultSize
,
852 const wxString
& name
= wxPyPanelNameStr
)
853 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
856 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
857 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
858 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
859 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
861 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
862 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
863 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
865 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
866 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
868 DEC_PYCALLBACK__(InitDialog
);
869 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
870 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
871 DEC_PYCALLBACK_BOOL_(Validate
);
873 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
874 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
875 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
877 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
878 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
880 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
885 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
887 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
888 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
889 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
890 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
892 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
893 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
894 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
896 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
897 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
899 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
900 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
901 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
902 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
904 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
905 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
906 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
908 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
909 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
911 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, ShouldInheritColours
);
913 // C++ version of Python aware wxPanel
914 class wxPyPanel
: public wxPanel
916 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
918 wxPyPanel() : wxPanel() {}
919 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
920 const wxPoint
& pos
= wxDefaultPosition
,
921 const wxSize
& size
= wxDefaultSize
,
923 const wxString
& name
= wxPyPanelNameStr
)
924 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
927 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
928 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
929 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
930 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
932 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
933 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
934 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
936 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
937 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
939 DEC_PYCALLBACK__(InitDialog
);
940 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
941 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
942 DEC_PYCALLBACK_BOOL_(Validate
);
944 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
945 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
946 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
948 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
949 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
951 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
956 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
958 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
959 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
960 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
961 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
963 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
964 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
965 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
967 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
968 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
970 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
971 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
972 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
973 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
975 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
976 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
977 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
979 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
980 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
982 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, ShouldInheritColours
);
985 #include "wx/wxPython/printfw.h"
988 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
989 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
993 // Since this one would be tough and ugly to do with the Macros...
994 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
998 wxPyBeginBlockThreads();
999 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1000 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1001 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1004 val
= PyTuple_GetItem(result
, 0);
1005 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1008 val
= PyTuple_GetItem(result
, 1);
1009 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1012 val
= PyTuple_GetItem(result
, 2);
1013 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1016 val
= PyTuple_GetItem(result
, 3);
1017 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1024 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1029 wxPyEndBlockThreads();
1031 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1034 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1035 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1039 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1040 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1041 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1042 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1043 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1044 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1045 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1051 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1052 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1053 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1056 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1057 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1060 wxPyBeginBlockThreads(); \
1061 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1062 PyObject* win = wxPyMake_wxObject(a); \
1063 PyObject* dc = wxPyMake_wxObject(&b); \
1064 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1068 wxPyEndBlockThreads(); \
1070 rval = PCLASS::CBNAME(a, b); \
1073 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1074 return PCLASS::CBNAME(a, b); \
1080 class wxPyPrintPreview
: public wxPrintPreview
1082 DECLARE_CLASS(wxPyPrintPreview
)
1084 wxPyPrintPreview(wxPyPrintout
* printout
,
1085 wxPyPrintout
* printoutForPrinting
,
1086 wxPrintDialogData
* data
=NULL
)
1087 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1089 wxPyPrintPreview(wxPyPrintout
* printout
,
1090 wxPyPrintout
* printoutForPrinting
,
1091 wxPrintData
* data
=NULL
)
1092 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1095 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1096 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1097 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1098 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1099 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1100 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1101 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1106 // Stupid renamed classes... Fix this in 2.5...
1107 #if defined(__WXMSW__)
1108 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1109 #elif defined(__WXMAC__)
1110 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1112 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1115 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1116 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1117 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1118 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1119 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1120 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1121 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1124 class wxPyPreviewFrame
: public wxPreviewFrame
1126 DECLARE_CLASS(wxPyPreviewFrame
);
1128 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1129 const wxString
& title
,
1130 const wxPoint
& pos
= wxDefaultPosition
,
1131 const wxSize
& size
= wxDefaultSize
,
1132 long style
= wxDEFAULT_FRAME_STYLE
,
1133 const wxString
& name
= wxPyFrameNameStr
)
1134 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1137 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1138 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1140 DEC_PYCALLBACK_VOID_(Initialize
);
1141 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1142 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1147 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1149 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1150 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1151 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1154 class wxPyPreviewControlBar
: public wxPreviewControlBar
1156 DECLARE_CLASS(wxPyPreviewControlBar
);
1158 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1161 const wxPoint
& pos
= wxDefaultPosition
,
1162 const wxSize
& size
= wxDefaultSize
,
1164 const wxString
& name
= wxPyPanelNameStr
)
1165 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1168 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1170 DEC_PYCALLBACK_VOID_(CreateButtons
);
1171 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1176 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1177 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1178 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1183 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1184 PyObject
*resultobj
;
1185 wxWindow
*arg1
= (wxWindow
*) 0 ;
1186 int arg2
= (int) (int)-1 ;
1187 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1188 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1189 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1190 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1191 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1192 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1193 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1197 bool temp6
= False
;
1198 PyObject
* obj0
= 0 ;
1199 PyObject
* obj1
= 0 ;
1200 PyObject
* obj2
= 0 ;
1201 PyObject
* obj3
= 0 ;
1202 PyObject
* obj4
= 0 ;
1203 PyObject
* obj5
= 0 ;
1205 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1212 arg2
= (int const) SWIG_AsInt(obj1
);
1213 if (PyErr_Occurred()) SWIG_fail
;
1218 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1224 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1228 arg5
= (long) SWIG_AsLong(obj4
);
1229 if (PyErr_Occurred()) SWIG_fail
;
1233 arg6
= wxString_in_helper(obj5
);
1234 if (arg6
== NULL
) SWIG_fail
;
1239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1240 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1242 wxPyEndAllowThreads(__tstate
);
1243 if (PyErr_Occurred()) SWIG_fail
;
1245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1260 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1261 PyObject
*resultobj
;
1267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1270 result
= (wxPanel
*)new wxPanel();
1272 wxPyEndAllowThreads(__tstate
);
1273 if (PyErr_Occurred()) SWIG_fail
;
1275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1282 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1283 PyObject
*resultobj
;
1284 wxPanel
*arg1
= (wxPanel
*) 0 ;
1285 wxWindow
*arg2
= (wxWindow
*) 0 ;
1287 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1288 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1289 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1290 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1291 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1292 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1293 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1297 bool temp7
= False
;
1298 PyObject
* obj0
= 0 ;
1299 PyObject
* obj1
= 0 ;
1300 PyObject
* obj2
= 0 ;
1301 PyObject
* obj3
= 0 ;
1302 PyObject
* obj4
= 0 ;
1303 PyObject
* obj5
= 0 ;
1304 PyObject
* obj6
= 0 ;
1306 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1312 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1314 arg3
= (int const) SWIG_AsInt(obj2
);
1315 if (PyErr_Occurred()) SWIG_fail
;
1319 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1325 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1329 arg6
= (long) SWIG_AsLong(obj5
);
1330 if (PyErr_Occurred()) SWIG_fail
;
1334 arg7
= wxString_in_helper(obj6
);
1335 if (arg7
== NULL
) SWIG_fail
;
1340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1341 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1343 wxPyEndAllowThreads(__tstate
);
1344 if (PyErr_Occurred()) SWIG_fail
;
1346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1361 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1362 PyObject
*resultobj
;
1363 wxPanel
*arg1
= (wxPanel
*) 0 ;
1364 PyObject
* obj0
= 0 ;
1366 (char *) "self", NULL
1369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1374 (arg1
)->InitDialog();
1376 wxPyEndAllowThreads(__tstate
);
1377 if (PyErr_Occurred()) SWIG_fail
;
1379 Py_INCREF(Py_None
); resultobj
= Py_None
;
1386 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
1388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1389 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1391 return Py_BuildValue((char *)"");
1393 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1394 PyObject
*resultobj
;
1395 wxWindow
*arg1
= (wxWindow
*) 0 ;
1396 int arg2
= (int) (int)-1 ;
1397 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1398 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1399 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1400 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1401 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1402 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1403 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1404 wxScrolledWindow
*result
;
1407 bool temp6
= 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 ;
1415 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1422 arg2
= (int const) SWIG_AsInt(obj1
);
1423 if (PyErr_Occurred()) SWIG_fail
;
1428 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1434 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1438 arg5
= (long) SWIG_AsLong(obj4
);
1439 if (PyErr_Occurred()) SWIG_fail
;
1443 arg6
= wxString_in_helper(obj5
);
1444 if (arg6
== NULL
) SWIG_fail
;
1449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1450 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1452 wxPyEndAllowThreads(__tstate
);
1453 if (PyErr_Occurred()) SWIG_fail
;
1455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1470 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1471 PyObject
*resultobj
;
1472 wxScrolledWindow
*result
;
1477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1480 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1482 wxPyEndAllowThreads(__tstate
);
1483 if (PyErr_Occurred()) SWIG_fail
;
1485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1492 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1493 PyObject
*resultobj
;
1494 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1495 wxWindow
*arg2
= (wxWindow
*) 0 ;
1496 int arg3
= (int) (int)-1 ;
1497 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1498 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1499 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1500 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1501 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1502 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1503 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1507 bool temp7
= False
;
1508 PyObject
* obj0
= 0 ;
1509 PyObject
* obj1
= 0 ;
1510 PyObject
* obj2
= 0 ;
1511 PyObject
* obj3
= 0 ;
1512 PyObject
* obj4
= 0 ;
1513 PyObject
* obj5
= 0 ;
1514 PyObject
* obj6
= 0 ;
1516 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1525 arg3
= (int const) SWIG_AsInt(obj2
);
1526 if (PyErr_Occurred()) SWIG_fail
;
1531 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1537 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1541 arg6
= (long) SWIG_AsLong(obj5
);
1542 if (PyErr_Occurred()) SWIG_fail
;
1546 arg7
= wxString_in_helper(obj6
);
1547 if (arg7
== NULL
) SWIG_fail
;
1552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1553 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1555 wxPyEndAllowThreads(__tstate
);
1556 if (PyErr_Occurred()) SWIG_fail
;
1558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1573 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1574 PyObject
*resultobj
;
1575 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1580 int arg6
= (int) 0 ;
1581 int arg7
= (int) 0 ;
1582 bool arg8
= (bool) False
;
1583 PyObject
* obj0
= 0 ;
1584 PyObject
* obj1
= 0 ;
1585 PyObject
* obj2
= 0 ;
1586 PyObject
* obj3
= 0 ;
1587 PyObject
* obj4
= 0 ;
1588 PyObject
* obj5
= 0 ;
1589 PyObject
* obj6
= 0 ;
1590 PyObject
* obj7
= 0 ;
1592 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1598 arg2
= (int) SWIG_AsInt(obj1
);
1599 if (PyErr_Occurred()) SWIG_fail
;
1600 arg3
= (int) SWIG_AsInt(obj2
);
1601 if (PyErr_Occurred()) SWIG_fail
;
1602 arg4
= (int) SWIG_AsInt(obj3
);
1603 if (PyErr_Occurred()) SWIG_fail
;
1604 arg5
= (int) SWIG_AsInt(obj4
);
1605 if (PyErr_Occurred()) SWIG_fail
;
1607 arg6
= (int) SWIG_AsInt(obj5
);
1608 if (PyErr_Occurred()) SWIG_fail
;
1611 arg7
= (int) SWIG_AsInt(obj6
);
1612 if (PyErr_Occurred()) SWIG_fail
;
1615 arg8
= (bool) SWIG_AsBool(obj7
);
1616 if (PyErr_Occurred()) SWIG_fail
;
1619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1620 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1622 wxPyEndAllowThreads(__tstate
);
1623 if (PyErr_Occurred()) SWIG_fail
;
1625 Py_INCREF(Py_None
); resultobj
= Py_None
;
1632 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1633 PyObject
*resultobj
;
1634 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1637 PyObject
* obj0
= 0 ;
1638 PyObject
* obj1
= 0 ;
1639 PyObject
* obj2
= 0 ;
1641 (char *) "self",(char *) "x",(char *) "y", NULL
1644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1647 arg2
= (int) SWIG_AsInt(obj1
);
1648 if (PyErr_Occurred()) SWIG_fail
;
1649 arg3
= (int) SWIG_AsInt(obj2
);
1650 if (PyErr_Occurred()) SWIG_fail
;
1652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1653 (arg1
)->Scroll(arg2
,arg3
);
1655 wxPyEndAllowThreads(__tstate
);
1656 if (PyErr_Occurred()) SWIG_fail
;
1658 Py_INCREF(Py_None
); resultobj
= Py_None
;
1665 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1666 PyObject
*resultobj
;
1667 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1670 PyObject
* obj0
= 0 ;
1671 PyObject
* obj1
= 0 ;
1673 (char *) "self",(char *) "orient", NULL
1676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1679 arg2
= (int) SWIG_AsInt(obj1
);
1680 if (PyErr_Occurred()) SWIG_fail
;
1682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1683 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1685 wxPyEndAllowThreads(__tstate
);
1686 if (PyErr_Occurred()) SWIG_fail
;
1688 resultobj
= SWIG_FromInt((int)result
);
1695 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1696 PyObject
*resultobj
;
1697 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1700 PyObject
* obj0
= 0 ;
1701 PyObject
* obj1
= 0 ;
1702 PyObject
* obj2
= 0 ;
1704 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1710 arg2
= (int) SWIG_AsInt(obj1
);
1711 if (PyErr_Occurred()) SWIG_fail
;
1712 arg3
= (int) SWIG_AsInt(obj2
);
1713 if (PyErr_Occurred()) SWIG_fail
;
1715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1716 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1718 wxPyEndAllowThreads(__tstate
);
1719 if (PyErr_Occurred()) SWIG_fail
;
1721 Py_INCREF(Py_None
); resultobj
= Py_None
;
1728 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1729 PyObject
*resultobj
;
1730 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1733 PyObject
* obj0
= 0 ;
1734 PyObject
* obj1
= 0 ;
1735 PyObject
* obj2
= 0 ;
1737 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1743 arg2
= (int) SWIG_AsInt(obj1
);
1744 if (PyErr_Occurred()) SWIG_fail
;
1745 arg3
= (int) SWIG_AsInt(obj2
);
1746 if (PyErr_Occurred()) SWIG_fail
;
1748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1749 (arg1
)->SetScrollRate(arg2
,arg3
);
1751 wxPyEndAllowThreads(__tstate
);
1752 if (PyErr_Occurred()) SWIG_fail
;
1754 Py_INCREF(Py_None
); resultobj
= Py_None
;
1761 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1762 PyObject
*resultobj
;
1763 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1764 int *arg2
= (int *) 0 ;
1765 int *arg3
= (int *) 0 ;
1768 PyObject
* obj0
= 0 ;
1770 (char *) "self", NULL
1775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1780 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1782 wxPyEndAllowThreads(__tstate
);
1783 if (PyErr_Occurred()) SWIG_fail
;
1785 Py_INCREF(Py_None
); resultobj
= Py_None
;
1787 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1788 resultobj
= t_output_helper(resultobj
,o
);
1791 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1792 resultobj
= t_output_helper(resultobj
,o
);
1800 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1801 PyObject
*resultobj
;
1802 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1805 PyObject
* obj0
= 0 ;
1806 PyObject
* obj1
= 0 ;
1807 PyObject
* obj2
= 0 ;
1809 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1815 arg2
= (bool) SWIG_AsBool(obj1
);
1816 if (PyErr_Occurred()) SWIG_fail
;
1817 arg3
= (bool) SWIG_AsBool(obj2
);
1818 if (PyErr_Occurred()) SWIG_fail
;
1820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1821 (arg1
)->EnableScrolling(arg2
,arg3
);
1823 wxPyEndAllowThreads(__tstate
);
1824 if (PyErr_Occurred()) SWIG_fail
;
1826 Py_INCREF(Py_None
); resultobj
= Py_None
;
1833 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1834 PyObject
*resultobj
;
1835 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1836 int *arg2
= (int *) 0 ;
1837 int *arg3
= (int *) 0 ;
1840 PyObject
* obj0
= 0 ;
1842 (char *) "self", NULL
1847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1852 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1854 wxPyEndAllowThreads(__tstate
);
1855 if (PyErr_Occurred()) SWIG_fail
;
1857 Py_INCREF(Py_None
); resultobj
= Py_None
;
1859 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1860 resultobj
= t_output_helper(resultobj
,o
);
1863 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1864 resultobj
= t_output_helper(resultobj
,o
);
1872 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1873 PyObject
*resultobj
;
1874 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1877 PyObject
* obj0
= 0 ;
1878 PyObject
* obj1
= 0 ;
1879 PyObject
* obj2
= 0 ;
1881 (char *) "self",(char *) "xs",(char *) "ys", NULL
1884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1887 arg2
= (double) SWIG_AsDouble(obj1
);
1888 if (PyErr_Occurred()) SWIG_fail
;
1889 arg3
= (double) SWIG_AsDouble(obj2
);
1890 if (PyErr_Occurred()) SWIG_fail
;
1892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1893 (arg1
)->SetScale(arg2
,arg3
);
1895 wxPyEndAllowThreads(__tstate
);
1896 if (PyErr_Occurred()) SWIG_fail
;
1898 Py_INCREF(Py_None
); resultobj
= Py_None
;
1905 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1906 PyObject
*resultobj
;
1907 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1909 PyObject
* obj0
= 0 ;
1911 (char *) "self", NULL
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
1915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1919 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
1921 wxPyEndAllowThreads(__tstate
);
1922 if (PyErr_Occurred()) SWIG_fail
;
1924 resultobj
= SWIG_FromDouble((double)result
);
1931 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1932 PyObject
*resultobj
;
1933 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1935 PyObject
* obj0
= 0 ;
1937 (char *) "self", NULL
1940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
1941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1945 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
1947 wxPyEndAllowThreads(__tstate
);
1948 if (PyErr_Occurred()) SWIG_fail
;
1950 resultobj
= SWIG_FromDouble((double)result
);
1957 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
1958 PyObject
*resultobj
;
1959 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1963 PyObject
* obj0
= 0 ;
1964 PyObject
* obj1
= 0 ;
1966 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
1967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1971 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1975 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
1977 wxPyEndAllowThreads(__tstate
);
1978 if (PyErr_Occurred()) SWIG_fail
;
1981 wxPoint
* resultptr
;
1982 resultptr
= new wxPoint((wxPoint
&) result
);
1983 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
1991 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
1992 PyObject
*resultobj
;
1993 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1996 int *arg4
= (int *) 0 ;
1997 int *arg5
= (int *) 0 ;
2000 PyObject
* obj0
= 0 ;
2001 PyObject
* obj1
= 0 ;
2002 PyObject
* obj2
= 0 ;
2006 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2009 arg2
= (int) SWIG_AsInt(obj1
);
2010 if (PyErr_Occurred()) SWIG_fail
;
2011 arg3
= (int) SWIG_AsInt(obj2
);
2012 if (PyErr_Occurred()) SWIG_fail
;
2014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2015 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2017 wxPyEndAllowThreads(__tstate
);
2018 if (PyErr_Occurred()) SWIG_fail
;
2020 Py_INCREF(Py_None
); resultobj
= Py_None
;
2022 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2023 resultobj
= t_output_helper(resultobj
,o
);
2026 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2027 resultobj
= t_output_helper(resultobj
,o
);
2035 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2040 argc
= PyObject_Length(args
);
2041 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2042 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2048 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2057 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2060 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2068 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2076 _v
= SWIG_CheckInt(argv
[1]);
2078 _v
= SWIG_CheckInt(argv
[2]);
2080 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2086 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2091 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2092 PyObject
*resultobj
;
2093 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2097 PyObject
* obj0
= 0 ;
2098 PyObject
* obj1
= 0 ;
2100 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2105 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2109 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2111 wxPyEndAllowThreads(__tstate
);
2112 if (PyErr_Occurred()) SWIG_fail
;
2115 wxPoint
* resultptr
;
2116 resultptr
= new wxPoint((wxPoint
&) result
);
2117 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2125 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2126 PyObject
*resultobj
;
2127 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2130 int *arg4
= (int *) 0 ;
2131 int *arg5
= (int *) 0 ;
2134 PyObject
* obj0
= 0 ;
2135 PyObject
* obj1
= 0 ;
2136 PyObject
* obj2
= 0 ;
2140 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2143 arg2
= (int) SWIG_AsInt(obj1
);
2144 if (PyErr_Occurred()) SWIG_fail
;
2145 arg3
= (int) SWIG_AsInt(obj2
);
2146 if (PyErr_Occurred()) SWIG_fail
;
2148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2149 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2151 wxPyEndAllowThreads(__tstate
);
2152 if (PyErr_Occurred()) SWIG_fail
;
2154 Py_INCREF(Py_None
); resultobj
= Py_None
;
2156 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2157 resultobj
= t_output_helper(resultobj
,o
);
2160 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2161 resultobj
= t_output_helper(resultobj
,o
);
2169 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2174 argc
= PyObject_Length(args
);
2175 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2176 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2182 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2191 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2194 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2202 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2210 _v
= SWIG_CheckInt(argv
[1]);
2212 _v
= SWIG_CheckInt(argv
[2]);
2214 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2220 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2225 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2226 PyObject
*resultobj
;
2227 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2228 PyObject
* obj0
= 0 ;
2230 (char *) "self", NULL
2233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2238 (arg1
)->AdjustScrollbars();
2240 wxPyEndAllowThreads(__tstate
);
2241 if (PyErr_Occurred()) SWIG_fail
;
2243 Py_INCREF(Py_None
); resultobj
= Py_None
;
2250 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2251 PyObject
*resultobj
;
2252 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2253 wxScrollWinEvent
*arg2
= 0 ;
2255 PyObject
* obj0
= 0 ;
2256 PyObject
* obj1
= 0 ;
2258 (char *) "self",(char *) "event", NULL
2261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2264 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2265 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2268 PyErr_SetString(PyExc_TypeError
,"null reference");
2272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2273 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2275 wxPyEndAllowThreads(__tstate
);
2276 if (PyErr_Occurred()) SWIG_fail
;
2278 resultobj
= SWIG_FromInt((int)result
);
2285 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2286 PyObject
*resultobj
;
2287 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2288 wxWindow
*arg2
= (wxWindow
*) 0 ;
2289 PyObject
* obj0
= 0 ;
2290 PyObject
* obj1
= 0 ;
2292 (char *) "self",(char *) "target", NULL
2295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2298 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2302 (arg1
)->SetTargetWindow(arg2
);
2304 wxPyEndAllowThreads(__tstate
);
2305 if (PyErr_Occurred()) SWIG_fail
;
2307 Py_INCREF(Py_None
); resultobj
= Py_None
;
2314 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2315 PyObject
*resultobj
;
2316 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2318 PyObject
* obj0
= 0 ;
2320 (char *) "self", NULL
2323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2328 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2330 wxPyEndAllowThreads(__tstate
);
2331 if (PyErr_Occurred()) SWIG_fail
;
2334 resultobj
= wxPyMake_wxObject(result
);
2342 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2343 PyObject
*resultobj
;
2344 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2347 PyObject
* obj0
= 0 ;
2348 PyObject
* obj1
= 0 ;
2350 (char *) "self",(char *) "rect", NULL
2353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2358 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2362 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2364 wxPyEndAllowThreads(__tstate
);
2365 if (PyErr_Occurred()) SWIG_fail
;
2367 Py_INCREF(Py_None
); resultobj
= Py_None
;
2374 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2375 PyObject
*resultobj
;
2376 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2378 PyObject
* obj0
= 0 ;
2380 (char *) "self", NULL
2383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2388 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2390 wxPyEndAllowThreads(__tstate
);
2391 if (PyErr_Occurred()) SWIG_fail
;
2395 resultptr
= new wxRect((wxRect
&) result
);
2396 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
2404 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
2406 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2407 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2409 return Py_BuildValue((char *)"");
2411 static int _wrap_FrameNameStr_set(PyObject
*) {
2412 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2417 static PyObject
*_wrap_FrameNameStr_get() {
2422 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2424 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2431 static int _wrap_DialogNameStr_set(PyObject
*) {
2432 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2437 static PyObject
*_wrap_DialogNameStr_get() {
2442 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2444 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2451 static int _wrap_StatusLineNameStr_set(PyObject
*) {
2452 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2457 static PyObject
*_wrap_StatusLineNameStr_get() {
2462 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2464 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2471 static int _wrap_ToolBarNameStr_set(PyObject
*) {
2472 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2477 static PyObject
*_wrap_ToolBarNameStr_get() {
2482 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2484 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2491 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2492 PyObject
*resultobj
;
2493 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2494 bool arg2
= (bool) True
;
2495 PyObject
* obj0
= 0 ;
2496 PyObject
* obj1
= 0 ;
2498 (char *) "self",(char *) "maximize", NULL
2501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2505 arg2
= (bool) SWIG_AsBool(obj1
);
2506 if (PyErr_Occurred()) SWIG_fail
;
2509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2510 (arg1
)->Maximize(arg2
);
2512 wxPyEndAllowThreads(__tstate
);
2513 if (PyErr_Occurred()) SWIG_fail
;
2515 Py_INCREF(Py_None
); resultobj
= Py_None
;
2522 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2523 PyObject
*resultobj
;
2524 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2525 PyObject
* obj0
= 0 ;
2527 (char *) "self", NULL
2530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2537 wxPyEndAllowThreads(__tstate
);
2538 if (PyErr_Occurred()) SWIG_fail
;
2540 Py_INCREF(Py_None
); resultobj
= Py_None
;
2547 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2548 PyObject
*resultobj
;
2549 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2550 bool arg2
= (bool) True
;
2551 PyObject
* obj0
= 0 ;
2552 PyObject
* obj1
= 0 ;
2554 (char *) "self",(char *) "iconize", NULL
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2561 arg2
= (bool) SWIG_AsBool(obj1
);
2562 if (PyErr_Occurred()) SWIG_fail
;
2565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2566 (arg1
)->Iconize(arg2
);
2568 wxPyEndAllowThreads(__tstate
);
2569 if (PyErr_Occurred()) SWIG_fail
;
2571 Py_INCREF(Py_None
); resultobj
= Py_None
;
2578 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2579 PyObject
*resultobj
;
2580 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2582 PyObject
* obj0
= 0 ;
2584 (char *) "self", NULL
2587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2592 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2594 wxPyEndAllowThreads(__tstate
);
2595 if (PyErr_Occurred()) SWIG_fail
;
2597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2604 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2605 PyObject
*resultobj
;
2606 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2608 PyObject
* obj0
= 0 ;
2610 (char *) "self", NULL
2613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2618 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2620 wxPyEndAllowThreads(__tstate
);
2621 if (PyErr_Occurred()) SWIG_fail
;
2623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2630 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2631 PyObject
*resultobj
;
2632 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2634 PyObject
* obj0
= 0 ;
2636 (char *) "self", NULL
2639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2644 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2646 wxPyEndAllowThreads(__tstate
);
2647 if (PyErr_Occurred()) SWIG_fail
;
2651 resultptr
= new wxIcon((wxIcon
&) result
);
2652 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2660 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2661 PyObject
*resultobj
;
2662 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2664 PyObject
* obj0
= 0 ;
2665 PyObject
* obj1
= 0 ;
2667 (char *) "self",(char *) "icon", NULL
2670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2673 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2674 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2677 PyErr_SetString(PyExc_TypeError
,"null reference");
2681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2682 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2684 wxPyEndAllowThreads(__tstate
);
2685 if (PyErr_Occurred()) SWIG_fail
;
2687 Py_INCREF(Py_None
); resultobj
= Py_None
;
2694 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2695 PyObject
*resultobj
;
2696 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2697 wxIconBundle
*arg2
= 0 ;
2698 PyObject
* obj0
= 0 ;
2699 PyObject
* obj1
= 0 ;
2701 (char *) "self",(char *) "icons", NULL
2704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2708 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2711 PyErr_SetString(PyExc_TypeError
,"null reference");
2715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2716 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2718 wxPyEndAllowThreads(__tstate
);
2719 if (PyErr_Occurred()) SWIG_fail
;
2721 Py_INCREF(Py_None
); resultobj
= Py_None
;
2728 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2729 PyObject
*resultobj
;
2730 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2732 long arg3
= (long) wxFULLSCREEN_ALL
;
2734 PyObject
* obj0
= 0 ;
2735 PyObject
* obj1
= 0 ;
2736 PyObject
* obj2
= 0 ;
2738 (char *) "self",(char *) "show",(char *) "style", NULL
2741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2744 arg2
= (bool) SWIG_AsBool(obj1
);
2745 if (PyErr_Occurred()) SWIG_fail
;
2747 arg3
= (long) SWIG_AsLong(obj2
);
2748 if (PyErr_Occurred()) SWIG_fail
;
2751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2752 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2754 wxPyEndAllowThreads(__tstate
);
2755 if (PyErr_Occurred()) SWIG_fail
;
2757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2764 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2765 PyObject
*resultobj
;
2766 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2768 PyObject
* obj0
= 0 ;
2770 (char *) "self", NULL
2773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2778 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2780 wxPyEndAllowThreads(__tstate
);
2781 if (PyErr_Occurred()) SWIG_fail
;
2783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2790 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2791 PyObject
*resultobj
;
2792 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2793 wxString
*arg2
= 0 ;
2794 bool temp2
= False
;
2795 PyObject
* obj0
= 0 ;
2796 PyObject
* obj1
= 0 ;
2798 (char *) "self",(char *) "title", NULL
2801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2805 arg2
= wxString_in_helper(obj1
);
2806 if (arg2
== NULL
) SWIG_fail
;
2810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2811 (arg1
)->SetTitle((wxString
const &)*arg2
);
2813 wxPyEndAllowThreads(__tstate
);
2814 if (PyErr_Occurred()) SWIG_fail
;
2816 Py_INCREF(Py_None
); resultobj
= Py_None
;
2831 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2832 PyObject
*resultobj
;
2833 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2835 PyObject
* obj0
= 0 ;
2837 (char *) "self", NULL
2840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2845 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2847 wxPyEndAllowThreads(__tstate
);
2848 if (PyErr_Occurred()) SWIG_fail
;
2852 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2854 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2863 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2864 PyObject
*resultobj
;
2865 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2866 wxRegion
*arg2
= 0 ;
2868 PyObject
* obj0
= 0 ;
2869 PyObject
* obj1
= 0 ;
2871 (char *) "self",(char *) "region", NULL
2874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2877 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
2878 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2881 PyErr_SetString(PyExc_TypeError
,"null reference");
2885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2886 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2888 wxPyEndAllowThreads(__tstate
);
2889 if (PyErr_Occurred()) SWIG_fail
;
2891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2898 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
2900 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2901 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
2903 return Py_BuildValue((char *)"");
2905 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2906 PyObject
*resultobj
;
2907 wxWindow
*arg1
= (wxWindow
*) 0 ;
2909 wxString
*arg3
= 0 ;
2910 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2911 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2912 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2913 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2914 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
2915 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
2916 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2918 bool temp3
= False
;
2921 bool temp7
= False
;
2922 PyObject
* obj0
= 0 ;
2923 PyObject
* obj1
= 0 ;
2924 PyObject
* obj2
= 0 ;
2925 PyObject
* obj3
= 0 ;
2926 PyObject
* obj4
= 0 ;
2927 PyObject
* obj5
= 0 ;
2928 PyObject
* obj6
= 0 ;
2930 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2936 arg2
= (int const) SWIG_AsInt(obj1
);
2937 if (PyErr_Occurred()) SWIG_fail
;
2939 arg3
= wxString_in_helper(obj2
);
2940 if (arg3
== NULL
) SWIG_fail
;
2946 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2952 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2956 arg6
= (long) SWIG_AsLong(obj5
);
2957 if (PyErr_Occurred()) SWIG_fail
;
2961 arg7
= wxString_in_helper(obj6
);
2962 if (arg7
== NULL
) SWIG_fail
;
2967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2968 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2970 wxPyEndAllowThreads(__tstate
);
2971 if (PyErr_Occurred()) SWIG_fail
;
2974 resultobj
= wxPyMake_wxObject(result
);
2998 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2999 PyObject
*resultobj
;
3005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3008 result
= (wxFrame
*)new wxFrame();
3010 wxPyEndAllowThreads(__tstate
);
3011 if (PyErr_Occurred()) SWIG_fail
;
3014 resultobj
= wxPyMake_wxObject(result
);
3022 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3023 PyObject
*resultobj
;
3024 wxFrame
*arg1
= (wxFrame
*) 0 ;
3025 wxWindow
*arg2
= (wxWindow
*) 0 ;
3027 wxString
*arg4
= 0 ;
3028 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3029 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3030 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3031 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3032 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3033 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3034 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3036 bool temp4
= False
;
3039 bool temp8
= False
;
3040 PyObject
* obj0
= 0 ;
3041 PyObject
* obj1
= 0 ;
3042 PyObject
* obj2
= 0 ;
3043 PyObject
* obj3
= 0 ;
3044 PyObject
* obj4
= 0 ;
3045 PyObject
* obj5
= 0 ;
3046 PyObject
* obj6
= 0 ;
3047 PyObject
* obj7
= 0 ;
3049 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3055 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3057 arg3
= (int const) SWIG_AsInt(obj2
);
3058 if (PyErr_Occurred()) SWIG_fail
;
3060 arg4
= wxString_in_helper(obj3
);
3061 if (arg4
== NULL
) SWIG_fail
;
3067 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3073 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3077 arg7
= (long) SWIG_AsLong(obj6
);
3078 if (PyErr_Occurred()) SWIG_fail
;
3082 arg8
= wxString_in_helper(obj7
);
3083 if (arg8
== NULL
) SWIG_fail
;
3088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3089 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3091 wxPyEndAllowThreads(__tstate
);
3092 if (PyErr_Occurred()) SWIG_fail
;
3094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3117 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3118 PyObject
*resultobj
;
3119 wxFrame
*arg1
= (wxFrame
*) 0 ;
3121 PyObject
* obj0
= 0 ;
3123 (char *) "self", NULL
3126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3131 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3133 wxPyEndAllowThreads(__tstate
);
3134 if (PyErr_Occurred()) SWIG_fail
;
3137 wxPoint
* resultptr
;
3138 resultptr
= new wxPoint((wxPoint
&) result
);
3139 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3147 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3148 PyObject
*resultobj
;
3149 wxFrame
*arg1
= (wxFrame
*) 0 ;
3150 PyObject
* obj0
= 0 ;
3152 (char *) "self", NULL
3155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3160 (arg1
)->SendSizeEvent();
3162 wxPyEndAllowThreads(__tstate
);
3163 if (PyErr_Occurred()) SWIG_fail
;
3165 Py_INCREF(Py_None
); resultobj
= Py_None
;
3172 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3173 PyObject
*resultobj
;
3174 wxFrame
*arg1
= (wxFrame
*) 0 ;
3175 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3176 PyObject
* obj0
= 0 ;
3177 PyObject
* obj1
= 0 ;
3179 (char *) "self",(char *) "menubar", NULL
3182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3185 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3189 (arg1
)->SetMenuBar(arg2
);
3191 wxPyEndAllowThreads(__tstate
);
3192 if (PyErr_Occurred()) SWIG_fail
;
3194 Py_INCREF(Py_None
); resultobj
= Py_None
;
3201 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3202 PyObject
*resultobj
;
3203 wxFrame
*arg1
= (wxFrame
*) 0 ;
3205 PyObject
* obj0
= 0 ;
3207 (char *) "self", NULL
3210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3215 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3217 wxPyEndAllowThreads(__tstate
);
3218 if (PyErr_Occurred()) SWIG_fail
;
3221 resultobj
= wxPyMake_wxObject(result
);
3229 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3230 PyObject
*resultobj
;
3231 wxFrame
*arg1
= (wxFrame
*) 0 ;
3234 PyObject
* obj0
= 0 ;
3235 PyObject
* obj1
= 0 ;
3237 (char *) "self",(char *) "winid", NULL
3240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3243 arg2
= (int) SWIG_AsInt(obj1
);
3244 if (PyErr_Occurred()) SWIG_fail
;
3246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3247 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3249 wxPyEndAllowThreads(__tstate
);
3250 if (PyErr_Occurred()) SWIG_fail
;
3252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3259 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3260 PyObject
*resultobj
;
3261 wxFrame
*arg1
= (wxFrame
*) 0 ;
3262 int arg2
= (int) 1 ;
3263 long arg3
= (long) wxST_SIZEGRIP
;
3264 int arg4
= (int) 0 ;
3265 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3266 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3267 wxStatusBar
*result
;
3268 bool temp5
= False
;
3269 PyObject
* obj0
= 0 ;
3270 PyObject
* obj1
= 0 ;
3271 PyObject
* obj2
= 0 ;
3272 PyObject
* obj3
= 0 ;
3273 PyObject
* obj4
= 0 ;
3275 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3282 arg2
= (int) SWIG_AsInt(obj1
);
3283 if (PyErr_Occurred()) SWIG_fail
;
3286 arg3
= (long) SWIG_AsLong(obj2
);
3287 if (PyErr_Occurred()) SWIG_fail
;
3290 arg4
= (int) SWIG_AsInt(obj3
);
3291 if (PyErr_Occurred()) SWIG_fail
;
3295 arg5
= wxString_in_helper(obj4
);
3296 if (arg5
== NULL
) SWIG_fail
;
3301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3302 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3304 wxPyEndAllowThreads(__tstate
);
3305 if (PyErr_Occurred()) SWIG_fail
;
3308 resultobj
= wxPyMake_wxObject(result
);
3324 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3325 PyObject
*resultobj
;
3326 wxFrame
*arg1
= (wxFrame
*) 0 ;
3327 wxStatusBar
*result
;
3328 PyObject
* obj0
= 0 ;
3330 (char *) "self", NULL
3333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3338 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3340 wxPyEndAllowThreads(__tstate
);
3341 if (PyErr_Occurred()) SWIG_fail
;
3344 resultobj
= wxPyMake_wxObject(result
);
3352 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
*resultobj
;
3354 wxFrame
*arg1
= (wxFrame
*) 0 ;
3355 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3356 PyObject
* obj0
= 0 ;
3357 PyObject
* obj1
= 0 ;
3359 (char *) "self",(char *) "statBar", NULL
3362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3365 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3369 (arg1
)->SetStatusBar(arg2
);
3371 wxPyEndAllowThreads(__tstate
);
3372 if (PyErr_Occurred()) SWIG_fail
;
3374 Py_INCREF(Py_None
); resultobj
= Py_None
;
3381 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3382 PyObject
*resultobj
;
3383 wxFrame
*arg1
= (wxFrame
*) 0 ;
3384 wxString
*arg2
= 0 ;
3385 int arg3
= (int) 0 ;
3386 bool temp2
= False
;
3387 PyObject
* obj0
= 0 ;
3388 PyObject
* obj1
= 0 ;
3389 PyObject
* obj2
= 0 ;
3391 (char *) "self",(char *) "text",(char *) "number", NULL
3394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3398 arg2
= wxString_in_helper(obj1
);
3399 if (arg2
== NULL
) SWIG_fail
;
3403 arg3
= (int) SWIG_AsInt(obj2
);
3404 if (PyErr_Occurred()) SWIG_fail
;
3407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3408 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3410 wxPyEndAllowThreads(__tstate
);
3411 if (PyErr_Occurred()) SWIG_fail
;
3413 Py_INCREF(Py_None
); resultobj
= Py_None
;
3428 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
*resultobj
;
3430 wxFrame
*arg1
= (wxFrame
*) 0 ;
3432 int *arg3
= (int *) 0 ;
3433 PyObject
* obj0
= 0 ;
3434 PyObject
* obj1
= 0 ;
3436 (char *) "self",(char *) "widths", NULL
3439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3443 arg2
= PyList_Size(obj1
);
3444 arg3
= int_LIST_helper(obj1
);
3445 if (arg3
== NULL
) SWIG_fail
;
3448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3449 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3451 wxPyEndAllowThreads(__tstate
);
3452 if (PyErr_Occurred()) SWIG_fail
;
3454 Py_INCREF(Py_None
); resultobj
= Py_None
;
3456 if (arg3
) delete [] arg3
;
3461 if (arg3
) delete [] arg3
;
3467 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3468 PyObject
*resultobj
;
3469 wxFrame
*arg1
= (wxFrame
*) 0 ;
3470 wxString
*arg2
= 0 ;
3471 int arg3
= (int) 0 ;
3472 bool temp2
= False
;
3473 PyObject
* obj0
= 0 ;
3474 PyObject
* obj1
= 0 ;
3475 PyObject
* obj2
= 0 ;
3477 (char *) "self",(char *) "text",(char *) "number", NULL
3480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3484 arg2
= wxString_in_helper(obj1
);
3485 if (arg2
== NULL
) SWIG_fail
;
3489 arg3
= (int) SWIG_AsInt(obj2
);
3490 if (PyErr_Occurred()) SWIG_fail
;
3493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3494 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3496 wxPyEndAllowThreads(__tstate
);
3497 if (PyErr_Occurred()) SWIG_fail
;
3499 Py_INCREF(Py_None
); resultobj
= Py_None
;
3514 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3515 PyObject
*resultobj
;
3516 wxFrame
*arg1
= (wxFrame
*) 0 ;
3517 int arg2
= (int) 0 ;
3518 PyObject
* obj0
= 0 ;
3519 PyObject
* obj1
= 0 ;
3521 (char *) "self",(char *) "number", NULL
3524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3528 arg2
= (int) SWIG_AsInt(obj1
);
3529 if (PyErr_Occurred()) SWIG_fail
;
3532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3533 (arg1
)->PopStatusText(arg2
);
3535 wxPyEndAllowThreads(__tstate
);
3536 if (PyErr_Occurred()) SWIG_fail
;
3538 Py_INCREF(Py_None
); resultobj
= Py_None
;
3545 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3546 PyObject
*resultobj
;
3547 wxFrame
*arg1
= (wxFrame
*) 0 ;
3549 PyObject
* obj0
= 0 ;
3550 PyObject
* obj1
= 0 ;
3552 (char *) "self",(char *) "n", NULL
3555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3558 arg2
= (int) SWIG_AsInt(obj1
);
3559 if (PyErr_Occurred()) SWIG_fail
;
3561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3562 (arg1
)->SetStatusBarPane(arg2
);
3564 wxPyEndAllowThreads(__tstate
);
3565 if (PyErr_Occurred()) SWIG_fail
;
3567 Py_INCREF(Py_None
); resultobj
= Py_None
;
3574 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3575 PyObject
*resultobj
;
3576 wxFrame
*arg1
= (wxFrame
*) 0 ;
3578 PyObject
* obj0
= 0 ;
3580 (char *) "self", NULL
3583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3588 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3590 wxPyEndAllowThreads(__tstate
);
3591 if (PyErr_Occurred()) SWIG_fail
;
3593 resultobj
= SWIG_FromInt((int)result
);
3600 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3601 PyObject
*resultobj
;
3602 wxFrame
*arg1
= (wxFrame
*) 0 ;
3603 long arg2
= (long) -1 ;
3604 int arg3
= (int) -1 ;
3605 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3606 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3608 bool temp4
= False
;
3609 PyObject
* obj0
= 0 ;
3610 PyObject
* obj1
= 0 ;
3611 PyObject
* obj2
= 0 ;
3612 PyObject
* obj3
= 0 ;
3614 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3621 arg2
= (long) SWIG_AsLong(obj1
);
3622 if (PyErr_Occurred()) SWIG_fail
;
3625 arg3
= (int) SWIG_AsInt(obj2
);
3626 if (PyErr_Occurred()) SWIG_fail
;
3630 arg4
= wxString_in_helper(obj3
);
3631 if (arg4
== NULL
) SWIG_fail
;
3636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3637 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3639 wxPyEndAllowThreads(__tstate
);
3640 if (PyErr_Occurred()) SWIG_fail
;
3643 resultobj
= wxPyMake_wxObject(result
);
3659 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3660 PyObject
*resultobj
;
3661 wxFrame
*arg1
= (wxFrame
*) 0 ;
3663 PyObject
* obj0
= 0 ;
3665 (char *) "self", NULL
3668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3673 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3675 wxPyEndAllowThreads(__tstate
);
3676 if (PyErr_Occurred()) SWIG_fail
;
3679 resultobj
= wxPyMake_wxObject(result
);
3687 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3688 PyObject
*resultobj
;
3689 wxFrame
*arg1
= (wxFrame
*) 0 ;
3690 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3691 PyObject
* obj0
= 0 ;
3692 PyObject
* obj1
= 0 ;
3694 (char *) "self",(char *) "toolbar", NULL
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3700 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
3701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3704 (arg1
)->SetToolBar(arg2
);
3706 wxPyEndAllowThreads(__tstate
);
3707 if (PyErr_Occurred()) SWIG_fail
;
3709 Py_INCREF(Py_None
); resultobj
= Py_None
;
3716 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3717 PyObject
*resultobj
;
3718 wxFrame
*arg1
= (wxFrame
*) 0 ;
3719 wxString
*arg2
= 0 ;
3721 bool temp2
= False
;
3722 PyObject
* obj0
= 0 ;
3723 PyObject
* obj1
= 0 ;
3724 PyObject
* obj2
= 0 ;
3726 (char *) "self",(char *) "text",(char *) "show", NULL
3729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3733 arg2
= wxString_in_helper(obj1
);
3734 if (arg2
== NULL
) SWIG_fail
;
3737 arg3
= (bool) SWIG_AsBool(obj2
);
3738 if (PyErr_Occurred()) SWIG_fail
;
3740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3741 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3743 wxPyEndAllowThreads(__tstate
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3746 Py_INCREF(Py_None
); resultobj
= Py_None
;
3761 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3762 PyObject
*resultobj
;
3763 wxFrame
*arg1
= (wxFrame
*) 0 ;
3764 wxMenu
*arg2
= (wxMenu
*) NULL
;
3765 PyObject
* obj0
= 0 ;
3766 PyObject
* obj1
= 0 ;
3768 (char *) "self",(char *) "menu", NULL
3771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3775 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
3776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3780 (arg1
)->DoMenuUpdates(arg2
);
3782 wxPyEndAllowThreads(__tstate
);
3783 if (PyErr_Occurred()) SWIG_fail
;
3785 Py_INCREF(Py_None
); resultobj
= Py_None
;
3792 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
3794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3795 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3797 return Py_BuildValue((char *)"");
3799 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3800 PyObject
*resultobj
;
3801 wxWindow
*arg1
= (wxWindow
*) 0 ;
3803 wxString
*arg3
= 0 ;
3804 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3805 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3806 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3807 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3808 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3809 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3810 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3812 bool temp3
= False
;
3815 bool temp7
= False
;
3816 PyObject
* obj0
= 0 ;
3817 PyObject
* obj1
= 0 ;
3818 PyObject
* obj2
= 0 ;
3819 PyObject
* obj3
= 0 ;
3820 PyObject
* obj4
= 0 ;
3821 PyObject
* obj5
= 0 ;
3822 PyObject
* obj6
= 0 ;
3824 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3830 arg2
= (int const) SWIG_AsInt(obj1
);
3831 if (PyErr_Occurred()) SWIG_fail
;
3833 arg3
= wxString_in_helper(obj2
);
3834 if (arg3
== NULL
) SWIG_fail
;
3840 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3846 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3850 arg6
= (long) SWIG_AsLong(obj5
);
3851 if (PyErr_Occurred()) SWIG_fail
;
3855 arg7
= wxString_in_helper(obj6
);
3856 if (arg7
== NULL
) SWIG_fail
;
3861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3862 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3864 wxPyEndAllowThreads(__tstate
);
3865 if (PyErr_Occurred()) SWIG_fail
;
3867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
3890 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3891 PyObject
*resultobj
;
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
3899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3900 result
= (wxDialog
*)new wxDialog();
3902 wxPyEndAllowThreads(__tstate
);
3903 if (PyErr_Occurred()) SWIG_fail
;
3905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
3912 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3913 PyObject
*resultobj
;
3914 wxDialog
*arg1
= (wxDialog
*) 0 ;
3915 wxWindow
*arg2
= (wxWindow
*) 0 ;
3917 wxString
*arg4
= 0 ;
3918 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3919 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3920 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3921 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3922 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
3923 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
3924 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3926 bool temp4
= False
;
3929 bool temp8
= False
;
3930 PyObject
* obj0
= 0 ;
3931 PyObject
* obj1
= 0 ;
3932 PyObject
* obj2
= 0 ;
3933 PyObject
* obj3
= 0 ;
3934 PyObject
* obj4
= 0 ;
3935 PyObject
* obj5
= 0 ;
3936 PyObject
* obj6
= 0 ;
3937 PyObject
* obj7
= 0 ;
3939 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
3944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3945 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3947 arg3
= (int const) SWIG_AsInt(obj2
);
3948 if (PyErr_Occurred()) SWIG_fail
;
3950 arg4
= wxString_in_helper(obj3
);
3951 if (arg4
== NULL
) SWIG_fail
;
3957 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3963 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3967 arg7
= (long) SWIG_AsLong(obj6
);
3968 if (PyErr_Occurred()) SWIG_fail
;
3972 arg8
= wxString_in_helper(obj7
);
3973 if (arg8
== NULL
) SWIG_fail
;
3978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3979 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3981 wxPyEndAllowThreads(__tstate
);
3982 if (PyErr_Occurred()) SWIG_fail
;
3984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4007 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4008 PyObject
*resultobj
;
4009 wxDialog
*arg1
= (wxDialog
*) 0 ;
4011 PyObject
* obj0
= 0 ;
4012 PyObject
* obj1
= 0 ;
4014 (char *) "self",(char *) "returnCode", NULL
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4020 arg2
= (int) SWIG_AsInt(obj1
);
4021 if (PyErr_Occurred()) SWIG_fail
;
4023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4024 (arg1
)->SetReturnCode(arg2
);
4026 wxPyEndAllowThreads(__tstate
);
4027 if (PyErr_Occurred()) SWIG_fail
;
4029 Py_INCREF(Py_None
); resultobj
= Py_None
;
4036 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4037 PyObject
*resultobj
;
4038 wxDialog
*arg1
= (wxDialog
*) 0 ;
4040 PyObject
* obj0
= 0 ;
4042 (char *) "self", NULL
4045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4050 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4052 wxPyEndAllowThreads(__tstate
);
4053 if (PyErr_Occurred()) SWIG_fail
;
4055 resultobj
= SWIG_FromInt((int)result
);
4062 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
*resultobj
;
4064 wxDialog
*arg1
= (wxDialog
*) 0 ;
4065 wxString
*arg2
= 0 ;
4067 bool temp2
= False
;
4068 PyObject
* obj0
= 0 ;
4069 PyObject
* obj1
= 0 ;
4071 (char *) "self",(char *) "message", NULL
4074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4078 arg2
= wxString_in_helper(obj1
);
4079 if (arg2
== NULL
) SWIG_fail
;
4083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4084 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4086 wxPyEndAllowThreads(__tstate
);
4087 if (PyErr_Occurred()) SWIG_fail
;
4090 resultobj
= wxPyMake_wxSizer(result
);
4106 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4107 PyObject
*resultobj
;
4108 wxDialog
*arg1
= (wxDialog
*) 0 ;
4111 PyObject
* obj0
= 0 ;
4112 PyObject
* obj1
= 0 ;
4114 (char *) "self",(char *) "flags", NULL
4117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4120 arg2
= (long) SWIG_AsLong(obj1
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4124 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4130 resultobj
= wxPyMake_wxSizer(result
);
4138 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4139 PyObject
*resultobj
;
4140 wxDialog
*arg1
= (wxDialog
*) 0 ;
4142 PyObject
* obj0
= 0 ;
4144 (char *) "self", NULL
4147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4152 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4154 wxPyEndAllowThreads(__tstate
);
4155 if (PyErr_Occurred()) SWIG_fail
;
4157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4164 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4165 PyObject
*resultobj
;
4166 wxDialog
*arg1
= (wxDialog
*) 0 ;
4168 PyObject
* obj0
= 0 ;
4170 (char *) "self", NULL
4173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4178 result
= (int)(arg1
)->ShowModal();
4180 wxPyEndAllowThreads(__tstate
);
4181 if (PyErr_Occurred()) SWIG_fail
;
4183 resultobj
= SWIG_FromInt((int)result
);
4190 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4191 PyObject
*resultobj
;
4192 wxDialog
*arg1
= (wxDialog
*) 0 ;
4194 PyObject
* obj0
= 0 ;
4195 PyObject
* obj1
= 0 ;
4197 (char *) "self",(char *) "retCode", NULL
4200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4203 arg2
= (int) SWIG_AsInt(obj1
);
4204 if (PyErr_Occurred()) SWIG_fail
;
4206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4207 (arg1
)->EndModal(arg2
);
4209 wxPyEndAllowThreads(__tstate
);
4210 if (PyErr_Occurred()) SWIG_fail
;
4212 Py_INCREF(Py_None
); resultobj
= Py_None
;
4219 static PyObject
*_wrap_Dialog_IsModalShowing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4220 PyObject
*resultobj
;
4221 wxDialog
*arg1
= (wxDialog
*) 0 ;
4223 PyObject
* obj0
= 0 ;
4225 (char *) "self", NULL
4228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModalShowing",kwnames
,&obj0
)) goto fail
;
4229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4233 result
= (bool)wxDialog_IsModalShowing(arg1
);
4235 wxPyEndAllowThreads(__tstate
);
4236 if (PyErr_Occurred()) SWIG_fail
;
4238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4245 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
4247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4248 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4250 return Py_BuildValue((char *)"");
4252 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4253 PyObject
*resultobj
;
4254 wxWindow
*arg1
= (wxWindow
*) 0 ;
4256 wxString
*arg3
= 0 ;
4257 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4258 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4259 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4260 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4261 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4262 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4263 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4264 wxMiniFrame
*result
;
4265 bool temp3
= False
;
4268 bool temp7
= False
;
4269 PyObject
* obj0
= 0 ;
4270 PyObject
* obj1
= 0 ;
4271 PyObject
* obj2
= 0 ;
4272 PyObject
* obj3
= 0 ;
4273 PyObject
* obj4
= 0 ;
4274 PyObject
* obj5
= 0 ;
4275 PyObject
* obj6
= 0 ;
4277 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4283 arg2
= (int const) SWIG_AsInt(obj1
);
4284 if (PyErr_Occurred()) SWIG_fail
;
4286 arg3
= wxString_in_helper(obj2
);
4287 if (arg3
== NULL
) SWIG_fail
;
4293 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4299 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4303 arg6
= (long) SWIG_AsLong(obj5
);
4304 if (PyErr_Occurred()) SWIG_fail
;
4308 arg7
= wxString_in_helper(obj6
);
4309 if (arg7
== NULL
) SWIG_fail
;
4314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4315 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4317 wxPyEndAllowThreads(__tstate
);
4318 if (PyErr_Occurred()) SWIG_fail
;
4320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4343 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4344 PyObject
*resultobj
;
4345 wxMiniFrame
*result
;
4350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4353 result
= (wxMiniFrame
*)new wxMiniFrame();
4355 wxPyEndAllowThreads(__tstate
);
4356 if (PyErr_Occurred()) SWIG_fail
;
4358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4365 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4366 PyObject
*resultobj
;
4367 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4368 wxWindow
*arg2
= (wxWindow
*) 0 ;
4370 wxString
*arg4
= 0 ;
4371 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4372 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4373 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4374 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4375 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4376 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4377 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4379 bool temp4
= False
;
4382 bool temp8
= False
;
4383 PyObject
* obj0
= 0 ;
4384 PyObject
* obj1
= 0 ;
4385 PyObject
* obj2
= 0 ;
4386 PyObject
* obj3
= 0 ;
4387 PyObject
* obj4
= 0 ;
4388 PyObject
* obj5
= 0 ;
4389 PyObject
* obj6
= 0 ;
4390 PyObject
* obj7
= 0 ;
4392 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4398 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4400 arg3
= (int const) SWIG_AsInt(obj2
);
4401 if (PyErr_Occurred()) SWIG_fail
;
4403 arg4
= wxString_in_helper(obj3
);
4404 if (arg4
== NULL
) SWIG_fail
;
4410 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4416 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4420 arg7
= (long) SWIG_AsLong(obj6
);
4421 if (PyErr_Occurred()) SWIG_fail
;
4425 arg8
= wxString_in_helper(obj7
);
4426 if (arg8
== NULL
) SWIG_fail
;
4431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4432 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4434 wxPyEndAllowThreads(__tstate
);
4435 if (PyErr_Occurred()) SWIG_fail
;
4437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4460 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
4462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4463 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4465 return Py_BuildValue((char *)"");
4467 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4468 PyObject
*resultobj
;
4469 wxBitmap
*arg1
= 0 ;
4470 wxWindow
*arg2
= (wxWindow
*) 0 ;
4472 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4473 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4474 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4475 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4476 long arg6
= (long) wxNO_BORDER
;
4477 wxSplashScreenWindow
*result
;
4480 PyObject
* obj0
= 0 ;
4481 PyObject
* obj1
= 0 ;
4482 PyObject
* obj2
= 0 ;
4483 PyObject
* obj3
= 0 ;
4484 PyObject
* obj4
= 0 ;
4485 PyObject
* obj5
= 0 ;
4487 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4492 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4495 PyErr_SetString(PyExc_TypeError
,"null reference");
4498 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4500 arg3
= (int) SWIG_AsInt(obj2
);
4501 if (PyErr_Occurred()) SWIG_fail
;
4505 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4511 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4515 arg6
= (long) SWIG_AsLong(obj5
);
4516 if (PyErr_Occurred()) SWIG_fail
;
4519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4520 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4522 wxPyEndAllowThreads(__tstate
);
4523 if (PyErr_Occurred()) SWIG_fail
;
4525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4532 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4533 PyObject
*resultobj
;
4534 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4535 wxBitmap
*arg2
= 0 ;
4536 PyObject
* obj0
= 0 ;
4537 PyObject
* obj1
= 0 ;
4539 (char *) "self",(char *) "bitmap", NULL
4542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4545 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4546 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4549 PyErr_SetString(PyExc_TypeError
,"null reference");
4553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4554 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4556 wxPyEndAllowThreads(__tstate
);
4557 if (PyErr_Occurred()) SWIG_fail
;
4559 Py_INCREF(Py_None
); resultobj
= Py_None
;
4566 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4567 PyObject
*resultobj
;
4568 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4570 PyObject
* obj0
= 0 ;
4572 (char *) "self", NULL
4575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4581 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4582 result
= (wxBitmap
*) &_result_ref
;
4585 wxPyEndAllowThreads(__tstate
);
4586 if (PyErr_Occurred()) SWIG_fail
;
4589 wxBitmap
* resultptr
= new wxBitmap(*result
);
4590 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4598 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
4600 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4601 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4603 return Py_BuildValue((char *)"");
4605 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4606 PyObject
*resultobj
;
4607 wxBitmap
*arg1
= 0 ;
4610 wxWindow
*arg4
= (wxWindow
*) 0 ;
4612 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4613 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4614 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4615 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4616 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4617 wxSplashScreen
*result
;
4620 PyObject
* obj0
= 0 ;
4621 PyObject
* obj1
= 0 ;
4622 PyObject
* obj2
= 0 ;
4623 PyObject
* obj3
= 0 ;
4624 PyObject
* obj4
= 0 ;
4625 PyObject
* obj5
= 0 ;
4626 PyObject
* obj6
= 0 ;
4627 PyObject
* obj7
= 0 ;
4629 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4634 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4637 PyErr_SetString(PyExc_TypeError
,"null reference");
4640 arg2
= (long) SWIG_AsLong(obj1
);
4641 if (PyErr_Occurred()) SWIG_fail
;
4642 arg3
= (int) SWIG_AsInt(obj2
);
4643 if (PyErr_Occurred()) SWIG_fail
;
4644 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4646 arg5
= (int) SWIG_AsInt(obj4
);
4647 if (PyErr_Occurred()) SWIG_fail
;
4651 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4657 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4661 arg8
= (long) SWIG_AsLong(obj7
);
4662 if (PyErr_Occurred()) SWIG_fail
;
4665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4666 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4668 wxPyEndAllowThreads(__tstate
);
4669 if (PyErr_Occurred()) SWIG_fail
;
4671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
4678 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4679 PyObject
*resultobj
;
4680 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4682 PyObject
* obj0
= 0 ;
4684 (char *) "self", NULL
4687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4697 resultobj
= SWIG_FromLong((long)result
);
4704 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4705 PyObject
*resultobj
;
4706 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4707 wxSplashScreenWindow
*result
;
4708 PyObject
* obj0
= 0 ;
4710 (char *) "self", NULL
4713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4718 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4720 wxPyEndAllowThreads(__tstate
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
4730 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
*resultobj
;
4732 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4734 PyObject
* obj0
= 0 ;
4736 (char *) "self", NULL
4739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4744 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4746 wxPyEndAllowThreads(__tstate
);
4747 if (PyErr_Occurred()) SWIG_fail
;
4749 resultobj
= SWIG_FromInt((int)result
);
4756 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
4758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4759 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4761 return Py_BuildValue((char *)"");
4763 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4764 PyObject
*resultobj
;
4765 wxWindow
*arg1
= (wxWindow
*) 0 ;
4766 int arg2
= (int) -1 ;
4767 long arg3
= (long) wxST_SIZEGRIP
;
4768 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4769 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4770 wxStatusBar
*result
;
4771 bool temp4
= False
;
4772 PyObject
* obj0
= 0 ;
4773 PyObject
* obj1
= 0 ;
4774 PyObject
* obj2
= 0 ;
4775 PyObject
* obj3
= 0 ;
4777 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4784 arg2
= (int) SWIG_AsInt(obj1
);
4785 if (PyErr_Occurred()) SWIG_fail
;
4788 arg3
= (long) SWIG_AsLong(obj2
);
4789 if (PyErr_Occurred()) SWIG_fail
;
4793 arg4
= wxString_in_helper(obj3
);
4794 if (arg4
== NULL
) SWIG_fail
;
4799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4800 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4802 wxPyEndAllowThreads(__tstate
);
4803 if (PyErr_Occurred()) SWIG_fail
;
4806 resultobj
= wxPyMake_wxObject(result
);
4822 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4823 PyObject
*resultobj
;
4824 wxStatusBar
*result
;
4829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4832 result
= (wxStatusBar
*)new wxStatusBar();
4834 wxPyEndAllowThreads(__tstate
);
4835 if (PyErr_Occurred()) SWIG_fail
;
4838 resultobj
= wxPyMake_wxObject(result
);
4846 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4847 PyObject
*resultobj
;
4848 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4849 wxWindow
*arg2
= (wxWindow
*) 0 ;
4851 long arg4
= (long) wxST_SIZEGRIP
;
4852 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4853 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4855 bool temp5
= False
;
4856 PyObject
* obj0
= 0 ;
4857 PyObject
* obj1
= 0 ;
4858 PyObject
* obj2
= 0 ;
4859 PyObject
* obj3
= 0 ;
4860 PyObject
* obj4
= 0 ;
4862 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4868 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4870 arg3
= (int) SWIG_AsInt(obj2
);
4871 if (PyErr_Occurred()) SWIG_fail
;
4873 arg4
= (long) SWIG_AsLong(obj3
);
4874 if (PyErr_Occurred()) SWIG_fail
;
4878 arg5
= wxString_in_helper(obj4
);
4879 if (arg5
== NULL
) SWIG_fail
;
4884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4885 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4887 wxPyEndAllowThreads(__tstate
);
4888 if (PyErr_Occurred()) SWIG_fail
;
4890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4905 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4906 PyObject
*resultobj
;
4907 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4908 int arg2
= (int) 1 ;
4909 PyObject
* obj0
= 0 ;
4910 PyObject
* obj1
= 0 ;
4912 (char *) "self",(char *) "number", NULL
4915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
4916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4919 arg2
= (int) SWIG_AsInt(obj1
);
4920 if (PyErr_Occurred()) SWIG_fail
;
4923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4924 (arg1
)->SetFieldsCount(arg2
);
4926 wxPyEndAllowThreads(__tstate
);
4927 if (PyErr_Occurred()) SWIG_fail
;
4929 Py_INCREF(Py_None
); resultobj
= Py_None
;
4936 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4937 PyObject
*resultobj
;
4938 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4940 PyObject
* obj0
= 0 ;
4942 (char *) "self", NULL
4945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
4946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4950 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
4952 wxPyEndAllowThreads(__tstate
);
4953 if (PyErr_Occurred()) SWIG_fail
;
4955 resultobj
= SWIG_FromInt((int)result
);
4962 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4963 PyObject
*resultobj
;
4964 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4965 wxString
*arg2
= 0 ;
4966 int arg3
= (int) 0 ;
4967 bool temp2
= False
;
4968 PyObject
* obj0
= 0 ;
4969 PyObject
* obj1
= 0 ;
4970 PyObject
* obj2
= 0 ;
4972 (char *) "self",(char *) "text",(char *) "number", NULL
4975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4979 arg2
= wxString_in_helper(obj1
);
4980 if (arg2
== NULL
) SWIG_fail
;
4984 arg3
= (int) SWIG_AsInt(obj2
);
4985 if (PyErr_Occurred()) SWIG_fail
;
4988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4989 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
4991 wxPyEndAllowThreads(__tstate
);
4992 if (PyErr_Occurred()) SWIG_fail
;
4994 Py_INCREF(Py_None
); resultobj
= Py_None
;
5009 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5010 PyObject
*resultobj
;
5011 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5012 int arg2
= (int) 0 ;
5014 PyObject
* obj0
= 0 ;
5015 PyObject
* obj1
= 0 ;
5017 (char *) "self",(char *) "number", NULL
5020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5024 arg2
= (int) SWIG_AsInt(obj1
);
5025 if (PyErr_Occurred()) SWIG_fail
;
5028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5029 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5031 wxPyEndAllowThreads(__tstate
);
5032 if (PyErr_Occurred()) SWIG_fail
;
5036 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5038 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5047 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5048 PyObject
*resultobj
;
5049 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5050 wxString
*arg2
= 0 ;
5051 int arg3
= (int) 0 ;
5052 bool temp2
= False
;
5053 PyObject
* obj0
= 0 ;
5054 PyObject
* obj1
= 0 ;
5055 PyObject
* obj2
= 0 ;
5057 (char *) "self",(char *) "text",(char *) "number", NULL
5060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5064 arg2
= wxString_in_helper(obj1
);
5065 if (arg2
== NULL
) SWIG_fail
;
5069 arg3
= (int) SWIG_AsInt(obj2
);
5070 if (PyErr_Occurred()) SWIG_fail
;
5073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5074 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5076 wxPyEndAllowThreads(__tstate
);
5077 if (PyErr_Occurred()) SWIG_fail
;
5079 Py_INCREF(Py_None
); resultobj
= Py_None
;
5094 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5095 PyObject
*resultobj
;
5096 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5097 int arg2
= (int) 0 ;
5098 PyObject
* obj0
= 0 ;
5099 PyObject
* obj1
= 0 ;
5101 (char *) "self",(char *) "number", NULL
5104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5108 arg2
= (int) SWIG_AsInt(obj1
);
5109 if (PyErr_Occurred()) SWIG_fail
;
5112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5113 (arg1
)->PopStatusText(arg2
);
5115 wxPyEndAllowThreads(__tstate
);
5116 if (PyErr_Occurred()) SWIG_fail
;
5118 Py_INCREF(Py_None
); resultobj
= Py_None
;
5125 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
*resultobj
;
5127 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5129 int *arg3
= (int *) 0 ;
5130 PyObject
* obj0
= 0 ;
5131 PyObject
* obj1
= 0 ;
5133 (char *) "self",(char *) "widths", NULL
5136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5140 arg2
= PyList_Size(obj1
);
5141 arg3
= int_LIST_helper(obj1
);
5142 if (arg3
== NULL
) SWIG_fail
;
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) SWIG_fail
;
5151 Py_INCREF(Py_None
); resultobj
= Py_None
;
5153 if (arg3
) delete [] arg3
;
5158 if (arg3
) delete [] arg3
;
5164 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5165 PyObject
*resultobj
;
5166 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5169 PyObject
* obj0
= 0 ;
5170 PyObject
* obj1
= 0 ;
5172 (char *) "self",(char *) "i", NULL
5175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5178 arg2
= (int) SWIG_AsInt(obj1
);
5179 if (PyErr_Occurred()) SWIG_fail
;
5181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5182 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5184 wxPyEndAllowThreads(__tstate
);
5185 if (PyErr_Occurred()) SWIG_fail
;
5189 resultptr
= new wxRect((wxRect
&) result
);
5190 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5198 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5199 PyObject
*resultobj
;
5200 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5202 PyObject
* obj0
= 0 ;
5203 PyObject
* obj1
= 0 ;
5205 (char *) "self",(char *) "height", NULL
5208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5211 arg2
= (int) SWIG_AsInt(obj1
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5215 (arg1
)->SetMinHeight(arg2
);
5217 wxPyEndAllowThreads(__tstate
);
5218 if (PyErr_Occurred()) SWIG_fail
;
5220 Py_INCREF(Py_None
); resultobj
= Py_None
;
5227 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5228 PyObject
*resultobj
;
5229 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5231 PyObject
* obj0
= 0 ;
5233 (char *) "self", NULL
5236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5241 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5243 wxPyEndAllowThreads(__tstate
);
5244 if (PyErr_Occurred()) SWIG_fail
;
5246 resultobj
= SWIG_FromInt((int)result
);
5253 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5254 PyObject
*resultobj
;
5255 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5257 PyObject
* obj0
= 0 ;
5259 (char *) "self", NULL
5262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5267 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5269 wxPyEndAllowThreads(__tstate
);
5270 if (PyErr_Occurred()) SWIG_fail
;
5272 resultobj
= SWIG_FromInt((int)result
);
5279 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
5281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5282 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5284 return Py_BuildValue((char *)"");
5286 static int _wrap_SplitterNameStr_set(PyObject
*) {
5287 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5292 static PyObject
*_wrap_SplitterNameStr_get() {
5297 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5299 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5306 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5307 PyObject
*resultobj
;
5308 wxWindow
*arg1
= (wxWindow
*) 0 ;
5310 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5311 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5312 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5313 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5314 long arg5
= (long) wxSP_3D
;
5315 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5316 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5317 wxSplitterWindow
*result
;
5320 bool temp6
= False
;
5321 PyObject
* obj0
= 0 ;
5322 PyObject
* obj1
= 0 ;
5323 PyObject
* obj2
= 0 ;
5324 PyObject
* obj3
= 0 ;
5325 PyObject
* obj4
= 0 ;
5326 PyObject
* obj5
= 0 ;
5328 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5334 arg2
= (int) SWIG_AsInt(obj1
);
5335 if (PyErr_Occurred()) SWIG_fail
;
5339 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5345 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5349 arg5
= (long) SWIG_AsLong(obj4
);
5350 if (PyErr_Occurred()) SWIG_fail
;
5354 arg6
= wxString_in_helper(obj5
);
5355 if (arg6
== NULL
) SWIG_fail
;
5360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5361 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5363 wxPyEndAllowThreads(__tstate
);
5364 if (PyErr_Occurred()) SWIG_fail
;
5366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5381 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5382 PyObject
*resultobj
;
5383 wxSplitterWindow
*result
;
5388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5391 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5393 wxPyEndAllowThreads(__tstate
);
5394 if (PyErr_Occurred()) SWIG_fail
;
5396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5403 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5404 PyObject
*resultobj
;
5405 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5406 wxWindow
*arg2
= (wxWindow
*) 0 ;
5408 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5409 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5410 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5411 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5412 long arg6
= (long) wxSP_3D
;
5413 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5414 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5418 bool temp7
= False
;
5419 PyObject
* obj0
= 0 ;
5420 PyObject
* obj1
= 0 ;
5421 PyObject
* obj2
= 0 ;
5422 PyObject
* obj3
= 0 ;
5423 PyObject
* obj4
= 0 ;
5424 PyObject
* obj5
= 0 ;
5425 PyObject
* obj6
= 0 ;
5427 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5433 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5435 arg3
= (int) SWIG_AsInt(obj2
);
5436 if (PyErr_Occurred()) SWIG_fail
;
5440 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5446 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5450 arg6
= (long) SWIG_AsLong(obj5
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5455 arg7
= wxString_in_helper(obj6
);
5456 if (arg7
== NULL
) SWIG_fail
;
5461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5462 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5464 wxPyEndAllowThreads(__tstate
);
5465 if (PyErr_Occurred()) SWIG_fail
;
5467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5482 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5483 PyObject
*resultobj
;
5484 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5486 PyObject
* obj0
= 0 ;
5488 (char *) "self", NULL
5491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5496 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5498 wxPyEndAllowThreads(__tstate
);
5499 if (PyErr_Occurred()) SWIG_fail
;
5502 resultobj
= wxPyMake_wxObject(result
);
5510 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5511 PyObject
*resultobj
;
5512 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5514 PyObject
* obj0
= 0 ;
5516 (char *) "self", NULL
5519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5524 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5526 wxPyEndAllowThreads(__tstate
);
5527 if (PyErr_Occurred()) SWIG_fail
;
5530 resultobj
= wxPyMake_wxObject(result
);
5538 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
*resultobj
;
5540 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5542 PyObject
* obj0
= 0 ;
5543 PyObject
* obj1
= 0 ;
5545 (char *) "self",(char *) "mode", NULL
5548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5551 arg2
= (int) SWIG_AsInt(obj1
);
5552 if (PyErr_Occurred()) SWIG_fail
;
5554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5555 (arg1
)->SetSplitMode(arg2
);
5557 wxPyEndAllowThreads(__tstate
);
5558 if (PyErr_Occurred()) SWIG_fail
;
5560 Py_INCREF(Py_None
); resultobj
= Py_None
;
5567 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5568 PyObject
*resultobj
;
5569 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5571 PyObject
* obj0
= 0 ;
5573 (char *) "self", NULL
5576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5581 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5583 wxPyEndAllowThreads(__tstate
);
5584 if (PyErr_Occurred()) SWIG_fail
;
5586 resultobj
= SWIG_FromInt((int)result
);
5593 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5594 PyObject
*resultobj
;
5595 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5596 wxWindow
*arg2
= (wxWindow
*) 0 ;
5597 PyObject
* obj0
= 0 ;
5598 PyObject
* obj1
= 0 ;
5600 (char *) "self",(char *) "window", NULL
5603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5610 (arg1
)->Initialize(arg2
);
5612 wxPyEndAllowThreads(__tstate
);
5613 if (PyErr_Occurred()) SWIG_fail
;
5615 Py_INCREF(Py_None
); resultobj
= Py_None
;
5622 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5623 PyObject
*resultobj
;
5624 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5625 wxWindow
*arg2
= (wxWindow
*) 0 ;
5626 wxWindow
*arg3
= (wxWindow
*) 0 ;
5627 int arg4
= (int) 0 ;
5629 PyObject
* obj0
= 0 ;
5630 PyObject
* obj1
= 0 ;
5631 PyObject
* obj2
= 0 ;
5632 PyObject
* obj3
= 0 ;
5634 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5642 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5645 arg4
= (int) SWIG_AsInt(obj3
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5650 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5652 wxPyEndAllowThreads(__tstate
);
5653 if (PyErr_Occurred()) SWIG_fail
;
5655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5662 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5663 PyObject
*resultobj
;
5664 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5665 wxWindow
*arg2
= (wxWindow
*) 0 ;
5666 wxWindow
*arg3
= (wxWindow
*) 0 ;
5667 int arg4
= (int) 0 ;
5669 PyObject
* obj0
= 0 ;
5670 PyObject
* obj1
= 0 ;
5671 PyObject
* obj2
= 0 ;
5672 PyObject
* obj3
= 0 ;
5674 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5680 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5682 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5685 arg4
= (int) SWIG_AsInt(obj3
);
5686 if (PyErr_Occurred()) SWIG_fail
;
5689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5690 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5692 wxPyEndAllowThreads(__tstate
);
5693 if (PyErr_Occurred()) SWIG_fail
;
5695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5702 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5703 PyObject
*resultobj
;
5704 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5705 wxWindow
*arg2
= (wxWindow
*) NULL
;
5707 PyObject
* obj0
= 0 ;
5708 PyObject
* obj1
= 0 ;
5710 (char *) "self",(char *) "toRemove", NULL
5713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5717 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5722 result
= (bool)(arg1
)->Unsplit(arg2
);
5724 wxPyEndAllowThreads(__tstate
);
5725 if (PyErr_Occurred()) SWIG_fail
;
5727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5734 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5735 PyObject
*resultobj
;
5736 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5737 wxWindow
*arg2
= (wxWindow
*) 0 ;
5738 wxWindow
*arg3
= (wxWindow
*) 0 ;
5740 PyObject
* obj0
= 0 ;
5741 PyObject
* obj1
= 0 ;
5742 PyObject
* obj2
= 0 ;
5744 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5750 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5752 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5756 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5758 wxPyEndAllowThreads(__tstate
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5768 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5769 PyObject
*resultobj
;
5770 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5772 PyObject
* obj0
= 0 ;
5774 (char *) "self", NULL
5777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5782 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5784 wxPyEndAllowThreads(__tstate
);
5785 if (PyErr_Occurred()) SWIG_fail
;
5787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5794 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5795 PyObject
*resultobj
;
5796 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5798 PyObject
* obj0
= 0 ;
5799 PyObject
* obj1
= 0 ;
5801 (char *) "self",(char *) "width", NULL
5804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5807 arg2
= (int) SWIG_AsInt(obj1
);
5808 if (PyErr_Occurred()) SWIG_fail
;
5810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5811 (arg1
)->SetSashSize(arg2
);
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5816 Py_INCREF(Py_None
); resultobj
= Py_None
;
5823 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5824 PyObject
*resultobj
;
5825 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5827 PyObject
* obj0
= 0 ;
5828 PyObject
* obj1
= 0 ;
5830 (char *) "self",(char *) "width", NULL
5833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5836 arg2
= (int) SWIG_AsInt(obj1
);
5837 if (PyErr_Occurred()) SWIG_fail
;
5839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5840 (arg1
)->SetBorderSize(arg2
);
5842 wxPyEndAllowThreads(__tstate
);
5843 if (PyErr_Occurred()) SWIG_fail
;
5845 Py_INCREF(Py_None
); resultobj
= Py_None
;
5852 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5853 PyObject
*resultobj
;
5854 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5856 PyObject
* obj0
= 0 ;
5858 (char *) "self", NULL
5861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
5862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5866 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
5868 wxPyEndAllowThreads(__tstate
);
5869 if (PyErr_Occurred()) SWIG_fail
;
5871 resultobj
= SWIG_FromInt((int)result
);
5878 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5879 PyObject
*resultobj
;
5880 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5882 PyObject
* obj0
= 0 ;
5884 (char *) "self", NULL
5887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
5888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5892 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
5894 wxPyEndAllowThreads(__tstate
);
5895 if (PyErr_Occurred()) SWIG_fail
;
5897 resultobj
= SWIG_FromInt((int)result
);
5904 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5905 PyObject
*resultobj
;
5906 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5908 bool arg3
= (bool) True
;
5909 PyObject
* obj0
= 0 ;
5910 PyObject
* obj1
= 0 ;
5911 PyObject
* obj2
= 0 ;
5913 (char *) "self",(char *) "position",(char *) "redraw", NULL
5916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5919 arg2
= (int) SWIG_AsInt(obj1
);
5920 if (PyErr_Occurred()) SWIG_fail
;
5922 arg3
= (bool) SWIG_AsBool(obj2
);
5923 if (PyErr_Occurred()) SWIG_fail
;
5926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5927 (arg1
)->SetSashPosition(arg2
,arg3
);
5929 wxPyEndAllowThreads(__tstate
);
5930 if (PyErr_Occurred()) SWIG_fail
;
5932 Py_INCREF(Py_None
); resultobj
= Py_None
;
5939 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5940 PyObject
*resultobj
;
5941 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5943 PyObject
* obj0
= 0 ;
5945 (char *) "self", NULL
5948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5953 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
5955 wxPyEndAllowThreads(__tstate
);
5956 if (PyErr_Occurred()) SWIG_fail
;
5958 resultobj
= SWIG_FromInt((int)result
);
5965 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5966 PyObject
*resultobj
;
5967 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5969 PyObject
* obj0
= 0 ;
5970 PyObject
* obj1
= 0 ;
5972 (char *) "self",(char *) "min", NULL
5975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5978 arg2
= (int) SWIG_AsInt(obj1
);
5979 if (PyErr_Occurred()) SWIG_fail
;
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5982 (arg1
)->SetMinimumPaneSize(arg2
);
5984 wxPyEndAllowThreads(__tstate
);
5985 if (PyErr_Occurred()) SWIG_fail
;
5987 Py_INCREF(Py_None
); resultobj
= Py_None
;
5994 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5995 PyObject
*resultobj
;
5996 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5998 PyObject
* obj0
= 0 ;
6000 (char *) "self", NULL
6003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6010 wxPyEndAllowThreads(__tstate
);
6011 if (PyErr_Occurred()) SWIG_fail
;
6013 resultobj
= SWIG_FromInt((int)result
);
6020 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6021 PyObject
*resultobj
;
6022 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6025 int arg4
= (int) 5 ;
6027 PyObject
* obj0
= 0 ;
6028 PyObject
* obj1
= 0 ;
6029 PyObject
* obj2
= 0 ;
6030 PyObject
* obj3
= 0 ;
6032 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6038 arg2
= (int) SWIG_AsInt(obj1
);
6039 if (PyErr_Occurred()) SWIG_fail
;
6040 arg3
= (int) SWIG_AsInt(obj2
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6043 arg4
= (int) SWIG_AsInt(obj3
);
6044 if (PyErr_Occurred()) SWIG_fail
;
6047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6048 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6050 wxPyEndAllowThreads(__tstate
);
6051 if (PyErr_Occurred()) SWIG_fail
;
6053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6060 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6061 PyObject
*resultobj
;
6062 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6063 PyObject
* obj0
= 0 ;
6065 (char *) "self", NULL
6068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6073 (arg1
)->SizeWindows();
6075 wxPyEndAllowThreads(__tstate
);
6076 if (PyErr_Occurred()) SWIG_fail
;
6078 Py_INCREF(Py_None
); resultobj
= Py_None
;
6085 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6086 PyObject
*resultobj
;
6087 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6089 PyObject
* obj0
= 0 ;
6090 PyObject
* obj1
= 0 ;
6092 (char *) "self",(char *) "needUpdating", NULL
6095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6098 arg2
= (bool) SWIG_AsBool(obj1
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6102 (arg1
)->SetNeedUpdating(arg2
);
6104 wxPyEndAllowThreads(__tstate
);
6105 if (PyErr_Occurred()) SWIG_fail
;
6107 Py_INCREF(Py_None
); resultobj
= Py_None
;
6114 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6115 PyObject
*resultobj
;
6116 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6118 PyObject
* obj0
= 0 ;
6120 (char *) "self", NULL
6123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6128 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6130 wxPyEndAllowThreads(__tstate
);
6131 if (PyErr_Occurred()) SWIG_fail
;
6133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6140 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
6142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6143 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6145 return Py_BuildValue((char *)"");
6147 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6148 PyObject
*resultobj
;
6149 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6150 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6151 wxSplitterEvent
*result
;
6152 PyObject
* obj0
= 0 ;
6153 PyObject
* obj1
= 0 ;
6155 (char *) "type",(char *) "splitter", NULL
6158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6160 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6161 if (PyErr_Occurred()) SWIG_fail
;
6164 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6169 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6171 wxPyEndAllowThreads(__tstate
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6181 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
*resultobj
;
6183 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6185 PyObject
* obj0
= 0 ;
6186 PyObject
* obj1
= 0 ;
6188 (char *) "self",(char *) "pos", NULL
6191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6194 arg2
= (int) SWIG_AsInt(obj1
);
6195 if (PyErr_Occurred()) SWIG_fail
;
6197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6198 (arg1
)->SetSashPosition(arg2
);
6200 wxPyEndAllowThreads(__tstate
);
6201 if (PyErr_Occurred()) SWIG_fail
;
6203 Py_INCREF(Py_None
); resultobj
= Py_None
;
6210 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6211 PyObject
*resultobj
;
6212 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6214 PyObject
* obj0
= 0 ;
6216 (char *) "self", NULL
6219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6224 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6226 wxPyEndAllowThreads(__tstate
);
6227 if (PyErr_Occurred()) SWIG_fail
;
6229 resultobj
= SWIG_FromInt((int)result
);
6236 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6237 PyObject
*resultobj
;
6238 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6240 PyObject
* obj0
= 0 ;
6242 (char *) "self", NULL
6245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6250 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6252 wxPyEndAllowThreads(__tstate
);
6253 if (PyErr_Occurred()) SWIG_fail
;
6256 resultobj
= wxPyMake_wxObject(result
);
6264 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6265 PyObject
*resultobj
;
6266 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6268 PyObject
* obj0
= 0 ;
6270 (char *) "self", NULL
6273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6278 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6280 wxPyEndAllowThreads(__tstate
);
6281 if (PyErr_Occurred()) SWIG_fail
;
6283 resultobj
= SWIG_FromInt((int)result
);
6290 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6291 PyObject
*resultobj
;
6292 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6294 PyObject
* obj0
= 0 ;
6296 (char *) "self", NULL
6299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6304 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6306 wxPyEndAllowThreads(__tstate
);
6307 if (PyErr_Occurred()) SWIG_fail
;
6309 resultobj
= SWIG_FromInt((int)result
);
6316 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
6318 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6319 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6321 return Py_BuildValue((char *)"");
6323 static int _wrap_SashNameStr_set(PyObject
*) {
6324 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6329 static PyObject
*_wrap_SashNameStr_get() {
6334 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6336 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6343 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
6344 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6349 static PyObject
*_wrap_SashLayoutNameStr_get() {
6354 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6356 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6363 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
*resultobj
;
6365 wxWindow
*arg1
= (wxWindow
*) 0 ;
6367 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6368 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6369 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6370 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6371 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6372 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6373 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6374 wxSashWindow
*result
;
6377 bool temp6
= False
;
6378 PyObject
* obj0
= 0 ;
6379 PyObject
* obj1
= 0 ;
6380 PyObject
* obj2
= 0 ;
6381 PyObject
* obj3
= 0 ;
6382 PyObject
* obj4
= 0 ;
6383 PyObject
* obj5
= 0 ;
6385 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6391 arg2
= (int) SWIG_AsInt(obj1
);
6392 if (PyErr_Occurred()) SWIG_fail
;
6396 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6402 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6406 arg5
= (long) SWIG_AsLong(obj4
);
6407 if (PyErr_Occurred()) SWIG_fail
;
6411 arg6
= wxString_in_helper(obj5
);
6412 if (arg6
== NULL
) SWIG_fail
;
6417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6418 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6420 wxPyEndAllowThreads(__tstate
);
6421 if (PyErr_Occurred()) SWIG_fail
;
6423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6438 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
*resultobj
;
6440 wxSashWindow
*result
;
6445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6448 result
= (wxSashWindow
*)new wxSashWindow();
6450 wxPyEndAllowThreads(__tstate
);
6451 if (PyErr_Occurred()) SWIG_fail
;
6453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6460 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6461 PyObject
*resultobj
;
6462 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6463 wxWindow
*arg2
= (wxWindow
*) 0 ;
6465 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6466 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6467 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6468 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6469 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6470 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6471 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6475 bool temp7
= False
;
6476 PyObject
* obj0
= 0 ;
6477 PyObject
* obj1
= 0 ;
6478 PyObject
* obj2
= 0 ;
6479 PyObject
* obj3
= 0 ;
6480 PyObject
* obj4
= 0 ;
6481 PyObject
* obj5
= 0 ;
6482 PyObject
* obj6
= 0 ;
6484 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6492 arg3
= (int) SWIG_AsInt(obj2
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6497 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6503 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6507 arg6
= (long) SWIG_AsLong(obj5
);
6508 if (PyErr_Occurred()) SWIG_fail
;
6512 arg7
= wxString_in_helper(obj6
);
6513 if (arg7
== NULL
) SWIG_fail
;
6518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6519 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6521 wxPyEndAllowThreads(__tstate
);
6522 if (PyErr_Occurred()) SWIG_fail
;
6524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6539 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6540 PyObject
*resultobj
;
6541 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6544 PyObject
* obj0
= 0 ;
6545 PyObject
* obj1
= 0 ;
6546 PyObject
* obj2
= 0 ;
6548 (char *) "self",(char *) "edge",(char *) "sash", NULL
6551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6554 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6555 if (PyErr_Occurred()) SWIG_fail
;
6556 arg3
= (bool) SWIG_AsBool(obj2
);
6557 if (PyErr_Occurred()) SWIG_fail
;
6559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6560 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6562 wxPyEndAllowThreads(__tstate
);
6563 if (PyErr_Occurred()) SWIG_fail
;
6565 Py_INCREF(Py_None
); resultobj
= Py_None
;
6572 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6573 PyObject
*resultobj
;
6574 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6577 PyObject
* obj0
= 0 ;
6578 PyObject
* obj1
= 0 ;
6580 (char *) "self",(char *) "edge", NULL
6583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6586 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6587 if (PyErr_Occurred()) SWIG_fail
;
6589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6590 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6592 wxPyEndAllowThreads(__tstate
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6602 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6603 PyObject
*resultobj
;
6604 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6607 PyObject
* obj0
= 0 ;
6608 PyObject
* obj1
= 0 ;
6609 PyObject
* obj2
= 0 ;
6611 (char *) "self",(char *) "edge",(char *) "border", NULL
6614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6617 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6618 if (PyErr_Occurred()) SWIG_fail
;
6619 arg3
= (bool) SWIG_AsBool(obj2
);
6620 if (PyErr_Occurred()) SWIG_fail
;
6622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6623 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6625 wxPyEndAllowThreads(__tstate
);
6626 if (PyErr_Occurred()) SWIG_fail
;
6628 Py_INCREF(Py_None
); resultobj
= Py_None
;
6635 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6636 PyObject
*resultobj
;
6637 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6640 PyObject
* obj0
= 0 ;
6641 PyObject
* obj1
= 0 ;
6643 (char *) "self",(char *) "edge", NULL
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
6647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6649 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6650 if (PyErr_Occurred()) SWIG_fail
;
6652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6653 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
6655 wxPyEndAllowThreads(__tstate
);
6656 if (PyErr_Occurred()) SWIG_fail
;
6658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6665 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6666 PyObject
*resultobj
;
6667 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6670 PyObject
* obj0
= 0 ;
6671 PyObject
* obj1
= 0 ;
6673 (char *) "self",(char *) "edge", NULL
6676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
6677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6679 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6680 if (PyErr_Occurred()) SWIG_fail
;
6682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6683 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
6685 wxPyEndAllowThreads(__tstate
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6688 resultobj
= SWIG_FromInt((int)result
);
6695 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6696 PyObject
*resultobj
;
6697 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6699 PyObject
* obj0
= 0 ;
6700 PyObject
* obj1
= 0 ;
6702 (char *) "self",(char *) "width", NULL
6705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6708 arg2
= (int) SWIG_AsInt(obj1
);
6709 if (PyErr_Occurred()) SWIG_fail
;
6711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6712 (arg1
)->SetDefaultBorderSize(arg2
);
6714 wxPyEndAllowThreads(__tstate
);
6715 if (PyErr_Occurred()) SWIG_fail
;
6717 Py_INCREF(Py_None
); resultobj
= Py_None
;
6724 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6725 PyObject
*resultobj
;
6726 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6728 PyObject
* obj0
= 0 ;
6730 (char *) "self", NULL
6733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
6734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6738 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
6740 wxPyEndAllowThreads(__tstate
);
6741 if (PyErr_Occurred()) SWIG_fail
;
6743 resultobj
= SWIG_FromInt((int)result
);
6750 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6751 PyObject
*resultobj
;
6752 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6754 PyObject
* obj0
= 0 ;
6755 PyObject
* obj1
= 0 ;
6757 (char *) "self",(char *) "width", NULL
6760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6763 arg2
= (int) SWIG_AsInt(obj1
);
6764 if (PyErr_Occurred()) SWIG_fail
;
6766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6767 (arg1
)->SetExtraBorderSize(arg2
);
6769 wxPyEndAllowThreads(__tstate
);
6770 if (PyErr_Occurred()) SWIG_fail
;
6772 Py_INCREF(Py_None
); resultobj
= Py_None
;
6779 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
*resultobj
;
6781 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6783 PyObject
* obj0
= 0 ;
6785 (char *) "self", NULL
6788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
6789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6793 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
6795 wxPyEndAllowThreads(__tstate
);
6796 if (PyErr_Occurred()) SWIG_fail
;
6798 resultobj
= SWIG_FromInt((int)result
);
6805 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6806 PyObject
*resultobj
;
6807 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6809 PyObject
* obj0
= 0 ;
6810 PyObject
* obj1
= 0 ;
6812 (char *) "self",(char *) "min", NULL
6815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6818 arg2
= (int) SWIG_AsInt(obj1
);
6819 if (PyErr_Occurred()) SWIG_fail
;
6821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6822 (arg1
)->SetMinimumSizeX(arg2
);
6824 wxPyEndAllowThreads(__tstate
);
6825 if (PyErr_Occurred()) SWIG_fail
;
6827 Py_INCREF(Py_None
); resultobj
= Py_None
;
6834 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6835 PyObject
*resultobj
;
6836 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6838 PyObject
* obj0
= 0 ;
6839 PyObject
* obj1
= 0 ;
6841 (char *) "self",(char *) "min", NULL
6844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
6845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6847 arg2
= (int) SWIG_AsInt(obj1
);
6848 if (PyErr_Occurred()) SWIG_fail
;
6850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6851 (arg1
)->SetMinimumSizeY(arg2
);
6853 wxPyEndAllowThreads(__tstate
);
6854 if (PyErr_Occurred()) SWIG_fail
;
6856 Py_INCREF(Py_None
); resultobj
= Py_None
;
6863 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6864 PyObject
*resultobj
;
6865 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6867 PyObject
* obj0
= 0 ;
6869 (char *) "self", NULL
6872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
6873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6877 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6882 resultobj
= SWIG_FromInt((int)result
);
6889 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6890 PyObject
*resultobj
;
6891 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6893 PyObject
* obj0
= 0 ;
6895 (char *) "self", NULL
6898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
6899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6903 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
6905 wxPyEndAllowThreads(__tstate
);
6906 if (PyErr_Occurred()) SWIG_fail
;
6908 resultobj
= SWIG_FromInt((int)result
);
6915 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6916 PyObject
*resultobj
;
6917 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6919 PyObject
* obj0
= 0 ;
6920 PyObject
* obj1
= 0 ;
6922 (char *) "self",(char *) "max", NULL
6925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6928 arg2
= (int) SWIG_AsInt(obj1
);
6929 if (PyErr_Occurred()) SWIG_fail
;
6931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6932 (arg1
)->SetMaximumSizeX(arg2
);
6934 wxPyEndAllowThreads(__tstate
);
6935 if (PyErr_Occurred()) SWIG_fail
;
6937 Py_INCREF(Py_None
); resultobj
= Py_None
;
6944 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6945 PyObject
*resultobj
;
6946 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6948 PyObject
* obj0
= 0 ;
6949 PyObject
* obj1
= 0 ;
6951 (char *) "self",(char *) "max", NULL
6954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
6955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6957 arg2
= (int) SWIG_AsInt(obj1
);
6958 if (PyErr_Occurred()) SWIG_fail
;
6960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6961 (arg1
)->SetMaximumSizeY(arg2
);
6963 wxPyEndAllowThreads(__tstate
);
6964 if (PyErr_Occurred()) SWIG_fail
;
6966 Py_INCREF(Py_None
); resultobj
= Py_None
;
6973 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6974 PyObject
*resultobj
;
6975 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6977 PyObject
* obj0
= 0 ;
6979 (char *) "self", NULL
6982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
6983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6987 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
6989 wxPyEndAllowThreads(__tstate
);
6990 if (PyErr_Occurred()) SWIG_fail
;
6992 resultobj
= SWIG_FromInt((int)result
);
6999 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7000 PyObject
*resultobj
;
7001 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7003 PyObject
* obj0
= 0 ;
7005 (char *) "self", NULL
7008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7013 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7015 wxPyEndAllowThreads(__tstate
);
7016 if (PyErr_Occurred()) SWIG_fail
;
7018 resultobj
= SWIG_FromInt((int)result
);
7025 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7026 PyObject
*resultobj
;
7027 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7030 int arg4
= (int) 2 ;
7032 PyObject
* obj0
= 0 ;
7033 PyObject
* obj1
= 0 ;
7034 PyObject
* obj2
= 0 ;
7035 PyObject
* obj3
= 0 ;
7037 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7043 arg2
= (int) SWIG_AsInt(obj1
);
7044 if (PyErr_Occurred()) SWIG_fail
;
7045 arg3
= (int) SWIG_AsInt(obj2
);
7046 if (PyErr_Occurred()) SWIG_fail
;
7048 arg4
= (int) SWIG_AsInt(obj3
);
7049 if (PyErr_Occurred()) SWIG_fail
;
7052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7053 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7055 wxPyEndAllowThreads(__tstate
);
7056 if (PyErr_Occurred()) SWIG_fail
;
7058 resultobj
= SWIG_FromInt((int)result
);
7065 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7066 PyObject
*resultobj
;
7067 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7068 PyObject
* obj0
= 0 ;
7070 (char *) "self", NULL
7073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7078 (arg1
)->SizeWindows();
7080 wxPyEndAllowThreads(__tstate
);
7081 if (PyErr_Occurred()) SWIG_fail
;
7083 Py_INCREF(Py_None
); resultobj
= Py_None
;
7090 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
7092 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7093 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7095 return Py_BuildValue((char *)"");
7097 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7098 PyObject
*resultobj
;
7099 int arg1
= (int) 0 ;
7100 int arg2
= (int) wxSASH_NONE
;
7101 wxSashEvent
*result
;
7102 PyObject
* obj0
= 0 ;
7103 PyObject
* obj1
= 0 ;
7105 (char *) "id",(char *) "edge", NULL
7108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7110 arg1
= (int) SWIG_AsInt(obj0
);
7111 if (PyErr_Occurred()) SWIG_fail
;
7114 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7115 if (PyErr_Occurred()) SWIG_fail
;
7118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7119 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7121 wxPyEndAllowThreads(__tstate
);
7122 if (PyErr_Occurred()) SWIG_fail
;
7124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7131 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7132 PyObject
*resultobj
;
7133 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7135 PyObject
* obj0
= 0 ;
7136 PyObject
* obj1
= 0 ;
7138 (char *) "self",(char *) "edge", NULL
7141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7144 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7145 if (PyErr_Occurred()) SWIG_fail
;
7147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7148 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7150 wxPyEndAllowThreads(__tstate
);
7151 if (PyErr_Occurred()) SWIG_fail
;
7153 Py_INCREF(Py_None
); resultobj
= Py_None
;
7160 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7161 PyObject
*resultobj
;
7162 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7164 PyObject
* obj0
= 0 ;
7166 (char *) "self", NULL
7169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7174 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7176 wxPyEndAllowThreads(__tstate
);
7177 if (PyErr_Occurred()) SWIG_fail
;
7179 resultobj
= SWIG_FromInt((int)result
);
7186 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7187 PyObject
*resultobj
;
7188 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7191 PyObject
* obj0
= 0 ;
7192 PyObject
* obj1
= 0 ;
7194 (char *) "self",(char *) "rect", NULL
7197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7202 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7206 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7208 wxPyEndAllowThreads(__tstate
);
7209 if (PyErr_Occurred()) SWIG_fail
;
7211 Py_INCREF(Py_None
); resultobj
= Py_None
;
7218 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7219 PyObject
*resultobj
;
7220 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7222 PyObject
* obj0
= 0 ;
7224 (char *) "self", NULL
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7232 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7239 resultptr
= new wxRect((wxRect
&) result
);
7240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7248 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7249 PyObject
*resultobj
;
7250 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7252 PyObject
* obj0
= 0 ;
7253 PyObject
* obj1
= 0 ;
7255 (char *) "self",(char *) "status", NULL
7258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7261 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7262 if (PyErr_Occurred()) SWIG_fail
;
7264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7265 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7267 wxPyEndAllowThreads(__tstate
);
7268 if (PyErr_Occurred()) SWIG_fail
;
7270 Py_INCREF(Py_None
); resultobj
= Py_None
;
7277 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7278 PyObject
*resultobj
;
7279 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7281 PyObject
* obj0
= 0 ;
7283 (char *) "self", NULL
7286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7291 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7293 wxPyEndAllowThreads(__tstate
);
7294 if (PyErr_Occurred()) SWIG_fail
;
7296 resultobj
= SWIG_FromInt((int)result
);
7303 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
7305 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7306 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7308 return Py_BuildValue((char *)"");
7310 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7311 PyObject
*resultobj
;
7312 int arg1
= (int) 0 ;
7313 wxQueryLayoutInfoEvent
*result
;
7314 PyObject
* obj0
= 0 ;
7319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7321 arg1
= (int) SWIG_AsInt(obj0
);
7322 if (PyErr_Occurred()) SWIG_fail
;
7325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7326 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7328 wxPyEndAllowThreads(__tstate
);
7329 if (PyErr_Occurred()) SWIG_fail
;
7331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7338 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7339 PyObject
*resultobj
;
7340 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7342 PyObject
* obj0
= 0 ;
7343 PyObject
* obj1
= 0 ;
7345 (char *) "self",(char *) "length", NULL
7348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7351 arg2
= (int) SWIG_AsInt(obj1
);
7352 if (PyErr_Occurred()) SWIG_fail
;
7354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7355 (arg1
)->SetRequestedLength(arg2
);
7357 wxPyEndAllowThreads(__tstate
);
7358 if (PyErr_Occurred()) SWIG_fail
;
7360 Py_INCREF(Py_None
); resultobj
= Py_None
;
7367 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7368 PyObject
*resultobj
;
7369 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7371 PyObject
* obj0
= 0 ;
7373 (char *) "self", NULL
7376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7381 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7383 wxPyEndAllowThreads(__tstate
);
7384 if (PyErr_Occurred()) SWIG_fail
;
7386 resultobj
= SWIG_FromInt((int)result
);
7393 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7394 PyObject
*resultobj
;
7395 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7397 PyObject
* obj0
= 0 ;
7398 PyObject
* obj1
= 0 ;
7400 (char *) "self",(char *) "flags", NULL
7403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7406 arg2
= (int) SWIG_AsInt(obj1
);
7407 if (PyErr_Occurred()) SWIG_fail
;
7409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7410 (arg1
)->SetFlags(arg2
);
7412 wxPyEndAllowThreads(__tstate
);
7413 if (PyErr_Occurred()) SWIG_fail
;
7415 Py_INCREF(Py_None
); resultobj
= Py_None
;
7422 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7423 PyObject
*resultobj
;
7424 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7426 PyObject
* obj0
= 0 ;
7428 (char *) "self", NULL
7431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7436 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7438 wxPyEndAllowThreads(__tstate
);
7439 if (PyErr_Occurred()) SWIG_fail
;
7441 resultobj
= SWIG_FromInt((int)result
);
7448 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7449 PyObject
*resultobj
;
7450 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7453 PyObject
* obj0
= 0 ;
7454 PyObject
* obj1
= 0 ;
7456 (char *) "self",(char *) "size", NULL
7459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7464 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7468 (arg1
)->SetSize((wxSize
const &)*arg2
);
7470 wxPyEndAllowThreads(__tstate
);
7471 if (PyErr_Occurred()) SWIG_fail
;
7473 Py_INCREF(Py_None
); resultobj
= Py_None
;
7480 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7481 PyObject
*resultobj
;
7482 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7484 PyObject
* obj0
= 0 ;
7486 (char *) "self", NULL
7489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7494 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7496 wxPyEndAllowThreads(__tstate
);
7497 if (PyErr_Occurred()) SWIG_fail
;
7501 resultptr
= new wxSize((wxSize
&) result
);
7502 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7510 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7511 PyObject
*resultobj
;
7512 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7514 PyObject
* obj0
= 0 ;
7515 PyObject
* obj1
= 0 ;
7517 (char *) "self",(char *) "orient", NULL
7520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7523 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
7524 if (PyErr_Occurred()) SWIG_fail
;
7526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7527 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7529 wxPyEndAllowThreads(__tstate
);
7530 if (PyErr_Occurred()) SWIG_fail
;
7532 Py_INCREF(Py_None
); resultobj
= Py_None
;
7539 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7540 PyObject
*resultobj
;
7541 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7543 PyObject
* obj0
= 0 ;
7545 (char *) "self", NULL
7548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7553 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7555 wxPyEndAllowThreads(__tstate
);
7556 if (PyErr_Occurred()) SWIG_fail
;
7558 resultobj
= SWIG_FromInt((int)result
);
7565 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7566 PyObject
*resultobj
;
7567 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7569 PyObject
* obj0
= 0 ;
7570 PyObject
* obj1
= 0 ;
7572 (char *) "self",(char *) "align", NULL
7575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7578 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
7579 if (PyErr_Occurred()) SWIG_fail
;
7581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7582 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7584 wxPyEndAllowThreads(__tstate
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7587 Py_INCREF(Py_None
); resultobj
= Py_None
;
7594 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
*resultobj
;
7596 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7598 PyObject
* obj0
= 0 ;
7600 (char *) "self", NULL
7603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7608 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
7610 wxPyEndAllowThreads(__tstate
);
7611 if (PyErr_Occurred()) SWIG_fail
;
7613 resultobj
= SWIG_FromInt((int)result
);
7620 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
7622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7623 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7625 return Py_BuildValue((char *)"");
7627 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7628 PyObject
*resultobj
;
7629 int arg1
= (int) 0 ;
7630 wxCalculateLayoutEvent
*result
;
7631 PyObject
* obj0
= 0 ;
7636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
7638 arg1
= (int) SWIG_AsInt(obj0
);
7639 if (PyErr_Occurred()) SWIG_fail
;
7642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7643 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
7645 wxPyEndAllowThreads(__tstate
);
7646 if (PyErr_Occurred()) SWIG_fail
;
7648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
7655 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7656 PyObject
*resultobj
;
7657 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7659 PyObject
* obj0
= 0 ;
7660 PyObject
* obj1
= 0 ;
7662 (char *) "self",(char *) "flags", NULL
7665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7668 arg2
= (int) SWIG_AsInt(obj1
);
7669 if (PyErr_Occurred()) SWIG_fail
;
7671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7672 (arg1
)->SetFlags(arg2
);
7674 wxPyEndAllowThreads(__tstate
);
7675 if (PyErr_Occurred()) SWIG_fail
;
7677 Py_INCREF(Py_None
); resultobj
= Py_None
;
7684 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
*resultobj
;
7686 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7688 PyObject
* obj0
= 0 ;
7690 (char *) "self", NULL
7693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7698 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
7700 wxPyEndAllowThreads(__tstate
);
7701 if (PyErr_Occurred()) SWIG_fail
;
7703 resultobj
= SWIG_FromInt((int)result
);
7710 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7711 PyObject
*resultobj
;
7712 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7715 PyObject
* obj0
= 0 ;
7716 PyObject
* obj1
= 0 ;
7718 (char *) "self",(char *) "rect", NULL
7721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7726 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7730 (arg1
)->SetRect((wxRect
const &)*arg2
);
7732 wxPyEndAllowThreads(__tstate
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7735 Py_INCREF(Py_None
); resultobj
= Py_None
;
7742 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7743 PyObject
*resultobj
;
7744 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7746 PyObject
* obj0
= 0 ;
7748 (char *) "self", NULL
7751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
7752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7756 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
7758 wxPyEndAllowThreads(__tstate
);
7759 if (PyErr_Occurred()) SWIG_fail
;
7763 resultptr
= new wxRect((wxRect
&) result
);
7764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7772 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
7774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7775 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
7777 return Py_BuildValue((char *)"");
7779 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7780 PyObject
*resultobj
;
7781 wxWindow
*arg1
= (wxWindow
*) 0 ;
7783 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7784 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7785 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7786 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7787 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7788 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
7789 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7790 wxSashLayoutWindow
*result
;
7793 bool temp6
= False
;
7794 PyObject
* obj0
= 0 ;
7795 PyObject
* obj1
= 0 ;
7796 PyObject
* obj2
= 0 ;
7797 PyObject
* obj3
= 0 ;
7798 PyObject
* obj4
= 0 ;
7799 PyObject
* obj5
= 0 ;
7801 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7807 arg2
= (int) SWIG_AsInt(obj1
);
7808 if (PyErr_Occurred()) SWIG_fail
;
7812 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7818 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7822 arg5
= (long) SWIG_AsLong(obj4
);
7823 if (PyErr_Occurred()) SWIG_fail
;
7827 arg6
= wxString_in_helper(obj5
);
7828 if (arg6
== NULL
) SWIG_fail
;
7833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7834 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7836 wxPyEndAllowThreads(__tstate
);
7837 if (PyErr_Occurred()) SWIG_fail
;
7839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
7854 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7855 PyObject
*resultobj
;
7856 wxSashLayoutWindow
*result
;
7861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
7863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7864 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
7866 wxPyEndAllowThreads(__tstate
);
7867 if (PyErr_Occurred()) SWIG_fail
;
7869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
7876 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7877 PyObject
*resultobj
;
7878 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7879 wxWindow
*arg2
= (wxWindow
*) 0 ;
7881 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7882 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7883 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7884 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7885 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7886 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
7887 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7891 bool temp7
= False
;
7892 PyObject
* obj0
= 0 ;
7893 PyObject
* obj1
= 0 ;
7894 PyObject
* obj2
= 0 ;
7895 PyObject
* obj3
= 0 ;
7896 PyObject
* obj4
= 0 ;
7897 PyObject
* obj5
= 0 ;
7898 PyObject
* obj6
= 0 ;
7900 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
7905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7906 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7908 arg3
= (int) SWIG_AsInt(obj2
);
7909 if (PyErr_Occurred()) SWIG_fail
;
7913 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7919 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7923 arg6
= (long) SWIG_AsLong(obj5
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7928 arg7
= wxString_in_helper(obj6
);
7929 if (arg7
== NULL
) SWIG_fail
;
7934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7935 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7937 wxPyEndAllowThreads(__tstate
);
7938 if (PyErr_Occurred()) SWIG_fail
;
7940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7955 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
*resultobj
;
7957 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7959 PyObject
* obj0
= 0 ;
7961 (char *) "self", NULL
7964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
7965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
7966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7969 result
= (int)(arg1
)->GetAlignment();
7971 wxPyEndAllowThreads(__tstate
);
7972 if (PyErr_Occurred()) SWIG_fail
;
7974 resultobj
= SWIG_FromInt((int)result
);
7981 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7982 PyObject
*resultobj
;
7983 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7985 PyObject
* obj0
= 0 ;
7987 (char *) "self", NULL
7990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
7991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
7992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7995 result
= (int)(arg1
)->GetOrientation();
7997 wxPyEndAllowThreads(__tstate
);
7998 if (PyErr_Occurred()) SWIG_fail
;
8000 resultobj
= SWIG_FromInt((int)result
);
8007 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8008 PyObject
*resultobj
;
8009 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8011 PyObject
* obj0
= 0 ;
8012 PyObject
* obj1
= 0 ;
8014 (char *) "self",(char *) "alignment", NULL
8017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8020 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8024 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8026 wxPyEndAllowThreads(__tstate
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8029 Py_INCREF(Py_None
); resultobj
= Py_None
;
8036 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8037 PyObject
*resultobj
;
8038 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8041 PyObject
* obj0
= 0 ;
8042 PyObject
* obj1
= 0 ;
8044 (char *) "self",(char *) "size", NULL
8047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8052 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8056 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8058 wxPyEndAllowThreads(__tstate
);
8059 if (PyErr_Occurred()) SWIG_fail
;
8061 Py_INCREF(Py_None
); resultobj
= Py_None
;
8068 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8069 PyObject
*resultobj
;
8070 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8072 PyObject
* obj0
= 0 ;
8073 PyObject
* obj1
= 0 ;
8075 (char *) "self",(char *) "orientation", NULL
8078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8081 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8082 if (PyErr_Occurred()) SWIG_fail
;
8084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8085 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8087 wxPyEndAllowThreads(__tstate
);
8088 if (PyErr_Occurred()) SWIG_fail
;
8090 Py_INCREF(Py_None
); resultobj
= Py_None
;
8097 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
8099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8100 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8102 return Py_BuildValue((char *)"");
8104 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8105 PyObject
*resultobj
;
8106 wxLayoutAlgorithm
*result
;
8111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8114 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8116 wxPyEndAllowThreads(__tstate
);
8117 if (PyErr_Occurred()) SWIG_fail
;
8119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8126 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8127 PyObject
*resultobj
;
8128 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8129 PyObject
* obj0
= 0 ;
8131 (char *) "self", NULL
8134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8141 wxPyEndAllowThreads(__tstate
);
8142 if (PyErr_Occurred()) SWIG_fail
;
8144 Py_INCREF(Py_None
); resultobj
= Py_None
;
8151 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8152 PyObject
*resultobj
;
8153 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8154 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8155 wxRect
*arg3
= (wxRect
*) NULL
;
8157 PyObject
* obj0
= 0 ;
8158 PyObject
* obj1
= 0 ;
8159 PyObject
* obj2
= 0 ;
8161 (char *) "self",(char *) "frame",(char *) "rect", NULL
8164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8167 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8170 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8175 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8177 wxPyEndAllowThreads(__tstate
);
8178 if (PyErr_Occurred()) SWIG_fail
;
8180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8187 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8188 PyObject
*resultobj
;
8189 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8190 wxFrame
*arg2
= (wxFrame
*) 0 ;
8191 wxWindow
*arg3
= (wxWindow
*) NULL
;
8193 PyObject
* obj0
= 0 ;
8194 PyObject
* obj1
= 0 ;
8195 PyObject
* obj2
= 0 ;
8197 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8203 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8206 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8211 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8213 wxPyEndAllowThreads(__tstate
);
8214 if (PyErr_Occurred()) SWIG_fail
;
8216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8223 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8224 PyObject
*resultobj
;
8225 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8226 wxWindow
*arg2
= (wxWindow
*) 0 ;
8227 wxWindow
*arg3
= (wxWindow
*) NULL
;
8229 PyObject
* obj0
= 0 ;
8230 PyObject
* obj1
= 0 ;
8231 PyObject
* obj2
= 0 ;
8233 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8239 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8242 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8247 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8249 wxPyEndAllowThreads(__tstate
);
8250 if (PyErr_Occurred()) SWIG_fail
;
8252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8259 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
8261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8262 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8264 return Py_BuildValue((char *)"");
8266 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8267 PyObject
*resultobj
;
8268 wxWindow
*arg1
= (wxWindow
*) 0 ;
8269 int arg2
= (int) wxBORDER_NONE
;
8270 wxPopupWindow
*result
;
8271 PyObject
* obj0
= 0 ;
8272 PyObject
* obj1
= 0 ;
8274 (char *) "parent",(char *) "flags", NULL
8277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8281 arg2
= (int) SWIG_AsInt(obj1
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8286 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8288 wxPyEndAllowThreads(__tstate
);
8289 if (PyErr_Occurred()) SWIG_fail
;
8291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8298 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8299 PyObject
*resultobj
;
8300 wxPopupWindow
*result
;
8305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8308 result
= (wxPopupWindow
*)new wxPopupWindow();
8310 wxPyEndAllowThreads(__tstate
);
8311 if (PyErr_Occurred()) SWIG_fail
;
8313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8320 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
8322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8323 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8325 return Py_BuildValue((char *)"");
8327 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8328 PyObject
*resultobj
;
8329 wxWindow
*arg1
= (wxWindow
*) 0 ;
8330 int arg2
= (int) wxBORDER_NONE
;
8331 wxPyPopupTransientWindow
*result
;
8332 PyObject
* obj0
= 0 ;
8333 PyObject
* obj1
= 0 ;
8335 (char *) "parent",(char *) "style", NULL
8338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8342 arg2
= (int) SWIG_AsInt(obj1
);
8343 if (PyErr_Occurred()) SWIG_fail
;
8346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8347 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8349 wxPyEndAllowThreads(__tstate
);
8350 if (PyErr_Occurred()) SWIG_fail
;
8352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8359 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8360 PyObject
*resultobj
;
8361 wxPyPopupTransientWindow
*result
;
8366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8369 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8371 wxPyEndAllowThreads(__tstate
);
8372 if (PyErr_Occurred()) SWIG_fail
;
8374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8381 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
8383 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8384 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8386 return Py_BuildValue((char *)"");
8388 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8389 PyObject
*resultobj
;
8390 wxWindow
*arg1
= (wxWindow
*) 0 ;
8391 wxString
*arg2
= 0 ;
8392 int arg3
= (int) 100 ;
8393 wxRect
*arg4
= (wxRect
*) NULL
;
8394 wxTipWindow
*result
;
8395 bool temp2
= False
;
8396 PyObject
* obj0
= 0 ;
8397 PyObject
* obj1
= 0 ;
8398 PyObject
* obj2
= 0 ;
8399 PyObject
* obj3
= 0 ;
8401 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8408 arg2
= wxString_in_helper(obj1
);
8409 if (arg2
== NULL
) SWIG_fail
;
8413 arg3
= (int) SWIG_AsInt(obj2
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8417 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
8418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8422 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8424 wxPyEndAllowThreads(__tstate
);
8425 if (PyErr_Occurred()) SWIG_fail
;
8427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
8442 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8443 PyObject
*resultobj
;
8444 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8447 PyObject
* obj0
= 0 ;
8448 PyObject
* obj1
= 0 ;
8450 (char *) "self",(char *) "rectBound", NULL
8453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8458 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8462 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
8464 wxPyEndAllowThreads(__tstate
);
8465 if (PyErr_Occurred()) SWIG_fail
;
8467 Py_INCREF(Py_None
); resultobj
= Py_None
;
8474 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8475 PyObject
*resultobj
;
8476 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8477 PyObject
* obj0
= 0 ;
8479 (char *) "self", NULL
8482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
8483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8489 wxPyEndAllowThreads(__tstate
);
8490 if (PyErr_Occurred()) SWIG_fail
;
8492 Py_INCREF(Py_None
); resultobj
= Py_None
;
8499 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
8501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8502 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
8504 return Py_BuildValue((char *)"");
8506 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8507 PyObject
*resultobj
;
8508 wxWindow
*arg1
= (wxWindow
*) 0 ;
8509 int arg2
= (int) wxID_ANY
;
8510 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8511 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8512 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8513 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8514 long arg5
= (long) 0 ;
8515 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8516 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8517 wxPyVScrolledWindow
*result
;
8520 bool temp6
= False
;
8521 PyObject
* obj0
= 0 ;
8522 PyObject
* obj1
= 0 ;
8523 PyObject
* obj2
= 0 ;
8524 PyObject
* obj3
= 0 ;
8525 PyObject
* obj4
= 0 ;
8526 PyObject
* obj5
= 0 ;
8528 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8535 arg2
= (int) SWIG_AsInt(obj1
);
8536 if (PyErr_Occurred()) SWIG_fail
;
8541 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8547 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8551 arg5
= (long) SWIG_AsLong(obj4
);
8552 if (PyErr_Occurred()) SWIG_fail
;
8556 arg6
= wxString_in_helper(obj5
);
8557 if (arg6
== NULL
) SWIG_fail
;
8562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8563 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8565 wxPyEndAllowThreads(__tstate
);
8566 if (PyErr_Occurred()) SWIG_fail
;
8568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8583 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8584 PyObject
*resultobj
;
8585 wxPyVScrolledWindow
*result
;
8590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
8592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8593 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
8595 wxPyEndAllowThreads(__tstate
);
8596 if (PyErr_Occurred()) SWIG_fail
;
8598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8605 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8606 PyObject
*resultobj
;
8607 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8608 PyObject
*arg2
= (PyObject
*) 0 ;
8609 PyObject
*arg3
= (PyObject
*) 0 ;
8610 PyObject
* obj0
= 0 ;
8611 PyObject
* obj1
= 0 ;
8612 PyObject
* obj2
= 0 ;
8614 (char *) "self",(char *) "self",(char *) "_class", NULL
8617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8624 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8626 wxPyEndAllowThreads(__tstate
);
8627 if (PyErr_Occurred()) SWIG_fail
;
8629 Py_INCREF(Py_None
); resultobj
= Py_None
;
8636 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8637 PyObject
*resultobj
;
8638 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8639 wxWindow
*arg2
= (wxWindow
*) 0 ;
8640 int arg3
= (int) wxID_ANY
;
8641 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8642 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8643 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8644 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8645 long arg6
= (long) 0 ;
8646 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
8647 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8651 bool temp7
= False
;
8652 PyObject
* obj0
= 0 ;
8653 PyObject
* obj1
= 0 ;
8654 PyObject
* obj2
= 0 ;
8655 PyObject
* obj3
= 0 ;
8656 PyObject
* obj4
= 0 ;
8657 PyObject
* obj5
= 0 ;
8658 PyObject
* obj6
= 0 ;
8660 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8666 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8669 arg3
= (int) SWIG_AsInt(obj2
);
8670 if (PyErr_Occurred()) SWIG_fail
;
8675 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8681 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8685 arg6
= (long) SWIG_AsLong(obj5
);
8686 if (PyErr_Occurred()) SWIG_fail
;
8690 arg7
= wxString_in_helper(obj6
);
8691 if (arg7
== NULL
) SWIG_fail
;
8696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8697 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8699 wxPyEndAllowThreads(__tstate
);
8700 if (PyErr_Occurred()) SWIG_fail
;
8702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8717 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8718 PyObject
*resultobj
;
8719 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8721 PyObject
* obj0
= 0 ;
8722 PyObject
* obj1
= 0 ;
8724 (char *) "self",(char *) "count", NULL
8727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8730 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8731 if (PyErr_Occurred()) SWIG_fail
;
8733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8734 (arg1
)->SetLineCount(arg2
);
8736 wxPyEndAllowThreads(__tstate
);
8737 if (PyErr_Occurred()) SWIG_fail
;
8739 Py_INCREF(Py_None
); resultobj
= Py_None
;
8746 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8747 PyObject
*resultobj
;
8748 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8751 PyObject
* obj0
= 0 ;
8752 PyObject
* obj1
= 0 ;
8754 (char *) "self",(char *) "line", NULL
8757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8760 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8761 if (PyErr_Occurred()) SWIG_fail
;
8763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8764 result
= (bool)(arg1
)->ScrollToLine(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_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8777 PyObject
*resultobj
;
8778 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8781 PyObject
* obj0
= 0 ;
8782 PyObject
* obj1
= 0 ;
8784 (char *) "self",(char *) "lines", NULL
8787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
8788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8790 arg2
= (int) SWIG_AsInt(obj1
);
8791 if (PyErr_Occurred()) SWIG_fail
;
8793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8794 result
= (bool)(arg1
)->ScrollLines(arg2
);
8796 wxPyEndAllowThreads(__tstate
);
8797 if (PyErr_Occurred()) SWIG_fail
;
8799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8806 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8807 PyObject
*resultobj
;
8808 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8811 PyObject
* obj0
= 0 ;
8812 PyObject
* obj1
= 0 ;
8814 (char *) "self",(char *) "pages", NULL
8817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
8818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8820 arg2
= (int) SWIG_AsInt(obj1
);
8821 if (PyErr_Occurred()) SWIG_fail
;
8823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8824 result
= (bool)(arg1
)->ScrollPages(arg2
);
8826 wxPyEndAllowThreads(__tstate
);
8827 if (PyErr_Occurred()) SWIG_fail
;
8829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8836 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8837 PyObject
*resultobj
;
8838 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8840 PyObject
* obj0
= 0 ;
8841 PyObject
* obj1
= 0 ;
8843 (char *) "self",(char *) "line", NULL
8846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8849 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8850 if (PyErr_Occurred()) SWIG_fail
;
8852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8853 (arg1
)->RefreshLine(arg2
);
8855 wxPyEndAllowThreads(__tstate
);
8856 if (PyErr_Occurred()) SWIG_fail
;
8858 Py_INCREF(Py_None
); resultobj
= Py_None
;
8865 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8866 PyObject
*resultobj
;
8867 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8870 PyObject
* obj0
= 0 ;
8871 PyObject
* obj1
= 0 ;
8872 PyObject
* obj2
= 0 ;
8874 (char *) "self",(char *) "from",(char *) "to", NULL
8877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8880 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8881 if (PyErr_Occurred()) SWIG_fail
;
8882 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
8883 if (PyErr_Occurred()) SWIG_fail
;
8885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 (arg1
)->RefreshLines(arg2
,arg3
);
8888 wxPyEndAllowThreads(__tstate
);
8889 if (PyErr_Occurred()) SWIG_fail
;
8891 Py_INCREF(Py_None
); resultobj
= Py_None
;
8898 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8899 PyObject
*resultobj
;
8900 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8904 PyObject
* obj0
= 0 ;
8905 PyObject
* obj1
= 0 ;
8906 PyObject
* obj2
= 0 ;
8908 (char *) "self",(char *) "x",(char *) "y", NULL
8911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8914 arg2
= (int) SWIG_AsInt(obj1
);
8915 if (PyErr_Occurred()) SWIG_fail
;
8916 arg3
= (int) SWIG_AsInt(obj2
);
8917 if (PyErr_Occurred()) SWIG_fail
;
8919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8920 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
8922 wxPyEndAllowThreads(__tstate
);
8923 if (PyErr_Occurred()) SWIG_fail
;
8925 resultobj
= SWIG_FromInt((int)result
);
8932 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8933 PyObject
*resultobj
;
8934 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8938 PyObject
* obj0
= 0 ;
8939 PyObject
* obj1
= 0 ;
8941 (char *) "self",(char *) "pt", NULL
8944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8949 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8953 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8955 wxPyEndAllowThreads(__tstate
);
8956 if (PyErr_Occurred()) SWIG_fail
;
8958 resultobj
= SWIG_FromInt((int)result
);
8965 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8966 PyObject
*resultobj
;
8967 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8968 PyObject
* obj0
= 0 ;
8970 (char *) "self", NULL
8973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
8974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8978 (arg1
)->RefreshAll();
8980 wxPyEndAllowThreads(__tstate
);
8981 if (PyErr_Occurred()) SWIG_fail
;
8983 Py_INCREF(Py_None
); resultobj
= Py_None
;
8990 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8991 PyObject
*resultobj
;
8992 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8994 PyObject
* obj0
= 0 ;
8996 (char *) "self", NULL
8999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9004 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9006 wxPyEndAllowThreads(__tstate
);
9007 if (PyErr_Occurred()) SWIG_fail
;
9009 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9016 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, 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_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9030 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9032 wxPyEndAllowThreads(__tstate
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9035 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9042 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9043 PyObject
*resultobj
;
9044 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9046 PyObject
* obj0
= 0 ;
9048 (char *) "self", NULL
9051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9056 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9058 wxPyEndAllowThreads(__tstate
);
9059 if (PyErr_Occurred()) SWIG_fail
;
9061 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9068 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
*resultobj
;
9070 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9073 PyObject
* obj0
= 0 ;
9074 PyObject
* obj1
= 0 ;
9076 (char *) "self",(char *) "line", NULL
9079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9082 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9083 if (PyErr_Occurred()) SWIG_fail
;
9085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9086 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9088 wxPyEndAllowThreads(__tstate
);
9089 if (PyErr_Occurred()) SWIG_fail
;
9091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9098 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
9100 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9101 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9103 return Py_BuildValue((char *)"");
9105 static int _wrap_VListBoxNameStr_set(PyObject
*) {
9106 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9111 static PyObject
*_wrap_VListBoxNameStr_get() {
9116 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9118 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9125 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9126 PyObject
*resultobj
;
9127 wxWindow
*arg1
= (wxWindow
*) 0 ;
9128 int arg2
= (int) wxID_ANY
;
9129 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9130 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9131 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9132 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9133 long arg5
= (long) 0 ;
9134 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9135 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9136 wxPyVListBox
*result
;
9139 bool temp6
= False
;
9140 PyObject
* obj0
= 0 ;
9141 PyObject
* obj1
= 0 ;
9142 PyObject
* obj2
= 0 ;
9143 PyObject
* obj3
= 0 ;
9144 PyObject
* obj4
= 0 ;
9145 PyObject
* obj5
= 0 ;
9147 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9154 arg2
= (int) SWIG_AsInt(obj1
);
9155 if (PyErr_Occurred()) SWIG_fail
;
9160 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9166 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9170 arg5
= (long) SWIG_AsLong(obj4
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9175 arg6
= wxString_in_helper(obj5
);
9176 if (arg6
== NULL
) SWIG_fail
;
9181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9182 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9184 wxPyEndAllowThreads(__tstate
);
9185 if (PyErr_Occurred()) SWIG_fail
;
9187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9202 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9203 PyObject
*resultobj
;
9204 wxPyVListBox
*result
;
9209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9212 result
= (wxPyVListBox
*)new wxPyVListBox();
9214 wxPyEndAllowThreads(__tstate
);
9215 if (PyErr_Occurred()) SWIG_fail
;
9217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9224 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9225 PyObject
*resultobj
;
9226 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9227 PyObject
*arg2
= (PyObject
*) 0 ;
9228 PyObject
*arg3
= (PyObject
*) 0 ;
9229 PyObject
* obj0
= 0 ;
9230 PyObject
* obj1
= 0 ;
9231 PyObject
* obj2
= 0 ;
9233 (char *) "self",(char *) "self",(char *) "_class", NULL
9236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9243 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9248 Py_INCREF(Py_None
); resultobj
= Py_None
;
9255 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9256 PyObject
*resultobj
;
9257 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9258 wxWindow
*arg2
= (wxWindow
*) 0 ;
9259 int arg3
= (int) wxID_ANY
;
9260 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9261 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9262 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9263 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9264 long arg6
= (long) 0 ;
9265 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9266 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9270 bool temp7
= False
;
9271 PyObject
* obj0
= 0 ;
9272 PyObject
* obj1
= 0 ;
9273 PyObject
* obj2
= 0 ;
9274 PyObject
* obj3
= 0 ;
9275 PyObject
* obj4
= 0 ;
9276 PyObject
* obj5
= 0 ;
9277 PyObject
* obj6
= 0 ;
9279 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9285 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9288 arg3
= (int) SWIG_AsInt(obj2
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9294 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9300 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9304 arg6
= (long) SWIG_AsLong(obj5
);
9305 if (PyErr_Occurred()) SWIG_fail
;
9309 arg7
= wxString_in_helper(obj6
);
9310 if (arg7
== NULL
) SWIG_fail
;
9315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9316 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9318 wxPyEndAllowThreads(__tstate
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9336 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9337 PyObject
*resultobj
;
9338 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9340 PyObject
* obj0
= 0 ;
9342 (char *) "self", NULL
9345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9350 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9352 wxPyEndAllowThreads(__tstate
);
9353 if (PyErr_Occurred()) SWIG_fail
;
9355 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9362 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9363 PyObject
*resultobj
;
9364 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9366 PyObject
* obj0
= 0 ;
9368 (char *) "self", NULL
9371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9376 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9388 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9389 PyObject
*resultobj
;
9390 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9392 PyObject
* obj0
= 0 ;
9394 (char *) "self", NULL
9397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9402 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9404 wxPyEndAllowThreads(__tstate
);
9405 if (PyErr_Occurred()) SWIG_fail
;
9407 resultobj
= SWIG_FromInt((int)result
);
9414 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9415 PyObject
*resultobj
;
9416 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9419 PyObject
* obj0
= 0 ;
9420 PyObject
* obj1
= 0 ;
9422 (char *) "self",(char *) "item", NULL
9425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9428 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9432 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9434 wxPyEndAllowThreads(__tstate
);
9435 if (PyErr_Occurred()) SWIG_fail
;
9437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9444 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9445 PyObject
*resultobj
;
9446 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9449 PyObject
* obj0
= 0 ;
9450 PyObject
* obj1
= 0 ;
9452 (char *) "self",(char *) "item", NULL
9455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9458 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9459 if (PyErr_Occurred()) SWIG_fail
;
9461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9462 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
9464 wxPyEndAllowThreads(__tstate
);
9465 if (PyErr_Occurred()) SWIG_fail
;
9467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9474 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9475 PyObject
*resultobj
;
9476 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9478 PyObject
* obj0
= 0 ;
9480 (char *) "self", NULL
9483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
9484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9488 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
9490 wxPyEndAllowThreads(__tstate
);
9491 if (PyErr_Occurred()) SWIG_fail
;
9493 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9500 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9501 PyObject
*resultobj
;
9502 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9503 unsigned long *arg2
= 0 ;
9505 PyObject
* obj0
= 0 ;
9506 PyObject
* obj1
= 0 ;
9508 (char *) "self",(char *) "cookie", NULL
9511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9514 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9515 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9518 PyErr_SetString(PyExc_TypeError
,"null reference");
9522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9523 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
9525 wxPyEndAllowThreads(__tstate
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9528 resultobj
= SWIG_FromInt((int)result
);
9535 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
*resultobj
;
9537 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9538 unsigned long *arg2
= 0 ;
9540 PyObject
* obj0
= 0 ;
9541 PyObject
* obj1
= 0 ;
9543 (char *) "self",(char *) "cookie", NULL
9546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9549 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9550 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9553 PyErr_SetString(PyExc_TypeError
,"null reference");
9557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9558 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
9560 wxPyEndAllowThreads(__tstate
);
9561 if (PyErr_Occurred()) SWIG_fail
;
9563 resultobj
= SWIG_FromInt((int)result
);
9570 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9571 PyObject
*resultobj
;
9572 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9574 PyObject
* obj0
= 0 ;
9576 (char *) "self", NULL
9579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
9580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9584 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
9586 wxPyEndAllowThreads(__tstate
);
9587 if (PyErr_Occurred()) SWIG_fail
;
9590 wxPoint
* resultptr
;
9591 resultptr
= new wxPoint((wxPoint
&) result
);
9592 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9600 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9601 PyObject
*resultobj
;
9602 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9604 PyObject
* obj0
= 0 ;
9606 (char *) "self", NULL
9609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
9610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9615 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
9616 result
= (wxColour
*) &_result_ref
;
9619 wxPyEndAllowThreads(__tstate
);
9620 if (PyErr_Occurred()) SWIG_fail
;
9622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9629 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9630 PyObject
*resultobj
;
9631 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9633 PyObject
* obj0
= 0 ;
9634 PyObject
* obj1
= 0 ;
9636 (char *) "self",(char *) "count", NULL
9639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9642 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9646 (arg1
)->SetItemCount(arg2
);
9648 wxPyEndAllowThreads(__tstate
);
9649 if (PyErr_Occurred()) SWIG_fail
;
9651 Py_INCREF(Py_None
); resultobj
= Py_None
;
9658 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9659 PyObject
*resultobj
;
9660 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9661 PyObject
* obj0
= 0 ;
9663 (char *) "self", NULL
9666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
9667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9673 wxPyEndAllowThreads(__tstate
);
9674 if (PyErr_Occurred()) SWIG_fail
;
9676 Py_INCREF(Py_None
); resultobj
= Py_None
;
9683 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9684 PyObject
*resultobj
;
9685 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9687 PyObject
* obj0
= 0 ;
9688 PyObject
* obj1
= 0 ;
9690 (char *) "self",(char *) "selection", NULL
9693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9696 arg2
= (int) SWIG_AsInt(obj1
);
9697 if (PyErr_Occurred()) SWIG_fail
;
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 (arg1
)->SetSelection(arg2
);
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9705 Py_INCREF(Py_None
); resultobj
= Py_None
;
9712 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9713 PyObject
*resultobj
;
9714 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9716 bool arg3
= (bool) True
;
9718 PyObject
* obj0
= 0 ;
9719 PyObject
* obj1
= 0 ;
9720 PyObject
* obj2
= 0 ;
9722 (char *) "self",(char *) "item",(char *) "select", NULL
9725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9728 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9731 arg3
= (bool) SWIG_AsBool(obj2
);
9732 if (PyErr_Occurred()) SWIG_fail
;
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 result
= (bool)(arg1
)->Select(arg2
,arg3
);
9738 wxPyEndAllowThreads(__tstate
);
9739 if (PyErr_Occurred()) SWIG_fail
;
9741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9748 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9749 PyObject
*resultobj
;
9750 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9754 PyObject
* obj0
= 0 ;
9755 PyObject
* obj1
= 0 ;
9756 PyObject
* obj2
= 0 ;
9758 (char *) "self",(char *) "from",(char *) "to", NULL
9761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9764 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9766 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9767 if (PyErr_Occurred()) SWIG_fail
;
9769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9770 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
9772 wxPyEndAllowThreads(__tstate
);
9773 if (PyErr_Occurred()) SWIG_fail
;
9775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9782 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9783 PyObject
*resultobj
;
9784 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9786 PyObject
* obj0
= 0 ;
9787 PyObject
* obj1
= 0 ;
9789 (char *) "self",(char *) "item", NULL
9792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
9793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9795 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9796 if (PyErr_Occurred()) SWIG_fail
;
9798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9799 (arg1
)->Toggle(arg2
);
9801 wxPyEndAllowThreads(__tstate
);
9802 if (PyErr_Occurred()) SWIG_fail
;
9804 Py_INCREF(Py_None
); resultobj
= Py_None
;
9811 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9812 PyObject
*resultobj
;
9813 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9815 PyObject
* obj0
= 0 ;
9817 (char *) "self", NULL
9820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
9821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9825 result
= (bool)(arg1
)->SelectAll();
9827 wxPyEndAllowThreads(__tstate
);
9828 if (PyErr_Occurred()) SWIG_fail
;
9830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9837 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9838 PyObject
*resultobj
;
9839 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9841 PyObject
* obj0
= 0 ;
9843 (char *) "self", NULL
9846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
9847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9851 result
= (bool)(arg1
)->DeselectAll();
9853 wxPyEndAllowThreads(__tstate
);
9854 if (PyErr_Occurred()) SWIG_fail
;
9856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9863 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9864 PyObject
*resultobj
;
9865 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9868 PyObject
* obj0
= 0 ;
9869 PyObject
* obj1
= 0 ;
9871 (char *) "self",(char *) "pt", NULL
9874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
9875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9879 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9883 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
9885 wxPyEndAllowThreads(__tstate
);
9886 if (PyErr_Occurred()) SWIG_fail
;
9888 Py_INCREF(Py_None
); resultobj
= Py_None
;
9895 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9896 PyObject
*resultobj
;
9897 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9900 PyObject
* obj0
= 0 ;
9901 PyObject
* obj1
= 0 ;
9902 PyObject
* obj2
= 0 ;
9904 (char *) "self",(char *) "x",(char *) "y", NULL
9907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9910 arg2
= (int) SWIG_AsInt(obj1
);
9911 if (PyErr_Occurred()) SWIG_fail
;
9912 arg3
= (int) SWIG_AsInt(obj2
);
9913 if (PyErr_Occurred()) SWIG_fail
;
9915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9916 (arg1
)->SetMargins(arg2
,arg3
);
9918 wxPyEndAllowThreads(__tstate
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9921 Py_INCREF(Py_None
); resultobj
= Py_None
;
9928 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9929 PyObject
*resultobj
;
9930 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9931 wxColour
*arg2
= 0 ;
9933 PyObject
* obj0
= 0 ;
9934 PyObject
* obj1
= 0 ;
9936 (char *) "self",(char *) "col", NULL
9939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
9940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9944 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9948 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
9950 wxPyEndAllowThreads(__tstate
);
9951 if (PyErr_Occurred()) SWIG_fail
;
9953 Py_INCREF(Py_None
); resultobj
= Py_None
;
9960 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
9962 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9963 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
9965 return Py_BuildValue((char *)"");
9967 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9968 PyObject
*resultobj
;
9969 wxWindow
*arg1
= (wxWindow
*) 0 ;
9970 int arg2
= (int) wxID_ANY
;
9971 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9972 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9973 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9974 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9975 long arg5
= (long) 0 ;
9976 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9977 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9978 wxPyHtmlListBox
*result
;
9981 bool temp6
= False
;
9982 PyObject
* obj0
= 0 ;
9983 PyObject
* obj1
= 0 ;
9984 PyObject
* obj2
= 0 ;
9985 PyObject
* obj3
= 0 ;
9986 PyObject
* obj4
= 0 ;
9987 PyObject
* obj5
= 0 ;
9989 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9996 arg2
= (int) SWIG_AsInt(obj1
);
9997 if (PyErr_Occurred()) SWIG_fail
;
10002 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10008 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10012 arg5
= (long) SWIG_AsLong(obj4
);
10013 if (PyErr_Occurred()) SWIG_fail
;
10017 arg6
= wxString_in_helper(obj5
);
10018 if (arg6
== NULL
) SWIG_fail
;
10023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10024 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10026 wxPyEndAllowThreads(__tstate
);
10027 if (PyErr_Occurred()) SWIG_fail
;
10029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10044 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10045 PyObject
*resultobj
;
10046 wxPyHtmlListBox
*result
;
10047 char *kwnames
[] = {
10051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10054 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10056 wxPyEndAllowThreads(__tstate
);
10057 if (PyErr_Occurred()) SWIG_fail
;
10059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10066 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10067 PyObject
*resultobj
;
10068 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10069 PyObject
*arg2
= (PyObject
*) 0 ;
10070 PyObject
*arg3
= (PyObject
*) 0 ;
10071 PyObject
* obj0
= 0 ;
10072 PyObject
* obj1
= 0 ;
10073 PyObject
* obj2
= 0 ;
10074 char *kwnames
[] = {
10075 (char *) "self",(char *) "self",(char *) "_class", NULL
10078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10085 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10090 Py_INCREF(Py_None
); resultobj
= Py_None
;
10097 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10098 PyObject
*resultobj
;
10099 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10100 wxWindow
*arg2
= (wxWindow
*) 0 ;
10101 int arg3
= (int) wxID_ANY
;
10102 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10103 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10104 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10105 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10106 long arg6
= (long) 0 ;
10107 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10108 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10112 bool temp7
= False
;
10113 PyObject
* obj0
= 0 ;
10114 PyObject
* obj1
= 0 ;
10115 PyObject
* obj2
= 0 ;
10116 PyObject
* obj3
= 0 ;
10117 PyObject
* obj4
= 0 ;
10118 PyObject
* obj5
= 0 ;
10119 PyObject
* obj6
= 0 ;
10120 char *kwnames
[] = {
10121 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10127 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10130 arg3
= (int) SWIG_AsInt(obj2
);
10131 if (PyErr_Occurred()) SWIG_fail
;
10136 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10142 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10146 arg6
= (long) SWIG_AsLong(obj5
);
10147 if (PyErr_Occurred()) SWIG_fail
;
10151 arg7
= wxString_in_helper(obj6
);
10152 if (arg7
== NULL
) SWIG_fail
;
10157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10158 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10160 wxPyEndAllowThreads(__tstate
);
10161 if (PyErr_Occurred()) SWIG_fail
;
10163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10178 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10179 PyObject
*resultobj
;
10180 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10181 PyObject
* obj0
= 0 ;
10182 char *kwnames
[] = {
10183 (char *) "self", NULL
10186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10191 (arg1
)->RefreshAll();
10193 wxPyEndAllowThreads(__tstate
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10196 Py_INCREF(Py_None
); resultobj
= Py_None
;
10203 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10204 PyObject
*resultobj
;
10205 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10207 PyObject
* obj0
= 0 ;
10208 PyObject
* obj1
= 0 ;
10209 char *kwnames
[] = {
10210 (char *) "self",(char *) "count", NULL
10213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10216 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10217 if (PyErr_Occurred()) SWIG_fail
;
10219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10220 (arg1
)->SetItemCount(arg2
);
10222 wxPyEndAllowThreads(__tstate
);
10223 if (PyErr_Occurred()) SWIG_fail
;
10225 Py_INCREF(Py_None
); resultobj
= Py_None
;
10232 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
10234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10235 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10237 return Py_BuildValue((char *)"");
10239 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10240 PyObject
*resultobj
;
10241 wxTaskBarIcon
*result
;
10242 char *kwnames
[] = {
10246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10249 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10251 wxPyEndAllowThreads(__tstate
);
10252 if (PyErr_Occurred()) SWIG_fail
;
10254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10261 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10262 PyObject
*resultobj
;
10263 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10264 PyObject
* obj0
= 0 ;
10265 char *kwnames
[] = {
10266 (char *) "self", NULL
10269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10276 wxPyEndAllowThreads(__tstate
);
10277 if (PyErr_Occurred()) SWIG_fail
;
10279 Py_INCREF(Py_None
); resultobj
= Py_None
;
10286 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
10288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10289 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
10291 return Py_BuildValue((char *)"");
10293 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10294 PyObject
*resultobj
;
10296 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
10297 wxTaskBarIconEvent
*result
;
10298 PyObject
* obj0
= 0 ;
10299 PyObject
* obj1
= 0 ;
10300 char *kwnames
[] = {
10301 (char *) "evtType",(char *) "tbIcon", NULL
10304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10305 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10306 if (PyErr_Occurred()) SWIG_fail
;
10307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
10308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10311 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
10313 wxPyEndAllowThreads(__tstate
);
10314 if (PyErr_Occurred()) SWIG_fail
;
10316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
10323 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
10325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10326 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
10328 return Py_BuildValue((char *)"");
10330 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
10331 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
10336 static PyObject
*_wrap_FileSelectorPromptStr_get() {
10341 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10343 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10350 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
10351 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
10356 static PyObject
*_wrap_DirSelectorPromptStr_get() {
10361 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10363 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10370 static int _wrap_DirDialogNameStr_set(PyObject
*) {
10371 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
10376 static PyObject
*_wrap_DirDialogNameStr_get() {
10381 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10383 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10390 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
10391 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
10396 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
10401 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10403 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10410 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
10411 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
10416 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
10421 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10423 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10430 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
10431 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
10436 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
10441 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10443 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10450 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10451 PyObject
*resultobj
;
10452 wxColourData
*result
;
10453 char *kwnames
[] = {
10457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
10459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10460 result
= (wxColourData
*)new wxColourData();
10462 wxPyEndAllowThreads(__tstate
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
10472 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10473 PyObject
*resultobj
;
10474 wxColourData
*arg1
= (wxColourData
*) 0 ;
10475 PyObject
* obj0
= 0 ;
10476 char *kwnames
[] = {
10477 (char *) "self", NULL
10480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
10481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10487 wxPyEndAllowThreads(__tstate
);
10488 if (PyErr_Occurred()) SWIG_fail
;
10490 Py_INCREF(Py_None
); resultobj
= Py_None
;
10497 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10498 PyObject
*resultobj
;
10499 wxColourData
*arg1
= (wxColourData
*) 0 ;
10501 PyObject
* obj0
= 0 ;
10502 char *kwnames
[] = {
10503 (char *) "self", NULL
10506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
10507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10511 result
= (bool)(arg1
)->GetChooseFull();
10513 wxPyEndAllowThreads(__tstate
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10523 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10524 PyObject
*resultobj
;
10525 wxColourData
*arg1
= (wxColourData
*) 0 ;
10527 PyObject
* obj0
= 0 ;
10528 char *kwnames
[] = {
10529 (char *) "self", NULL
10532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
10533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10537 result
= (arg1
)->GetColour();
10539 wxPyEndAllowThreads(__tstate
);
10540 if (PyErr_Occurred()) SWIG_fail
;
10543 wxColour
* resultptr
;
10544 resultptr
= new wxColour((wxColour
&) result
);
10545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10553 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10554 PyObject
*resultobj
;
10555 wxColourData
*arg1
= (wxColourData
*) 0 ;
10558 PyObject
* obj0
= 0 ;
10559 PyObject
* obj1
= 0 ;
10560 char *kwnames
[] = {
10561 (char *) "self",(char *) "i", NULL
10564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10567 arg2
= (int) SWIG_AsInt(obj1
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10571 result
= (arg1
)->GetCustomColour(arg2
);
10573 wxPyEndAllowThreads(__tstate
);
10574 if (PyErr_Occurred()) SWIG_fail
;
10577 wxColour
* resultptr
;
10578 resultptr
= new wxColour((wxColour
&) result
);
10579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10587 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10588 PyObject
*resultobj
;
10589 wxColourData
*arg1
= (wxColourData
*) 0 ;
10591 PyObject
* obj0
= 0 ;
10592 PyObject
* obj1
= 0 ;
10593 char *kwnames
[] = {
10594 (char *) "self",(char *) "flag", NULL
10597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
10598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10600 arg2
= (int) SWIG_AsInt(obj1
);
10601 if (PyErr_Occurred()) SWIG_fail
;
10603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10604 (arg1
)->SetChooseFull(arg2
);
10606 wxPyEndAllowThreads(__tstate
);
10607 if (PyErr_Occurred()) SWIG_fail
;
10609 Py_INCREF(Py_None
); resultobj
= Py_None
;
10616 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10617 PyObject
*resultobj
;
10618 wxColourData
*arg1
= (wxColourData
*) 0 ;
10619 wxColour
*arg2
= 0 ;
10621 PyObject
* obj0
= 0 ;
10622 PyObject
* obj1
= 0 ;
10623 char *kwnames
[] = {
10624 (char *) "self",(char *) "colour", NULL
10627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10632 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10636 (arg1
)->SetColour((wxColour
const &)*arg2
);
10638 wxPyEndAllowThreads(__tstate
);
10639 if (PyErr_Occurred()) SWIG_fail
;
10641 Py_INCREF(Py_None
); resultobj
= Py_None
;
10648 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10649 PyObject
*resultobj
;
10650 wxColourData
*arg1
= (wxColourData
*) 0 ;
10652 wxColour
*arg3
= 0 ;
10654 PyObject
* obj0
= 0 ;
10655 PyObject
* obj1
= 0 ;
10656 PyObject
* obj2
= 0 ;
10657 char *kwnames
[] = {
10658 (char *) "self",(char *) "i",(char *) "colour", NULL
10661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10664 arg2
= (int) SWIG_AsInt(obj1
);
10665 if (PyErr_Occurred()) SWIG_fail
;
10668 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10672 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
10674 wxPyEndAllowThreads(__tstate
);
10675 if (PyErr_Occurred()) SWIG_fail
;
10677 Py_INCREF(Py_None
); resultobj
= Py_None
;
10684 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
10686 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10687 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
10689 return Py_BuildValue((char *)"");
10691 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10692 PyObject
*resultobj
;
10693 wxWindow
*arg1
= (wxWindow
*) 0 ;
10694 wxColourData
*arg2
= (wxColourData
*) NULL
;
10695 wxColourDialog
*result
;
10696 PyObject
* obj0
= 0 ;
10697 PyObject
* obj1
= 0 ;
10698 char *kwnames
[] = {
10699 (char *) "parent",(char *) "data", NULL
10702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
10703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10706 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
10707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10711 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
10713 wxPyEndAllowThreads(__tstate
);
10714 if (PyErr_Occurred()) SWIG_fail
;
10716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
10723 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10724 PyObject
*resultobj
;
10725 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
10726 wxColourData
*result
;
10727 PyObject
* obj0
= 0 ;
10728 char *kwnames
[] = {
10729 (char *) "self", NULL
10732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
10733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
10734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10738 wxColourData
&_result_ref
= (arg1
)->GetColourData();
10739 result
= (wxColourData
*) &_result_ref
;
10742 wxPyEndAllowThreads(__tstate
);
10743 if (PyErr_Occurred()) SWIG_fail
;
10745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
10752 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
10754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10755 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
10757 return Py_BuildValue((char *)"");
10759 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10760 PyObject
*resultobj
;
10761 wxWindow
*arg1
= (wxWindow
*) 0 ;
10762 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
10763 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10764 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10765 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10766 long arg4
= (long) 0 ;
10767 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10768 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10769 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10770 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10771 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
10772 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10773 wxDirDialog
*result
;
10774 bool temp2
= False
;
10775 bool temp3
= False
;
10778 bool temp7
= False
;
10779 PyObject
* obj0
= 0 ;
10780 PyObject
* obj1
= 0 ;
10781 PyObject
* obj2
= 0 ;
10782 PyObject
* obj3
= 0 ;
10783 PyObject
* obj4
= 0 ;
10784 PyObject
* obj5
= 0 ;
10785 PyObject
* obj6
= 0 ;
10786 char *kwnames
[] = {
10787 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
10790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10795 arg2
= wxString_in_helper(obj1
);
10796 if (arg2
== NULL
) SWIG_fail
;
10802 arg3
= wxString_in_helper(obj2
);
10803 if (arg3
== NULL
) SWIG_fail
;
10808 arg4
= (long) SWIG_AsLong(obj3
);
10809 if (PyErr_Occurred()) SWIG_fail
;
10814 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10820 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10825 arg7
= wxString_in_helper(obj6
);
10826 if (arg7
== NULL
) SWIG_fail
;
10831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10832 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
10834 wxPyEndAllowThreads(__tstate
);
10835 if (PyErr_Occurred()) SWIG_fail
;
10837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
10868 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10869 PyObject
*resultobj
;
10870 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10872 PyObject
* obj0
= 0 ;
10873 char *kwnames
[] = {
10874 (char *) "self", NULL
10877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
10878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
10879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10882 result
= (arg1
)->GetPath();
10884 wxPyEndAllowThreads(__tstate
);
10885 if (PyErr_Occurred()) SWIG_fail
;
10889 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10891 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10900 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10901 PyObject
*resultobj
;
10902 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10904 PyObject
* obj0
= 0 ;
10905 char *kwnames
[] = {
10906 (char *) "self", NULL
10909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
10910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
10911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10914 result
= (arg1
)->GetMessage();
10916 wxPyEndAllowThreads(__tstate
);
10917 if (PyErr_Occurred()) SWIG_fail
;
10921 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10923 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10932 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10933 PyObject
*resultobj
;
10934 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10936 PyObject
* obj0
= 0 ;
10937 char *kwnames
[] = {
10938 (char *) "self", NULL
10941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
10942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
10943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10946 result
= (long)(arg1
)->GetStyle();
10948 wxPyEndAllowThreads(__tstate
);
10949 if (PyErr_Occurred()) SWIG_fail
;
10951 resultobj
= SWIG_FromLong((long)result
);
10958 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10959 PyObject
*resultobj
;
10960 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10961 wxString
*arg2
= 0 ;
10962 bool temp2
= False
;
10963 PyObject
* obj0
= 0 ;
10964 PyObject
* obj1
= 0 ;
10965 char *kwnames
[] = {
10966 (char *) "self",(char *) "message", NULL
10969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
10971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10973 arg2
= wxString_in_helper(obj1
);
10974 if (arg2
== NULL
) SWIG_fail
;
10978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10979 (arg1
)->SetMessage((wxString
const &)*arg2
);
10981 wxPyEndAllowThreads(__tstate
);
10982 if (PyErr_Occurred()) SWIG_fail
;
10984 Py_INCREF(Py_None
); resultobj
= Py_None
;
10999 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11000 PyObject
*resultobj
;
11001 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11002 wxString
*arg2
= 0 ;
11003 bool temp2
= False
;
11004 PyObject
* obj0
= 0 ;
11005 PyObject
* obj1
= 0 ;
11006 char *kwnames
[] = {
11007 (char *) "self",(char *) "path", NULL
11010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11014 arg2
= wxString_in_helper(obj1
);
11015 if (arg2
== NULL
) SWIG_fail
;
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 (arg1
)->SetPath((wxString
const &)*arg2
);
11022 wxPyEndAllowThreads(__tstate
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11025 Py_INCREF(Py_None
); resultobj
= Py_None
;
11040 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
11042 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11043 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11045 return Py_BuildValue((char *)"");
11047 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11048 PyObject
*resultobj
;
11049 wxWindow
*arg1
= (wxWindow
*) 0 ;
11050 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11051 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11052 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11053 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11054 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11055 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11056 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11057 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11058 long arg6
= (long) 0 ;
11059 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11060 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11061 wxFileDialog
*result
;
11062 bool temp2
= False
;
11063 bool temp3
= False
;
11064 bool temp4
= False
;
11065 bool temp5
= False
;
11067 PyObject
* obj0
= 0 ;
11068 PyObject
* obj1
= 0 ;
11069 PyObject
* obj2
= 0 ;
11070 PyObject
* obj3
= 0 ;
11071 PyObject
* obj4
= 0 ;
11072 PyObject
* obj5
= 0 ;
11073 PyObject
* obj6
= 0 ;
11074 char *kwnames
[] = {
11075 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11083 arg2
= wxString_in_helper(obj1
);
11084 if (arg2
== NULL
) SWIG_fail
;
11090 arg3
= wxString_in_helper(obj2
);
11091 if (arg3
== NULL
) SWIG_fail
;
11097 arg4
= wxString_in_helper(obj3
);
11098 if (arg4
== NULL
) SWIG_fail
;
11104 arg5
= wxString_in_helper(obj4
);
11105 if (arg5
== NULL
) SWIG_fail
;
11110 arg6
= (long) SWIG_AsLong(obj5
);
11111 if (PyErr_Occurred()) SWIG_fail
;
11116 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11121 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11123 wxPyEndAllowThreads(__tstate
);
11124 if (PyErr_Occurred()) SWIG_fail
;
11126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11165 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11166 PyObject
*resultobj
;
11167 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11168 wxString
*arg2
= 0 ;
11169 bool temp2
= False
;
11170 PyObject
* obj0
= 0 ;
11171 PyObject
* obj1
= 0 ;
11172 char *kwnames
[] = {
11173 (char *) "self",(char *) "message", NULL
11176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11180 arg2
= wxString_in_helper(obj1
);
11181 if (arg2
== NULL
) SWIG_fail
;
11185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11186 (arg1
)->SetMessage((wxString
const &)*arg2
);
11188 wxPyEndAllowThreads(__tstate
);
11189 if (PyErr_Occurred()) SWIG_fail
;
11191 Py_INCREF(Py_None
); resultobj
= Py_None
;
11206 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11207 PyObject
*resultobj
;
11208 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11209 wxString
*arg2
= 0 ;
11210 bool temp2
= False
;
11211 PyObject
* obj0
= 0 ;
11212 PyObject
* obj1
= 0 ;
11213 char *kwnames
[] = {
11214 (char *) "self",(char *) "path", NULL
11217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11221 arg2
= wxString_in_helper(obj1
);
11222 if (arg2
== NULL
) SWIG_fail
;
11226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11227 (arg1
)->SetPath((wxString
const &)*arg2
);
11229 wxPyEndAllowThreads(__tstate
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11232 Py_INCREF(Py_None
); resultobj
= Py_None
;
11247 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11248 PyObject
*resultobj
;
11249 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11250 wxString
*arg2
= 0 ;
11251 bool temp2
= False
;
11252 PyObject
* obj0
= 0 ;
11253 PyObject
* obj1
= 0 ;
11254 char *kwnames
[] = {
11255 (char *) "self",(char *) "dir", NULL
11258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
11259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11262 arg2
= wxString_in_helper(obj1
);
11263 if (arg2
== NULL
) SWIG_fail
;
11267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11268 (arg1
)->SetDirectory((wxString
const &)*arg2
);
11270 wxPyEndAllowThreads(__tstate
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11273 Py_INCREF(Py_None
); resultobj
= Py_None
;
11288 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11289 PyObject
*resultobj
;
11290 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11291 wxString
*arg2
= 0 ;
11292 bool temp2
= False
;
11293 PyObject
* obj0
= 0 ;
11294 PyObject
* obj1
= 0 ;
11295 char *kwnames
[] = {
11296 (char *) "self",(char *) "name", NULL
11299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11303 arg2
= wxString_in_helper(obj1
);
11304 if (arg2
== NULL
) SWIG_fail
;
11308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11309 (arg1
)->SetFilename((wxString
const &)*arg2
);
11311 wxPyEndAllowThreads(__tstate
);
11312 if (PyErr_Occurred()) SWIG_fail
;
11314 Py_INCREF(Py_None
); resultobj
= Py_None
;
11329 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11330 PyObject
*resultobj
;
11331 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11332 wxString
*arg2
= 0 ;
11333 bool temp2
= False
;
11334 PyObject
* obj0
= 0 ;
11335 PyObject
* obj1
= 0 ;
11336 char *kwnames
[] = {
11337 (char *) "self",(char *) "wildCard", NULL
11340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
11341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11344 arg2
= wxString_in_helper(obj1
);
11345 if (arg2
== NULL
) SWIG_fail
;
11349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11350 (arg1
)->SetWildcard((wxString
const &)*arg2
);
11352 wxPyEndAllowThreads(__tstate
);
11353 if (PyErr_Occurred()) SWIG_fail
;
11355 Py_INCREF(Py_None
); resultobj
= Py_None
;
11370 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11371 PyObject
*resultobj
;
11372 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11374 PyObject
* obj0
= 0 ;
11375 PyObject
* obj1
= 0 ;
11376 char *kwnames
[] = {
11377 (char *) "self",(char *) "style", NULL
11380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11383 arg2
= (long) SWIG_AsLong(obj1
);
11384 if (PyErr_Occurred()) SWIG_fail
;
11386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11387 (arg1
)->SetStyle(arg2
);
11389 wxPyEndAllowThreads(__tstate
);
11390 if (PyErr_Occurred()) SWIG_fail
;
11392 Py_INCREF(Py_None
); resultobj
= Py_None
;
11399 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11400 PyObject
*resultobj
;
11401 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11403 PyObject
* obj0
= 0 ;
11404 PyObject
* obj1
= 0 ;
11405 char *kwnames
[] = {
11406 (char *) "self",(char *) "filterIndex", NULL
11409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
11410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11412 arg2
= (int) SWIG_AsInt(obj1
);
11413 if (PyErr_Occurred()) SWIG_fail
;
11415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11416 (arg1
)->SetFilterIndex(arg2
);
11418 wxPyEndAllowThreads(__tstate
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11421 Py_INCREF(Py_None
); resultobj
= Py_None
;
11428 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11429 PyObject
*resultobj
;
11430 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11432 PyObject
* obj0
= 0 ;
11433 char *kwnames
[] = {
11434 (char *) "self", NULL
11437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11442 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
11444 wxPyEndAllowThreads(__tstate
);
11445 if (PyErr_Occurred()) SWIG_fail
;
11449 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11451 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11460 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11461 PyObject
*resultobj
;
11462 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11464 PyObject
* obj0
= 0 ;
11465 char *kwnames
[] = {
11466 (char *) "self", NULL
11469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 result
= ((wxFileDialog
const *)arg1
)->GetPath();
11476 wxPyEndAllowThreads(__tstate
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11481 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11483 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11492 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11493 PyObject
*resultobj
;
11494 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11496 PyObject
* obj0
= 0 ;
11497 char *kwnames
[] = {
11498 (char *) "self", NULL
11501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
11502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11506 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
11508 wxPyEndAllowThreads(__tstate
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11513 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11515 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11524 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11525 PyObject
*resultobj
;
11526 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11528 PyObject
* obj0
= 0 ;
11529 char *kwnames
[] = {
11530 (char *) "self", NULL
11533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
11534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11538 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
11540 wxPyEndAllowThreads(__tstate
);
11541 if (PyErr_Occurred()) SWIG_fail
;
11545 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11547 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11556 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11557 PyObject
*resultobj
;
11558 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11560 PyObject
* obj0
= 0 ;
11561 char *kwnames
[] = {
11562 (char *) "self", NULL
11565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
11566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11570 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
11572 wxPyEndAllowThreads(__tstate
);
11573 if (PyErr_Occurred()) SWIG_fail
;
11577 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11579 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11588 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11589 PyObject
*resultobj
;
11590 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11592 PyObject
* obj0
= 0 ;
11593 char *kwnames
[] = {
11594 (char *) "self", NULL
11597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11602 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
11604 wxPyEndAllowThreads(__tstate
);
11605 if (PyErr_Occurred()) SWIG_fail
;
11607 resultobj
= SWIG_FromLong((long)result
);
11614 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11615 PyObject
*resultobj
;
11616 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11618 PyObject
* obj0
= 0 ;
11619 char *kwnames
[] = {
11620 (char *) "self", NULL
11623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
11624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11628 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
11630 wxPyEndAllowThreads(__tstate
);
11631 if (PyErr_Occurred()) SWIG_fail
;
11633 resultobj
= SWIG_FromInt((int)result
);
11640 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11641 PyObject
*resultobj
;
11642 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11644 PyObject
* obj0
= 0 ;
11645 char *kwnames
[] = {
11646 (char *) "self", NULL
11649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
11650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11654 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
11656 wxPyEndAllowThreads(__tstate
);
11657 if (PyErr_Occurred()) SWIG_fail
;
11659 resultobj
= result
;
11666 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11667 PyObject
*resultobj
;
11668 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11670 PyObject
* obj0
= 0 ;
11671 char *kwnames
[] = {
11672 (char *) "self", NULL
11675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
11676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11680 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
11682 wxPyEndAllowThreads(__tstate
);
11683 if (PyErr_Occurred()) SWIG_fail
;
11685 resultobj
= result
;
11692 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
11694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11695 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
11697 return Py_BuildValue((char *)"");
11699 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11700 PyObject
*resultobj
;
11701 wxWindow
*arg1
= (wxWindow
*) 0 ;
11702 wxString
*arg2
= 0 ;
11703 wxString
*arg3
= 0 ;
11704 int arg4
= (int) 0 ;
11705 wxString
*arg5
= (wxString
*) 0 ;
11706 long arg6
= (long) wxCHOICEDLG_STYLE
;
11707 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11708 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11709 wxMultiChoiceDialog
*result
;
11710 bool temp2
= False
;
11711 bool temp3
= False
;
11713 PyObject
* obj0
= 0 ;
11714 PyObject
* obj1
= 0 ;
11715 PyObject
* obj2
= 0 ;
11716 PyObject
* obj3
= 0 ;
11717 PyObject
* obj4
= 0 ;
11718 PyObject
* obj5
= 0 ;
11719 char *kwnames
[] = {
11720 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11727 arg2
= wxString_in_helper(obj1
);
11728 if (arg2
== NULL
) SWIG_fail
;
11732 arg3
= wxString_in_helper(obj2
);
11733 if (arg3
== NULL
) SWIG_fail
;
11738 arg4
= PyList_Size(obj3
);
11739 arg5
= wxString_LIST_helper(obj3
);
11740 if (arg5
== NULL
) SWIG_fail
;
11744 arg6
= (long) SWIG_AsLong(obj4
);
11745 if (PyErr_Occurred()) SWIG_fail
;
11750 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
11754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11755 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
11757 wxPyEndAllowThreads(__tstate
);
11758 if (PyErr_Occurred()) SWIG_fail
;
11760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
11770 if (arg5
) delete [] arg5
;
11783 if (arg5
) delete [] arg5
;
11789 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11790 PyObject
*resultobj
;
11791 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
11792 wxArrayInt
*arg2
= 0 ;
11793 bool temp2
= False
;
11794 PyObject
* obj0
= 0 ;
11795 PyObject
* obj1
= 0 ;
11796 char *kwnames
[] = {
11797 (char *) "self",(char *) "selections", NULL
11800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
11801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
11802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11804 if (! PySequence_Check(obj1
)) {
11805 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
11808 arg2
= new wxArrayInt
;
11810 int i
, len
=PySequence_Length(obj1
);
11811 for (i
=0; i
<len
; i
++) {
11812 PyObject
* item
= PySequence_GetItem(obj1
, i
);
11813 PyObject
* number
= PyNumber_Int(item
);
11814 arg2
->Add(PyInt_AS_LONG(number
));
11820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11821 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
11823 wxPyEndAllowThreads(__tstate
);
11824 if (PyErr_Occurred()) SWIG_fail
;
11826 Py_INCREF(Py_None
); resultobj
= Py_None
;
11828 if (temp2
) delete arg2
;
11833 if (temp2
) delete arg2
;
11839 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11840 PyObject
*resultobj
;
11841 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
11843 PyObject
* obj0
= 0 ;
11844 char *kwnames
[] = {
11845 (char *) "self", NULL
11848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
11849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
11850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11853 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
11855 wxPyEndAllowThreads(__tstate
);
11856 if (PyErr_Occurred()) SWIG_fail
;
11858 resultobj
= result
;
11865 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
11867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11868 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
11870 return Py_BuildValue((char *)"");
11872 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11873 PyObject
*resultobj
;
11874 wxWindow
*arg1
= (wxWindow
*) 0 ;
11875 wxString
*arg2
= 0 ;
11876 wxString
*arg3
= 0 ;
11878 wxString
*arg5
= (wxString
*) 0 ;
11879 long arg6
= (long) wxCHOICEDLG_STYLE
;
11880 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11881 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11882 wxSingleChoiceDialog
*result
;
11883 bool temp2
= False
;
11884 bool temp3
= False
;
11886 PyObject
* obj0
= 0 ;
11887 PyObject
* obj1
= 0 ;
11888 PyObject
* obj2
= 0 ;
11889 PyObject
* obj3
= 0 ;
11890 PyObject
* obj4
= 0 ;
11891 PyObject
* obj5
= 0 ;
11892 char *kwnames
[] = {
11893 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11900 arg2
= wxString_in_helper(obj1
);
11901 if (arg2
== NULL
) SWIG_fail
;
11905 arg3
= wxString_in_helper(obj2
);
11906 if (arg3
== NULL
) SWIG_fail
;
11910 arg4
= PyList_Size(obj3
);
11911 arg5
= wxString_LIST_helper(obj3
);
11912 if (arg5
== NULL
) SWIG_fail
;
11915 arg6
= (long) SWIG_AsLong(obj4
);
11916 if (PyErr_Occurred()) SWIG_fail
;
11921 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
11925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11926 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
11928 wxPyEndAllowThreads(__tstate
);
11929 if (PyErr_Occurred()) SWIG_fail
;
11931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
11941 if (arg5
) delete [] arg5
;
11954 if (arg5
) delete [] arg5
;
11960 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11961 PyObject
*resultobj
;
11962 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11964 PyObject
* obj0
= 0 ;
11965 char *kwnames
[] = {
11966 (char *) "self", NULL
11969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
11970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
11971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11974 result
= (int)(arg1
)->GetSelection();
11976 wxPyEndAllowThreads(__tstate
);
11977 if (PyErr_Occurred()) SWIG_fail
;
11979 resultobj
= SWIG_FromInt((int)result
);
11986 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11987 PyObject
*resultobj
;
11988 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
11990 PyObject
* obj0
= 0 ;
11991 char *kwnames
[] = {
11992 (char *) "self", NULL
11995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
11997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12000 result
= (arg1
)->GetStringSelection();
12002 wxPyEndAllowThreads(__tstate
);
12003 if (PyErr_Occurred()) SWIG_fail
;
12007 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12009 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12018 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12019 PyObject
*resultobj
;
12020 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12022 PyObject
* obj0
= 0 ;
12023 PyObject
* obj1
= 0 ;
12024 char *kwnames
[] = {
12025 (char *) "self",(char *) "sel", NULL
12028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12031 arg2
= (int) SWIG_AsInt(obj1
);
12032 if (PyErr_Occurred()) SWIG_fail
;
12034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12035 (arg1
)->SetSelection(arg2
);
12037 wxPyEndAllowThreads(__tstate
);
12038 if (PyErr_Occurred()) SWIG_fail
;
12040 Py_INCREF(Py_None
); resultobj
= Py_None
;
12047 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
12049 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12050 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12052 return Py_BuildValue((char *)"");
12054 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12055 PyObject
*resultobj
;
12056 wxWindow
*arg1
= (wxWindow
*) 0 ;
12057 wxString
*arg2
= 0 ;
12058 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12059 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12060 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12061 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12062 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12063 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12064 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12065 wxTextEntryDialog
*result
;
12066 bool temp2
= False
;
12067 bool temp3
= False
;
12068 bool temp4
= False
;
12070 PyObject
* obj0
= 0 ;
12071 PyObject
* obj1
= 0 ;
12072 PyObject
* obj2
= 0 ;
12073 PyObject
* obj3
= 0 ;
12074 PyObject
* obj4
= 0 ;
12075 PyObject
* obj5
= 0 ;
12076 char *kwnames
[] = {
12077 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12084 arg2
= wxString_in_helper(obj1
);
12085 if (arg2
== NULL
) SWIG_fail
;
12090 arg3
= wxString_in_helper(obj2
);
12091 if (arg3
== NULL
) SWIG_fail
;
12097 arg4
= wxString_in_helper(obj3
);
12098 if (arg4
== NULL
) SWIG_fail
;
12103 arg5
= (long) SWIG_AsLong(obj4
);
12104 if (PyErr_Occurred()) SWIG_fail
;
12109 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12114 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12116 wxPyEndAllowThreads(__tstate
);
12117 if (PyErr_Occurred()) SWIG_fail
;
12119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12150 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12151 PyObject
*resultobj
;
12152 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12154 PyObject
* obj0
= 0 ;
12155 char *kwnames
[] = {
12156 (char *) "self", NULL
12159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12164 result
= (arg1
)->GetValue();
12166 wxPyEndAllowThreads(__tstate
);
12167 if (PyErr_Occurred()) SWIG_fail
;
12171 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12173 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12182 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12183 PyObject
*resultobj
;
12184 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12185 wxString
*arg2
= 0 ;
12186 bool temp2
= False
;
12187 PyObject
* obj0
= 0 ;
12188 PyObject
* obj1
= 0 ;
12189 char *kwnames
[] = {
12190 (char *) "self",(char *) "value", NULL
12193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12197 arg2
= wxString_in_helper(obj1
);
12198 if (arg2
== NULL
) SWIG_fail
;
12202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12203 (arg1
)->SetValue((wxString
const &)*arg2
);
12205 wxPyEndAllowThreads(__tstate
);
12206 if (PyErr_Occurred()) SWIG_fail
;
12208 Py_INCREF(Py_None
); resultobj
= Py_None
;
12223 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
12225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12226 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12228 return Py_BuildValue((char *)"");
12230 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12231 PyObject
*resultobj
;
12232 wxFontData
*result
;
12233 char *kwnames
[] = {
12237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
12239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12240 result
= (wxFontData
*)new wxFontData();
12242 wxPyEndAllowThreads(__tstate
);
12243 if (PyErr_Occurred()) SWIG_fail
;
12245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
12252 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12253 PyObject
*resultobj
;
12254 wxFontData
*arg1
= (wxFontData
*) 0 ;
12255 PyObject
* obj0
= 0 ;
12256 char *kwnames
[] = {
12257 (char *) "self", NULL
12260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
12261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12267 wxPyEndAllowThreads(__tstate
);
12268 if (PyErr_Occurred()) SWIG_fail
;
12270 Py_INCREF(Py_None
); resultobj
= Py_None
;
12277 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12278 PyObject
*resultobj
;
12279 wxFontData
*arg1
= (wxFontData
*) 0 ;
12281 PyObject
* obj0
= 0 ;
12282 PyObject
* obj1
= 0 ;
12283 char *kwnames
[] = {
12284 (char *) "self",(char *) "enable", NULL
12287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
12288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12290 arg2
= (bool) SWIG_AsBool(obj1
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12294 (arg1
)->EnableEffects(arg2
);
12296 wxPyEndAllowThreads(__tstate
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12299 Py_INCREF(Py_None
); resultobj
= Py_None
;
12306 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12307 PyObject
*resultobj
;
12308 wxFontData
*arg1
= (wxFontData
*) 0 ;
12310 PyObject
* obj0
= 0 ;
12311 char *kwnames
[] = {
12312 (char *) "self", NULL
12315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
12316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12320 result
= (bool)(arg1
)->GetAllowSymbols();
12322 wxPyEndAllowThreads(__tstate
);
12323 if (PyErr_Occurred()) SWIG_fail
;
12325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12332 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12333 PyObject
*resultobj
;
12334 wxFontData
*arg1
= (wxFontData
*) 0 ;
12336 PyObject
* obj0
= 0 ;
12337 char *kwnames
[] = {
12338 (char *) "self", NULL
12341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
12342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12346 result
= (arg1
)->GetColour();
12348 wxPyEndAllowThreads(__tstate
);
12349 if (PyErr_Occurred()) SWIG_fail
;
12352 wxColour
* resultptr
;
12353 resultptr
= new wxColour((wxColour
&) result
);
12354 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12362 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12363 PyObject
*resultobj
;
12364 wxFontData
*arg1
= (wxFontData
*) 0 ;
12366 PyObject
* obj0
= 0 ;
12367 char *kwnames
[] = {
12368 (char *) "self", NULL
12371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
12372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12376 result
= (arg1
)->GetChosenFont();
12378 wxPyEndAllowThreads(__tstate
);
12379 if (PyErr_Occurred()) SWIG_fail
;
12382 wxFont
* resultptr
;
12383 resultptr
= new wxFont((wxFont
&) result
);
12384 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12392 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12393 PyObject
*resultobj
;
12394 wxFontData
*arg1
= (wxFontData
*) 0 ;
12396 PyObject
* obj0
= 0 ;
12397 char *kwnames
[] = {
12398 (char *) "self", NULL
12401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
12402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12406 result
= (bool)(arg1
)->GetEnableEffects();
12408 wxPyEndAllowThreads(__tstate
);
12409 if (PyErr_Occurred()) SWIG_fail
;
12411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12418 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12419 PyObject
*resultobj
;
12420 wxFontData
*arg1
= (wxFontData
*) 0 ;
12422 PyObject
* obj0
= 0 ;
12423 char *kwnames
[] = {
12424 (char *) "self", NULL
12427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
12428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12432 result
= (arg1
)->GetInitialFont();
12434 wxPyEndAllowThreads(__tstate
);
12435 if (PyErr_Occurred()) SWIG_fail
;
12438 wxFont
* resultptr
;
12439 resultptr
= new wxFont((wxFont
&) result
);
12440 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12448 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12449 PyObject
*resultobj
;
12450 wxFontData
*arg1
= (wxFontData
*) 0 ;
12452 PyObject
* obj0
= 0 ;
12453 char *kwnames
[] = {
12454 (char *) "self", NULL
12457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
12458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12462 result
= (bool)(arg1
)->GetShowHelp();
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12474 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12475 PyObject
*resultobj
;
12476 wxFontData
*arg1
= (wxFontData
*) 0 ;
12478 PyObject
* obj0
= 0 ;
12479 PyObject
* obj1
= 0 ;
12480 char *kwnames
[] = {
12481 (char *) "self",(char *) "allowSymbols", NULL
12484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
12485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12487 arg2
= (bool) SWIG_AsBool(obj1
);
12488 if (PyErr_Occurred()) SWIG_fail
;
12490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12491 (arg1
)->SetAllowSymbols(arg2
);
12493 wxPyEndAllowThreads(__tstate
);
12494 if (PyErr_Occurred()) SWIG_fail
;
12496 Py_INCREF(Py_None
); resultobj
= Py_None
;
12503 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12504 PyObject
*resultobj
;
12505 wxFontData
*arg1
= (wxFontData
*) 0 ;
12507 PyObject
* obj0
= 0 ;
12508 PyObject
* obj1
= 0 ;
12509 char *kwnames
[] = {
12510 (char *) "self",(char *) "font", NULL
12513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12517 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12519 if (arg2
== NULL
) {
12520 PyErr_SetString(PyExc_TypeError
,"null reference");
12524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12525 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
12527 wxPyEndAllowThreads(__tstate
);
12528 if (PyErr_Occurred()) SWIG_fail
;
12530 Py_INCREF(Py_None
); resultobj
= Py_None
;
12537 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12538 PyObject
*resultobj
;
12539 wxFontData
*arg1
= (wxFontData
*) 0 ;
12540 wxColour
*arg2
= 0 ;
12542 PyObject
* obj0
= 0 ;
12543 PyObject
* obj1
= 0 ;
12544 char *kwnames
[] = {
12545 (char *) "self",(char *) "colour", NULL
12548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12553 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12557 (arg1
)->SetColour((wxColour
const &)*arg2
);
12559 wxPyEndAllowThreads(__tstate
);
12560 if (PyErr_Occurred()) SWIG_fail
;
12562 Py_INCREF(Py_None
); resultobj
= Py_None
;
12569 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12570 PyObject
*resultobj
;
12571 wxFontData
*arg1
= (wxFontData
*) 0 ;
12573 PyObject
* obj0
= 0 ;
12574 PyObject
* obj1
= 0 ;
12575 char *kwnames
[] = {
12576 (char *) "self",(char *) "font", NULL
12579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12583 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12585 if (arg2
== NULL
) {
12586 PyErr_SetString(PyExc_TypeError
,"null reference");
12590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12591 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
12593 wxPyEndAllowThreads(__tstate
);
12594 if (PyErr_Occurred()) SWIG_fail
;
12596 Py_INCREF(Py_None
); resultobj
= Py_None
;
12603 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12604 PyObject
*resultobj
;
12605 wxFontData
*arg1
= (wxFontData
*) 0 ;
12608 PyObject
* obj0
= 0 ;
12609 PyObject
* obj1
= 0 ;
12610 PyObject
* obj2
= 0 ;
12611 char *kwnames
[] = {
12612 (char *) "self",(char *) "min",(char *) "max", NULL
12615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12618 arg2
= (int) SWIG_AsInt(obj1
);
12619 if (PyErr_Occurred()) SWIG_fail
;
12620 arg3
= (int) SWIG_AsInt(obj2
);
12621 if (PyErr_Occurred()) SWIG_fail
;
12623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 (arg1
)->SetRange(arg2
,arg3
);
12626 wxPyEndAllowThreads(__tstate
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12629 Py_INCREF(Py_None
); resultobj
= Py_None
;
12636 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12637 PyObject
*resultobj
;
12638 wxFontData
*arg1
= (wxFontData
*) 0 ;
12640 PyObject
* obj0
= 0 ;
12641 PyObject
* obj1
= 0 ;
12642 char *kwnames
[] = {
12643 (char *) "self",(char *) "showHelp", NULL
12646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
12647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12649 arg2
= (bool) SWIG_AsBool(obj1
);
12650 if (PyErr_Occurred()) SWIG_fail
;
12652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12653 (arg1
)->SetShowHelp(arg2
);
12655 wxPyEndAllowThreads(__tstate
);
12656 if (PyErr_Occurred()) SWIG_fail
;
12658 Py_INCREF(Py_None
); resultobj
= Py_None
;
12665 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
12667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12668 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
12670 return Py_BuildValue((char *)"");
12672 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12673 PyObject
*resultobj
;
12674 wxWindow
*arg1
= (wxWindow
*) 0 ;
12675 wxFontData
*arg2
= 0 ;
12676 wxFontDialog
*result
;
12677 PyObject
* obj0
= 0 ;
12678 PyObject
* obj1
= 0 ;
12679 char *kwnames
[] = {
12680 (char *) "parent",(char *) "data", NULL
12683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
12684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12686 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
12687 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12689 if (arg2
== NULL
) {
12690 PyErr_SetString(PyExc_TypeError
,"null reference");
12694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12695 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
12697 wxPyEndAllowThreads(__tstate
);
12698 if (PyErr_Occurred()) SWIG_fail
;
12700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
12707 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12708 PyObject
*resultobj
;
12709 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
12710 wxFontData
*result
;
12711 PyObject
* obj0
= 0 ;
12712 char *kwnames
[] = {
12713 (char *) "self", NULL
12716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
12717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
12718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12722 wxFontData
&_result_ref
= (arg1
)->GetFontData();
12723 result
= (wxFontData
*) &_result_ref
;
12726 wxPyEndAllowThreads(__tstate
);
12727 if (PyErr_Occurred()) SWIG_fail
;
12729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
12736 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
12738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12739 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
12741 return Py_BuildValue((char *)"");
12743 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12744 PyObject
*resultobj
;
12745 wxWindow
*arg1
= (wxWindow
*) 0 ;
12746 wxString
*arg2
= 0 ;
12747 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
12748 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12749 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12750 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12751 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12752 wxMessageDialog
*result
;
12753 bool temp2
= False
;
12754 bool temp3
= False
;
12756 PyObject
* obj0
= 0 ;
12757 PyObject
* obj1
= 0 ;
12758 PyObject
* obj2
= 0 ;
12759 PyObject
* obj3
= 0 ;
12760 PyObject
* obj4
= 0 ;
12761 char *kwnames
[] = {
12762 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
12765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12769 arg2
= wxString_in_helper(obj1
);
12770 if (arg2
== NULL
) SWIG_fail
;
12775 arg3
= wxString_in_helper(obj2
);
12776 if (arg3
== NULL
) SWIG_fail
;
12781 arg4
= (long) SWIG_AsLong(obj3
);
12782 if (PyErr_Occurred()) SWIG_fail
;
12787 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12792 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
12794 wxPyEndAllowThreads(__tstate
);
12795 if (PyErr_Occurred()) SWIG_fail
;
12797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
12820 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
12822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12823 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
12825 return Py_BuildValue((char *)"");
12827 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12828 PyObject
*resultobj
;
12829 wxString
*arg1
= 0 ;
12830 wxString
*arg2
= 0 ;
12831 int arg3
= (int) 100 ;
12832 wxWindow
*arg4
= (wxWindow
*) NULL
;
12833 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
12834 wxProgressDialog
*result
;
12835 bool temp1
= False
;
12836 bool temp2
= False
;
12837 PyObject
* obj0
= 0 ;
12838 PyObject
* obj1
= 0 ;
12839 PyObject
* obj2
= 0 ;
12840 PyObject
* obj3
= 0 ;
12841 PyObject
* obj4
= 0 ;
12842 char *kwnames
[] = {
12843 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
12846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12848 arg1
= wxString_in_helper(obj0
);
12849 if (arg1
== NULL
) SWIG_fail
;
12853 arg2
= wxString_in_helper(obj1
);
12854 if (arg2
== NULL
) SWIG_fail
;
12858 arg3
= (int) SWIG_AsInt(obj2
);
12859 if (PyErr_Occurred()) SWIG_fail
;
12862 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
12863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12866 arg5
= (int) SWIG_AsInt(obj4
);
12867 if (PyErr_Occurred()) SWIG_fail
;
12870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12871 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
12873 wxPyEndAllowThreads(__tstate
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
12899 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12900 PyObject
*resultobj
;
12901 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
12903 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12904 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12906 bool temp3
= False
;
12907 PyObject
* obj0
= 0 ;
12908 PyObject
* obj1
= 0 ;
12909 PyObject
* obj2
= 0 ;
12910 char *kwnames
[] = {
12911 (char *) "self",(char *) "value",(char *) "newmsg", NULL
12914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
12916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12917 arg2
= (int) SWIG_AsInt(obj1
);
12918 if (PyErr_Occurred()) SWIG_fail
;
12921 arg3
= wxString_in_helper(obj2
);
12922 if (arg3
== NULL
) SWIG_fail
;
12927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12928 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
12930 wxPyEndAllowThreads(__tstate
);
12931 if (PyErr_Occurred()) SWIG_fail
;
12933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12948 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12949 PyObject
*resultobj
;
12950 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
12951 PyObject
* obj0
= 0 ;
12952 char *kwnames
[] = {
12953 (char *) "self", NULL
12956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
12957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
12958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12963 wxPyEndAllowThreads(__tstate
);
12964 if (PyErr_Occurred()) SWIG_fail
;
12966 Py_INCREF(Py_None
); resultobj
= Py_None
;
12973 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
12975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12976 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
12978 return Py_BuildValue((char *)"");
12980 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12981 PyObject
*resultobj
;
12982 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12983 int arg2
= (int) 0 ;
12984 wxFindDialogEvent
*result
;
12985 PyObject
* obj0
= 0 ;
12986 PyObject
* obj1
= 0 ;
12987 char *kwnames
[] = {
12988 (char *) "commandType",(char *) "id", NULL
12991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12993 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12994 if (PyErr_Occurred()) SWIG_fail
;
12997 arg2
= (int) SWIG_AsInt(obj1
);
12998 if (PyErr_Occurred()) SWIG_fail
;
13001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13002 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13004 wxPyEndAllowThreads(__tstate
);
13005 if (PyErr_Occurred()) SWIG_fail
;
13007 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13014 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13015 PyObject
*resultobj
;
13016 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13018 PyObject
* obj0
= 0 ;
13019 char *kwnames
[] = {
13020 (char *) "self", NULL
13023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13028 result
= (int)(arg1
)->GetFlags();
13030 wxPyEndAllowThreads(__tstate
);
13031 if (PyErr_Occurred()) SWIG_fail
;
13033 resultobj
= SWIG_FromInt((int)result
);
13040 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13041 PyObject
*resultobj
;
13042 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13044 PyObject
* obj0
= 0 ;
13045 char *kwnames
[] = {
13046 (char *) "self", NULL
13049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13055 wxString
const &_result_ref
= (arg1
)->GetFindString();
13056 result
= (wxString
*) &_result_ref
;
13059 wxPyEndAllowThreads(__tstate
);
13060 if (PyErr_Occurred()) SWIG_fail
;
13064 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13066 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13075 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13076 PyObject
*resultobj
;
13077 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13079 PyObject
* obj0
= 0 ;
13080 char *kwnames
[] = {
13081 (char *) "self", NULL
13084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13090 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13091 result
= (wxString
*) &_result_ref
;
13094 wxPyEndAllowThreads(__tstate
);
13095 if (PyErr_Occurred()) SWIG_fail
;
13099 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13101 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13110 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13111 PyObject
*resultobj
;
13112 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13113 wxFindReplaceDialog
*result
;
13114 PyObject
* obj0
= 0 ;
13115 char *kwnames
[] = {
13116 (char *) "self", NULL
13119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13124 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13126 wxPyEndAllowThreads(__tstate
);
13127 if (PyErr_Occurred()) SWIG_fail
;
13129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13136 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13137 PyObject
*resultobj
;
13138 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13140 PyObject
* obj0
= 0 ;
13141 PyObject
* obj1
= 0 ;
13142 char *kwnames
[] = {
13143 (char *) "self",(char *) "flags", NULL
13146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13149 arg2
= (int) SWIG_AsInt(obj1
);
13150 if (PyErr_Occurred()) SWIG_fail
;
13152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13153 (arg1
)->SetFlags(arg2
);
13155 wxPyEndAllowThreads(__tstate
);
13156 if (PyErr_Occurred()) SWIG_fail
;
13158 Py_INCREF(Py_None
); resultobj
= Py_None
;
13165 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13166 PyObject
*resultobj
;
13167 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13168 wxString
*arg2
= 0 ;
13169 bool temp2
= False
;
13170 PyObject
* obj0
= 0 ;
13171 PyObject
* obj1
= 0 ;
13172 char *kwnames
[] = {
13173 (char *) "self",(char *) "str", NULL
13176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13180 arg2
= wxString_in_helper(obj1
);
13181 if (arg2
== NULL
) SWIG_fail
;
13185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13186 (arg1
)->SetFindString((wxString
const &)*arg2
);
13188 wxPyEndAllowThreads(__tstate
);
13189 if (PyErr_Occurred()) SWIG_fail
;
13191 Py_INCREF(Py_None
); resultobj
= Py_None
;
13206 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13207 PyObject
*resultobj
;
13208 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13209 wxString
*arg2
= 0 ;
13210 bool temp2
= False
;
13211 PyObject
* obj0
= 0 ;
13212 PyObject
* obj1
= 0 ;
13213 char *kwnames
[] = {
13214 (char *) "self",(char *) "str", NULL
13217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13221 arg2
= wxString_in_helper(obj1
);
13222 if (arg2
== NULL
) SWIG_fail
;
13226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13227 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13229 wxPyEndAllowThreads(__tstate
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13232 Py_INCREF(Py_None
); resultobj
= Py_None
;
13247 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
13249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13250 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
13252 return Py_BuildValue((char *)"");
13254 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13255 PyObject
*resultobj
;
13256 int arg1
= (int) 0 ;
13257 wxFindReplaceData
*result
;
13258 PyObject
* obj0
= 0 ;
13259 char *kwnames
[] = {
13260 (char *) "flags", NULL
13263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13265 arg1
= (int) SWIG_AsInt(obj0
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13270 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
13272 wxPyEndAllowThreads(__tstate
);
13273 if (PyErr_Occurred()) SWIG_fail
;
13275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
13282 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13283 PyObject
*resultobj
;
13284 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13285 PyObject
* obj0
= 0 ;
13286 char *kwnames
[] = {
13287 (char *) "self", NULL
13290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13297 wxPyEndAllowThreads(__tstate
);
13298 if (PyErr_Occurred()) SWIG_fail
;
13300 Py_INCREF(Py_None
); resultobj
= Py_None
;
13307 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13308 PyObject
*resultobj
;
13309 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13311 PyObject
* obj0
= 0 ;
13312 char *kwnames
[] = {
13313 (char *) "self", NULL
13316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
13317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13322 wxString
const &_result_ref
= (arg1
)->GetFindString();
13323 result
= (wxString
*) &_result_ref
;
13326 wxPyEndAllowThreads(__tstate
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13331 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13333 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13342 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13343 PyObject
*resultobj
;
13344 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13346 PyObject
* obj0
= 0 ;
13347 char *kwnames
[] = {
13348 (char *) "self", NULL
13351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13357 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13358 result
= (wxString
*) &_result_ref
;
13361 wxPyEndAllowThreads(__tstate
);
13362 if (PyErr_Occurred()) SWIG_fail
;
13366 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13368 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13377 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13378 PyObject
*resultobj
;
13379 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13381 PyObject
* obj0
= 0 ;
13382 char *kwnames
[] = {
13383 (char *) "self", NULL
13386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
13387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13391 result
= (int)(arg1
)->GetFlags();
13393 wxPyEndAllowThreads(__tstate
);
13394 if (PyErr_Occurred()) SWIG_fail
;
13396 resultobj
= SWIG_FromInt((int)result
);
13403 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13404 PyObject
*resultobj
;
13405 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13407 PyObject
* obj0
= 0 ;
13408 PyObject
* obj1
= 0 ;
13409 char *kwnames
[] = {
13410 (char *) "self",(char *) "flags", NULL
13413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13416 arg2
= (int) SWIG_AsInt(obj1
);
13417 if (PyErr_Occurred()) SWIG_fail
;
13419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13420 (arg1
)->SetFlags(arg2
);
13422 wxPyEndAllowThreads(__tstate
);
13423 if (PyErr_Occurred()) SWIG_fail
;
13425 Py_INCREF(Py_None
); resultobj
= Py_None
;
13432 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13433 PyObject
*resultobj
;
13434 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13435 wxString
*arg2
= 0 ;
13436 bool temp2
= False
;
13437 PyObject
* obj0
= 0 ;
13438 PyObject
* obj1
= 0 ;
13439 char *kwnames
[] = {
13440 (char *) "self",(char *) "str", NULL
13443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13447 arg2
= wxString_in_helper(obj1
);
13448 if (arg2
== NULL
) SWIG_fail
;
13452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13453 (arg1
)->SetFindString((wxString
const &)*arg2
);
13455 wxPyEndAllowThreads(__tstate
);
13456 if (PyErr_Occurred()) SWIG_fail
;
13458 Py_INCREF(Py_None
); resultobj
= Py_None
;
13473 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13474 PyObject
*resultobj
;
13475 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13476 wxString
*arg2
= 0 ;
13477 bool temp2
= False
;
13478 PyObject
* obj0
= 0 ;
13479 PyObject
* obj1
= 0 ;
13480 char *kwnames
[] = {
13481 (char *) "self",(char *) "str", NULL
13484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13488 arg2
= wxString_in_helper(obj1
);
13489 if (arg2
== NULL
) SWIG_fail
;
13493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13494 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13496 wxPyEndAllowThreads(__tstate
);
13497 if (PyErr_Occurred()) SWIG_fail
;
13499 Py_INCREF(Py_None
); resultobj
= Py_None
;
13514 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
13516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13517 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
13519 return Py_BuildValue((char *)"");
13521 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13522 PyObject
*resultobj
;
13523 wxWindow
*arg1
= (wxWindow
*) 0 ;
13524 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
13525 wxString
*arg3
= 0 ;
13526 int arg4
= (int) 0 ;
13527 wxFindReplaceDialog
*result
;
13528 bool temp3
= False
;
13529 PyObject
* obj0
= 0 ;
13530 PyObject
* obj1
= 0 ;
13531 PyObject
* obj2
= 0 ;
13532 PyObject
* obj3
= 0 ;
13533 char *kwnames
[] = {
13534 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13540 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
13541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13543 arg3
= wxString_in_helper(obj2
);
13544 if (arg3
== NULL
) SWIG_fail
;
13548 arg4
= (int) SWIG_AsInt(obj3
);
13549 if (PyErr_Occurred()) SWIG_fail
;
13552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13553 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13555 wxPyEndAllowThreads(__tstate
);
13556 if (PyErr_Occurred()) SWIG_fail
;
13558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
13573 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13574 PyObject
*resultobj
;
13575 wxFindReplaceDialog
*result
;
13576 char *kwnames
[] = {
13580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
13582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13583 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
13585 wxPyEndAllowThreads(__tstate
);
13586 if (PyErr_Occurred()) SWIG_fail
;
13588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
13595 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13596 PyObject
*resultobj
;
13597 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13598 wxWindow
*arg2
= (wxWindow
*) 0 ;
13599 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
13600 wxString
*arg4
= 0 ;
13601 int arg5
= (int) 0 ;
13603 bool temp4
= False
;
13604 PyObject
* obj0
= 0 ;
13605 PyObject
* obj1
= 0 ;
13606 PyObject
* obj2
= 0 ;
13607 PyObject
* obj3
= 0 ;
13608 PyObject
* obj4
= 0 ;
13609 char *kwnames
[] = {
13610 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
13615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13616 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13618 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
13619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13621 arg4
= wxString_in_helper(obj3
);
13622 if (arg4
== NULL
) SWIG_fail
;
13626 arg5
= (int) SWIG_AsInt(obj4
);
13627 if (PyErr_Occurred()) SWIG_fail
;
13630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13631 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13633 wxPyEndAllowThreads(__tstate
);
13634 if (PyErr_Occurred()) SWIG_fail
;
13636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13651 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13652 PyObject
*resultobj
;
13653 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13654 wxFindReplaceData
*result
;
13655 PyObject
* obj0
= 0 ;
13656 char *kwnames
[] = {
13657 (char *) "self", NULL
13660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
13661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
13662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 result
= (wxFindReplaceData
*)(arg1
)->GetData();
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
13677 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13678 PyObject
*resultobj
;
13679 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13680 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
13681 PyObject
* obj0
= 0 ;
13682 PyObject
* obj1
= 0 ;
13683 char *kwnames
[] = {
13684 (char *) "self",(char *) "data", NULL
13687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
13688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
13689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
13691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13694 (arg1
)->SetData(arg2
);
13696 wxPyEndAllowThreads(__tstate
);
13697 if (PyErr_Occurred()) SWIG_fail
;
13699 Py_INCREF(Py_None
); resultobj
= Py_None
;
13706 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
13708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13709 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
13711 return Py_BuildValue((char *)"");
13713 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13714 PyObject
*resultobj
;
13715 wxWindow
*arg1
= (wxWindow
*) 0 ;
13717 wxString
*arg3
= 0 ;
13718 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13719 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13720 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13721 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13722 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
13723 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
13724 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13725 wxMDIParentFrame
*result
;
13726 bool temp3
= False
;
13729 bool temp7
= False
;
13730 PyObject
* obj0
= 0 ;
13731 PyObject
* obj1
= 0 ;
13732 PyObject
* obj2
= 0 ;
13733 PyObject
* obj3
= 0 ;
13734 PyObject
* obj4
= 0 ;
13735 PyObject
* obj5
= 0 ;
13736 PyObject
* obj6
= 0 ;
13737 char *kwnames
[] = {
13738 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13744 arg2
= (int const) SWIG_AsInt(obj1
);
13745 if (PyErr_Occurred()) SWIG_fail
;
13747 arg3
= wxString_in_helper(obj2
);
13748 if (arg3
== NULL
) SWIG_fail
;
13754 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13760 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13764 arg6
= (long) SWIG_AsLong(obj5
);
13765 if (PyErr_Occurred()) SWIG_fail
;
13769 arg7
= wxString_in_helper(obj6
);
13770 if (arg7
== NULL
) SWIG_fail
;
13775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13776 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13778 wxPyEndAllowThreads(__tstate
);
13779 if (PyErr_Occurred()) SWIG_fail
;
13781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
13804 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13805 PyObject
*resultobj
;
13806 wxMDIParentFrame
*result
;
13807 char *kwnames
[] = {
13811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
13813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13814 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
13816 wxPyEndAllowThreads(__tstate
);
13817 if (PyErr_Occurred()) SWIG_fail
;
13819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
13826 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13827 PyObject
*resultobj
;
13828 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13829 wxWindow
*arg2
= (wxWindow
*) 0 ;
13831 wxString
*arg4
= 0 ;
13832 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13833 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13834 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13835 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13836 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
13837 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
13838 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13840 bool temp4
= False
;
13843 bool temp8
= False
;
13844 PyObject
* obj0
= 0 ;
13845 PyObject
* obj1
= 0 ;
13846 PyObject
* obj2
= 0 ;
13847 PyObject
* obj3
= 0 ;
13848 PyObject
* obj4
= 0 ;
13849 PyObject
* obj5
= 0 ;
13850 PyObject
* obj6
= 0 ;
13851 PyObject
* obj7
= 0 ;
13852 char *kwnames
[] = {
13853 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
13858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13859 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13861 arg3
= (int const) SWIG_AsInt(obj2
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13864 arg4
= wxString_in_helper(obj3
);
13865 if (arg4
== NULL
) SWIG_fail
;
13871 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13877 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13881 arg7
= (long) SWIG_AsLong(obj6
);
13882 if (PyErr_Occurred()) SWIG_fail
;
13886 arg8
= wxString_in_helper(obj7
);
13887 if (arg8
== NULL
) SWIG_fail
;
13892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13893 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
13895 wxPyEndAllowThreads(__tstate
);
13896 if (PyErr_Occurred()) SWIG_fail
;
13898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13921 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13922 PyObject
*resultobj
;
13923 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13924 PyObject
* obj0
= 0 ;
13925 char *kwnames
[] = {
13926 (char *) "self", NULL
13929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
13930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
13931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13934 (arg1
)->ActivateNext();
13936 wxPyEndAllowThreads(__tstate
);
13937 if (PyErr_Occurred()) SWIG_fail
;
13939 Py_INCREF(Py_None
); resultobj
= Py_None
;
13946 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13947 PyObject
*resultobj
;
13948 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13949 PyObject
* obj0
= 0 ;
13950 char *kwnames
[] = {
13951 (char *) "self", NULL
13954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
13955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
13956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13959 (arg1
)->ActivatePrevious();
13961 wxPyEndAllowThreads(__tstate
);
13962 if (PyErr_Occurred()) SWIG_fail
;
13964 Py_INCREF(Py_None
); resultobj
= Py_None
;
13971 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13972 PyObject
*resultobj
;
13973 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13974 PyObject
* obj0
= 0 ;
13975 char *kwnames
[] = {
13976 (char *) "self", NULL
13979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
13980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
13981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13984 (arg1
)->ArrangeIcons();
13986 wxPyEndAllowThreads(__tstate
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13989 Py_INCREF(Py_None
); resultobj
= Py_None
;
13996 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13997 PyObject
*resultobj
;
13998 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13999 PyObject
* obj0
= 0 ;
14000 char *kwnames
[] = {
14001 (char *) "self", NULL
14004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14011 wxPyEndAllowThreads(__tstate
);
14012 if (PyErr_Occurred()) SWIG_fail
;
14014 Py_INCREF(Py_None
); resultobj
= Py_None
;
14021 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14022 PyObject
*resultobj
;
14023 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14024 wxMDIChildFrame
*result
;
14025 PyObject
* obj0
= 0 ;
14026 char *kwnames
[] = {
14027 (char *) "self", NULL
14030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14035 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14037 wxPyEndAllowThreads(__tstate
);
14038 if (PyErr_Occurred()) SWIG_fail
;
14041 resultobj
= wxPyMake_wxObject(result
);
14049 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14050 PyObject
*resultobj
;
14051 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14052 wxMDIClientWindow
*result
;
14053 PyObject
* obj0
= 0 ;
14054 char *kwnames
[] = {
14055 (char *) "self", NULL
14058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14063 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14065 wxPyEndAllowThreads(__tstate
);
14066 if (PyErr_Occurred()) SWIG_fail
;
14069 resultobj
= wxPyMake_wxObject(result
);
14077 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14078 PyObject
*resultobj
;
14079 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14081 PyObject
* obj0
= 0 ;
14082 char *kwnames
[] = {
14083 (char *) "self", NULL
14086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14091 result
= (wxWindow
*)(arg1
)->GetToolBar();
14093 wxPyEndAllowThreads(__tstate
);
14094 if (PyErr_Occurred()) SWIG_fail
;
14097 resultobj
= wxPyMake_wxObject(result
);
14105 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14106 PyObject
*resultobj
;
14107 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14108 PyObject
* obj0
= 0 ;
14109 char *kwnames
[] = {
14110 (char *) "self", NULL
14113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14120 wxPyEndAllowThreads(__tstate
);
14121 if (PyErr_Occurred()) SWIG_fail
;
14123 Py_INCREF(Py_None
); resultobj
= Py_None
;
14130 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
14132 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14133 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14135 return Py_BuildValue((char *)"");
14137 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14138 PyObject
*resultobj
;
14139 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14141 wxString
*arg3
= 0 ;
14142 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14143 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14144 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14145 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14146 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14147 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14148 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14149 wxMDIChildFrame
*result
;
14150 bool temp3
= False
;
14153 bool temp7
= False
;
14154 PyObject
* obj0
= 0 ;
14155 PyObject
* obj1
= 0 ;
14156 PyObject
* obj2
= 0 ;
14157 PyObject
* obj3
= 0 ;
14158 PyObject
* obj4
= 0 ;
14159 PyObject
* obj5
= 0 ;
14160 PyObject
* obj6
= 0 ;
14161 char *kwnames
[] = {
14162 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14168 arg2
= (int const) SWIG_AsInt(obj1
);
14169 if (PyErr_Occurred()) SWIG_fail
;
14171 arg3
= wxString_in_helper(obj2
);
14172 if (arg3
== NULL
) SWIG_fail
;
14178 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14184 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14188 arg6
= (long) SWIG_AsLong(obj5
);
14189 if (PyErr_Occurred()) SWIG_fail
;
14193 arg7
= wxString_in_helper(obj6
);
14194 if (arg7
== NULL
) SWIG_fail
;
14199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14200 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14202 wxPyEndAllowThreads(__tstate
);
14203 if (PyErr_Occurred()) SWIG_fail
;
14206 resultobj
= wxPyMake_wxObject(result
);
14230 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14231 PyObject
*resultobj
;
14232 wxMDIChildFrame
*result
;
14233 char *kwnames
[] = {
14237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
14239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14240 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
14242 wxPyEndAllowThreads(__tstate
);
14243 if (PyErr_Occurred()) SWIG_fail
;
14246 resultobj
= wxPyMake_wxObject(result
);
14254 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14255 PyObject
*resultobj
;
14256 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14257 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14259 wxString
*arg4
= 0 ;
14260 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14261 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14262 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14263 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14264 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
14265 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14266 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14268 bool temp4
= False
;
14271 bool temp8
= False
;
14272 PyObject
* obj0
= 0 ;
14273 PyObject
* obj1
= 0 ;
14274 PyObject
* obj2
= 0 ;
14275 PyObject
* obj3
= 0 ;
14276 PyObject
* obj4
= 0 ;
14277 PyObject
* obj5
= 0 ;
14278 PyObject
* obj6
= 0 ;
14279 PyObject
* obj7
= 0 ;
14280 char *kwnames
[] = {
14281 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14289 arg3
= (int const) SWIG_AsInt(obj2
);
14290 if (PyErr_Occurred()) SWIG_fail
;
14292 arg4
= wxString_in_helper(obj3
);
14293 if (arg4
== NULL
) SWIG_fail
;
14299 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14305 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14309 arg7
= (long) SWIG_AsLong(obj6
);
14310 if (PyErr_Occurred()) SWIG_fail
;
14314 arg8
= wxString_in_helper(obj7
);
14315 if (arg8
== NULL
) SWIG_fail
;
14320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14321 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14323 wxPyEndAllowThreads(__tstate
);
14324 if (PyErr_Occurred()) SWIG_fail
;
14326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14349 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14350 PyObject
*resultobj
;
14351 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14352 PyObject
* obj0
= 0 ;
14353 char *kwnames
[] = {
14354 (char *) "self", NULL
14357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
14358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14362 (arg1
)->Activate();
14364 wxPyEndAllowThreads(__tstate
);
14365 if (PyErr_Occurred()) SWIG_fail
;
14367 Py_INCREF(Py_None
); resultobj
= Py_None
;
14374 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14375 PyObject
*resultobj
;
14376 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14378 PyObject
* obj0
= 0 ;
14379 PyObject
* obj1
= 0 ;
14380 char *kwnames
[] = {
14381 (char *) "self",(char *) "maximize", NULL
14384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
14385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14387 arg2
= (bool) SWIG_AsBool(obj1
);
14388 if (PyErr_Occurred()) SWIG_fail
;
14390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14391 (arg1
)->Maximize(arg2
);
14393 wxPyEndAllowThreads(__tstate
);
14394 if (PyErr_Occurred()) SWIG_fail
;
14396 Py_INCREF(Py_None
); resultobj
= Py_None
;
14403 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14404 PyObject
*resultobj
;
14405 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14406 PyObject
* obj0
= 0 ;
14407 char *kwnames
[] = {
14408 (char *) "self", NULL
14411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
14412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14418 wxPyEndAllowThreads(__tstate
);
14419 if (PyErr_Occurred()) SWIG_fail
;
14421 Py_INCREF(Py_None
); resultobj
= Py_None
;
14428 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
14430 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14431 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
14433 return Py_BuildValue((char *)"");
14435 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14436 PyObject
*resultobj
;
14437 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14438 long arg2
= (long) 0 ;
14439 wxMDIClientWindow
*result
;
14440 PyObject
* obj0
= 0 ;
14441 PyObject
* obj1
= 0 ;
14442 char *kwnames
[] = {
14443 (char *) "parent",(char *) "style", NULL
14446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
14447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14450 arg2
= (long) SWIG_AsLong(obj1
);
14451 if (PyErr_Occurred()) SWIG_fail
;
14454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14455 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
14457 wxPyEndAllowThreads(__tstate
);
14458 if (PyErr_Occurred()) SWIG_fail
;
14461 resultobj
= wxPyMake_wxObject(result
);
14469 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14470 PyObject
*resultobj
;
14471 wxMDIClientWindow
*result
;
14472 char *kwnames
[] = {
14476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
14478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14479 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
14481 wxPyEndAllowThreads(__tstate
);
14482 if (PyErr_Occurred()) SWIG_fail
;
14485 resultobj
= wxPyMake_wxObject(result
);
14493 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14494 PyObject
*resultobj
;
14495 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
14496 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14497 long arg3
= (long) 0 ;
14499 PyObject
* obj0
= 0 ;
14500 PyObject
* obj1
= 0 ;
14501 PyObject
* obj2
= 0 ;
14502 char *kwnames
[] = {
14503 (char *) "self",(char *) "parent",(char *) "style", NULL
14506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
14508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14509 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14512 arg3
= (long) SWIG_AsLong(obj2
);
14513 if (PyErr_Occurred()) SWIG_fail
;
14516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14517 result
= (bool)(arg1
)->Create(arg2
,arg3
);
14519 wxPyEndAllowThreads(__tstate
);
14520 if (PyErr_Occurred()) SWIG_fail
;
14522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14529 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
14531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14532 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
14534 return Py_BuildValue((char *)"");
14536 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14537 PyObject
*resultobj
;
14538 wxWindow
*arg1
= (wxWindow
*) 0 ;
14540 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14541 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14542 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14543 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14544 long arg5
= (long) 0 ;
14545 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
14546 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14547 wxPyWindow
*result
;
14550 bool temp6
= False
;
14551 PyObject
* obj0
= 0 ;
14552 PyObject
* obj1
= 0 ;
14553 PyObject
* obj2
= 0 ;
14554 PyObject
* obj3
= 0 ;
14555 PyObject
* obj4
= 0 ;
14556 PyObject
* obj5
= 0 ;
14557 char *kwnames
[] = {
14558 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14564 arg2
= (int const) SWIG_AsInt(obj1
);
14565 if (PyErr_Occurred()) SWIG_fail
;
14569 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14575 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14579 arg5
= (long) SWIG_AsLong(obj4
);
14580 if (PyErr_Occurred()) SWIG_fail
;
14584 arg6
= wxString_in_helper(obj5
);
14585 if (arg6
== NULL
) SWIG_fail
;
14590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14591 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14593 wxPyEndAllowThreads(__tstate
);
14594 if (PyErr_Occurred()) SWIG_fail
;
14596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
14611 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14612 PyObject
*resultobj
;
14613 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14614 PyObject
*arg2
= (PyObject
*) 0 ;
14615 PyObject
*arg3
= (PyObject
*) 0 ;
14616 PyObject
* obj0
= 0 ;
14617 PyObject
* obj1
= 0 ;
14618 PyObject
* obj2
= 0 ;
14619 char *kwnames
[] = {
14620 (char *) "self",(char *) "self",(char *) "_class", NULL
14623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14630 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14632 wxPyEndAllowThreads(__tstate
);
14633 if (PyErr_Occurred()) SWIG_fail
;
14635 Py_INCREF(Py_None
); resultobj
= Py_None
;
14642 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14643 PyObject
*resultobj
;
14644 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14649 PyObject
* obj0
= 0 ;
14650 PyObject
* obj1
= 0 ;
14651 PyObject
* obj2
= 0 ;
14652 PyObject
* obj3
= 0 ;
14653 PyObject
* obj4
= 0 ;
14654 char *kwnames
[] = {
14655 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14661 arg2
= (int) SWIG_AsInt(obj1
);
14662 if (PyErr_Occurred()) SWIG_fail
;
14663 arg3
= (int) SWIG_AsInt(obj2
);
14664 if (PyErr_Occurred()) SWIG_fail
;
14665 arg4
= (int) SWIG_AsInt(obj3
);
14666 if (PyErr_Occurred()) SWIG_fail
;
14667 arg5
= (int) SWIG_AsInt(obj4
);
14668 if (PyErr_Occurred()) SWIG_fail
;
14670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14671 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
14673 wxPyEndAllowThreads(__tstate
);
14674 if (PyErr_Occurred()) SWIG_fail
;
14676 Py_INCREF(Py_None
); resultobj
= Py_None
;
14683 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14684 PyObject
*resultobj
;
14685 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14690 int arg6
= (int) wxSIZE_AUTO
;
14691 PyObject
* obj0
= 0 ;
14692 PyObject
* obj1
= 0 ;
14693 PyObject
* obj2
= 0 ;
14694 PyObject
* obj3
= 0 ;
14695 PyObject
* obj4
= 0 ;
14696 PyObject
* obj5
= 0 ;
14697 char *kwnames
[] = {
14698 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14704 arg2
= (int) SWIG_AsInt(obj1
);
14705 if (PyErr_Occurred()) SWIG_fail
;
14706 arg3
= (int) SWIG_AsInt(obj2
);
14707 if (PyErr_Occurred()) SWIG_fail
;
14708 arg4
= (int) SWIG_AsInt(obj3
);
14709 if (PyErr_Occurred()) SWIG_fail
;
14710 arg5
= (int) SWIG_AsInt(obj4
);
14711 if (PyErr_Occurred()) SWIG_fail
;
14713 arg6
= (int) SWIG_AsInt(obj5
);
14714 if (PyErr_Occurred()) SWIG_fail
;
14717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14718 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
14720 wxPyEndAllowThreads(__tstate
);
14721 if (PyErr_Occurred()) SWIG_fail
;
14723 Py_INCREF(Py_None
); resultobj
= Py_None
;
14730 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14731 PyObject
*resultobj
;
14732 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14735 PyObject
* obj0
= 0 ;
14736 PyObject
* obj1
= 0 ;
14737 PyObject
* obj2
= 0 ;
14738 char *kwnames
[] = {
14739 (char *) "self",(char *) "width",(char *) "height", NULL
14742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14745 arg2
= (int) SWIG_AsInt(obj1
);
14746 if (PyErr_Occurred()) SWIG_fail
;
14747 arg3
= (int) SWIG_AsInt(obj2
);
14748 if (PyErr_Occurred()) SWIG_fail
;
14750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14751 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
14753 wxPyEndAllowThreads(__tstate
);
14754 if (PyErr_Occurred()) SWIG_fail
;
14756 Py_INCREF(Py_None
); resultobj
= Py_None
;
14763 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14764 PyObject
*resultobj
;
14765 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14768 PyObject
* obj0
= 0 ;
14769 PyObject
* obj1
= 0 ;
14770 PyObject
* obj2
= 0 ;
14771 char *kwnames
[] = {
14772 (char *) "self",(char *) "x",(char *) "y", NULL
14775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14778 arg2
= (int) SWIG_AsInt(obj1
);
14779 if (PyErr_Occurred()) SWIG_fail
;
14780 arg3
= (int) SWIG_AsInt(obj2
);
14781 if (PyErr_Occurred()) SWIG_fail
;
14783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14784 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
14786 wxPyEndAllowThreads(__tstate
);
14787 if (PyErr_Occurred()) SWIG_fail
;
14789 Py_INCREF(Py_None
); resultobj
= Py_None
;
14796 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14797 PyObject
*resultobj
;
14798 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14799 int *arg2
= (int *) 0 ;
14800 int *arg3
= (int *) 0 ;
14803 PyObject
* obj0
= 0 ;
14804 char *kwnames
[] = {
14805 (char *) "self", NULL
14810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
14811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14815 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
14817 wxPyEndAllowThreads(__tstate
);
14818 if (PyErr_Occurred()) SWIG_fail
;
14820 Py_INCREF(Py_None
); resultobj
= Py_None
;
14822 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14823 resultobj
= t_output_helper(resultobj
,o
);
14826 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14827 resultobj
= t_output_helper(resultobj
,o
);
14835 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14836 PyObject
*resultobj
;
14837 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14838 int *arg2
= (int *) 0 ;
14839 int *arg3
= (int *) 0 ;
14842 PyObject
* obj0
= 0 ;
14843 char *kwnames
[] = {
14844 (char *) "self", NULL
14849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
14850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14854 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
14856 wxPyEndAllowThreads(__tstate
);
14857 if (PyErr_Occurred()) SWIG_fail
;
14859 Py_INCREF(Py_None
); resultobj
= Py_None
;
14861 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14862 resultobj
= t_output_helper(resultobj
,o
);
14865 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14866 resultobj
= t_output_helper(resultobj
,o
);
14874 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14875 PyObject
*resultobj
;
14876 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14877 int *arg2
= (int *) 0 ;
14878 int *arg3
= (int *) 0 ;
14881 PyObject
* obj0
= 0 ;
14882 char *kwnames
[] = {
14883 (char *) "self", NULL
14888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
14889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14893 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
14895 wxPyEndAllowThreads(__tstate
);
14896 if (PyErr_Occurred()) SWIG_fail
;
14898 Py_INCREF(Py_None
); resultobj
= Py_None
;
14900 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14901 resultobj
= t_output_helper(resultobj
,o
);
14904 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14905 resultobj
= t_output_helper(resultobj
,o
);
14913 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14914 PyObject
*resultobj
;
14915 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14917 PyObject
* obj0
= 0 ;
14918 char *kwnames
[] = {
14919 (char *) "self", NULL
14922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
14923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14927 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
14929 wxPyEndAllowThreads(__tstate
);
14930 if (PyErr_Occurred()) SWIG_fail
;
14933 wxSize
* resultptr
;
14934 resultptr
= new wxSize((wxSize
&) result
);
14935 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14943 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14944 PyObject
*resultobj
;
14945 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14947 PyObject
* obj0
= 0 ;
14948 char *kwnames
[] = {
14949 (char *) "self", NULL
14952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
14953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14957 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
14959 wxPyEndAllowThreads(__tstate
);
14960 if (PyErr_Occurred()) SWIG_fail
;
14963 wxSize
* resultptr
;
14964 resultptr
= new wxSize((wxSize
&) result
);
14965 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14973 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14974 PyObject
*resultobj
;
14975 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14976 PyObject
* obj0
= 0 ;
14977 char *kwnames
[] = {
14978 (char *) "self", NULL
14981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
14982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14986 (arg1
)->base_InitDialog();
14988 wxPyEndAllowThreads(__tstate
);
14989 if (PyErr_Occurred()) SWIG_fail
;
14991 Py_INCREF(Py_None
); resultobj
= Py_None
;
14998 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14999 PyObject
*resultobj
;
15000 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15002 PyObject
* obj0
= 0 ;
15003 char *kwnames
[] = {
15004 (char *) "self", NULL
15007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15012 result
= (bool)(arg1
)->base_TransferDataToWindow();
15014 wxPyEndAllowThreads(__tstate
);
15015 if (PyErr_Occurred()) SWIG_fail
;
15017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15024 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15025 PyObject
*resultobj
;
15026 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15028 PyObject
* obj0
= 0 ;
15029 char *kwnames
[] = {
15030 (char *) "self", NULL
15033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15038 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15040 wxPyEndAllowThreads(__tstate
);
15041 if (PyErr_Occurred()) SWIG_fail
;
15043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15050 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, 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_Validate",kwnames
,&obj0
)) goto fail
;
15060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15064 result
= (bool)(arg1
)->base_Validate();
15066 wxPyEndAllowThreads(__tstate
);
15067 if (PyErr_Occurred()) SWIG_fail
;
15069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15076 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15077 PyObject
*resultobj
;
15078 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15080 PyObject
* obj0
= 0 ;
15081 char *kwnames
[] = {
15082 (char *) "self", NULL
15085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15090 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15092 wxPyEndAllowThreads(__tstate
);
15093 if (PyErr_Occurred()) SWIG_fail
;
15095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15102 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15103 PyObject
*resultobj
;
15104 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15106 PyObject
* obj0
= 0 ;
15107 char *kwnames
[] = {
15108 (char *) "self", NULL
15111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15116 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
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_GetMaxSize(PyObject
*, 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_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15142 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
15144 wxPyEndAllowThreads(__tstate
);
15145 if (PyErr_Occurred()) SWIG_fail
;
15148 wxSize
* resultptr
;
15149 resultptr
= new wxSize((wxSize
&) result
);
15150 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15158 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15159 PyObject
*resultobj
;
15160 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15161 wxWindow
*arg2
= (wxWindow
*) 0 ;
15162 PyObject
* obj0
= 0 ;
15163 PyObject
* obj1
= 0 ;
15164 char *kwnames
[] = {
15165 (char *) "self",(char *) "child", NULL
15168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15171 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15175 (arg1
)->base_AddChild(arg2
);
15177 wxPyEndAllowThreads(__tstate
);
15178 if (PyErr_Occurred()) SWIG_fail
;
15180 Py_INCREF(Py_None
); resultobj
= Py_None
;
15187 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15188 PyObject
*resultobj
;
15189 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15190 wxWindow
*arg2
= (wxWindow
*) 0 ;
15191 PyObject
* obj0
= 0 ;
15192 PyObject
* obj1
= 0 ;
15193 char *kwnames
[] = {
15194 (char *) "self",(char *) "child", NULL
15197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15200 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15204 (arg1
)->base_RemoveChild(arg2
);
15206 wxPyEndAllowThreads(__tstate
);
15207 if (PyErr_Occurred()) SWIG_fail
;
15209 Py_INCREF(Py_None
); resultobj
= Py_None
;
15216 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
15218 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15219 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
15221 return Py_BuildValue((char *)"");
15223 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15224 PyObject
*resultobj
;
15225 wxWindow
*arg1
= (wxWindow
*) 0 ;
15227 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15228 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15229 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15230 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15231 long arg5
= (long) 0 ;
15232 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15233 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15237 bool temp6
= False
;
15238 PyObject
* obj0
= 0 ;
15239 PyObject
* obj1
= 0 ;
15240 PyObject
* obj2
= 0 ;
15241 PyObject
* obj3
= 0 ;
15242 PyObject
* obj4
= 0 ;
15243 PyObject
* obj5
= 0 ;
15244 char *kwnames
[] = {
15245 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15251 arg2
= (int const) SWIG_AsInt(obj1
);
15252 if (PyErr_Occurred()) SWIG_fail
;
15256 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15262 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15266 arg5
= (long) SWIG_AsLong(obj4
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15271 arg6
= wxString_in_helper(obj5
);
15272 if (arg6
== NULL
) SWIG_fail
;
15277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15278 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15280 wxPyEndAllowThreads(__tstate
);
15281 if (PyErr_Occurred()) SWIG_fail
;
15283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
15298 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15299 PyObject
*resultobj
;
15300 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15301 PyObject
*arg2
= (PyObject
*) 0 ;
15302 PyObject
*arg3
= (PyObject
*) 0 ;
15303 PyObject
* obj0
= 0 ;
15304 PyObject
* obj1
= 0 ;
15305 PyObject
* obj2
= 0 ;
15306 char *kwnames
[] = {
15307 (char *) "self",(char *) "self",(char *) "_class", NULL
15310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15317 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15319 wxPyEndAllowThreads(__tstate
);
15320 if (PyErr_Occurred()) SWIG_fail
;
15322 Py_INCREF(Py_None
); resultobj
= Py_None
;
15329 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15330 PyObject
*resultobj
;
15331 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15336 PyObject
* obj0
= 0 ;
15337 PyObject
* obj1
= 0 ;
15338 PyObject
* obj2
= 0 ;
15339 PyObject
* obj3
= 0 ;
15340 PyObject
* obj4
= 0 ;
15341 char *kwnames
[] = {
15342 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15348 arg2
= (int) SWIG_AsInt(obj1
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15350 arg3
= (int) SWIG_AsInt(obj2
);
15351 if (PyErr_Occurred()) SWIG_fail
;
15352 arg4
= (int) SWIG_AsInt(obj3
);
15353 if (PyErr_Occurred()) SWIG_fail
;
15354 arg5
= (int) SWIG_AsInt(obj4
);
15355 if (PyErr_Occurred()) SWIG_fail
;
15357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15358 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15360 wxPyEndAllowThreads(__tstate
);
15361 if (PyErr_Occurred()) SWIG_fail
;
15363 Py_INCREF(Py_None
); resultobj
= Py_None
;
15370 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15371 PyObject
*resultobj
;
15372 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15377 int arg6
= (int) wxSIZE_AUTO
;
15378 PyObject
* obj0
= 0 ;
15379 PyObject
* obj1
= 0 ;
15380 PyObject
* obj2
= 0 ;
15381 PyObject
* obj3
= 0 ;
15382 PyObject
* obj4
= 0 ;
15383 PyObject
* obj5
= 0 ;
15384 char *kwnames
[] = {
15385 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15391 arg2
= (int) SWIG_AsInt(obj1
);
15392 if (PyErr_Occurred()) SWIG_fail
;
15393 arg3
= (int) SWIG_AsInt(obj2
);
15394 if (PyErr_Occurred()) SWIG_fail
;
15395 arg4
= (int) SWIG_AsInt(obj3
);
15396 if (PyErr_Occurred()) SWIG_fail
;
15397 arg5
= (int) SWIG_AsInt(obj4
);
15398 if (PyErr_Occurred()) SWIG_fail
;
15400 arg6
= (int) SWIG_AsInt(obj5
);
15401 if (PyErr_Occurred()) SWIG_fail
;
15404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15405 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15407 wxPyEndAllowThreads(__tstate
);
15408 if (PyErr_Occurred()) SWIG_fail
;
15410 Py_INCREF(Py_None
); resultobj
= Py_None
;
15417 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15418 PyObject
*resultobj
;
15419 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15422 PyObject
* obj0
= 0 ;
15423 PyObject
* obj1
= 0 ;
15424 PyObject
* obj2
= 0 ;
15425 char *kwnames
[] = {
15426 (char *) "self",(char *) "width",(char *) "height", NULL
15429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15432 arg2
= (int) SWIG_AsInt(obj1
);
15433 if (PyErr_Occurred()) SWIG_fail
;
15434 arg3
= (int) SWIG_AsInt(obj2
);
15435 if (PyErr_Occurred()) SWIG_fail
;
15437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15438 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15440 wxPyEndAllowThreads(__tstate
);
15441 if (PyErr_Occurred()) SWIG_fail
;
15443 Py_INCREF(Py_None
); resultobj
= Py_None
;
15450 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15451 PyObject
*resultobj
;
15452 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15455 PyObject
* obj0
= 0 ;
15456 PyObject
* obj1
= 0 ;
15457 PyObject
* obj2
= 0 ;
15458 char *kwnames
[] = {
15459 (char *) "self",(char *) "x",(char *) "y", NULL
15462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15465 arg2
= (int) SWIG_AsInt(obj1
);
15466 if (PyErr_Occurred()) SWIG_fail
;
15467 arg3
= (int) SWIG_AsInt(obj2
);
15468 if (PyErr_Occurred()) SWIG_fail
;
15470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15471 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15473 wxPyEndAllowThreads(__tstate
);
15474 if (PyErr_Occurred()) SWIG_fail
;
15476 Py_INCREF(Py_None
); resultobj
= Py_None
;
15483 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15484 PyObject
*resultobj
;
15485 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15486 int *arg2
= (int *) 0 ;
15487 int *arg3
= (int *) 0 ;
15490 PyObject
* obj0
= 0 ;
15491 char *kwnames
[] = {
15492 (char *) "self", NULL
15497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15502 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15504 wxPyEndAllowThreads(__tstate
);
15505 if (PyErr_Occurred()) SWIG_fail
;
15507 Py_INCREF(Py_None
); resultobj
= Py_None
;
15509 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15510 resultobj
= t_output_helper(resultobj
,o
);
15513 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15514 resultobj
= t_output_helper(resultobj
,o
);
15522 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15523 PyObject
*resultobj
;
15524 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15525 int *arg2
= (int *) 0 ;
15526 int *arg3
= (int *) 0 ;
15529 PyObject
* obj0
= 0 ;
15530 char *kwnames
[] = {
15531 (char *) "self", NULL
15536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15541 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15543 wxPyEndAllowThreads(__tstate
);
15544 if (PyErr_Occurred()) SWIG_fail
;
15546 Py_INCREF(Py_None
); resultobj
= Py_None
;
15548 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15549 resultobj
= t_output_helper(resultobj
,o
);
15552 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15553 resultobj
= t_output_helper(resultobj
,o
);
15561 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15562 PyObject
*resultobj
;
15563 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15564 int *arg2
= (int *) 0 ;
15565 int *arg3
= (int *) 0 ;
15568 PyObject
* obj0
= 0 ;
15569 char *kwnames
[] = {
15570 (char *) "self", NULL
15575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15580 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15582 wxPyEndAllowThreads(__tstate
);
15583 if (PyErr_Occurred()) SWIG_fail
;
15585 Py_INCREF(Py_None
); resultobj
= Py_None
;
15587 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15588 resultobj
= t_output_helper(resultobj
,o
);
15591 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15592 resultobj
= t_output_helper(resultobj
,o
);
15600 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15601 PyObject
*resultobj
;
15602 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15604 PyObject
* obj0
= 0 ;
15605 char *kwnames
[] = {
15606 (char *) "self", NULL
15609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15614 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
15616 wxPyEndAllowThreads(__tstate
);
15617 if (PyErr_Occurred()) SWIG_fail
;
15620 wxSize
* resultptr
;
15621 resultptr
= new wxSize((wxSize
&) result
);
15622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15630 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15631 PyObject
*resultobj
;
15632 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15634 PyObject
* obj0
= 0 ;
15635 char *kwnames
[] = {
15636 (char *) "self", NULL
15639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15644 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
15646 wxPyEndAllowThreads(__tstate
);
15647 if (PyErr_Occurred()) SWIG_fail
;
15650 wxSize
* resultptr
;
15651 resultptr
= new wxSize((wxSize
&) result
);
15652 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15660 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15661 PyObject
*resultobj
;
15662 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15663 PyObject
* obj0
= 0 ;
15664 char *kwnames
[] = {
15665 (char *) "self", NULL
15668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15673 (arg1
)->base_InitDialog();
15675 wxPyEndAllowThreads(__tstate
);
15676 if (PyErr_Occurred()) SWIG_fail
;
15678 Py_INCREF(Py_None
); resultobj
= Py_None
;
15685 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15686 PyObject
*resultobj
;
15687 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15689 PyObject
* obj0
= 0 ;
15690 char *kwnames
[] = {
15691 (char *) "self", NULL
15694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15699 result
= (bool)(arg1
)->base_TransferDataToWindow();
15701 wxPyEndAllowThreads(__tstate
);
15702 if (PyErr_Occurred()) SWIG_fail
;
15704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15711 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15712 PyObject
*resultobj
;
15713 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15715 PyObject
* obj0
= 0 ;
15716 char *kwnames
[] = {
15717 (char *) "self", NULL
15720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15725 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15727 wxPyEndAllowThreads(__tstate
);
15728 if (PyErr_Occurred()) SWIG_fail
;
15730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15737 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15738 PyObject
*resultobj
;
15739 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15741 PyObject
* obj0
= 0 ;
15742 char *kwnames
[] = {
15743 (char *) "self", NULL
15746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
15747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15751 result
= (bool)(arg1
)->base_Validate();
15753 wxPyEndAllowThreads(__tstate
);
15754 if (PyErr_Occurred()) SWIG_fail
;
15756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15763 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15764 PyObject
*resultobj
;
15765 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15767 PyObject
* obj0
= 0 ;
15768 char *kwnames
[] = {
15769 (char *) "self", NULL
15772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15777 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
15779 wxPyEndAllowThreads(__tstate
);
15780 if (PyErr_Occurred()) SWIG_fail
;
15782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15789 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15790 PyObject
*resultobj
;
15791 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15793 PyObject
* obj0
= 0 ;
15794 char *kwnames
[] = {
15795 (char *) "self", NULL
15798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15803 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15805 wxPyEndAllowThreads(__tstate
);
15806 if (PyErr_Occurred()) SWIG_fail
;
15808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15815 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15816 PyObject
*resultobj
;
15817 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15819 PyObject
* obj0
= 0 ;
15820 char *kwnames
[] = {
15821 (char *) "self", NULL
15824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15829 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
15831 wxPyEndAllowThreads(__tstate
);
15832 if (PyErr_Occurred()) SWIG_fail
;
15835 wxSize
* resultptr
;
15836 resultptr
= new wxSize((wxSize
&) result
);
15837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15845 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15846 PyObject
*resultobj
;
15847 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15848 wxWindow
*arg2
= (wxWindow
*) 0 ;
15849 PyObject
* obj0
= 0 ;
15850 PyObject
* obj1
= 0 ;
15851 char *kwnames
[] = {
15852 (char *) "self",(char *) "child", NULL
15855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15858 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15862 (arg1
)->base_AddChild(arg2
);
15864 wxPyEndAllowThreads(__tstate
);
15865 if (PyErr_Occurred()) SWIG_fail
;
15867 Py_INCREF(Py_None
); resultobj
= Py_None
;
15874 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15875 PyObject
*resultobj
;
15876 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15877 wxWindow
*arg2
= (wxWindow
*) 0 ;
15878 PyObject
* obj0
= 0 ;
15879 PyObject
* obj1
= 0 ;
15880 char *kwnames
[] = {
15881 (char *) "self",(char *) "child", NULL
15884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15887 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15891 (arg1
)->base_RemoveChild(arg2
);
15893 wxPyEndAllowThreads(__tstate
);
15894 if (PyErr_Occurred()) SWIG_fail
;
15896 Py_INCREF(Py_None
); resultobj
= Py_None
;
15903 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
15905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15906 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
15908 return Py_BuildValue((char *)"");
15910 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
15911 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
15916 static PyObject
*_wrap_PrintoutTitleStr_get() {
15921 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
15923 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
15930 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
15931 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
15936 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
15941 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
15943 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
15950 static PyObject
*_wrap_new_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15951 PyObject
*resultobj
;
15952 wxPrintData
*result
;
15953 char *kwnames
[] = {
15957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
15959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15960 result
= (wxPrintData
*)new wxPrintData();
15962 wxPyEndAllowThreads(__tstate
);
15963 if (PyErr_Occurred()) SWIG_fail
;
15965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
15972 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15973 PyObject
*resultobj
;
15974 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
15975 PyObject
* obj0
= 0 ;
15976 char *kwnames
[] = {
15977 (char *) "self", NULL
15980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
15981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15987 wxPyEndAllowThreads(__tstate
);
15988 if (PyErr_Occurred()) SWIG_fail
;
15990 Py_INCREF(Py_None
); resultobj
= Py_None
;
15997 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15998 PyObject
*resultobj
;
15999 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16001 PyObject
* obj0
= 0 ;
16002 char *kwnames
[] = {
16003 (char *) "self", NULL
16006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
16007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16011 result
= (int)(arg1
)->GetNoCopies();
16013 wxPyEndAllowThreads(__tstate
);
16014 if (PyErr_Occurred()) SWIG_fail
;
16016 resultobj
= SWIG_FromInt((int)result
);
16023 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16024 PyObject
*resultobj
;
16025 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16027 PyObject
* obj0
= 0 ;
16028 char *kwnames
[] = {
16029 (char *) "self", NULL
16032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
16033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16037 result
= (bool)(arg1
)->GetCollate();
16039 wxPyEndAllowThreads(__tstate
);
16040 if (PyErr_Occurred()) SWIG_fail
;
16042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16049 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16050 PyObject
*resultobj
;
16051 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16053 PyObject
* obj0
= 0 ;
16054 char *kwnames
[] = {
16055 (char *) "self", NULL
16058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
16059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16063 result
= (int)(arg1
)->GetOrientation();
16065 wxPyEndAllowThreads(__tstate
);
16066 if (PyErr_Occurred()) SWIG_fail
;
16068 resultobj
= SWIG_FromInt((int)result
);
16075 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16076 PyObject
*resultobj
;
16077 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16079 PyObject
* obj0
= 0 ;
16080 char *kwnames
[] = {
16081 (char *) "self", NULL
16084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
16085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16089 result
= (bool)(arg1
)->Ok();
16091 wxPyEndAllowThreads(__tstate
);
16092 if (PyErr_Occurred()) SWIG_fail
;
16094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16101 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16102 PyObject
*resultobj
;
16103 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16105 PyObject
* obj0
= 0 ;
16106 char *kwnames
[] = {
16107 (char *) "self", NULL
16110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
16111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16116 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
16117 result
= (wxString
*) &_result_ref
;
16120 wxPyEndAllowThreads(__tstate
);
16121 if (PyErr_Occurred()) SWIG_fail
;
16125 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16127 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16136 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16137 PyObject
*resultobj
;
16138 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16140 PyObject
* obj0
= 0 ;
16141 char *kwnames
[] = {
16142 (char *) "self", NULL
16145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
16146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16150 result
= (bool)(arg1
)->GetColour();
16152 wxPyEndAllowThreads(__tstate
);
16153 if (PyErr_Occurred()) SWIG_fail
;
16155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16162 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16163 PyObject
*resultobj
;
16164 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16166 PyObject
* obj0
= 0 ;
16167 char *kwnames
[] = {
16168 (char *) "self", NULL
16171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
16172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16176 result
= (int)(arg1
)->GetDuplex();
16178 wxPyEndAllowThreads(__tstate
);
16179 if (PyErr_Occurred()) SWIG_fail
;
16181 resultobj
= SWIG_FromInt((int)result
);
16188 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16189 PyObject
*resultobj
;
16190 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16192 PyObject
* obj0
= 0 ;
16193 char *kwnames
[] = {
16194 (char *) "self", NULL
16197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
16198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16202 result
= (int)(arg1
)->GetPaperId();
16204 wxPyEndAllowThreads(__tstate
);
16205 if (PyErr_Occurred()) SWIG_fail
;
16207 resultobj
= SWIG_FromInt((int)result
);
16214 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16215 PyObject
*resultobj
;
16216 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16218 PyObject
* obj0
= 0 ;
16219 char *kwnames
[] = {
16220 (char *) "self", NULL
16223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
16224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16229 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
16230 result
= (wxSize
*) &_result_ref
;
16233 wxPyEndAllowThreads(__tstate
);
16234 if (PyErr_Occurred()) SWIG_fail
;
16236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16243 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16244 PyObject
*resultobj
;
16245 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16247 PyObject
* obj0
= 0 ;
16248 char *kwnames
[] = {
16249 (char *) "self", NULL
16252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
16253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16257 result
= (int)(arg1
)->GetQuality();
16259 wxPyEndAllowThreads(__tstate
);
16260 if (PyErr_Occurred()) SWIG_fail
;
16262 resultobj
= SWIG_FromInt((int)result
);
16269 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16270 PyObject
*resultobj
;
16271 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16273 PyObject
* obj0
= 0 ;
16274 PyObject
* obj1
= 0 ;
16275 char *kwnames
[] = {
16276 (char *) "self",(char *) "v", NULL
16279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
16280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16282 arg2
= (int) SWIG_AsInt(obj1
);
16283 if (PyErr_Occurred()) SWIG_fail
;
16285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16286 (arg1
)->SetNoCopies(arg2
);
16288 wxPyEndAllowThreads(__tstate
);
16289 if (PyErr_Occurred()) SWIG_fail
;
16291 Py_INCREF(Py_None
); resultobj
= Py_None
;
16298 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16299 PyObject
*resultobj
;
16300 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16302 PyObject
* obj0
= 0 ;
16303 PyObject
* obj1
= 0 ;
16304 char *kwnames
[] = {
16305 (char *) "self",(char *) "flag", NULL
16308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
16309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16311 arg2
= (bool) SWIG_AsBool(obj1
);
16312 if (PyErr_Occurred()) SWIG_fail
;
16314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16315 (arg1
)->SetCollate(arg2
);
16317 wxPyEndAllowThreads(__tstate
);
16318 if (PyErr_Occurred()) SWIG_fail
;
16320 Py_INCREF(Py_None
); resultobj
= Py_None
;
16327 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16328 PyObject
*resultobj
;
16329 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16331 PyObject
* obj0
= 0 ;
16332 PyObject
* obj1
= 0 ;
16333 char *kwnames
[] = {
16334 (char *) "self",(char *) "orient", NULL
16337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16340 arg2
= (int) SWIG_AsInt(obj1
);
16341 if (PyErr_Occurred()) SWIG_fail
;
16343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16344 (arg1
)->SetOrientation(arg2
);
16346 wxPyEndAllowThreads(__tstate
);
16347 if (PyErr_Occurred()) SWIG_fail
;
16349 Py_INCREF(Py_None
); resultobj
= Py_None
;
16356 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16357 PyObject
*resultobj
;
16358 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16359 wxString
*arg2
= 0 ;
16360 bool temp2
= False
;
16361 PyObject
* obj0
= 0 ;
16362 PyObject
* obj1
= 0 ;
16363 char *kwnames
[] = {
16364 (char *) "self",(char *) "name", NULL
16367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
16368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16371 arg2
= wxString_in_helper(obj1
);
16372 if (arg2
== NULL
) SWIG_fail
;
16376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16377 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
16379 wxPyEndAllowThreads(__tstate
);
16380 if (PyErr_Occurred()) SWIG_fail
;
16382 Py_INCREF(Py_None
); resultobj
= Py_None
;
16397 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16398 PyObject
*resultobj
;
16399 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16401 PyObject
* obj0
= 0 ;
16402 PyObject
* obj1
= 0 ;
16403 char *kwnames
[] = {
16404 (char *) "self",(char *) "colour", NULL
16407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16410 arg2
= (bool) SWIG_AsBool(obj1
);
16411 if (PyErr_Occurred()) SWIG_fail
;
16413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16414 (arg1
)->SetColour(arg2
);
16416 wxPyEndAllowThreads(__tstate
);
16417 if (PyErr_Occurred()) SWIG_fail
;
16419 Py_INCREF(Py_None
); resultobj
= Py_None
;
16426 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16427 PyObject
*resultobj
;
16428 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16430 PyObject
* obj0
= 0 ;
16431 PyObject
* obj1
= 0 ;
16432 char *kwnames
[] = {
16433 (char *) "self",(char *) "duplex", NULL
16436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
16437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16439 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
16440 if (PyErr_Occurred()) SWIG_fail
;
16442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16443 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
16445 wxPyEndAllowThreads(__tstate
);
16446 if (PyErr_Occurred()) SWIG_fail
;
16448 Py_INCREF(Py_None
); resultobj
= Py_None
;
16455 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16456 PyObject
*resultobj
;
16457 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16459 PyObject
* obj0
= 0 ;
16460 PyObject
* obj1
= 0 ;
16461 char *kwnames
[] = {
16462 (char *) "self",(char *) "sizeId", NULL
16465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
16466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16468 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
16469 if (PyErr_Occurred()) SWIG_fail
;
16471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16472 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
16474 wxPyEndAllowThreads(__tstate
);
16475 if (PyErr_Occurred()) SWIG_fail
;
16477 Py_INCREF(Py_None
); resultobj
= Py_None
;
16484 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16485 PyObject
*resultobj
;
16486 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16489 PyObject
* obj0
= 0 ;
16490 PyObject
* obj1
= 0 ;
16491 char *kwnames
[] = {
16492 (char *) "self",(char *) "sz", NULL
16495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16500 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16504 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
16506 wxPyEndAllowThreads(__tstate
);
16507 if (PyErr_Occurred()) SWIG_fail
;
16509 Py_INCREF(Py_None
); resultobj
= Py_None
;
16516 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16517 PyObject
*resultobj
;
16518 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16520 PyObject
* obj0
= 0 ;
16521 PyObject
* obj1
= 0 ;
16522 char *kwnames
[] = {
16523 (char *) "self",(char *) "quality", NULL
16526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
16527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16529 arg2
= (int) SWIG_AsInt(obj1
);
16530 if (PyErr_Occurred()) SWIG_fail
;
16532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16533 (arg1
)->SetQuality(arg2
);
16535 wxPyEndAllowThreads(__tstate
);
16536 if (PyErr_Occurred()) SWIG_fail
;
16538 Py_INCREF(Py_None
); resultobj
= Py_None
;
16545 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16546 PyObject
*resultobj
;
16547 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16549 PyObject
* obj0
= 0 ;
16550 char *kwnames
[] = {
16551 (char *) "self", NULL
16554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
16555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16560 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
16561 result
= (wxString
*) &_result_ref
;
16564 wxPyEndAllowThreads(__tstate
);
16565 if (PyErr_Occurred()) SWIG_fail
;
16569 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16571 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16580 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16581 PyObject
*resultobj
;
16582 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16584 PyObject
* obj0
= 0 ;
16585 char *kwnames
[] = {
16586 (char *) "self", NULL
16589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
16590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16595 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
16596 result
= (wxString
*) &_result_ref
;
16599 wxPyEndAllowThreads(__tstate
);
16600 if (PyErr_Occurred()) SWIG_fail
;
16604 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16606 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16615 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16616 PyObject
*resultobj
;
16617 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16619 PyObject
* obj0
= 0 ;
16620 char *kwnames
[] = {
16621 (char *) "self", NULL
16624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
16625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16630 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
16631 result
= (wxString
*) &_result_ref
;
16634 wxPyEndAllowThreads(__tstate
);
16635 if (PyErr_Occurred()) SWIG_fail
;
16639 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16641 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16650 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16651 PyObject
*resultobj
;
16652 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16654 PyObject
* obj0
= 0 ;
16655 char *kwnames
[] = {
16656 (char *) "self", NULL
16659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
16660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16665 wxString
const &_result_ref
= (arg1
)->GetFilename();
16666 result
= (wxString
*) &_result_ref
;
16669 wxPyEndAllowThreads(__tstate
);
16670 if (PyErr_Occurred()) SWIG_fail
;
16674 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16676 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16685 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16686 PyObject
*resultobj
;
16687 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16689 PyObject
* obj0
= 0 ;
16690 char *kwnames
[] = {
16691 (char *) "self", NULL
16694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
16695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16700 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
16701 result
= (wxString
*) &_result_ref
;
16704 wxPyEndAllowThreads(__tstate
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16709 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16711 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16720 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16721 PyObject
*resultobj
;
16722 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16724 PyObject
* obj0
= 0 ;
16725 char *kwnames
[] = {
16726 (char *) "self", NULL
16729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
16730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16734 result
= (double)(arg1
)->GetPrinterScaleX();
16736 wxPyEndAllowThreads(__tstate
);
16737 if (PyErr_Occurred()) SWIG_fail
;
16739 resultobj
= SWIG_FromDouble((double)result
);
16746 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16747 PyObject
*resultobj
;
16748 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16750 PyObject
* obj0
= 0 ;
16751 char *kwnames
[] = {
16752 (char *) "self", NULL
16755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
16756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16760 result
= (double)(arg1
)->GetPrinterScaleY();
16762 wxPyEndAllowThreads(__tstate
);
16763 if (PyErr_Occurred()) SWIG_fail
;
16765 resultobj
= SWIG_FromDouble((double)result
);
16772 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16773 PyObject
*resultobj
;
16774 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16776 PyObject
* obj0
= 0 ;
16777 char *kwnames
[] = {
16778 (char *) "self", NULL
16781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
16782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16786 result
= (long)(arg1
)->GetPrinterTranslateX();
16788 wxPyEndAllowThreads(__tstate
);
16789 if (PyErr_Occurred()) SWIG_fail
;
16791 resultobj
= SWIG_FromLong((long)result
);
16798 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16799 PyObject
*resultobj
;
16800 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16802 PyObject
* obj0
= 0 ;
16803 char *kwnames
[] = {
16804 (char *) "self", NULL
16807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
16808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16812 result
= (long)(arg1
)->GetPrinterTranslateY();
16814 wxPyEndAllowThreads(__tstate
);
16815 if (PyErr_Occurred()) SWIG_fail
;
16817 resultobj
= SWIG_FromLong((long)result
);
16824 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16825 PyObject
*resultobj
;
16826 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16828 PyObject
* obj0
= 0 ;
16829 char *kwnames
[] = {
16830 (char *) "self", NULL
16833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
16834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16838 result
= (int)(arg1
)->GetPrintMode();
16840 wxPyEndAllowThreads(__tstate
);
16841 if (PyErr_Occurred()) SWIG_fail
;
16843 resultobj
= SWIG_FromInt((int)result
);
16850 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16851 PyObject
*resultobj
;
16852 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16853 wxString
*arg2
= 0 ;
16854 bool temp2
= False
;
16855 PyObject
* obj0
= 0 ;
16856 PyObject
* obj1
= 0 ;
16857 char *kwnames
[] = {
16858 (char *) "self",(char *) "command", NULL
16861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
16862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16865 arg2
= wxString_in_helper(obj1
);
16866 if (arg2
== NULL
) SWIG_fail
;
16870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16871 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
16873 wxPyEndAllowThreads(__tstate
);
16874 if (PyErr_Occurred()) SWIG_fail
;
16876 Py_INCREF(Py_None
); resultobj
= Py_None
;
16891 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16892 PyObject
*resultobj
;
16893 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16894 wxString
*arg2
= 0 ;
16895 bool temp2
= False
;
16896 PyObject
* obj0
= 0 ;
16897 PyObject
* obj1
= 0 ;
16898 char *kwnames
[] = {
16899 (char *) "self",(char *) "options", NULL
16902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
16903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16906 arg2
= wxString_in_helper(obj1
);
16907 if (arg2
== NULL
) SWIG_fail
;
16911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16912 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
16914 wxPyEndAllowThreads(__tstate
);
16915 if (PyErr_Occurred()) SWIG_fail
;
16917 Py_INCREF(Py_None
); resultobj
= Py_None
;
16932 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16933 PyObject
*resultobj
;
16934 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16935 wxString
*arg2
= 0 ;
16936 bool temp2
= False
;
16937 PyObject
* obj0
= 0 ;
16938 PyObject
* obj1
= 0 ;
16939 char *kwnames
[] = {
16940 (char *) "self",(char *) "command", NULL
16943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
16944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16947 arg2
= wxString_in_helper(obj1
);
16948 if (arg2
== NULL
) SWIG_fail
;
16952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16953 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
16955 wxPyEndAllowThreads(__tstate
);
16956 if (PyErr_Occurred()) SWIG_fail
;
16958 Py_INCREF(Py_None
); resultobj
= Py_None
;
16973 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16974 PyObject
*resultobj
;
16975 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16976 wxString
*arg2
= 0 ;
16977 bool temp2
= False
;
16978 PyObject
* obj0
= 0 ;
16979 PyObject
* obj1
= 0 ;
16980 char *kwnames
[] = {
16981 (char *) "self",(char *) "filename", NULL
16984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
16985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16988 arg2
= wxString_in_helper(obj1
);
16989 if (arg2
== NULL
) SWIG_fail
;
16993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16994 (arg1
)->SetFilename((wxString
const &)*arg2
);
16996 wxPyEndAllowThreads(__tstate
);
16997 if (PyErr_Occurred()) SWIG_fail
;
16999 Py_INCREF(Py_None
); resultobj
= Py_None
;
17014 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17015 PyObject
*resultobj
;
17016 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17017 wxString
*arg2
= 0 ;
17018 bool temp2
= False
;
17019 PyObject
* obj0
= 0 ;
17020 PyObject
* obj1
= 0 ;
17021 char *kwnames
[] = {
17022 (char *) "self",(char *) "path", NULL
17025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
17026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17029 arg2
= wxString_in_helper(obj1
);
17030 if (arg2
== NULL
) SWIG_fail
;
17034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17035 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
17037 wxPyEndAllowThreads(__tstate
);
17038 if (PyErr_Occurred()) SWIG_fail
;
17040 Py_INCREF(Py_None
); resultobj
= Py_None
;
17055 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17056 PyObject
*resultobj
;
17057 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17059 PyObject
* obj0
= 0 ;
17060 PyObject
* obj1
= 0 ;
17061 char *kwnames
[] = {
17062 (char *) "self",(char *) "x", NULL
17065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
17066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17068 arg2
= (double) SWIG_AsDouble(obj1
);
17069 if (PyErr_Occurred()) SWIG_fail
;
17071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17072 (arg1
)->SetPrinterScaleX(arg2
);
17074 wxPyEndAllowThreads(__tstate
);
17075 if (PyErr_Occurred()) SWIG_fail
;
17077 Py_INCREF(Py_None
); resultobj
= Py_None
;
17084 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17085 PyObject
*resultobj
;
17086 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17088 PyObject
* obj0
= 0 ;
17089 PyObject
* obj1
= 0 ;
17090 char *kwnames
[] = {
17091 (char *) "self",(char *) "y", NULL
17094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
17095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17097 arg2
= (double) SWIG_AsDouble(obj1
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17101 (arg1
)->SetPrinterScaleY(arg2
);
17103 wxPyEndAllowThreads(__tstate
);
17104 if (PyErr_Occurred()) SWIG_fail
;
17106 Py_INCREF(Py_None
); resultobj
= Py_None
;
17113 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17114 PyObject
*resultobj
;
17115 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17118 PyObject
* obj0
= 0 ;
17119 PyObject
* obj1
= 0 ;
17120 PyObject
* obj2
= 0 ;
17121 char *kwnames
[] = {
17122 (char *) "self",(char *) "x",(char *) "y", NULL
17125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17128 arg2
= (double) SWIG_AsDouble(obj1
);
17129 if (PyErr_Occurred()) SWIG_fail
;
17130 arg3
= (double) SWIG_AsDouble(obj2
);
17131 if (PyErr_Occurred()) SWIG_fail
;
17133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17134 (arg1
)->SetPrinterScaling(arg2
,arg3
);
17136 wxPyEndAllowThreads(__tstate
);
17137 if (PyErr_Occurred()) SWIG_fail
;
17139 Py_INCREF(Py_None
); resultobj
= Py_None
;
17146 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17147 PyObject
*resultobj
;
17148 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17150 PyObject
* obj0
= 0 ;
17151 PyObject
* obj1
= 0 ;
17152 char *kwnames
[] = {
17153 (char *) "self",(char *) "x", NULL
17156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
17157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17159 arg2
= (long) SWIG_AsLong(obj1
);
17160 if (PyErr_Occurred()) SWIG_fail
;
17162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17163 (arg1
)->SetPrinterTranslateX(arg2
);
17165 wxPyEndAllowThreads(__tstate
);
17166 if (PyErr_Occurred()) SWIG_fail
;
17168 Py_INCREF(Py_None
); resultobj
= Py_None
;
17175 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17176 PyObject
*resultobj
;
17177 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17179 PyObject
* obj0
= 0 ;
17180 PyObject
* obj1
= 0 ;
17181 char *kwnames
[] = {
17182 (char *) "self",(char *) "y", NULL
17185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
17186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17188 arg2
= (long) SWIG_AsLong(obj1
);
17189 if (PyErr_Occurred()) SWIG_fail
;
17191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17192 (arg1
)->SetPrinterTranslateY(arg2
);
17194 wxPyEndAllowThreads(__tstate
);
17195 if (PyErr_Occurred()) SWIG_fail
;
17197 Py_INCREF(Py_None
); resultobj
= Py_None
;
17204 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17205 PyObject
*resultobj
;
17206 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17209 PyObject
* obj0
= 0 ;
17210 PyObject
* obj1
= 0 ;
17211 PyObject
* obj2
= 0 ;
17212 char *kwnames
[] = {
17213 (char *) "self",(char *) "x",(char *) "y", NULL
17216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17219 arg2
= (long) SWIG_AsLong(obj1
);
17220 if (PyErr_Occurred()) SWIG_fail
;
17221 arg3
= (long) SWIG_AsLong(obj2
);
17222 if (PyErr_Occurred()) SWIG_fail
;
17224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17225 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
17227 wxPyEndAllowThreads(__tstate
);
17228 if (PyErr_Occurred()) SWIG_fail
;
17230 Py_INCREF(Py_None
); resultobj
= Py_None
;
17237 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17238 PyObject
*resultobj
;
17239 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17241 PyObject
* obj0
= 0 ;
17242 PyObject
* obj1
= 0 ;
17243 char *kwnames
[] = {
17244 (char *) "self",(char *) "printMode", NULL
17247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
17248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17250 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
17251 if (PyErr_Occurred()) SWIG_fail
;
17253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17254 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
17256 wxPyEndAllowThreads(__tstate
);
17257 if (PyErr_Occurred()) SWIG_fail
;
17259 Py_INCREF(Py_None
); resultobj
= Py_None
;
17266 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17267 PyObject
*resultobj
;
17268 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17269 wxOutputStream
*result
;
17270 PyObject
* obj0
= 0 ;
17271 char *kwnames
[] = {
17272 (char *) "self", NULL
17275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
17276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17280 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
17282 wxPyEndAllowThreads(__tstate
);
17283 if (PyErr_Occurred()) SWIG_fail
;
17285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
17292 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17293 PyObject
*resultobj
;
17294 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17295 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
17296 PyObject
* obj0
= 0 ;
17297 PyObject
* obj1
= 0 ;
17298 char *kwnames
[] = {
17299 (char *) "self",(char *) "outputstream", NULL
17302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
17303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17305 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
17306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17309 (arg1
)->SetOutputStream(arg2
);
17311 wxPyEndAllowThreads(__tstate
);
17312 if (PyErr_Occurred()) SWIG_fail
;
17314 Py_INCREF(Py_None
); resultobj
= Py_None
;
17321 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
17323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17324 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
17326 return Py_BuildValue((char *)"");
17328 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17329 PyObject
*resultobj
;
17330 wxPageSetupDialogData
*result
;
17331 char *kwnames
[] = {
17335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
17337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17338 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
17340 wxPyEndAllowThreads(__tstate
);
17341 if (PyErr_Occurred()) SWIG_fail
;
17343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
17350 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17351 PyObject
*resultobj
;
17352 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17353 PyObject
* obj0
= 0 ;
17354 char *kwnames
[] = {
17355 (char *) "self", NULL
17358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
17359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17365 wxPyEndAllowThreads(__tstate
);
17366 if (PyErr_Occurred()) SWIG_fail
;
17368 Py_INCREF(Py_None
); resultobj
= Py_None
;
17375 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17376 PyObject
*resultobj
;
17377 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17379 PyObject
* obj0
= 0 ;
17380 PyObject
* obj1
= 0 ;
17381 char *kwnames
[] = {
17382 (char *) "self",(char *) "flag", NULL
17385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17388 arg2
= (bool) SWIG_AsBool(obj1
);
17389 if (PyErr_Occurred()) SWIG_fail
;
17391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17392 (arg1
)->EnableHelp(arg2
);
17394 wxPyEndAllowThreads(__tstate
);
17395 if (PyErr_Occurred()) SWIG_fail
;
17397 Py_INCREF(Py_None
); resultobj
= Py_None
;
17404 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17405 PyObject
*resultobj
;
17406 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17408 PyObject
* obj0
= 0 ;
17409 PyObject
* obj1
= 0 ;
17410 char *kwnames
[] = {
17411 (char *) "self",(char *) "flag", NULL
17414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17417 arg2
= (bool) SWIG_AsBool(obj1
);
17418 if (PyErr_Occurred()) SWIG_fail
;
17420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17421 (arg1
)->EnableMargins(arg2
);
17423 wxPyEndAllowThreads(__tstate
);
17424 if (PyErr_Occurred()) SWIG_fail
;
17426 Py_INCREF(Py_None
); resultobj
= Py_None
;
17433 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17434 PyObject
*resultobj
;
17435 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17437 PyObject
* obj0
= 0 ;
17438 PyObject
* obj1
= 0 ;
17439 char *kwnames
[] = {
17440 (char *) "self",(char *) "flag", NULL
17443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
17444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17446 arg2
= (bool) SWIG_AsBool(obj1
);
17447 if (PyErr_Occurred()) SWIG_fail
;
17449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17450 (arg1
)->EnableOrientation(arg2
);
17452 wxPyEndAllowThreads(__tstate
);
17453 if (PyErr_Occurred()) SWIG_fail
;
17455 Py_INCREF(Py_None
); resultobj
= Py_None
;
17462 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17463 PyObject
*resultobj
;
17464 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17466 PyObject
* obj0
= 0 ;
17467 PyObject
* obj1
= 0 ;
17468 char *kwnames
[] = {
17469 (char *) "self",(char *) "flag", NULL
17472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
17473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17475 arg2
= (bool) SWIG_AsBool(obj1
);
17476 if (PyErr_Occurred()) SWIG_fail
;
17478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17479 (arg1
)->EnablePaper(arg2
);
17481 wxPyEndAllowThreads(__tstate
);
17482 if (PyErr_Occurred()) SWIG_fail
;
17484 Py_INCREF(Py_None
); resultobj
= Py_None
;
17491 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17492 PyObject
*resultobj
;
17493 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17495 PyObject
* obj0
= 0 ;
17496 PyObject
* obj1
= 0 ;
17497 char *kwnames
[] = {
17498 (char *) "self",(char *) "flag", NULL
17501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
17502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17504 arg2
= (bool) SWIG_AsBool(obj1
);
17505 if (PyErr_Occurred()) SWIG_fail
;
17507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17508 (arg1
)->EnablePrinter(arg2
);
17510 wxPyEndAllowThreads(__tstate
);
17511 if (PyErr_Occurred()) SWIG_fail
;
17513 Py_INCREF(Py_None
); resultobj
= Py_None
;
17520 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17521 PyObject
*resultobj
;
17522 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17524 PyObject
* obj0
= 0 ;
17525 char *kwnames
[] = {
17526 (char *) "self", NULL
17529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
17530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17534 result
= (bool)(arg1
)->GetDefaultMinMargins();
17536 wxPyEndAllowThreads(__tstate
);
17537 if (PyErr_Occurred()) SWIG_fail
;
17539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17546 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17547 PyObject
*resultobj
;
17548 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17550 PyObject
* obj0
= 0 ;
17551 char *kwnames
[] = {
17552 (char *) "self", NULL
17555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
17556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17560 result
= (bool)(arg1
)->GetEnableMargins();
17562 wxPyEndAllowThreads(__tstate
);
17563 if (PyErr_Occurred()) SWIG_fail
;
17565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17572 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17573 PyObject
*resultobj
;
17574 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17576 PyObject
* obj0
= 0 ;
17577 char *kwnames
[] = {
17578 (char *) "self", NULL
17581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
17582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17586 result
= (bool)(arg1
)->GetEnableOrientation();
17588 wxPyEndAllowThreads(__tstate
);
17589 if (PyErr_Occurred()) SWIG_fail
;
17591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17598 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17599 PyObject
*resultobj
;
17600 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17602 PyObject
* obj0
= 0 ;
17603 char *kwnames
[] = {
17604 (char *) "self", NULL
17607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
17608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17612 result
= (bool)(arg1
)->GetEnablePaper();
17614 wxPyEndAllowThreads(__tstate
);
17615 if (PyErr_Occurred()) SWIG_fail
;
17617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17624 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17625 PyObject
*resultobj
;
17626 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17628 PyObject
* obj0
= 0 ;
17629 char *kwnames
[] = {
17630 (char *) "self", NULL
17633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
17634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17638 result
= (bool)(arg1
)->GetEnablePrinter();
17640 wxPyEndAllowThreads(__tstate
);
17641 if (PyErr_Occurred()) SWIG_fail
;
17643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17650 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17651 PyObject
*resultobj
;
17652 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17654 PyObject
* obj0
= 0 ;
17655 char *kwnames
[] = {
17656 (char *) "self", NULL
17659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
17660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17664 result
= (bool)(arg1
)->GetEnableHelp();
17666 wxPyEndAllowThreads(__tstate
);
17667 if (PyErr_Occurred()) SWIG_fail
;
17669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17676 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17677 PyObject
*resultobj
;
17678 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17680 PyObject
* obj0
= 0 ;
17681 char *kwnames
[] = {
17682 (char *) "self", NULL
17685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
17686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17690 result
= (bool)(arg1
)->GetDefaultInfo();
17692 wxPyEndAllowThreads(__tstate
);
17693 if (PyErr_Occurred()) SWIG_fail
;
17695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17702 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17703 PyObject
*resultobj
;
17704 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17706 PyObject
* obj0
= 0 ;
17707 char *kwnames
[] = {
17708 (char *) "self", NULL
17711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
17712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17716 result
= (arg1
)->GetMarginTopLeft();
17718 wxPyEndAllowThreads(__tstate
);
17719 if (PyErr_Occurred()) SWIG_fail
;
17722 wxPoint
* resultptr
;
17723 resultptr
= new wxPoint((wxPoint
&) result
);
17724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17732 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17733 PyObject
*resultobj
;
17734 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17736 PyObject
* obj0
= 0 ;
17737 char *kwnames
[] = {
17738 (char *) "self", NULL
17741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
17742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17746 result
= (arg1
)->GetMarginBottomRight();
17748 wxPyEndAllowThreads(__tstate
);
17749 if (PyErr_Occurred()) SWIG_fail
;
17752 wxPoint
* resultptr
;
17753 resultptr
= new wxPoint((wxPoint
&) result
);
17754 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17762 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17763 PyObject
*resultobj
;
17764 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17766 PyObject
* obj0
= 0 ;
17767 char *kwnames
[] = {
17768 (char *) "self", NULL
17771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
17772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17776 result
= (arg1
)->GetMinMarginTopLeft();
17778 wxPyEndAllowThreads(__tstate
);
17779 if (PyErr_Occurred()) SWIG_fail
;
17782 wxPoint
* resultptr
;
17783 resultptr
= new wxPoint((wxPoint
&) result
);
17784 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17792 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17793 PyObject
*resultobj
;
17794 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17796 PyObject
* obj0
= 0 ;
17797 char *kwnames
[] = {
17798 (char *) "self", NULL
17801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
17802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17806 result
= (arg1
)->GetMinMarginBottomRight();
17808 wxPyEndAllowThreads(__tstate
);
17809 if (PyErr_Occurred()) SWIG_fail
;
17812 wxPoint
* resultptr
;
17813 resultptr
= new wxPoint((wxPoint
&) result
);
17814 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17822 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17823 PyObject
*resultobj
;
17824 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17826 PyObject
* obj0
= 0 ;
17827 char *kwnames
[] = {
17828 (char *) "self", NULL
17831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
17832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17836 result
= (int)(arg1
)->GetPaperId();
17838 wxPyEndAllowThreads(__tstate
);
17839 if (PyErr_Occurred()) SWIG_fail
;
17841 resultobj
= SWIG_FromInt((int)result
);
17848 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17849 PyObject
*resultobj
;
17850 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17852 PyObject
* obj0
= 0 ;
17853 char *kwnames
[] = {
17854 (char *) "self", NULL
17857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
17858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17862 result
= (arg1
)->GetPaperSize();
17864 wxPyEndAllowThreads(__tstate
);
17865 if (PyErr_Occurred()) SWIG_fail
;
17868 wxSize
* resultptr
;
17869 resultptr
= new wxSize((wxSize
&) result
);
17870 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17878 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17879 PyObject
*resultobj
;
17880 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17881 wxPrintData
*result
;
17882 PyObject
* obj0
= 0 ;
17883 char *kwnames
[] = {
17884 (char *) "self", NULL
17887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
17888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17893 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
17894 result
= (wxPrintData
*) &_result_ref
;
17897 wxPyEndAllowThreads(__tstate
);
17898 if (PyErr_Occurred()) SWIG_fail
;
17900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
17907 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17908 PyObject
*resultobj
;
17909 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17911 PyObject
* obj0
= 0 ;
17912 char *kwnames
[] = {
17913 (char *) "self", NULL
17916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
17917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17921 result
= (bool)(arg1
)->Ok();
17923 wxPyEndAllowThreads(__tstate
);
17924 if (PyErr_Occurred()) SWIG_fail
;
17926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17933 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17934 PyObject
*resultobj
;
17935 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17937 PyObject
* obj0
= 0 ;
17938 PyObject
* obj1
= 0 ;
17939 char *kwnames
[] = {
17940 (char *) "self",(char *) "flag", NULL
17943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
17944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17946 arg2
= (bool) SWIG_AsBool(obj1
);
17947 if (PyErr_Occurred()) SWIG_fail
;
17949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17950 (arg1
)->SetDefaultInfo(arg2
);
17952 wxPyEndAllowThreads(__tstate
);
17953 if (PyErr_Occurred()) SWIG_fail
;
17955 Py_INCREF(Py_None
); resultobj
= Py_None
;
17962 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17963 PyObject
*resultobj
;
17964 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17966 PyObject
* obj0
= 0 ;
17967 PyObject
* obj1
= 0 ;
17968 char *kwnames
[] = {
17969 (char *) "self",(char *) "flag", NULL
17972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17975 arg2
= (bool) SWIG_AsBool(obj1
);
17976 if (PyErr_Occurred()) SWIG_fail
;
17978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17979 (arg1
)->SetDefaultMinMargins(arg2
);
17981 wxPyEndAllowThreads(__tstate
);
17982 if (PyErr_Occurred()) SWIG_fail
;
17984 Py_INCREF(Py_None
); resultobj
= Py_None
;
17991 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17992 PyObject
*resultobj
;
17993 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17994 wxPoint
*arg2
= 0 ;
17996 PyObject
* obj0
= 0 ;
17997 PyObject
* obj1
= 0 ;
17998 char *kwnames
[] = {
17999 (char *) "self",(char *) "pt", NULL
18002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
18003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18007 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18011 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
18013 wxPyEndAllowThreads(__tstate
);
18014 if (PyErr_Occurred()) SWIG_fail
;
18016 Py_INCREF(Py_None
); resultobj
= Py_None
;
18023 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18024 PyObject
*resultobj
;
18025 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18026 wxPoint
*arg2
= 0 ;
18028 PyObject
* obj0
= 0 ;
18029 PyObject
* obj1
= 0 ;
18030 char *kwnames
[] = {
18031 (char *) "self",(char *) "pt", NULL
18034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
18035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18039 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18043 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
18045 wxPyEndAllowThreads(__tstate
);
18046 if (PyErr_Occurred()) SWIG_fail
;
18048 Py_INCREF(Py_None
); resultobj
= Py_None
;
18055 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18056 PyObject
*resultobj
;
18057 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18058 wxPoint
*arg2
= 0 ;
18060 PyObject
* obj0
= 0 ;
18061 PyObject
* obj1
= 0 ;
18062 char *kwnames
[] = {
18063 (char *) "self",(char *) "pt", NULL
18066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
18067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18071 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18075 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
18077 wxPyEndAllowThreads(__tstate
);
18078 if (PyErr_Occurred()) SWIG_fail
;
18080 Py_INCREF(Py_None
); resultobj
= Py_None
;
18087 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18088 PyObject
*resultobj
;
18089 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18090 wxPoint
*arg2
= 0 ;
18092 PyObject
* obj0
= 0 ;
18093 PyObject
* obj1
= 0 ;
18094 char *kwnames
[] = {
18095 (char *) "self",(char *) "pt", NULL
18098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
18099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18103 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18107 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
18109 wxPyEndAllowThreads(__tstate
);
18110 if (PyErr_Occurred()) SWIG_fail
;
18112 Py_INCREF(Py_None
); resultobj
= Py_None
;
18119 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18120 PyObject
*resultobj
;
18121 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18123 PyObject
* obj0
= 0 ;
18124 PyObject
* obj1
= 0 ;
18125 char *kwnames
[] = {
18126 (char *) "self",(char *) "id", NULL
18129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18132 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18136 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18138 wxPyEndAllowThreads(__tstate
);
18139 if (PyErr_Occurred()) SWIG_fail
;
18141 Py_INCREF(Py_None
); resultobj
= Py_None
;
18148 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18149 PyObject
*resultobj
;
18150 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18153 PyObject
* obj0
= 0 ;
18154 PyObject
* obj1
= 0 ;
18155 char *kwnames
[] = {
18156 (char *) "self",(char *) "size", NULL
18159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18164 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18168 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18170 wxPyEndAllowThreads(__tstate
);
18171 if (PyErr_Occurred()) SWIG_fail
;
18173 Py_INCREF(Py_None
); resultobj
= Py_None
;
18180 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18181 PyObject
*resultobj
;
18182 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18183 wxPrintData
*arg2
= 0 ;
18184 PyObject
* obj0
= 0 ;
18185 PyObject
* obj1
= 0 ;
18186 char *kwnames
[] = {
18187 (char *) "self",(char *) "printData", NULL
18190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
18191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18193 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
18194 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18196 if (arg2
== NULL
) {
18197 PyErr_SetString(PyExc_TypeError
,"null reference");
18201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18202 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
18204 wxPyEndAllowThreads(__tstate
);
18205 if (PyErr_Occurred()) SWIG_fail
;
18207 Py_INCREF(Py_None
); resultobj
= Py_None
;
18214 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
18216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18217 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
18219 return Py_BuildValue((char *)"");
18221 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18222 PyObject
*resultobj
;
18223 wxWindow
*arg1
= (wxWindow
*) 0 ;
18224 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
18225 wxPageSetupDialog
*result
;
18226 PyObject
* obj0
= 0 ;
18227 PyObject
* obj1
= 0 ;
18228 char *kwnames
[] = {
18229 (char *) "parent",(char *) "data", NULL
18232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
18233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18236 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
18237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18241 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
18243 wxPyEndAllowThreads(__tstate
);
18244 if (PyErr_Occurred()) SWIG_fail
;
18246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
18253 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18254 PyObject
*resultobj
;
18255 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
18256 wxPageSetupDialogData
*result
;
18257 PyObject
* obj0
= 0 ;
18258 char *kwnames
[] = {
18259 (char *) "self", NULL
18262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
18263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
18264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18268 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
18269 result
= (wxPageSetupDialogData
*) &_result_ref
;
18272 wxPyEndAllowThreads(__tstate
);
18273 if (PyErr_Occurred()) SWIG_fail
;
18275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
18282 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18283 PyObject
*resultobj
;
18284 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
18286 PyObject
* obj0
= 0 ;
18287 char *kwnames
[] = {
18288 (char *) "self", NULL
18291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
18292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
18293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18296 result
= (int)(arg1
)->ShowModal();
18298 wxPyEndAllowThreads(__tstate
);
18299 if (PyErr_Occurred()) SWIG_fail
;
18301 resultobj
= SWIG_FromInt((int)result
);
18308 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
18310 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18311 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
18313 return Py_BuildValue((char *)"");
18315 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
18316 PyObject
*resultobj
;
18317 wxPrintDialogData
*result
;
18319 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
18321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18322 result
= (wxPrintDialogData
*)new wxPrintDialogData();
18324 wxPyEndAllowThreads(__tstate
);
18325 if (PyErr_Occurred()) SWIG_fail
;
18327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
18334 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
18335 PyObject
*resultobj
;
18336 wxPrintData
*arg1
= 0 ;
18337 wxPrintDialogData
*result
;
18338 PyObject
* obj0
= 0 ;
18340 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
18341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18342 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18344 if (arg1
== NULL
) {
18345 PyErr_SetString(PyExc_TypeError
,"null reference");
18349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18350 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
18352 wxPyEndAllowThreads(__tstate
);
18353 if (PyErr_Occurred()) SWIG_fail
;
18355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
18362 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
18367 argc
= PyObject_Length(args
);
18368 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
18369 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18372 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
18378 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
18386 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
18390 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
18395 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18396 PyObject
*resultobj
;
18397 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18398 PyObject
* obj0
= 0 ;
18399 char *kwnames
[] = {
18400 (char *) "self", NULL
18403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
18404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18410 wxPyEndAllowThreads(__tstate
);
18411 if (PyErr_Occurred()) SWIG_fail
;
18413 Py_INCREF(Py_None
); resultobj
= Py_None
;
18420 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18421 PyObject
*resultobj
;
18422 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18424 PyObject
* obj0
= 0 ;
18425 char *kwnames
[] = {
18426 (char *) "self", NULL
18429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
18430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18434 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
18436 wxPyEndAllowThreads(__tstate
);
18437 if (PyErr_Occurred()) SWIG_fail
;
18439 resultobj
= SWIG_FromInt((int)result
);
18446 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18447 PyObject
*resultobj
;
18448 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18450 PyObject
* obj0
= 0 ;
18451 char *kwnames
[] = {
18452 (char *) "self", NULL
18455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
18456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18460 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
18462 wxPyEndAllowThreads(__tstate
);
18463 if (PyErr_Occurred()) SWIG_fail
;
18465 resultobj
= SWIG_FromInt((int)result
);
18472 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18473 PyObject
*resultobj
;
18474 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18476 PyObject
* obj0
= 0 ;
18477 char *kwnames
[] = {
18478 (char *) "self", NULL
18481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
18482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18486 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
18488 wxPyEndAllowThreads(__tstate
);
18489 if (PyErr_Occurred()) SWIG_fail
;
18491 resultobj
= SWIG_FromInt((int)result
);
18498 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18499 PyObject
*resultobj
;
18500 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18502 PyObject
* obj0
= 0 ;
18503 char *kwnames
[] = {
18504 (char *) "self", NULL
18507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
18508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18512 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
18514 wxPyEndAllowThreads(__tstate
);
18515 if (PyErr_Occurred()) SWIG_fail
;
18517 resultobj
= SWIG_FromInt((int)result
);
18524 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18525 PyObject
*resultobj
;
18526 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18528 PyObject
* obj0
= 0 ;
18529 char *kwnames
[] = {
18530 (char *) "self", NULL
18533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18538 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
18540 wxPyEndAllowThreads(__tstate
);
18541 if (PyErr_Occurred()) SWIG_fail
;
18543 resultobj
= SWIG_FromInt((int)result
);
18550 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18551 PyObject
*resultobj
;
18552 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18554 PyObject
* obj0
= 0 ;
18555 char *kwnames
[] = {
18556 (char *) "self", NULL
18559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
18560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18564 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
18566 wxPyEndAllowThreads(__tstate
);
18567 if (PyErr_Occurred()) SWIG_fail
;
18569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18576 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18577 PyObject
*resultobj
;
18578 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18580 PyObject
* obj0
= 0 ;
18581 char *kwnames
[] = {
18582 (char *) "self", NULL
18585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
18586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18590 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
18592 wxPyEndAllowThreads(__tstate
);
18593 if (PyErr_Occurred()) SWIG_fail
;
18595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18602 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18603 PyObject
*resultobj
;
18604 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18606 PyObject
* obj0
= 0 ;
18607 char *kwnames
[] = {
18608 (char *) "self", NULL
18611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
18612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18616 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
18618 wxPyEndAllowThreads(__tstate
);
18619 if (PyErr_Occurred()) SWIG_fail
;
18621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18628 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18629 PyObject
*resultobj
;
18630 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18632 PyObject
* obj0
= 0 ;
18633 char *kwnames
[] = {
18634 (char *) "self", NULL
18637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
18638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18642 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
18644 wxPyEndAllowThreads(__tstate
);
18645 if (PyErr_Occurred()) SWIG_fail
;
18647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18654 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18655 PyObject
*resultobj
;
18656 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18658 PyObject
* obj0
= 0 ;
18659 char *kwnames
[] = {
18660 (char *) "self", NULL
18663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
18664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18668 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
18670 wxPyEndAllowThreads(__tstate
);
18671 if (PyErr_Occurred()) SWIG_fail
;
18673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18680 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18681 PyObject
*resultobj
;
18682 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18684 PyObject
* obj0
= 0 ;
18685 PyObject
* obj1
= 0 ;
18686 char *kwnames
[] = {
18687 (char *) "self",(char *) "v", NULL
18690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
18691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18693 arg2
= (int) SWIG_AsInt(obj1
);
18694 if (PyErr_Occurred()) SWIG_fail
;
18696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18697 (arg1
)->SetFromPage(arg2
);
18699 wxPyEndAllowThreads(__tstate
);
18700 if (PyErr_Occurred()) SWIG_fail
;
18702 Py_INCREF(Py_None
); resultobj
= Py_None
;
18709 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18710 PyObject
*resultobj
;
18711 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18713 PyObject
* obj0
= 0 ;
18714 PyObject
* obj1
= 0 ;
18715 char *kwnames
[] = {
18716 (char *) "self",(char *) "v", NULL
18719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
18720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18722 arg2
= (int) SWIG_AsInt(obj1
);
18723 if (PyErr_Occurred()) SWIG_fail
;
18725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18726 (arg1
)->SetToPage(arg2
);
18728 wxPyEndAllowThreads(__tstate
);
18729 if (PyErr_Occurred()) SWIG_fail
;
18731 Py_INCREF(Py_None
); resultobj
= Py_None
;
18738 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18739 PyObject
*resultobj
;
18740 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18742 PyObject
* obj0
= 0 ;
18743 PyObject
* obj1
= 0 ;
18744 char *kwnames
[] = {
18745 (char *) "self",(char *) "v", NULL
18748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
18749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18751 arg2
= (int) SWIG_AsInt(obj1
);
18752 if (PyErr_Occurred()) SWIG_fail
;
18754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18755 (arg1
)->SetMinPage(arg2
);
18757 wxPyEndAllowThreads(__tstate
);
18758 if (PyErr_Occurred()) SWIG_fail
;
18760 Py_INCREF(Py_None
); resultobj
= Py_None
;
18767 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18768 PyObject
*resultobj
;
18769 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18771 PyObject
* obj0
= 0 ;
18772 PyObject
* obj1
= 0 ;
18773 char *kwnames
[] = {
18774 (char *) "self",(char *) "v", NULL
18777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
18778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18780 arg2
= (int) SWIG_AsInt(obj1
);
18781 if (PyErr_Occurred()) SWIG_fail
;
18783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18784 (arg1
)->SetMaxPage(arg2
);
18786 wxPyEndAllowThreads(__tstate
);
18787 if (PyErr_Occurred()) SWIG_fail
;
18789 Py_INCREF(Py_None
); resultobj
= Py_None
;
18796 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18797 PyObject
*resultobj
;
18798 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18800 PyObject
* obj0
= 0 ;
18801 PyObject
* obj1
= 0 ;
18802 char *kwnames
[] = {
18803 (char *) "self",(char *) "v", NULL
18806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18809 arg2
= (int) SWIG_AsInt(obj1
);
18810 if (PyErr_Occurred()) SWIG_fail
;
18812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18813 (arg1
)->SetNoCopies(arg2
);
18815 wxPyEndAllowThreads(__tstate
);
18816 if (PyErr_Occurred()) SWIG_fail
;
18818 Py_INCREF(Py_None
); resultobj
= Py_None
;
18825 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18826 PyObject
*resultobj
;
18827 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18829 PyObject
* obj0
= 0 ;
18830 PyObject
* obj1
= 0 ;
18831 char *kwnames
[] = {
18832 (char *) "self",(char *) "flag", NULL
18835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
18836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18838 arg2
= (bool) SWIG_AsBool(obj1
);
18839 if (PyErr_Occurred()) SWIG_fail
;
18841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18842 (arg1
)->SetAllPages(arg2
);
18844 wxPyEndAllowThreads(__tstate
);
18845 if (PyErr_Occurred()) SWIG_fail
;
18847 Py_INCREF(Py_None
); resultobj
= Py_None
;
18854 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18855 PyObject
*resultobj
;
18856 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18858 PyObject
* obj0
= 0 ;
18859 PyObject
* obj1
= 0 ;
18860 char *kwnames
[] = {
18861 (char *) "self",(char *) "flag", NULL
18864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
18865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18867 arg2
= (bool) SWIG_AsBool(obj1
);
18868 if (PyErr_Occurred()) SWIG_fail
;
18870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18871 (arg1
)->SetSelection(arg2
);
18873 wxPyEndAllowThreads(__tstate
);
18874 if (PyErr_Occurred()) SWIG_fail
;
18876 Py_INCREF(Py_None
); resultobj
= Py_None
;
18883 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18884 PyObject
*resultobj
;
18885 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18887 PyObject
* obj0
= 0 ;
18888 PyObject
* obj1
= 0 ;
18889 char *kwnames
[] = {
18890 (char *) "self",(char *) "flag", NULL
18893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18896 arg2
= (bool) SWIG_AsBool(obj1
);
18897 if (PyErr_Occurred()) SWIG_fail
;
18899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18900 (arg1
)->SetCollate(arg2
);
18902 wxPyEndAllowThreads(__tstate
);
18903 if (PyErr_Occurred()) SWIG_fail
;
18905 Py_INCREF(Py_None
); resultobj
= Py_None
;
18912 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18913 PyObject
*resultobj
;
18914 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18916 PyObject
* obj0
= 0 ;
18917 PyObject
* obj1
= 0 ;
18918 char *kwnames
[] = {
18919 (char *) "self",(char *) "flag", NULL
18922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
18923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18925 arg2
= (bool) SWIG_AsBool(obj1
);
18926 if (PyErr_Occurred()) SWIG_fail
;
18928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18929 (arg1
)->SetPrintToFile(arg2
);
18931 wxPyEndAllowThreads(__tstate
);
18932 if (PyErr_Occurred()) SWIG_fail
;
18934 Py_INCREF(Py_None
); resultobj
= Py_None
;
18941 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18942 PyObject
*resultobj
;
18943 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18945 PyObject
* obj0
= 0 ;
18946 PyObject
* obj1
= 0 ;
18947 char *kwnames
[] = {
18948 (char *) "self",(char *) "flag", NULL
18951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
18952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18954 arg2
= (bool) SWIG_AsBool(obj1
);
18955 if (PyErr_Occurred()) SWIG_fail
;
18957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18958 (arg1
)->SetSetupDialog(arg2
);
18960 wxPyEndAllowThreads(__tstate
);
18961 if (PyErr_Occurred()) SWIG_fail
;
18963 Py_INCREF(Py_None
); resultobj
= Py_None
;
18970 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18971 PyObject
*resultobj
;
18972 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18974 PyObject
* obj0
= 0 ;
18975 PyObject
* obj1
= 0 ;
18976 char *kwnames
[] = {
18977 (char *) "self",(char *) "flag", NULL
18980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
18981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18983 arg2
= (bool) SWIG_AsBool(obj1
);
18984 if (PyErr_Occurred()) SWIG_fail
;
18986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18987 (arg1
)->EnablePrintToFile(arg2
);
18989 wxPyEndAllowThreads(__tstate
);
18990 if (PyErr_Occurred()) SWIG_fail
;
18992 Py_INCREF(Py_None
); resultobj
= Py_None
;
18999 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19000 PyObject
*resultobj
;
19001 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19003 PyObject
* obj0
= 0 ;
19004 PyObject
* obj1
= 0 ;
19005 char *kwnames
[] = {
19006 (char *) "self",(char *) "flag", NULL
19009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
19010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19012 arg2
= (bool) SWIG_AsBool(obj1
);
19013 if (PyErr_Occurred()) SWIG_fail
;
19015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19016 (arg1
)->EnableSelection(arg2
);
19018 wxPyEndAllowThreads(__tstate
);
19019 if (PyErr_Occurred()) SWIG_fail
;
19021 Py_INCREF(Py_None
); resultobj
= Py_None
;
19028 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19029 PyObject
*resultobj
;
19030 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19032 PyObject
* obj0
= 0 ;
19033 PyObject
* obj1
= 0 ;
19034 char *kwnames
[] = {
19035 (char *) "self",(char *) "flag", NULL
19038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
19039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19041 arg2
= (bool) SWIG_AsBool(obj1
);
19042 if (PyErr_Occurred()) SWIG_fail
;
19044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19045 (arg1
)->EnablePageNumbers(arg2
);
19047 wxPyEndAllowThreads(__tstate
);
19048 if (PyErr_Occurred()) SWIG_fail
;
19050 Py_INCREF(Py_None
); resultobj
= Py_None
;
19057 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19058 PyObject
*resultobj
;
19059 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19061 PyObject
* obj0
= 0 ;
19062 PyObject
* obj1
= 0 ;
19063 char *kwnames
[] = {
19064 (char *) "self",(char *) "flag", NULL
19067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19070 arg2
= (bool) SWIG_AsBool(obj1
);
19071 if (PyErr_Occurred()) SWIG_fail
;
19073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19074 (arg1
)->EnableHelp(arg2
);
19076 wxPyEndAllowThreads(__tstate
);
19077 if (PyErr_Occurred()) SWIG_fail
;
19079 Py_INCREF(Py_None
); resultobj
= Py_None
;
19086 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19087 PyObject
*resultobj
;
19088 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19090 PyObject
* obj0
= 0 ;
19091 char *kwnames
[] = {
19092 (char *) "self", NULL
19095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
19096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19100 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
19102 wxPyEndAllowThreads(__tstate
);
19103 if (PyErr_Occurred()) SWIG_fail
;
19105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19112 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19113 PyObject
*resultobj
;
19114 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19116 PyObject
* obj0
= 0 ;
19117 char *kwnames
[] = {
19118 (char *) "self", NULL
19121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
19122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19126 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
19128 wxPyEndAllowThreads(__tstate
);
19129 if (PyErr_Occurred()) SWIG_fail
;
19131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19138 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19139 PyObject
*resultobj
;
19140 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19142 PyObject
* obj0
= 0 ;
19143 char *kwnames
[] = {
19144 (char *) "self", NULL
19147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
19148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19152 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
19154 wxPyEndAllowThreads(__tstate
);
19155 if (PyErr_Occurred()) SWIG_fail
;
19157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19164 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19165 PyObject
*resultobj
;
19166 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19168 PyObject
* obj0
= 0 ;
19169 char *kwnames
[] = {
19170 (char *) "self", NULL
19173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19178 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
19180 wxPyEndAllowThreads(__tstate
);
19181 if (PyErr_Occurred()) SWIG_fail
;
19183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19190 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19191 PyObject
*resultobj
;
19192 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19194 PyObject
* obj0
= 0 ;
19195 char *kwnames
[] = {
19196 (char *) "self", NULL
19199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19204 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
19206 wxPyEndAllowThreads(__tstate
);
19207 if (PyErr_Occurred()) SWIG_fail
;
19209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19216 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19217 PyObject
*resultobj
;
19218 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19219 wxPrintData
*result
;
19220 PyObject
* obj0
= 0 ;
19221 char *kwnames
[] = {
19222 (char *) "self", NULL
19225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19231 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19232 result
= (wxPrintData
*) &_result_ref
;
19235 wxPyEndAllowThreads(__tstate
);
19236 if (PyErr_Occurred()) SWIG_fail
;
19238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
19245 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19246 PyObject
*resultobj
;
19247 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19248 wxPrintData
*arg2
= 0 ;
19249 PyObject
* obj0
= 0 ;
19250 PyObject
* obj1
= 0 ;
19251 char *kwnames
[] = {
19252 (char *) "self",(char *) "printData", NULL
19255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
19256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19258 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
19259 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19261 if (arg2
== NULL
) {
19262 PyErr_SetString(PyExc_TypeError
,"null reference");
19266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19267 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
19269 wxPyEndAllowThreads(__tstate
);
19270 if (PyErr_Occurred()) SWIG_fail
;
19272 Py_INCREF(Py_None
); resultobj
= Py_None
;
19279 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
19281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19282 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
19284 return Py_BuildValue((char *)"");
19286 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19287 PyObject
*resultobj
;
19288 wxWindow
*arg1
= (wxWindow
*) 0 ;
19289 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
19290 wxPrintDialog
*result
;
19291 PyObject
* obj0
= 0 ;
19292 PyObject
* obj1
= 0 ;
19293 char *kwnames
[] = {
19294 (char *) "parent",(char *) "data", NULL
19297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19301 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
19302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19306 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
19308 wxPyEndAllowThreads(__tstate
);
19309 if (PyErr_Occurred()) SWIG_fail
;
19311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
19318 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19319 PyObject
*resultobj
;
19320 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19321 wxPrintDialogData
*result
;
19322 PyObject
* obj0
= 0 ;
19323 char *kwnames
[] = {
19324 (char *) "self", NULL
19327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
19328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
19329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19333 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
19334 result
= (wxPrintDialogData
*) &_result_ref
;
19337 wxPyEndAllowThreads(__tstate
);
19338 if (PyErr_Occurred()) SWIG_fail
;
19340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
19347 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19348 PyObject
*resultobj
;
19349 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19351 PyObject
* obj0
= 0 ;
19352 char *kwnames
[] = {
19353 (char *) "self", NULL
19356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
19357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
19358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19361 result
= (wxDC
*)(arg1
)->GetPrintDC();
19363 wxPyEndAllowThreads(__tstate
);
19364 if (PyErr_Occurred()) SWIG_fail
;
19367 resultobj
= wxPyMake_wxObject(result
);
19375 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19376 PyObject
*resultobj
;
19377 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19379 PyObject
* obj0
= 0 ;
19380 char *kwnames
[] = {
19381 (char *) "self", NULL
19384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
19385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
19386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19389 result
= (int)(arg1
)->ShowModal();
19391 wxPyEndAllowThreads(__tstate
);
19392 if (PyErr_Occurred()) SWIG_fail
;
19394 resultobj
= SWIG_FromInt((int)result
);
19401 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
19403 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19404 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
19406 return Py_BuildValue((char *)"");
19408 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19409 PyObject
*resultobj
;
19410 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
19412 PyObject
* obj0
= 0 ;
19413 char *kwnames
[] = {
19414 (char *) "data", NULL
19417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
19419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19424 result
= (wxPrinter
*)new wxPrinter(arg1
);
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
19436 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19437 PyObject
*resultobj
;
19438 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19439 PyObject
* obj0
= 0 ;
19440 char *kwnames
[] = {
19441 (char *) "self", NULL
19444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
19445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19451 wxPyEndAllowThreads(__tstate
);
19452 if (PyErr_Occurred()) SWIG_fail
;
19454 Py_INCREF(Py_None
); resultobj
= Py_None
;
19461 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19462 PyObject
*resultobj
;
19463 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19464 wxWindow
*arg2
= (wxWindow
*) 0 ;
19465 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19466 PyObject
* obj0
= 0 ;
19467 PyObject
* obj1
= 0 ;
19468 PyObject
* obj2
= 0 ;
19469 char *kwnames
[] = {
19470 (char *) "self",(char *) "parent",(char *) "printout", NULL
19473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19476 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19478 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
19479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19482 (arg1
)->CreateAbortWindow(arg2
,arg3
);
19484 wxPyEndAllowThreads(__tstate
);
19485 if (PyErr_Occurred()) SWIG_fail
;
19487 Py_INCREF(Py_None
); resultobj
= Py_None
;
19494 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19495 PyObject
*resultobj
;
19496 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19497 wxPrintDialogData
*result
;
19498 PyObject
* obj0
= 0 ;
19499 char *kwnames
[] = {
19500 (char *) "self", NULL
19503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
19504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19509 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
19510 result
= (wxPrintDialogData
*) &_result_ref
;
19513 wxPyEndAllowThreads(__tstate
);
19514 if (PyErr_Occurred()) SWIG_fail
;
19516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
19523 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19524 PyObject
*resultobj
;
19525 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19526 wxWindow
*arg2
= (wxWindow
*) 0 ;
19527 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19528 int arg4
= (int) True
;
19530 PyObject
* obj0
= 0 ;
19531 PyObject
* obj1
= 0 ;
19532 PyObject
* obj2
= 0 ;
19533 PyObject
* obj3
= 0 ;
19534 char *kwnames
[] = {
19535 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
19538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19541 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19543 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
19544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19546 arg4
= (int) SWIG_AsInt(obj3
);
19547 if (PyErr_Occurred()) SWIG_fail
;
19550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19551 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
19553 wxPyEndAllowThreads(__tstate
);
19554 if (PyErr_Occurred()) SWIG_fail
;
19556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19563 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19564 PyObject
*resultobj
;
19565 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19566 wxWindow
*arg2
= (wxWindow
*) 0 ;
19568 PyObject
* obj0
= 0 ;
19569 PyObject
* obj1
= 0 ;
19570 char *kwnames
[] = {
19571 (char *) "self",(char *) "parent", NULL
19574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19581 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
19583 wxPyEndAllowThreads(__tstate
);
19584 if (PyErr_Occurred()) SWIG_fail
;
19587 resultobj
= wxPyMake_wxObject(result
);
19595 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19596 PyObject
*resultobj
;
19597 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19598 wxWindow
*arg2
= (wxWindow
*) 0 ;
19599 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19600 wxString
*arg4
= 0 ;
19601 bool temp4
= False
;
19602 PyObject
* obj0
= 0 ;
19603 PyObject
* obj1
= 0 ;
19604 PyObject
* obj2
= 0 ;
19605 PyObject
* obj3
= 0 ;
19606 char *kwnames
[] = {
19607 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
19610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19613 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19615 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
19616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19618 arg4
= wxString_in_helper(obj3
);
19619 if (arg4
== NULL
) SWIG_fail
;
19623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19624 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
19626 wxPyEndAllowThreads(__tstate
);
19627 if (PyErr_Occurred()) SWIG_fail
;
19629 Py_INCREF(Py_None
); resultobj
= Py_None
;
19644 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19645 PyObject
*resultobj
;
19646 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19647 wxWindow
*arg2
= (wxWindow
*) 0 ;
19649 PyObject
* obj0
= 0 ;
19650 PyObject
* obj1
= 0 ;
19651 char *kwnames
[] = {
19652 (char *) "self",(char *) "parent", NULL
19655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
19656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19658 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19662 result
= (bool)(arg1
)->Setup(arg2
);
19664 wxPyEndAllowThreads(__tstate
);
19665 if (PyErr_Occurred()) SWIG_fail
;
19667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19674 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19675 PyObject
*resultobj
;
19676 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19678 PyObject
* obj0
= 0 ;
19679 char *kwnames
[] = {
19680 (char *) "self", NULL
19683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
19684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19688 result
= (bool)(arg1
)->GetAbort();
19690 wxPyEndAllowThreads(__tstate
);
19691 if (PyErr_Occurred()) SWIG_fail
;
19693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19700 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19701 PyObject
*resultobj
;
19703 char *kwnames
[] = {
19707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
19709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19710 result
= (int)wxPrinter::GetLastError();
19712 wxPyEndAllowThreads(__tstate
);
19713 if (PyErr_Occurred()) SWIG_fail
;
19715 resultobj
= SWIG_FromInt((int)result
);
19722 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
19724 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19725 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
19727 return Py_BuildValue((char *)"");
19729 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19730 PyObject
*resultobj
;
19731 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
19732 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
19733 wxPyPrintout
*result
;
19734 bool temp1
= False
;
19735 PyObject
* obj0
= 0 ;
19736 char *kwnames
[] = {
19737 (char *) "title", NULL
19740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
19743 arg1
= wxString_in_helper(obj0
);
19744 if (arg1
== NULL
) SWIG_fail
;
19749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19750 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
19752 wxPyEndAllowThreads(__tstate
);
19753 if (PyErr_Occurred()) SWIG_fail
;
19756 resultobj
= wxPyMake_wxObject(result
);
19772 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19773 PyObject
*resultobj
;
19774 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19775 PyObject
*arg2
= (PyObject
*) 0 ;
19776 PyObject
*arg3
= (PyObject
*) 0 ;
19777 PyObject
* obj0
= 0 ;
19778 PyObject
* obj1
= 0 ;
19779 PyObject
* obj2
= 0 ;
19780 char *kwnames
[] = {
19781 (char *) "self",(char *) "self",(char *) "_class", NULL
19784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
19786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19791 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19793 wxPyEndAllowThreads(__tstate
);
19794 if (PyErr_Occurred()) SWIG_fail
;
19796 Py_INCREF(Py_None
); resultobj
= Py_None
;
19803 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19804 PyObject
*resultobj
;
19805 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19807 PyObject
* obj0
= 0 ;
19808 char *kwnames
[] = {
19809 (char *) "self", NULL
19812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
19813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
19814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19817 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
19819 wxPyEndAllowThreads(__tstate
);
19820 if (PyErr_Occurred()) SWIG_fail
;
19824 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19826 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19835 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19836 PyObject
*resultobj
;
19837 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19839 PyObject
* obj0
= 0 ;
19840 char *kwnames
[] = {
19841 (char *) "self", NULL
19844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
19845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
19846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19849 result
= (wxDC
*)(arg1
)->GetDC();
19851 wxPyEndAllowThreads(__tstate
);
19852 if (PyErr_Occurred()) SWIG_fail
;
19855 resultobj
= wxPyMake_wxObject(result
);
19863 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19864 PyObject
*resultobj
;
19865 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19866 wxDC
*arg2
= (wxDC
*) 0 ;
19867 PyObject
* obj0
= 0 ;
19868 PyObject
* obj1
= 0 ;
19869 char *kwnames
[] = {
19870 (char *) "self",(char *) "dc", NULL
19873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
19874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
19875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19876 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19880 (arg1
)->SetDC(arg2
);
19882 wxPyEndAllowThreads(__tstate
);
19883 if (PyErr_Occurred()) SWIG_fail
;
19885 Py_INCREF(Py_None
); resultobj
= Py_None
;
19892 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19893 PyObject
*resultobj
;
19894 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19897 PyObject
* obj0
= 0 ;
19898 PyObject
* obj1
= 0 ;
19899 PyObject
* obj2
= 0 ;
19900 char *kwnames
[] = {
19901 (char *) "self",(char *) "w",(char *) "h", NULL
19904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
19906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19907 arg2
= (int) SWIG_AsInt(obj1
);
19908 if (PyErr_Occurred()) SWIG_fail
;
19909 arg3
= (int) SWIG_AsInt(obj2
);
19910 if (PyErr_Occurred()) SWIG_fail
;
19912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19913 (arg1
)->SetPageSizePixels(arg2
,arg3
);
19915 wxPyEndAllowThreads(__tstate
);
19916 if (PyErr_Occurred()) SWIG_fail
;
19918 Py_INCREF(Py_None
); resultobj
= Py_None
;
19925 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19926 PyObject
*resultobj
;
19927 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19928 int *arg2
= (int *) 0 ;
19929 int *arg3
= (int *) 0 ;
19932 PyObject
* obj0
= 0 ;
19933 char *kwnames
[] = {
19934 (char *) "self", NULL
19939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
19940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
19941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19944 (arg1
)->GetPageSizePixels(arg2
,arg3
);
19946 wxPyEndAllowThreads(__tstate
);
19947 if (PyErr_Occurred()) SWIG_fail
;
19949 Py_INCREF(Py_None
); resultobj
= Py_None
;
19951 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
19952 resultobj
= t_output_helper(resultobj
,o
);
19955 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19956 resultobj
= t_output_helper(resultobj
,o
);
19964 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19965 PyObject
*resultobj
;
19966 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19969 PyObject
* obj0
= 0 ;
19970 PyObject
* obj1
= 0 ;
19971 PyObject
* obj2
= 0 ;
19972 char *kwnames
[] = {
19973 (char *) "self",(char *) "w",(char *) "h", NULL
19976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
19978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19979 arg2
= (int) SWIG_AsInt(obj1
);
19980 if (PyErr_Occurred()) SWIG_fail
;
19981 arg3
= (int) SWIG_AsInt(obj2
);
19982 if (PyErr_Occurred()) SWIG_fail
;
19984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19985 (arg1
)->SetPageSizeMM(arg2
,arg3
);
19987 wxPyEndAllowThreads(__tstate
);
19988 if (PyErr_Occurred()) SWIG_fail
;
19990 Py_INCREF(Py_None
); resultobj
= Py_None
;
19997 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19998 PyObject
*resultobj
;
19999 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20000 int *arg2
= (int *) 0 ;
20001 int *arg3
= (int *) 0 ;
20004 PyObject
* obj0
= 0 ;
20005 char *kwnames
[] = {
20006 (char *) "self", NULL
20011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
20012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20016 (arg1
)->GetPageSizeMM(arg2
,arg3
);
20018 wxPyEndAllowThreads(__tstate
);
20019 if (PyErr_Occurred()) SWIG_fail
;
20021 Py_INCREF(Py_None
); resultobj
= Py_None
;
20023 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20024 resultobj
= t_output_helper(resultobj
,o
);
20027 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20028 resultobj
= t_output_helper(resultobj
,o
);
20036 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20037 PyObject
*resultobj
;
20038 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20041 PyObject
* obj0
= 0 ;
20042 PyObject
* obj1
= 0 ;
20043 PyObject
* obj2
= 0 ;
20044 char *kwnames
[] = {
20045 (char *) "self",(char *) "x",(char *) "y", NULL
20048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20051 arg2
= (int) SWIG_AsInt(obj1
);
20052 if (PyErr_Occurred()) SWIG_fail
;
20053 arg3
= (int) SWIG_AsInt(obj2
);
20054 if (PyErr_Occurred()) SWIG_fail
;
20056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20057 (arg1
)->SetPPIScreen(arg2
,arg3
);
20059 wxPyEndAllowThreads(__tstate
);
20060 if (PyErr_Occurred()) SWIG_fail
;
20062 Py_INCREF(Py_None
); resultobj
= Py_None
;
20069 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20070 PyObject
*resultobj
;
20071 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20072 int *arg2
= (int *) 0 ;
20073 int *arg3
= (int *) 0 ;
20076 PyObject
* obj0
= 0 ;
20077 char *kwnames
[] = {
20078 (char *) "self", NULL
20083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
20084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20088 (arg1
)->GetPPIScreen(arg2
,arg3
);
20090 wxPyEndAllowThreads(__tstate
);
20091 if (PyErr_Occurred()) SWIG_fail
;
20093 Py_INCREF(Py_None
); resultobj
= Py_None
;
20095 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20096 resultobj
= t_output_helper(resultobj
,o
);
20099 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20100 resultobj
= t_output_helper(resultobj
,o
);
20108 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20109 PyObject
*resultobj
;
20110 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20113 PyObject
* obj0
= 0 ;
20114 PyObject
* obj1
= 0 ;
20115 PyObject
* obj2
= 0 ;
20116 char *kwnames
[] = {
20117 (char *) "self",(char *) "x",(char *) "y", NULL
20120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20123 arg2
= (int) SWIG_AsInt(obj1
);
20124 if (PyErr_Occurred()) SWIG_fail
;
20125 arg3
= (int) SWIG_AsInt(obj2
);
20126 if (PyErr_Occurred()) SWIG_fail
;
20128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20129 (arg1
)->SetPPIPrinter(arg2
,arg3
);
20131 wxPyEndAllowThreads(__tstate
);
20132 if (PyErr_Occurred()) SWIG_fail
;
20134 Py_INCREF(Py_None
); resultobj
= Py_None
;
20141 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20142 PyObject
*resultobj
;
20143 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20144 int *arg2
= (int *) 0 ;
20145 int *arg3
= (int *) 0 ;
20148 PyObject
* obj0
= 0 ;
20149 char *kwnames
[] = {
20150 (char *) "self", NULL
20155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
20156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20160 (arg1
)->GetPPIPrinter(arg2
,arg3
);
20162 wxPyEndAllowThreads(__tstate
);
20163 if (PyErr_Occurred()) SWIG_fail
;
20165 Py_INCREF(Py_None
); resultobj
= Py_None
;
20167 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20168 resultobj
= t_output_helper(resultobj
,o
);
20171 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20172 resultobj
= t_output_helper(resultobj
,o
);
20180 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20181 PyObject
*resultobj
;
20182 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20184 PyObject
* obj0
= 0 ;
20185 char *kwnames
[] = {
20186 (char *) "self", NULL
20189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
20190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20194 result
= (bool)(arg1
)->IsPreview();
20196 wxPyEndAllowThreads(__tstate
);
20197 if (PyErr_Occurred()) SWIG_fail
;
20199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20206 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20207 PyObject
*resultobj
;
20208 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20210 PyObject
* obj0
= 0 ;
20211 PyObject
* obj1
= 0 ;
20212 char *kwnames
[] = {
20213 (char *) "self",(char *) "p", NULL
20216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
20217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20219 arg2
= (bool) SWIG_AsBool(obj1
);
20220 if (PyErr_Occurred()) SWIG_fail
;
20222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20223 (arg1
)->SetIsPreview(arg2
);
20225 wxPyEndAllowThreads(__tstate
);
20226 if (PyErr_Occurred()) SWIG_fail
;
20228 Py_INCREF(Py_None
); resultobj
= Py_None
;
20235 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20236 PyObject
*resultobj
;
20237 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20241 PyObject
* obj0
= 0 ;
20242 PyObject
* obj1
= 0 ;
20243 PyObject
* obj2
= 0 ;
20244 char *kwnames
[] = {
20245 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
20248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20251 arg2
= (int) SWIG_AsInt(obj1
);
20252 if (PyErr_Occurred()) SWIG_fail
;
20253 arg3
= (int) SWIG_AsInt(obj2
);
20254 if (PyErr_Occurred()) SWIG_fail
;
20256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20257 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
20259 wxPyEndAllowThreads(__tstate
);
20260 if (PyErr_Occurred()) SWIG_fail
;
20262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20269 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20270 PyObject
*resultobj
;
20271 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20272 PyObject
* obj0
= 0 ;
20273 char *kwnames
[] = {
20274 (char *) "self", NULL
20277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
20278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20282 (arg1
)->base_OnEndDocument();
20284 wxPyEndAllowThreads(__tstate
);
20285 if (PyErr_Occurred()) SWIG_fail
;
20287 Py_INCREF(Py_None
); resultobj
= Py_None
;
20294 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20295 PyObject
*resultobj
;
20296 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20297 PyObject
* obj0
= 0 ;
20298 char *kwnames
[] = {
20299 (char *) "self", NULL
20302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
20303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20307 (arg1
)->base_OnBeginPrinting();
20309 wxPyEndAllowThreads(__tstate
);
20310 if (PyErr_Occurred()) SWIG_fail
;
20312 Py_INCREF(Py_None
); resultobj
= Py_None
;
20319 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20320 PyObject
*resultobj
;
20321 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20322 PyObject
* obj0
= 0 ;
20323 char *kwnames
[] = {
20324 (char *) "self", NULL
20327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
20328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20332 (arg1
)->base_OnEndPrinting();
20334 wxPyEndAllowThreads(__tstate
);
20335 if (PyErr_Occurred()) SWIG_fail
;
20337 Py_INCREF(Py_None
); resultobj
= Py_None
;
20344 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20345 PyObject
*resultobj
;
20346 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20347 PyObject
* obj0
= 0 ;
20348 char *kwnames
[] = {
20349 (char *) "self", NULL
20352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
20353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20357 (arg1
)->base_OnPreparePrinting();
20359 wxPyEndAllowThreads(__tstate
);
20360 if (PyErr_Occurred()) SWIG_fail
;
20362 Py_INCREF(Py_None
); resultobj
= Py_None
;
20369 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20370 PyObject
*resultobj
;
20371 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20374 PyObject
* obj0
= 0 ;
20375 PyObject
* obj1
= 0 ;
20376 char *kwnames
[] = {
20377 (char *) "self",(char *) "page", NULL
20380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20383 arg2
= (int) SWIG_AsInt(obj1
);
20384 if (PyErr_Occurred()) SWIG_fail
;
20386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20387 result
= (bool)(arg1
)->base_HasPage(arg2
);
20389 wxPyEndAllowThreads(__tstate
);
20390 if (PyErr_Occurred()) SWIG_fail
;
20392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20399 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20400 PyObject
*resultobj
;
20401 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20402 int *arg2
= (int *) 0 ;
20403 int *arg3
= (int *) 0 ;
20404 int *arg4
= (int *) 0 ;
20405 int *arg5
= (int *) 0 ;
20410 PyObject
* obj0
= 0 ;
20411 char *kwnames
[] = {
20412 (char *) "self", NULL
20419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
20420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20424 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
20426 wxPyEndAllowThreads(__tstate
);
20427 if (PyErr_Occurred()) SWIG_fail
;
20429 Py_INCREF(Py_None
); resultobj
= Py_None
;
20431 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20432 resultobj
= t_output_helper(resultobj
,o
);
20435 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20436 resultobj
= t_output_helper(resultobj
,o
);
20439 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
20440 resultobj
= t_output_helper(resultobj
,o
);
20443 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
20444 resultobj
= t_output_helper(resultobj
,o
);
20452 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
20454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20455 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
20457 return Py_BuildValue((char *)"");
20459 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20460 PyObject
*resultobj
;
20461 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20462 wxWindow
*arg2
= (wxWindow
*) 0 ;
20463 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20464 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20465 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20466 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20467 long arg5
= (long) 0 ;
20468 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
20469 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20470 wxPreviewCanvas
*result
;
20473 bool temp6
= False
;
20474 PyObject
* obj0
= 0 ;
20475 PyObject
* obj1
= 0 ;
20476 PyObject
* obj2
= 0 ;
20477 PyObject
* obj3
= 0 ;
20478 PyObject
* obj4
= 0 ;
20479 PyObject
* obj5
= 0 ;
20480 char *kwnames
[] = {
20481 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
20486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20487 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20492 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20498 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20502 arg5
= (long) SWIG_AsLong(obj4
);
20503 if (PyErr_Occurred()) SWIG_fail
;
20507 arg6
= wxString_in_helper(obj5
);
20508 if (arg6
== NULL
) SWIG_fail
;
20513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20514 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20516 wxPyEndAllowThreads(__tstate
);
20517 if (PyErr_Occurred()) SWIG_fail
;
20519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
20534 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
20536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20537 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
20539 return Py_BuildValue((char *)"");
20541 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20542 PyObject
*resultobj
;
20543 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20544 wxFrame
*arg2
= (wxFrame
*) 0 ;
20545 wxString
*arg3
= 0 ;
20546 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20547 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20548 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20549 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20550 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20551 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20552 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20553 wxPreviewFrame
*result
;
20554 bool temp3
= False
;
20557 bool temp7
= False
;
20558 PyObject
* obj0
= 0 ;
20559 PyObject
* obj1
= 0 ;
20560 PyObject
* obj2
= 0 ;
20561 PyObject
* obj3
= 0 ;
20562 PyObject
* obj4
= 0 ;
20563 PyObject
* obj5
= 0 ;
20564 PyObject
* obj6
= 0 ;
20565 char *kwnames
[] = {
20566 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
20571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20572 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
20573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20575 arg3
= wxString_in_helper(obj2
);
20576 if (arg3
== NULL
) SWIG_fail
;
20582 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20588 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20592 arg6
= (long) SWIG_AsLong(obj5
);
20593 if (PyErr_Occurred()) SWIG_fail
;
20597 arg7
= wxString_in_helper(obj6
);
20598 if (arg7
== NULL
) SWIG_fail
;
20603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20604 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20606 wxPyEndAllowThreads(__tstate
);
20607 if (PyErr_Occurred()) SWIG_fail
;
20609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
20632 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20633 PyObject
*resultobj
;
20634 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20635 PyObject
* obj0
= 0 ;
20636 char *kwnames
[] = {
20637 (char *) "self", NULL
20640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
20641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
20642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20645 (arg1
)->Initialize();
20647 wxPyEndAllowThreads(__tstate
);
20648 if (PyErr_Occurred()) SWIG_fail
;
20650 Py_INCREF(Py_None
); resultobj
= Py_None
;
20657 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20658 PyObject
*resultobj
;
20659 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20660 PyObject
* obj0
= 0 ;
20661 char *kwnames
[] = {
20662 (char *) "self", NULL
20665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
20666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
20667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20670 (arg1
)->CreateControlBar();
20672 wxPyEndAllowThreads(__tstate
);
20673 if (PyErr_Occurred()) SWIG_fail
;
20675 Py_INCREF(Py_None
); resultobj
= Py_None
;
20682 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20683 PyObject
*resultobj
;
20684 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20685 PyObject
* obj0
= 0 ;
20686 char *kwnames
[] = {
20687 (char *) "self", NULL
20690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
20691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
20692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20695 (arg1
)->CreateCanvas();
20697 wxPyEndAllowThreads(__tstate
);
20698 if (PyErr_Occurred()) SWIG_fail
;
20700 Py_INCREF(Py_None
); resultobj
= Py_None
;
20707 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20708 PyObject
*resultobj
;
20709 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20710 wxPreviewControlBar
*result
;
20711 PyObject
* obj0
= 0 ;
20712 char *kwnames
[] = {
20713 (char *) "self", NULL
20716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
20717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
20718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20721 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
20723 wxPyEndAllowThreads(__tstate
);
20724 if (PyErr_Occurred()) SWIG_fail
;
20726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
20733 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
20735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20736 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
20738 return Py_BuildValue((char *)"");
20740 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20741 PyObject
*resultobj
;
20742 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20744 wxWindow
*arg3
= (wxWindow
*) 0 ;
20745 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20746 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20747 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20748 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20749 long arg6
= (long) wxTAB_TRAVERSAL
;
20750 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
20751 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20752 wxPreviewControlBar
*result
;
20755 bool temp7
= False
;
20756 PyObject
* obj0
= 0 ;
20757 PyObject
* obj1
= 0 ;
20758 PyObject
* obj2
= 0 ;
20759 PyObject
* obj3
= 0 ;
20760 PyObject
* obj4
= 0 ;
20761 PyObject
* obj5
= 0 ;
20762 PyObject
* obj6
= 0 ;
20763 char *kwnames
[] = {
20764 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
20769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20770 arg2
= (long) SWIG_AsLong(obj1
);
20771 if (PyErr_Occurred()) SWIG_fail
;
20772 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
20773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20777 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20783 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20787 arg6
= (long) SWIG_AsLong(obj5
);
20788 if (PyErr_Occurred()) SWIG_fail
;
20792 arg7
= wxString_in_helper(obj6
);
20793 if (arg7
== NULL
) SWIG_fail
;
20798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20799 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20801 wxPyEndAllowThreads(__tstate
);
20802 if (PyErr_Occurred()) SWIG_fail
;
20804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
20819 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20820 PyObject
*resultobj
;
20821 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
20823 PyObject
* obj0
= 0 ;
20824 char *kwnames
[] = {
20825 (char *) "self", NULL
20828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
20829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
20830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20833 result
= (int)(arg1
)->GetZoomControl();
20835 wxPyEndAllowThreads(__tstate
);
20836 if (PyErr_Occurred()) SWIG_fail
;
20838 resultobj
= SWIG_FromInt((int)result
);
20845 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20846 PyObject
*resultobj
;
20847 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
20849 PyObject
* obj0
= 0 ;
20850 PyObject
* obj1
= 0 ;
20851 char *kwnames
[] = {
20852 (char *) "self",(char *) "zoom", NULL
20855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
20856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
20857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20858 arg2
= (int) SWIG_AsInt(obj1
);
20859 if (PyErr_Occurred()) SWIG_fail
;
20861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20862 (arg1
)->SetZoomControl(arg2
);
20864 wxPyEndAllowThreads(__tstate
);
20865 if (PyErr_Occurred()) SWIG_fail
;
20867 Py_INCREF(Py_None
); resultobj
= Py_None
;
20874 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20875 PyObject
*resultobj
;
20876 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
20877 wxPrintPreview
*result
;
20878 PyObject
* obj0
= 0 ;
20879 char *kwnames
[] = {
20880 (char *) "self", NULL
20883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
20884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
20885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20888 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
20890 wxPyEndAllowThreads(__tstate
);
20891 if (PyErr_Occurred()) SWIG_fail
;
20893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
20900 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20901 PyObject
*resultobj
;
20902 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
20903 PyObject
* obj0
= 0 ;
20904 char *kwnames
[] = {
20905 (char *) "self", NULL
20908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
20909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
20910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20915 wxPyEndAllowThreads(__tstate
);
20916 if (PyErr_Occurred()) SWIG_fail
;
20918 Py_INCREF(Py_None
); resultobj
= Py_None
;
20925 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20926 PyObject
*resultobj
;
20927 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
20928 PyObject
* obj0
= 0 ;
20929 char *kwnames
[] = {
20930 (char *) "self", NULL
20933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
20934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
20935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20938 (arg1
)->OnPrevious();
20940 wxPyEndAllowThreads(__tstate
);
20941 if (PyErr_Occurred()) SWIG_fail
;
20943 Py_INCREF(Py_None
); resultobj
= Py_None
;
20950 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20951 PyObject
*resultobj
;
20952 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
20953 PyObject
* obj0
= 0 ;
20954 char *kwnames
[] = {
20955 (char *) "self", NULL
20958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
20959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
20960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20965 wxPyEndAllowThreads(__tstate
);
20966 if (PyErr_Occurred()) SWIG_fail
;
20968 Py_INCREF(Py_None
); resultobj
= Py_None
;
20975 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20976 PyObject
*resultobj
;
20977 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
20978 PyObject
* obj0
= 0 ;
20979 char *kwnames
[] = {
20980 (char *) "self", NULL
20983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
20984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
20985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20990 wxPyEndAllowThreads(__tstate
);
20991 if (PyErr_Occurred()) SWIG_fail
;
20993 Py_INCREF(Py_None
); resultobj
= Py_None
;
21000 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21001 PyObject
*resultobj
;
21002 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21003 PyObject
* obj0
= 0 ;
21004 char *kwnames
[] = {
21005 (char *) "self", NULL
21008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
21009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21015 wxPyEndAllowThreads(__tstate
);
21016 if (PyErr_Occurred()) SWIG_fail
;
21018 Py_INCREF(Py_None
); resultobj
= Py_None
;
21025 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
21027 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21028 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
21030 return Py_BuildValue((char *)"");
21032 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
21033 PyObject
*resultobj
;
21034 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21035 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21036 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
21037 wxPrintPreview
*result
;
21038 PyObject
* obj0
= 0 ;
21039 PyObject
* obj1
= 0 ;
21040 PyObject
* obj2
= 0 ;
21042 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
21043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21045 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
21046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21048 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
21049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21053 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
21055 wxPyEndAllowThreads(__tstate
);
21056 if (PyErr_Occurred()) SWIG_fail
;
21058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
21065 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
21066 PyObject
*resultobj
;
21067 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21068 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21069 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
21070 wxPrintPreview
*result
;
21071 PyObject
* obj0
= 0 ;
21072 PyObject
* obj1
= 0 ;
21073 PyObject
* obj2
= 0 ;
21075 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
21076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21078 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
21079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21080 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
21081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21084 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
21086 wxPyEndAllowThreads(__tstate
);
21087 if (PyErr_Occurred()) SWIG_fail
;
21089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
21096 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
21101 argc
= PyObject_Length(args
);
21102 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
21103 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21105 if ((argc
>= 2) && (argc
<= 3)) {
21109 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
21119 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
21128 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
21132 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
21140 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
21149 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
21159 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
21169 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
21177 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
21183 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
21188 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21189 PyObject
*resultobj
;
21190 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21193 PyObject
* obj0
= 0 ;
21194 PyObject
* obj1
= 0 ;
21195 char *kwnames
[] = {
21196 (char *) "self",(char *) "pageNum", NULL
21199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21202 arg2
= (int) SWIG_AsInt(obj1
);
21203 if (PyErr_Occurred()) SWIG_fail
;
21205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21206 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
21208 wxPyEndAllowThreads(__tstate
);
21209 if (PyErr_Occurred()) SWIG_fail
;
21211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21218 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21219 PyObject
*resultobj
;
21220 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21222 PyObject
* obj0
= 0 ;
21223 char *kwnames
[] = {
21224 (char *) "self", NULL
21227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
21228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21232 result
= (int)(arg1
)->GetCurrentPage();
21234 wxPyEndAllowThreads(__tstate
);
21235 if (PyErr_Occurred()) SWIG_fail
;
21237 resultobj
= SWIG_FromInt((int)result
);
21244 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21245 PyObject
*resultobj
;
21246 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21247 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21248 PyObject
* obj0
= 0 ;
21249 PyObject
* obj1
= 0 ;
21250 char *kwnames
[] = {
21251 (char *) "self",(char *) "printout", NULL
21254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
21255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21257 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
21258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21261 (arg1
)->SetPrintout(arg2
);
21263 wxPyEndAllowThreads(__tstate
);
21264 if (PyErr_Occurred()) SWIG_fail
;
21266 Py_INCREF(Py_None
); resultobj
= Py_None
;
21273 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21274 PyObject
*resultobj
;
21275 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21276 wxPyPrintout
*result
;
21277 PyObject
* obj0
= 0 ;
21278 char *kwnames
[] = {
21279 (char *) "self", NULL
21282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
21283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21287 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
21289 wxPyEndAllowThreads(__tstate
);
21290 if (PyErr_Occurred()) SWIG_fail
;
21293 resultobj
= wxPyMake_wxObject(result
);
21301 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21302 PyObject
*resultobj
;
21303 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21304 wxPyPrintout
*result
;
21305 PyObject
* obj0
= 0 ;
21306 char *kwnames
[] = {
21307 (char *) "self", NULL
21310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
21311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21315 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
21317 wxPyEndAllowThreads(__tstate
);
21318 if (PyErr_Occurred()) SWIG_fail
;
21321 resultobj
= wxPyMake_wxObject(result
);
21329 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21330 PyObject
*resultobj
;
21331 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21332 wxFrame
*arg2
= (wxFrame
*) 0 ;
21333 PyObject
* obj0
= 0 ;
21334 PyObject
* obj1
= 0 ;
21335 char *kwnames
[] = {
21336 (char *) "self",(char *) "frame", NULL
21339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
21340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
21343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21346 (arg1
)->SetFrame(arg2
);
21348 wxPyEndAllowThreads(__tstate
);
21349 if (PyErr_Occurred()) SWIG_fail
;
21351 Py_INCREF(Py_None
); resultobj
= Py_None
;
21358 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21359 PyObject
*resultobj
;
21360 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21361 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21362 PyObject
* obj0
= 0 ;
21363 PyObject
* obj1
= 0 ;
21364 char *kwnames
[] = {
21365 (char *) "self",(char *) "canvas", NULL
21368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
21369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21371 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
21372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21375 (arg1
)->SetCanvas(arg2
);
21377 wxPyEndAllowThreads(__tstate
);
21378 if (PyErr_Occurred()) SWIG_fail
;
21380 Py_INCREF(Py_None
); resultobj
= Py_None
;
21387 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21388 PyObject
*resultobj
;
21389 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21391 PyObject
* obj0
= 0 ;
21392 char *kwnames
[] = {
21393 (char *) "self", NULL
21396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
21397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21401 result
= (wxFrame
*)(arg1
)->GetFrame();
21403 wxPyEndAllowThreads(__tstate
);
21404 if (PyErr_Occurred()) SWIG_fail
;
21407 resultobj
= wxPyMake_wxObject(result
);
21415 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21416 PyObject
*resultobj
;
21417 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21418 wxPreviewCanvas
*result
;
21419 PyObject
* obj0
= 0 ;
21420 char *kwnames
[] = {
21421 (char *) "self", NULL
21424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
21425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21429 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
21431 wxPyEndAllowThreads(__tstate
);
21432 if (PyErr_Occurred()) SWIG_fail
;
21434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
21441 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21442 PyObject
*resultobj
;
21443 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21444 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21447 PyObject
* obj0
= 0 ;
21448 PyObject
* obj1
= 0 ;
21449 PyObject
* obj2
= 0 ;
21450 char *kwnames
[] = {
21451 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21457 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
21458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21459 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
21460 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21462 if (arg3
== NULL
) {
21463 PyErr_SetString(PyExc_TypeError
,"null reference");
21467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21468 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
21470 wxPyEndAllowThreads(__tstate
);
21471 if (PyErr_Occurred()) SWIG_fail
;
21473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21480 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21481 PyObject
*resultobj
;
21482 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21483 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21486 PyObject
* obj0
= 0 ;
21487 PyObject
* obj1
= 0 ;
21488 PyObject
* obj2
= 0 ;
21489 char *kwnames
[] = {
21490 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21496 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
21497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21498 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
21499 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21501 if (arg3
== NULL
) {
21502 PyErr_SetString(PyExc_TypeError
,"null reference");
21506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21507 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
21509 wxPyEndAllowThreads(__tstate
);
21510 if (PyErr_Occurred()) SWIG_fail
;
21512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21519 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21520 PyObject
*resultobj
;
21521 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21524 PyObject
* obj0
= 0 ;
21525 PyObject
* obj1
= 0 ;
21526 char *kwnames
[] = {
21527 (char *) "self",(char *) "pageNum", NULL
21530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21533 arg2
= (int) SWIG_AsInt(obj1
);
21534 if (PyErr_Occurred()) SWIG_fail
;
21536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21537 result
= (bool)(arg1
)->RenderPage(arg2
);
21539 wxPyEndAllowThreads(__tstate
);
21540 if (PyErr_Occurred()) SWIG_fail
;
21542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21549 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21550 PyObject
*resultobj
;
21551 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21552 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21553 PyObject
* obj0
= 0 ;
21554 PyObject
* obj1
= 0 ;
21555 char *kwnames
[] = {
21556 (char *) "self",(char *) "canvas", NULL
21559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
21560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21562 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
21563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21566 (arg1
)->AdjustScrollbars(arg2
);
21568 wxPyEndAllowThreads(__tstate
);
21569 if (PyErr_Occurred()) SWIG_fail
;
21571 Py_INCREF(Py_None
); resultobj
= Py_None
;
21578 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21579 PyObject
*resultobj
;
21580 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21581 wxPrintDialogData
*result
;
21582 PyObject
* obj0
= 0 ;
21583 char *kwnames
[] = {
21584 (char *) "self", NULL
21587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21593 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21594 result
= (wxPrintDialogData
*) &_result_ref
;
21597 wxPyEndAllowThreads(__tstate
);
21598 if (PyErr_Occurred()) SWIG_fail
;
21600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21607 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21608 PyObject
*resultobj
;
21609 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21611 PyObject
* obj0
= 0 ;
21612 PyObject
* obj1
= 0 ;
21613 char *kwnames
[] = {
21614 (char *) "self",(char *) "percent", NULL
21617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
21618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21620 arg2
= (int) SWIG_AsInt(obj1
);
21621 if (PyErr_Occurred()) SWIG_fail
;
21623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21624 (arg1
)->SetZoom(arg2
);
21626 wxPyEndAllowThreads(__tstate
);
21627 if (PyErr_Occurred()) SWIG_fail
;
21629 Py_INCREF(Py_None
); resultobj
= Py_None
;
21636 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21637 PyObject
*resultobj
;
21638 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21640 PyObject
* obj0
= 0 ;
21641 char *kwnames
[] = {
21642 (char *) "self", NULL
21645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
21646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21650 result
= (int)(arg1
)->GetZoom();
21652 wxPyEndAllowThreads(__tstate
);
21653 if (PyErr_Occurred()) SWIG_fail
;
21655 resultobj
= SWIG_FromInt((int)result
);
21662 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21663 PyObject
*resultobj
;
21664 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21666 PyObject
* obj0
= 0 ;
21667 char *kwnames
[] = {
21668 (char *) "self", NULL
21671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
21672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21676 result
= (int)(arg1
)->GetMaxPage();
21678 wxPyEndAllowThreads(__tstate
);
21679 if (PyErr_Occurred()) SWIG_fail
;
21681 resultobj
= SWIG_FromInt((int)result
);
21688 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21689 PyObject
*resultobj
;
21690 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21692 PyObject
* obj0
= 0 ;
21693 char *kwnames
[] = {
21694 (char *) "self", NULL
21697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
21698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21702 result
= (int)(arg1
)->GetMinPage();
21704 wxPyEndAllowThreads(__tstate
);
21705 if (PyErr_Occurred()) SWIG_fail
;
21707 resultobj
= SWIG_FromInt((int)result
);
21714 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21715 PyObject
*resultobj
;
21716 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21718 PyObject
* obj0
= 0 ;
21719 char *kwnames
[] = {
21720 (char *) "self", NULL
21723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
21724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21728 result
= (bool)(arg1
)->Ok();
21730 wxPyEndAllowThreads(__tstate
);
21731 if (PyErr_Occurred()) SWIG_fail
;
21733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21740 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21741 PyObject
*resultobj
;
21742 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21744 PyObject
* obj0
= 0 ;
21745 PyObject
* obj1
= 0 ;
21746 char *kwnames
[] = {
21747 (char *) "self",(char *) "ok", NULL
21750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
21751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21753 arg2
= (bool) SWIG_AsBool(obj1
);
21754 if (PyErr_Occurred()) SWIG_fail
;
21756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21757 (arg1
)->SetOk(arg2
);
21759 wxPyEndAllowThreads(__tstate
);
21760 if (PyErr_Occurred()) SWIG_fail
;
21762 Py_INCREF(Py_None
); resultobj
= Py_None
;
21769 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21770 PyObject
*resultobj
;
21771 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21774 PyObject
* obj0
= 0 ;
21775 PyObject
* obj1
= 0 ;
21776 char *kwnames
[] = {
21777 (char *) "self",(char *) "interactive", NULL
21780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
21781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21783 arg2
= (bool) SWIG_AsBool(obj1
);
21784 if (PyErr_Occurred()) SWIG_fail
;
21786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21787 result
= (bool)(arg1
)->Print(arg2
);
21789 wxPyEndAllowThreads(__tstate
);
21790 if (PyErr_Occurred()) SWIG_fail
;
21792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21799 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21800 PyObject
*resultobj
;
21801 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21802 PyObject
* obj0
= 0 ;
21803 char *kwnames
[] = {
21804 (char *) "self", NULL
21807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
21808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21812 (arg1
)->DetermineScaling();
21814 wxPyEndAllowThreads(__tstate
);
21815 if (PyErr_Occurred()) SWIG_fail
;
21817 Py_INCREF(Py_None
); resultobj
= Py_None
;
21824 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
21826 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21827 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
21829 return Py_BuildValue((char *)"");
21831 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
21832 PyObject
*resultobj
;
21833 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21834 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21835 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
21836 wxPyPrintPreview
*result
;
21837 PyObject
* obj0
= 0 ;
21838 PyObject
* obj1
= 0 ;
21839 PyObject
* obj2
= 0 ;
21841 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
21842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21844 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
21845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21847 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
21848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21852 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
21854 wxPyEndAllowThreads(__tstate
);
21855 if (PyErr_Occurred()) SWIG_fail
;
21857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
21864 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
21865 PyObject
*resultobj
;
21866 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21867 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21868 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
21869 wxPyPrintPreview
*result
;
21870 PyObject
* obj0
= 0 ;
21871 PyObject
* obj1
= 0 ;
21872 PyObject
* obj2
= 0 ;
21874 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
21875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21877 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
21878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21879 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
21880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21883 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
21885 wxPyEndAllowThreads(__tstate
);
21886 if (PyErr_Occurred()) SWIG_fail
;
21888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
21895 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
21900 argc
= PyObject_Length(args
);
21901 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
21902 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21904 if ((argc
>= 2) && (argc
<= 3)) {
21908 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
21918 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
21927 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
21931 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
21939 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
21948 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
21958 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
21968 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
21976 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
21982 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
21987 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21988 PyObject
*resultobj
;
21989 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
21990 PyObject
*arg2
= (PyObject
*) 0 ;
21991 PyObject
*arg3
= (PyObject
*) 0 ;
21992 PyObject
* obj0
= 0 ;
21993 PyObject
* obj1
= 0 ;
21994 PyObject
* obj2
= 0 ;
21995 char *kwnames
[] = {
21996 (char *) "self",(char *) "self",(char *) "_class", NULL
21999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22006 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22008 wxPyEndAllowThreads(__tstate
);
22009 if (PyErr_Occurred()) SWIG_fail
;
22011 Py_INCREF(Py_None
); resultobj
= Py_None
;
22018 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22019 PyObject
*resultobj
;
22020 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22023 PyObject
* obj0
= 0 ;
22024 PyObject
* obj1
= 0 ;
22025 char *kwnames
[] = {
22026 (char *) "self",(char *) "pageNum", NULL
22029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22032 arg2
= (int) SWIG_AsInt(obj1
);
22033 if (PyErr_Occurred()) SWIG_fail
;
22035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22036 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
22038 wxPyEndAllowThreads(__tstate
);
22039 if (PyErr_Occurred()) SWIG_fail
;
22041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22048 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22049 PyObject
*resultobj
;
22050 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22051 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22054 PyObject
* obj0
= 0 ;
22055 PyObject
* obj1
= 0 ;
22056 PyObject
* obj2
= 0 ;
22057 char *kwnames
[] = {
22058 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22064 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22066 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
22067 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22069 if (arg3
== NULL
) {
22070 PyErr_SetString(PyExc_TypeError
,"null reference");
22074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22075 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
22077 wxPyEndAllowThreads(__tstate
);
22078 if (PyErr_Occurred()) SWIG_fail
;
22080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22087 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22088 PyObject
*resultobj
;
22089 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22090 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22093 PyObject
* obj0
= 0 ;
22094 PyObject
* obj1
= 0 ;
22095 PyObject
* obj2
= 0 ;
22096 char *kwnames
[] = {
22097 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22103 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22105 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
22106 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22108 if (arg3
== NULL
) {
22109 PyErr_SetString(PyExc_TypeError
,"null reference");
22113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22114 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
22116 wxPyEndAllowThreads(__tstate
);
22117 if (PyErr_Occurred()) SWIG_fail
;
22119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22126 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22127 PyObject
*resultobj
;
22128 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22131 PyObject
* obj0
= 0 ;
22132 PyObject
* obj1
= 0 ;
22133 char *kwnames
[] = {
22134 (char *) "self",(char *) "pageNum", NULL
22137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22140 arg2
= (int) SWIG_AsInt(obj1
);
22141 if (PyErr_Occurred()) SWIG_fail
;
22143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22144 result
= (bool)(arg1
)->base_RenderPage(arg2
);
22146 wxPyEndAllowThreads(__tstate
);
22147 if (PyErr_Occurred()) SWIG_fail
;
22149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22156 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22157 PyObject
*resultobj
;
22158 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22160 PyObject
* obj0
= 0 ;
22161 PyObject
* obj1
= 0 ;
22162 char *kwnames
[] = {
22163 (char *) "self",(char *) "percent", NULL
22166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
22167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22169 arg2
= (int) SWIG_AsInt(obj1
);
22170 if (PyErr_Occurred()) SWIG_fail
;
22172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22173 (arg1
)->base_SetZoom(arg2
);
22175 wxPyEndAllowThreads(__tstate
);
22176 if (PyErr_Occurred()) SWIG_fail
;
22178 Py_INCREF(Py_None
); resultobj
= Py_None
;
22185 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22186 PyObject
*resultobj
;
22187 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22190 PyObject
* obj0
= 0 ;
22191 PyObject
* obj1
= 0 ;
22192 char *kwnames
[] = {
22193 (char *) "self",(char *) "interactive", NULL
22196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
22197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22199 arg2
= (bool) SWIG_AsBool(obj1
);
22200 if (PyErr_Occurred()) SWIG_fail
;
22202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22203 result
= (bool)(arg1
)->base_Print(arg2
);
22205 wxPyEndAllowThreads(__tstate
);
22206 if (PyErr_Occurred()) SWIG_fail
;
22208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22215 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22216 PyObject
*resultobj
;
22217 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22218 PyObject
* obj0
= 0 ;
22219 char *kwnames
[] = {
22220 (char *) "self", NULL
22223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
22224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22228 (arg1
)->base_DetermineScaling();
22230 wxPyEndAllowThreads(__tstate
);
22231 if (PyErr_Occurred()) SWIG_fail
;
22233 Py_INCREF(Py_None
); resultobj
= Py_None
;
22240 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
22242 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22243 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
22245 return Py_BuildValue((char *)"");
22247 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22248 PyObject
*resultobj
;
22249 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22250 wxFrame
*arg2
= (wxFrame
*) 0 ;
22251 wxString
*arg3
= 0 ;
22252 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22253 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22254 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22255 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22256 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22257 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22258 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22259 wxPyPreviewFrame
*result
;
22260 bool temp3
= False
;
22263 bool temp7
= False
;
22264 PyObject
* obj0
= 0 ;
22265 PyObject
* obj1
= 0 ;
22266 PyObject
* obj2
= 0 ;
22267 PyObject
* obj3
= 0 ;
22268 PyObject
* obj4
= 0 ;
22269 PyObject
* obj5
= 0 ;
22270 PyObject
* obj6
= 0 ;
22271 char *kwnames
[] = {
22272 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22278 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22281 arg3
= wxString_in_helper(obj2
);
22282 if (arg3
== NULL
) SWIG_fail
;
22288 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22294 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22298 arg6
= (long) SWIG_AsLong(obj5
);
22299 if (PyErr_Occurred()) SWIG_fail
;
22303 arg7
= wxString_in_helper(obj6
);
22304 if (arg7
== NULL
) SWIG_fail
;
22309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22310 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22312 wxPyEndAllowThreads(__tstate
);
22313 if (PyErr_Occurred()) SWIG_fail
;
22315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
22338 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22339 PyObject
*resultobj
;
22340 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22341 PyObject
*arg2
= (PyObject
*) 0 ;
22342 PyObject
*arg3
= (PyObject
*) 0 ;
22343 PyObject
* obj0
= 0 ;
22344 PyObject
* obj1
= 0 ;
22345 PyObject
* obj2
= 0 ;
22346 char *kwnames
[] = {
22347 (char *) "self",(char *) "self",(char *) "_class", NULL
22350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22357 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22359 wxPyEndAllowThreads(__tstate
);
22360 if (PyErr_Occurred()) SWIG_fail
;
22362 Py_INCREF(Py_None
); resultobj
= Py_None
;
22369 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22370 PyObject
*resultobj
;
22371 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22372 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22373 PyObject
* obj0
= 0 ;
22374 PyObject
* obj1
= 0 ;
22375 char *kwnames
[] = {
22376 (char *) "self",(char *) "canvas", NULL
22379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
22380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22382 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22386 (arg1
)->SetPreviewCanvas(arg2
);
22388 wxPyEndAllowThreads(__tstate
);
22389 if (PyErr_Occurred()) SWIG_fail
;
22391 Py_INCREF(Py_None
); resultobj
= Py_None
;
22398 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22399 PyObject
*resultobj
;
22400 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22401 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
22402 PyObject
* obj0
= 0 ;
22403 PyObject
* obj1
= 0 ;
22404 char *kwnames
[] = {
22405 (char *) "self",(char *) "bar", NULL
22408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
22409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
22412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22415 (arg1
)->SetControlBar(arg2
);
22417 wxPyEndAllowThreads(__tstate
);
22418 if (PyErr_Occurred()) SWIG_fail
;
22420 Py_INCREF(Py_None
); resultobj
= Py_None
;
22427 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22428 PyObject
*resultobj
;
22429 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22430 PyObject
* obj0
= 0 ;
22431 char *kwnames
[] = {
22432 (char *) "self", NULL
22435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
22436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22440 (arg1
)->base_Initialize();
22442 wxPyEndAllowThreads(__tstate
);
22443 if (PyErr_Occurred()) SWIG_fail
;
22445 Py_INCREF(Py_None
); resultobj
= Py_None
;
22452 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22453 PyObject
*resultobj
;
22454 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22455 PyObject
* obj0
= 0 ;
22456 char *kwnames
[] = {
22457 (char *) "self", NULL
22460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22465 (arg1
)->base_CreateCanvas();
22467 wxPyEndAllowThreads(__tstate
);
22468 if (PyErr_Occurred()) SWIG_fail
;
22470 Py_INCREF(Py_None
); resultobj
= Py_None
;
22477 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22478 PyObject
*resultobj
;
22479 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22480 PyObject
* obj0
= 0 ;
22481 char *kwnames
[] = {
22482 (char *) "self", NULL
22485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22490 (arg1
)->base_CreateControlBar();
22492 wxPyEndAllowThreads(__tstate
);
22493 if (PyErr_Occurred()) SWIG_fail
;
22495 Py_INCREF(Py_None
); resultobj
= Py_None
;
22502 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
22504 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22505 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
22507 return Py_BuildValue((char *)"");
22509 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22510 PyObject
*resultobj
;
22511 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22513 wxWindow
*arg3
= (wxWindow
*) 0 ;
22514 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22515 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22516 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22517 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22518 long arg6
= (long) 0 ;
22519 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22520 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22521 wxPyPreviewControlBar
*result
;
22524 bool temp7
= False
;
22525 PyObject
* obj0
= 0 ;
22526 PyObject
* obj1
= 0 ;
22527 PyObject
* obj2
= 0 ;
22528 PyObject
* obj3
= 0 ;
22529 PyObject
* obj4
= 0 ;
22530 PyObject
* obj5
= 0 ;
22531 PyObject
* obj6
= 0 ;
22532 char *kwnames
[] = {
22533 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22539 arg2
= (long) SWIG_AsLong(obj1
);
22540 if (PyErr_Occurred()) SWIG_fail
;
22541 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
22542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22546 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22552 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22556 arg6
= (long) SWIG_AsLong(obj5
);
22557 if (PyErr_Occurred()) SWIG_fail
;
22561 arg7
= wxString_in_helper(obj6
);
22562 if (arg7
== NULL
) SWIG_fail
;
22567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22568 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22570 wxPyEndAllowThreads(__tstate
);
22571 if (PyErr_Occurred()) SWIG_fail
;
22573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
22588 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22589 PyObject
*resultobj
;
22590 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22591 PyObject
*arg2
= (PyObject
*) 0 ;
22592 PyObject
*arg3
= (PyObject
*) 0 ;
22593 PyObject
* obj0
= 0 ;
22594 PyObject
* obj1
= 0 ;
22595 PyObject
* obj2
= 0 ;
22596 char *kwnames
[] = {
22597 (char *) "self",(char *) "self",(char *) "_class", NULL
22600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
22602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22607 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22609 wxPyEndAllowThreads(__tstate
);
22610 if (PyErr_Occurred()) SWIG_fail
;
22612 Py_INCREF(Py_None
); resultobj
= Py_None
;
22619 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22620 PyObject
*resultobj
;
22621 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22622 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
22623 PyObject
* obj0
= 0 ;
22624 PyObject
* obj1
= 0 ;
22625 char *kwnames
[] = {
22626 (char *) "self",(char *) "preview", NULL
22629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
22631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22632 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
22633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22636 (arg1
)->SetPrintPreview(arg2
);
22638 wxPyEndAllowThreads(__tstate
);
22639 if (PyErr_Occurred()) SWIG_fail
;
22641 Py_INCREF(Py_None
); resultobj
= Py_None
;
22648 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22649 PyObject
*resultobj
;
22650 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22651 PyObject
* obj0
= 0 ;
22652 char *kwnames
[] = {
22653 (char *) "self", NULL
22656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
22657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
22658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22661 (arg1
)->base_CreateButtons();
22663 wxPyEndAllowThreads(__tstate
);
22664 if (PyErr_Occurred()) SWIG_fail
;
22666 Py_INCREF(Py_None
); resultobj
= Py_None
;
22673 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22674 PyObject
*resultobj
;
22675 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22677 PyObject
* obj0
= 0 ;
22678 PyObject
* obj1
= 0 ;
22679 char *kwnames
[] = {
22680 (char *) "self",(char *) "zoom", NULL
22683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
22685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22686 arg2
= (int) SWIG_AsInt(obj1
);
22687 if (PyErr_Occurred()) SWIG_fail
;
22689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22690 (arg1
)->base_SetZoomControl(arg2
);
22692 wxPyEndAllowThreads(__tstate
);
22693 if (PyErr_Occurred()) SWIG_fail
;
22695 Py_INCREF(Py_None
); resultobj
= Py_None
;
22702 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
22704 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22705 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
22707 return Py_BuildValue((char *)"");
22709 static PyMethodDef SwigMethods
[] = {
22710 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22711 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22712 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22713 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22714 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
22715 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22716 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22717 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22718 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22719 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22720 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22721 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22722 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22723 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22724 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22725 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22726 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22727 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22728 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22729 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
22730 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
22731 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22732 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22733 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22734 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22735 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22736 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22737 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
22738 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22739 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22740 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22741 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22742 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22743 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22744 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22745 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22746 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22747 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22748 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22749 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22750 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22751 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
22752 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22753 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22754 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22755 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22756 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22757 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22758 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22759 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22760 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22761 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22762 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22763 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22764 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22765 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22766 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22767 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22768 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22769 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22770 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22771 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22772 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22773 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22774 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
22775 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22776 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22777 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22778 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22779 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22780 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22781 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22782 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22783 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22784 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22785 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22786 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
22787 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22788 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22789 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22790 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
22791 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22792 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22793 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22794 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
22795 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22796 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22797 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22798 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22799 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
22800 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22801 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22802 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22803 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22804 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22805 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22806 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22807 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22808 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22809 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22810 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22811 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22812 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22813 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22814 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
22815 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22816 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22817 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22818 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22819 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22820 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22821 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22822 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22823 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22824 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22825 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22826 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22827 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22828 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22829 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22830 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22831 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22832 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22833 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22834 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22835 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22836 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22837 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22838 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22839 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22840 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
22841 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22842 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22843 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22844 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22845 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22846 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22847 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
22848 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22849 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22850 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22851 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22852 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22853 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22854 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22855 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22856 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22857 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22858 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22859 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22860 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22861 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22862 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22863 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22864 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22865 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22866 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22867 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22868 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22869 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22870 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
22871 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22872 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22873 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22874 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22875 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22876 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22877 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22878 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
22879 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22880 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22881 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22882 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22883 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22884 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22885 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22886 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22887 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22888 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22889 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22890 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
22891 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22892 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22893 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22894 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22895 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22896 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
22897 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22898 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22899 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22900 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22901 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22902 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22903 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22904 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22905 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
22906 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22907 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22908 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22909 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22910 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22911 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
22912 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22913 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22914 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
22915 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22916 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22917 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
22918 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22919 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22920 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22921 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
22922 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22923 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22924 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22925 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22926 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22927 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22928 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22929 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22930 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22931 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22932 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22933 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22934 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22935 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22936 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22937 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22938 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22939 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
22940 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22941 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22942 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22943 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22944 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22945 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22946 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22947 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22948 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22949 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22950 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22951 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22952 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22953 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22954 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22955 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22956 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22957 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22958 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22959 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22960 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22961 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22962 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22963 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22964 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22965 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
22966 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22967 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22968 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22969 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22970 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22971 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22972 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
22973 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22974 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22975 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
22976 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22977 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
22978 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22979 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22980 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22981 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22982 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22983 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22984 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22985 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22986 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
22987 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22988 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22989 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
22990 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22991 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22992 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22993 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22994 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22995 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22996 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
22997 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22998 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22999 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23000 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23001 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23002 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23003 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23004 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23005 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23006 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23007 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23008 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23009 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23010 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23011 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23012 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23013 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23014 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
23015 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23016 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23017 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23018 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
23019 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23020 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23021 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23022 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23023 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
23024 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23025 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23026 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23027 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
23028 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23029 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23030 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23031 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23032 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23033 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23034 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23035 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23036 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23037 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23038 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23039 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23040 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23041 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23042 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23043 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
23044 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23045 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23046 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
23047 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23048 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
23049 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23050 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23051 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23052 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
23053 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23054 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23055 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23056 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23057 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23058 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23059 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23060 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23061 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
23062 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23063 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23064 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23065 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23066 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23067 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23068 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23069 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23070 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
23071 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23072 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23073 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23074 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23075 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23076 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
23077 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23078 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23079 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23080 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23081 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23082 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23083 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23084 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23085 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23086 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23087 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23088 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
23089 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23090 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23091 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23092 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23093 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23094 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23095 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
23096 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23097 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23098 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23099 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
23100 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23101 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23102 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23103 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23104 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23105 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23106 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23107 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23108 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23109 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23110 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23111 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23112 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23113 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23114 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23115 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23116 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23117 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23118 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23119 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23120 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
23121 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23122 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23123 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23124 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23125 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23126 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23127 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23128 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23129 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23130 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23131 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23132 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23133 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23134 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23135 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23136 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23137 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23138 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23139 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23140 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23141 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
23142 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23143 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23144 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23145 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23146 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23147 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23148 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23149 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23150 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23151 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23152 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23153 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23154 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23155 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23156 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23157 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23158 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23159 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23160 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23161 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23162 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23163 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23164 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23165 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23166 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23167 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23168 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23169 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23170 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23171 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23172 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23173 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23174 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23175 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23176 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23177 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23178 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23179 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23180 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23181 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23182 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23183 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23184 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23185 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23186 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23187 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
23188 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23189 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23190 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23191 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23192 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23193 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23194 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23195 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23196 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23197 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23198 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23199 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23200 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23201 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23202 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23203 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23204 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23205 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23206 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23207 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23208 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23209 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23210 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23211 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23212 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23213 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23214 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23215 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23216 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23217 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23218 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23219 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
23220 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23221 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23222 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23223 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
23224 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
23225 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23226 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23227 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23228 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23229 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23230 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23231 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23232 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23233 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23234 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23235 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23236 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23237 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23238 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23239 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23240 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23241 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23242 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23243 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23244 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23245 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23246 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23247 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23248 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23249 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23250 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23251 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23252 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23253 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23254 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23255 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23256 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23257 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
23258 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23259 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23260 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23261 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23262 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
23263 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23264 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23265 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23266 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23267 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23268 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23269 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23270 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23271 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23272 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23273 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
23274 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23275 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23276 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23277 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23278 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23279 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23280 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23281 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23282 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23283 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23284 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23285 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23286 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23287 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23288 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23289 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23290 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23291 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23292 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23293 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23294 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23295 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23296 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
23297 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23298 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
23299 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23300 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23301 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23302 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23303 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23304 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
23305 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23306 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23307 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23308 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23309 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23310 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23311 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23312 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23313 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23314 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
23315 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
23316 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23317 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23318 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23319 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23320 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23321 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23322 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23323 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23324 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23325 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23326 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23327 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23328 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23329 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23330 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23331 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23332 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23333 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23334 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23335 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23336 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23337 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23338 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
23339 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
23340 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23341 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23342 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23343 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23344 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23345 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23346 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23347 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23348 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
23349 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23350 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23351 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23352 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23353 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23354 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23355 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23356 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
23357 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23358 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23359 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23360 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23361 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23362 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
23363 { NULL
, NULL
, 0, NULL
}
23367 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
23369 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
23370 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23372 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
23373 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
23375 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
23376 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
23378 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
23379 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
23381 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
23382 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
23384 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
23385 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
23387 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
23388 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
23390 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
23391 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23393 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
23394 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
23396 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
23397 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
23399 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
23400 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
23402 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
23403 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
23405 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
23406 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
23408 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
23409 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
23411 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
23412 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
23414 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
23415 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
23417 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
23418 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
23420 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
23421 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
23423 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
23424 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
23426 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
23427 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
23429 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
23430 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
23432 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
23433 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
23435 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
23436 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
23438 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
23439 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
23441 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
23442 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
23444 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
23445 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
23447 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
23448 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
23450 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
23451 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
23453 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
23454 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
23456 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
23457 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
23459 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
23460 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
23462 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
23463 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
23465 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
23466 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
23468 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
23469 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
23471 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
23472 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
23474 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
23475 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
23477 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
23478 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
23480 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
23481 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
23483 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
23484 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
23486 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
23487 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
23489 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
23490 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
23492 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
23493 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
23495 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
23496 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23498 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
23499 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
23501 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
23502 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
23504 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
23505 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
23507 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
23508 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
23510 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
23511 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
23513 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
23514 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
23516 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
23517 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
23519 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
23520 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
23522 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
23523 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
23525 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
23526 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
23528 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
23529 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
23531 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
23532 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
23534 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
23535 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
23537 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
23538 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
23540 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
23541 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
23543 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
23544 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
23546 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
23547 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
23549 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
23550 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
23552 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
23553 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
23555 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
23556 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
23558 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
23559 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
23561 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
23562 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
23564 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
23565 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
23567 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
23568 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
23570 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
23571 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
23573 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
23574 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
23576 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
23577 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
23579 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
23580 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
23582 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
23583 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
23585 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
23586 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
23588 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
23589 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23591 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
23592 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
23594 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
23595 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
23597 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
23598 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
23600 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
23601 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
23603 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
23604 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
23606 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
23607 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23609 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
23610 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
23612 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
23613 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
23615 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
23616 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
23618 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
23619 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
23621 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
23622 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
23624 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
23625 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
23627 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
23628 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
23630 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
23631 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
23633 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
23634 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
23636 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
23637 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
23639 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
23640 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
23642 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
23643 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
23645 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
23646 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23648 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
23649 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
23651 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
23652 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
23654 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
23655 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
23657 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
23658 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
23660 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
23661 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23663 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
23664 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
23666 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
23667 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
23669 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
23670 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
23672 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
23673 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
23675 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
23676 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
23678 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
23679 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
23681 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
23682 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23684 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
23685 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
23687 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
23688 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
23690 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
23691 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
23693 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
23694 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
23696 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
23697 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
23699 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
23700 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
23702 static void *_p_wxSizerTo_p_wxObject(void *x
) {
23703 return (void *)((wxObject
*) ((wxSizer
*) x
));
23705 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
23706 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
23708 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
23709 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
23711 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
23712 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
23714 static void *_p_wxEventTo_p_wxObject(void *x
) {
23715 return (void *)((wxObject
*) ((wxEvent
*) x
));
23717 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
23718 return (void *)((wxObject
*) ((wxFontData
*) x
));
23720 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
23721 return (void *)((wxObject
*) ((wxPrintData
*) x
));
23723 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
23724 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
23726 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
23727 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
23729 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
23730 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
23732 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
23733 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
23735 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
23736 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
23738 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
23739 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
23741 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
23742 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
23744 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
23745 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
23747 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
23748 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
23750 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
23751 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
23753 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
23754 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
23756 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
23757 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
23759 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
23760 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
23762 static void *_p_wxControlTo_p_wxObject(void *x
) {
23763 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
23765 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
23766 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
23768 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
23769 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23771 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
23772 return (void *)((wxObject
*) ((wxFSFile
*) x
));
23774 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
23775 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
23777 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
23778 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
23780 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
23781 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
23783 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
23784 return (void *)((wxObject
*) ((wxColourData
*) x
));
23786 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
23787 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
23789 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
23790 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
23792 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
23793 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
23795 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
23796 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
23798 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
23799 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
23801 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
23802 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
23804 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
23805 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
23807 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
23808 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
23810 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
23811 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
23813 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
23814 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
23816 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
23817 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
23819 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
23820 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
23822 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
23823 return (void *)((wxObject
*) ((wxPrinter
*) x
));
23825 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
23826 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
23828 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
23829 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
23831 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
23832 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
23834 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
23835 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
23837 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
23838 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
23840 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
23841 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
23843 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
23844 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
23846 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
23847 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
23849 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
23850 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
23852 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
23853 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
23855 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
23856 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
23858 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
23859 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
23861 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
23862 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
23864 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
23865 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
23867 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
23868 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
23870 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
23871 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
23873 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
23874 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
23876 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
23877 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
23879 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
23880 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
23882 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
23883 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
23885 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
23886 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
23888 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
23889 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
23891 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
23892 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
23894 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
23895 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
23897 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
23898 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23900 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
23901 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
23903 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
23904 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
23906 static void *_p_wxImageTo_p_wxObject(void *x
) {
23907 return (void *)((wxObject
*) ((wxImage
*) x
));
23909 static void *_p_wxFrameTo_p_wxObject(void *x
) {
23910 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
23912 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
23913 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
23915 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
23916 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
23918 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
23919 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
23921 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
23922 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
23924 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
23925 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
23927 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
23928 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
23930 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
23931 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
23933 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
23934 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
23936 static void *_p_wxWindowTo_p_wxObject(void *x
) {
23937 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
23939 static void *_p_wxMenuTo_p_wxObject(void *x
) {
23940 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
23942 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
23943 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
23945 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
23946 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
23948 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
23949 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
23951 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
23952 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
23954 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
23955 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
23957 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
23958 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
23960 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
23961 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
23963 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
23964 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
23966 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
23967 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
23969 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
23970 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
23972 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
23973 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
23975 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
23976 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
23978 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
23979 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
23981 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
23982 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
23984 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
23985 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
23987 static void *_p_wxPanelTo_p_wxObject(void *x
) {
23988 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
23990 static void *_p_wxDialogTo_p_wxObject(void *x
) {
23991 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
23993 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
23994 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
23996 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
23997 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
23999 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
24000 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
24002 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
24003 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
24005 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
24006 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
24008 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
24009 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
24011 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
24012 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
24014 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
24015 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
24017 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
24018 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
24020 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
24021 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
24023 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
24024 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
24026 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
24027 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
24029 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
24030 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
24032 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
24033 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
24035 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
24036 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
24038 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
24039 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24041 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
24042 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
24044 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
24045 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
24047 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
24048 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
24050 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
24051 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
24053 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
24054 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
24056 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
24057 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
24059 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
24060 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
24062 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
24063 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
24065 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
24066 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24068 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
24069 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24071 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
24072 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24074 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
24075 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24077 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
24078 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
24080 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
24081 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
24083 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
24084 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
24086 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
24087 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
24089 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
24090 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
24092 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
24093 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
24095 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
24096 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
24098 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
24099 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
24101 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
24102 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
24104 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
24105 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
24107 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
24108 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
24110 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
24111 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
24113 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
24114 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
24116 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
24117 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
24119 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
24120 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
24122 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
24123 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24125 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
24126 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24128 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
24129 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
24131 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
24132 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
24134 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
24135 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
24137 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
24138 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24140 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
24141 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
24143 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
24144 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
24146 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
24147 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
24149 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
24150 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
24152 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
24153 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
24155 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
24156 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
24158 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
24159 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
24161 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
24162 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
24164 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
24165 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24167 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
24168 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24170 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
24171 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
24173 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
24174 return (void *)((wxWindow
*) ((wxPanel
*) x
));
24176 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
24177 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
24179 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
24180 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
24182 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
24183 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24185 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
24186 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
24188 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
24189 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24191 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
24192 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
24194 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
24195 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24197 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
24198 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
24200 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
24201 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
24203 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
24204 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
24206 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
24207 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
24209 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
24210 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
24212 static void *_p_wxControlTo_p_wxWindow(void *x
) {
24213 return (void *)((wxWindow
*) ((wxControl
*) x
));
24215 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
24216 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
24218 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
24219 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24221 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
24222 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
24224 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
24225 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
24227 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
24228 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
24230 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
24231 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24233 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
24234 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24236 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
24237 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24239 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
24240 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
24242 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
24243 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24245 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
24246 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
24248 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
24249 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
24251 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
24252 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
24254 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
24255 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
24257 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
24258 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
24260 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
24261 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
24263 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
24264 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
24266 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
24267 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
24269 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
24270 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24272 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
24273 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
24275 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
24276 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
24278 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
24279 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
24281 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
24282 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
24284 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
24285 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
24287 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
24288 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
24290 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
24291 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
24293 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
24294 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24296 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
24297 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24299 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
24300 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
24302 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
24303 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
24305 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
24306 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
24308 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
24309 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
24311 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
24312 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24314 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
24315 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24317 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
24318 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24320 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
24321 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
24323 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
24324 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24326 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
24327 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
24329 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
24330 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24332 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
24333 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
24335 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
24336 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
24338 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
24339 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
24341 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
24342 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
24344 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
24345 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
24347 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
24348 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
24350 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
24351 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
24353 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
24354 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
24356 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
24357 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
24359 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
24360 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
24362 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
24363 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
24365 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
24366 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24368 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24369 static swig_type_info _swigt__p_wxPreviewFrame
[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0, 0, 0, 0},{"_p_wxPreviewFrame", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24370 static swig_type_info _swigt__p_wxPyPreviewFrame
[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0, 0, 0, 0},{"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24371 static swig_type_info _swigt__p_wxPyPanel
[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0, 0, 0, 0},{"_p_wxPyPanel", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24372 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24373 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0, 0, 0, 0},{"_p_wxPrintData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24374 static swig_type_info _swigt__p_wxFontData
[] = {{"_p_wxFontData", 0, "wxFontData *", 0, 0, 0, 0},{"_p_wxFontData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24375 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24376 static swig_type_info _swigt__p_wxTaskBarIcon
[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0, 0, 0, 0},{"_p_wxTaskBarIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24377 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0, 0, 0, 0},{"_p_wxIconBundle", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24378 static swig_type_info _swigt__p_wxLayoutAlgorithm
[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24379 static swig_type_info _swigt__p_wxFindDialogEvent
[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0, 0, 0, 0},{"_p_wxFindDialogEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24380 static swig_type_info _swigt__p_wxPreviewCanvas
[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0, 0, 0, 0},{"_p_wxPreviewCanvas", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24381 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24382 static swig_type_info _swigt__p_wxSplitterEvent
[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0, 0, 0, 0},{"_p_wxSplitterEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24383 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24384 static swig_type_info _swigt__p_wxFindReplaceData
[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0, 0, 0, 0},{"_p_wxFindReplaceData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24385 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24386 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24387 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24388 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24389 static swig_type_info _swigt__p_wxMDIChildFrame
[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24390 static swig_type_info _swigt__p_wxColourData
[] = {{"_p_wxColourData", 0, "wxColourData *", 0, 0, 0, 0},{"_p_wxColourData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24391 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24392 static swig_type_info _swigt__p_wxPyWindow
[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0, 0, 0, 0},{"_p_wxPyWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24393 static swig_type_info _swigt__p_wxSplashScreen
[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0, 0, 0, 0},{"_p_wxSplashScreen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24394 static swig_type_info _swigt__p_wxFindReplaceDialog
[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0, 0, 0, 0},{"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24395 static swig_type_info _swigt__p_wxProgressDialog
[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0, 0, 0, 0},{"_p_wxProgressDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24396 static swig_type_info _swigt__p_wxMessageDialog
[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0, 0, 0, 0},{"_p_wxMessageDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24397 static swig_type_info _swigt__p_wxTextEntryDialog
[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0, 0, 0, 0},{"_p_wxTextEntryDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24398 static swig_type_info _swigt__p_wxSingleChoiceDialog
[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24399 static swig_type_info _swigt__p_wxMultiChoiceDialog
[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24400 static swig_type_info _swigt__p_wxFileDialog
[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0, 0, 0, 0},{"_p_wxFileDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24401 static swig_type_info _swigt__p_wxPrinter
[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0, 0, 0, 0},{"_p_wxPrinter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24402 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0, 0, 0, 0},{"_p_wxArrayInt", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24403 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24404 static swig_type_info _swigt__p_wxCalculateLayoutEvent
[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24405 static swig_type_info _swigt__p_wxPyHtmlListBox
[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0, 0, 0, 0},{"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24406 static swig_type_info _swigt__p_wxPyVListBox
[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0, 0, 0, 0},{"_p_wxPyVListBox", 0, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24407 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24408 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24409 static swig_type_info _swigt__p_wxMiniFrame
[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0, 0, 0, 0},{"_p_wxMiniFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24410 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24411 static swig_type_info _swigt__p_wxPyPrintout
[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0, 0, 0, 0},{"_p_wxPyPrintout", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24412 static swig_type_info _swigt__p_wxTaskBarIconEvent
[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24413 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0, 0, 0, 0},{"_p_wxScrollWinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24414 static swig_type_info _swigt__p_wxStatusBar
[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0, 0, 0, 0},{"_p_wxStatusBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24415 static swig_type_info _swigt__p_wxMDIParentFrame
[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0, 0, 0, 0},{"_p_wxMDIParentFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24416 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24417 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24418 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24419 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24420 static swig_type_info _swigt__p_wxMDIClientWindow
[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0, 0, 0, 0},{"_p_wxMDIClientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24421 static swig_type_info _swigt__p_wxTipWindow
[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0, 0, 0, 0},{"_p_wxTipWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24422 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24423 static swig_type_info _swigt__p_wxSashLayoutWindow
[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0, 0, 0, 0},{"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24424 static swig_type_info _swigt__p_wxSplitterWindow
[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0, 0, 0, 0},{"_p_wxSplitterWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24425 static swig_type_info _swigt__p_wxPyVScrolledWindow
[] = {{"_p_wxPyVScrolledWindow", 0, "wxPyVScrolledWindow *", 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPyVScrolledWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24426 static swig_type_info _swigt__p_wxPopupWindow
[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24427 static swig_type_info _swigt__p_wxSashWindow
[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0, 0, 0, 0},{"_p_wxSashWindow", 0, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24428 static swig_type_info _swigt__p_wxTopLevelWindow
[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24429 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24430 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24431 static swig_type_info _swigt__p_wxSplashScreenWindow
[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0, 0, 0, 0},{"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24432 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0, 0, 0, 0},{"_p_wxMenuBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24433 static swig_type_info _swigt__p_wxPrintPreview
[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0, 0, 0, 0},{"_p_wxPrintPreview", 0, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24434 static swig_type_info _swigt__p_wxSashEvent
[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0, 0, 0, 0},{"_p_wxSashEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24435 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24436 static swig_type_info _swigt__p_wxPyPrintPreview
[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0, 0, 0, 0},{"_p_wxPyPrintPreview", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24437 static swig_type_info _swigt__p_wxFontDialog
[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0, 0, 0, 0},{"_p_wxFontDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24438 static swig_type_info _swigt__p_wxDirDialog
[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0, 0, 0, 0},{"_p_wxDirDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24439 static swig_type_info _swigt__p_wxColourDialog
[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0, 0, 0, 0},{"_p_wxColourDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24440 static swig_type_info _swigt__p_wxDialog
[] = {{"_p_wxDialog", 0, "wxDialog *", 0, 0, 0, 0},{"_p_wxDialog", 0, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24441 static swig_type_info _swigt__p_wxPanel
[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24442 static swig_type_info _swigt__p_wxPageSetupDialog
[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0, 0, 0, 0},{"_p_wxPageSetupDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24443 static swig_type_info _swigt__p_wxPrintDialog
[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0, 0, 0, 0},{"_p_wxPrintDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24444 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24445 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24446 static swig_type_info _swigt__p_wxPreviewControlBar
[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0, 0, 0, 0},{"_p_wxPreviewControlBar", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24447 static swig_type_info _swigt__p_wxPyPreviewControlBar
[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24448 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24449 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0, 0, 0, 0},{"_p_wxToolBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24450 static swig_type_info _swigt__p_wxPageSetupDialogData
[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0, 0, 0, 0},{"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24451 static swig_type_info _swigt__p_wxPrintDialogData
[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0, 0, 0, 0},{"_p_wxPrintDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
24453 static swig_type_info
*swig_types_initial
[] = {
24454 _swigt__p_wxQueryLayoutInfoEvent
,
24455 _swigt__p_wxPreviewFrame
,
24456 _swigt__p_wxPyPreviewFrame
,
24457 _swigt__p_wxPyPanel
,
24459 _swigt__p_wxPrintData
,
24460 _swigt__p_wxFontData
,
24462 _swigt__p_wxTaskBarIcon
,
24463 _swigt__p_wxIconBundle
,
24464 _swigt__p_wxLayoutAlgorithm
,
24465 _swigt__p_wxFindDialogEvent
,
24466 _swigt__p_wxPreviewCanvas
,
24468 _swigt__p_wxSplitterEvent
,
24469 _swigt__p_wxRegion
,
24470 _swigt__p_wxFindReplaceData
,
24475 _swigt__p_wxMDIChildFrame
,
24476 _swigt__p_wxColourData
,
24477 _swigt__p_wxNotifyEvent
,
24478 _swigt__p_wxPyWindow
,
24479 _swigt__p_wxSplashScreen
,
24480 _swigt__p_wxFindReplaceDialog
,
24481 _swigt__p_wxProgressDialog
,
24482 _swigt__p_wxMessageDialog
,
24483 _swigt__p_wxTextEntryDialog
,
24484 _swigt__p_wxSingleChoiceDialog
,
24485 _swigt__p_wxMultiChoiceDialog
,
24486 _swigt__p_wxFileDialog
,
24487 _swigt__p_wxPrinter
,
24488 _swigt__p_wxArrayInt
,
24489 _swigt__p_wxEvtHandler
,
24490 _swigt__p_wxCalculateLayoutEvent
,
24491 _swigt__p_wxPyHtmlListBox
,
24492 _swigt__p_wxPyVListBox
,
24495 _swigt__p_wxMiniFrame
,
24497 _swigt__p_wxPyPrintout
,
24498 _swigt__p_wxTaskBarIconEvent
,
24499 _swigt__p_wxScrollWinEvent
,
24500 _swigt__p_wxStatusBar
,
24501 _swigt__p_wxMDIParentFrame
,
24503 _swigt__p_wxObject
,
24504 _swigt__p_wxOutputStream
,
24505 _swigt__p_unsigned_long
,
24506 _swigt__p_wxMDIClientWindow
,
24507 _swigt__p_wxTipWindow
,
24508 _swigt__p_wxPyPopupTransientWindow
,
24509 _swigt__p_wxSashLayoutWindow
,
24510 _swigt__p_wxSplitterWindow
,
24511 _swigt__p_wxPyVScrolledWindow
,
24512 _swigt__p_wxPopupWindow
,
24513 _swigt__p_wxSashWindow
,
24514 _swigt__p_wxTopLevelWindow
,
24515 _swigt__p_wxWindow
,
24516 _swigt__p_wxScrolledWindow
,
24517 _swigt__p_wxSplashScreenWindow
,
24518 _swigt__p_wxMenuBar
,
24519 _swigt__p_wxPrintPreview
,
24520 _swigt__p_wxSashEvent
,
24521 _swigt__p_wxString
,
24522 _swigt__p_wxPyPrintPreview
,
24523 _swigt__p_wxFontDialog
,
24524 _swigt__p_wxDirDialog
,
24525 _swigt__p_wxColourDialog
,
24526 _swigt__p_wxDialog
,
24528 _swigt__p_wxPageSetupDialog
,
24529 _swigt__p_wxPrintDialog
,
24530 _swigt__p_wxBitmap
,
24531 _swigt__p_wxCommandEvent
,
24532 _swigt__p_wxPreviewControlBar
,
24533 _swigt__p_wxPyPreviewControlBar
,
24534 _swigt__p_wxColour
,
24535 _swigt__p_wxToolBar
,
24536 _swigt__p_wxPageSetupDialogData
,
24537 _swigt__p_wxPrintDialogData
,
24542 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
24544 static swig_const_info swig_const_table
[] = {
24545 {0, 0, 0, 0.0, 0, 0}};
24554 SWIGEXPORT(void) SWIG_init(void) {
24555 static PyObject
*SWIG_globals
= 0;
24556 static int typeinit
= 0;
24559 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
24560 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
24561 d
= PyModule_GetDict(m
);
24564 for (i
= 0; swig_types_initial
[i
]; i
++) {
24565 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
24569 SWIG_InstallConstants(d
,swig_const_table
);
24571 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
24572 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
24573 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
24574 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
24575 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
24576 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
24577 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
24578 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
24579 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
24580 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
24581 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
24582 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
24583 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
24584 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
24585 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
24586 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
24587 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
24588 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
24589 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
24590 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
24591 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
24592 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
24593 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
24594 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
24595 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
24596 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
24597 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
24598 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
24599 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
24600 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
24601 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
24602 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
24603 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
24604 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
24605 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
24606 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
24607 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
24608 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
24609 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
24610 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
24611 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
24612 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
24613 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
24614 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
24615 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
24616 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
24617 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
24618 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
24619 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
24620 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
24621 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
24622 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
24623 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
24624 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
24625 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
24626 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
24627 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
24628 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
24629 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
24630 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
24631 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
24632 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
24633 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
24634 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
24635 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
24636 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
24637 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
24638 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
24640 // Map renamed classes back to their common name for OOR
24641 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
24642 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
24643 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
24645 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
24646 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
24647 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
24648 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
24649 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
24650 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
24651 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
24652 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
24653 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
24654 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
24655 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
24656 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
24657 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
24658 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
24659 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
24660 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
24661 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
24662 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
24663 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
24664 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
24665 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
24666 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
24667 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
24668 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
24669 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
24670 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
24671 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
24672 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
24673 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
24674 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
24675 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
24676 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
24677 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
24678 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
24679 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
24680 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
24681 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
24682 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
24683 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
24684 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
24685 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
24686 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
24687 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
24688 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
24689 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
24690 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
24691 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
24692 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
24693 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
24694 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
24695 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
24696 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
24697 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
24698 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
24699 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
24700 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
24701 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
24702 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
24703 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
24704 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
24706 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");