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 bool blocked
= 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(blocked
);
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 bool blocked = 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(blocked); \
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
;
1347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1363 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1364 PyObject
*resultobj
;
1365 wxPanel
*arg1
= (wxPanel
*) 0 ;
1366 PyObject
* obj0
= 0 ;
1368 (char *) "self", NULL
1371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1376 (arg1
)->InitDialog();
1378 wxPyEndAllowThreads(__tstate
);
1379 if (PyErr_Occurred()) SWIG_fail
;
1381 Py_INCREF(Py_None
); resultobj
= Py_None
;
1388 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
1390 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1391 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1393 return Py_BuildValue((char *)"");
1395 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1396 PyObject
*resultobj
;
1397 wxWindow
*arg1
= (wxWindow
*) 0 ;
1398 int arg2
= (int) (int)-1 ;
1399 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1400 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1401 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1402 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1403 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1404 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1405 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1406 wxScrolledWindow
*result
;
1409 bool temp6
= False
;
1410 PyObject
* obj0
= 0 ;
1411 PyObject
* obj1
= 0 ;
1412 PyObject
* obj2
= 0 ;
1413 PyObject
* obj3
= 0 ;
1414 PyObject
* obj4
= 0 ;
1415 PyObject
* obj5
= 0 ;
1417 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1424 arg2
= (int const) SWIG_AsInt(obj1
);
1425 if (PyErr_Occurred()) SWIG_fail
;
1430 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1436 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1440 arg5
= (long) SWIG_AsLong(obj4
);
1441 if (PyErr_Occurred()) SWIG_fail
;
1445 arg6
= wxString_in_helper(obj5
);
1446 if (arg6
== NULL
) SWIG_fail
;
1451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1452 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1454 wxPyEndAllowThreads(__tstate
);
1455 if (PyErr_Occurred()) SWIG_fail
;
1457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1472 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1473 PyObject
*resultobj
;
1474 wxScrolledWindow
*result
;
1479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1482 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1484 wxPyEndAllowThreads(__tstate
);
1485 if (PyErr_Occurred()) SWIG_fail
;
1487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1494 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1495 PyObject
*resultobj
;
1496 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1497 wxWindow
*arg2
= (wxWindow
*) 0 ;
1498 int arg3
= (int) (int)-1 ;
1499 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1500 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1501 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1502 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1503 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1504 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1505 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1509 bool temp7
= False
;
1510 PyObject
* obj0
= 0 ;
1511 PyObject
* obj1
= 0 ;
1512 PyObject
* obj2
= 0 ;
1513 PyObject
* obj3
= 0 ;
1514 PyObject
* obj4
= 0 ;
1515 PyObject
* obj5
= 0 ;
1516 PyObject
* obj6
= 0 ;
1518 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1524 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1527 arg3
= (int const) SWIG_AsInt(obj2
);
1528 if (PyErr_Occurred()) SWIG_fail
;
1533 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1539 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1543 arg6
= (long) SWIG_AsLong(obj5
);
1544 if (PyErr_Occurred()) SWIG_fail
;
1548 arg7
= wxString_in_helper(obj6
);
1549 if (arg7
== NULL
) SWIG_fail
;
1554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1555 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1557 wxPyEndAllowThreads(__tstate
);
1558 if (PyErr_Occurred()) SWIG_fail
;
1561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1577 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1578 PyObject
*resultobj
;
1579 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1584 int arg6
= (int) 0 ;
1585 int arg7
= (int) 0 ;
1586 bool arg8
= (bool) False
;
1587 PyObject
* obj0
= 0 ;
1588 PyObject
* obj1
= 0 ;
1589 PyObject
* obj2
= 0 ;
1590 PyObject
* obj3
= 0 ;
1591 PyObject
* obj4
= 0 ;
1592 PyObject
* obj5
= 0 ;
1593 PyObject
* obj6
= 0 ;
1594 PyObject
* obj7
= 0 ;
1596 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1602 arg2
= (int) SWIG_AsInt(obj1
);
1603 if (PyErr_Occurred()) SWIG_fail
;
1604 arg3
= (int) SWIG_AsInt(obj2
);
1605 if (PyErr_Occurred()) SWIG_fail
;
1606 arg4
= (int) SWIG_AsInt(obj3
);
1607 if (PyErr_Occurred()) SWIG_fail
;
1608 arg5
= (int) SWIG_AsInt(obj4
);
1609 if (PyErr_Occurred()) SWIG_fail
;
1611 arg6
= (int) SWIG_AsInt(obj5
);
1612 if (PyErr_Occurred()) SWIG_fail
;
1615 arg7
= (int) SWIG_AsInt(obj6
);
1616 if (PyErr_Occurred()) SWIG_fail
;
1619 arg8
= (bool) SWIG_AsBool(obj7
);
1620 if (PyErr_Occurred()) SWIG_fail
;
1623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1624 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1626 wxPyEndAllowThreads(__tstate
);
1627 if (PyErr_Occurred()) SWIG_fail
;
1629 Py_INCREF(Py_None
); resultobj
= Py_None
;
1636 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1637 PyObject
*resultobj
;
1638 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1641 PyObject
* obj0
= 0 ;
1642 PyObject
* obj1
= 0 ;
1643 PyObject
* obj2
= 0 ;
1645 (char *) "self",(char *) "x",(char *) "y", NULL
1648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1651 arg2
= (int) SWIG_AsInt(obj1
);
1652 if (PyErr_Occurred()) SWIG_fail
;
1653 arg3
= (int) SWIG_AsInt(obj2
);
1654 if (PyErr_Occurred()) SWIG_fail
;
1656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1657 (arg1
)->Scroll(arg2
,arg3
);
1659 wxPyEndAllowThreads(__tstate
);
1660 if (PyErr_Occurred()) SWIG_fail
;
1662 Py_INCREF(Py_None
); resultobj
= Py_None
;
1669 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1670 PyObject
*resultobj
;
1671 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1674 PyObject
* obj0
= 0 ;
1675 PyObject
* obj1
= 0 ;
1677 (char *) "self",(char *) "orient", NULL
1680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1683 arg2
= (int) SWIG_AsInt(obj1
);
1684 if (PyErr_Occurred()) SWIG_fail
;
1686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1687 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1689 wxPyEndAllowThreads(__tstate
);
1690 if (PyErr_Occurred()) SWIG_fail
;
1692 resultobj
= SWIG_FromInt((int)result
);
1699 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1700 PyObject
*resultobj
;
1701 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1704 PyObject
* obj0
= 0 ;
1705 PyObject
* obj1
= 0 ;
1706 PyObject
* obj2
= 0 ;
1708 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1714 arg2
= (int) SWIG_AsInt(obj1
);
1715 if (PyErr_Occurred()) SWIG_fail
;
1716 arg3
= (int) SWIG_AsInt(obj2
);
1717 if (PyErr_Occurred()) SWIG_fail
;
1719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1720 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1722 wxPyEndAllowThreads(__tstate
);
1723 if (PyErr_Occurred()) SWIG_fail
;
1725 Py_INCREF(Py_None
); resultobj
= Py_None
;
1732 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1733 PyObject
*resultobj
;
1734 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1737 PyObject
* obj0
= 0 ;
1738 PyObject
* obj1
= 0 ;
1739 PyObject
* obj2
= 0 ;
1741 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1747 arg2
= (int) SWIG_AsInt(obj1
);
1748 if (PyErr_Occurred()) SWIG_fail
;
1749 arg3
= (int) SWIG_AsInt(obj2
);
1750 if (PyErr_Occurred()) SWIG_fail
;
1752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1753 (arg1
)->SetScrollRate(arg2
,arg3
);
1755 wxPyEndAllowThreads(__tstate
);
1756 if (PyErr_Occurred()) SWIG_fail
;
1758 Py_INCREF(Py_None
); resultobj
= Py_None
;
1765 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1766 PyObject
*resultobj
;
1767 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1768 int *arg2
= (int *) 0 ;
1769 int *arg3
= (int *) 0 ;
1772 PyObject
* obj0
= 0 ;
1774 (char *) "self", NULL
1779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1784 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1786 wxPyEndAllowThreads(__tstate
);
1787 if (PyErr_Occurred()) SWIG_fail
;
1789 Py_INCREF(Py_None
); resultobj
= Py_None
;
1791 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1792 resultobj
= t_output_helper(resultobj
,o
);
1795 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1796 resultobj
= t_output_helper(resultobj
,o
);
1804 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1805 PyObject
*resultobj
;
1806 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1809 PyObject
* obj0
= 0 ;
1810 PyObject
* obj1
= 0 ;
1811 PyObject
* obj2
= 0 ;
1813 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1819 arg2
= (bool) SWIG_AsBool(obj1
);
1820 if (PyErr_Occurred()) SWIG_fail
;
1821 arg3
= (bool) SWIG_AsBool(obj2
);
1822 if (PyErr_Occurred()) SWIG_fail
;
1824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1825 (arg1
)->EnableScrolling(arg2
,arg3
);
1827 wxPyEndAllowThreads(__tstate
);
1828 if (PyErr_Occurred()) SWIG_fail
;
1830 Py_INCREF(Py_None
); resultobj
= Py_None
;
1837 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1838 PyObject
*resultobj
;
1839 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1840 int *arg2
= (int *) 0 ;
1841 int *arg3
= (int *) 0 ;
1844 PyObject
* obj0
= 0 ;
1846 (char *) "self", NULL
1851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1856 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1858 wxPyEndAllowThreads(__tstate
);
1859 if (PyErr_Occurred()) SWIG_fail
;
1861 Py_INCREF(Py_None
); resultobj
= Py_None
;
1863 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1864 resultobj
= t_output_helper(resultobj
,o
);
1867 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1868 resultobj
= t_output_helper(resultobj
,o
);
1876 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1877 PyObject
*resultobj
;
1878 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1881 PyObject
* obj0
= 0 ;
1882 PyObject
* obj1
= 0 ;
1883 PyObject
* obj2
= 0 ;
1885 (char *) "self",(char *) "xs",(char *) "ys", NULL
1888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1891 arg2
= (double) SWIG_AsDouble(obj1
);
1892 if (PyErr_Occurred()) SWIG_fail
;
1893 arg3
= (double) SWIG_AsDouble(obj2
);
1894 if (PyErr_Occurred()) SWIG_fail
;
1896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1897 (arg1
)->SetScale(arg2
,arg3
);
1899 wxPyEndAllowThreads(__tstate
);
1900 if (PyErr_Occurred()) SWIG_fail
;
1902 Py_INCREF(Py_None
); resultobj
= Py_None
;
1909 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1910 PyObject
*resultobj
;
1911 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1913 PyObject
* obj0
= 0 ;
1915 (char *) "self", NULL
1918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
1919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1923 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
1925 wxPyEndAllowThreads(__tstate
);
1926 if (PyErr_Occurred()) SWIG_fail
;
1928 resultobj
= SWIG_FromDouble((double)result
);
1935 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1936 PyObject
*resultobj
;
1937 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1939 PyObject
* obj0
= 0 ;
1941 (char *) "self", NULL
1944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
1945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1949 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
1951 wxPyEndAllowThreads(__tstate
);
1952 if (PyErr_Occurred()) SWIG_fail
;
1954 resultobj
= SWIG_FromDouble((double)result
);
1961 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
1962 PyObject
*resultobj
;
1963 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1967 PyObject
* obj0
= 0 ;
1968 PyObject
* obj1
= 0 ;
1970 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
1971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1975 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1979 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
1981 wxPyEndAllowThreads(__tstate
);
1982 if (PyErr_Occurred()) SWIG_fail
;
1985 wxPoint
* resultptr
;
1986 resultptr
= new wxPoint((wxPoint
&) result
);
1987 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
1995 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
1996 PyObject
*resultobj
;
1997 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2000 int *arg4
= (int *) 0 ;
2001 int *arg5
= (int *) 0 ;
2004 PyObject
* obj0
= 0 ;
2005 PyObject
* obj1
= 0 ;
2006 PyObject
* obj2
= 0 ;
2010 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2013 arg2
= (int) SWIG_AsInt(obj1
);
2014 if (PyErr_Occurred()) SWIG_fail
;
2015 arg3
= (int) SWIG_AsInt(obj2
);
2016 if (PyErr_Occurred()) SWIG_fail
;
2018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2019 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2021 wxPyEndAllowThreads(__tstate
);
2022 if (PyErr_Occurred()) SWIG_fail
;
2024 Py_INCREF(Py_None
); resultobj
= Py_None
;
2026 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2027 resultobj
= t_output_helper(resultobj
,o
);
2030 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2031 resultobj
= t_output_helper(resultobj
,o
);
2039 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2044 argc
= PyObject_Length(args
);
2045 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2046 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2052 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2061 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2064 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2072 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2080 _v
= SWIG_CheckInt(argv
[1]);
2082 _v
= SWIG_CheckInt(argv
[2]);
2084 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2090 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2095 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2096 PyObject
*resultobj
;
2097 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2101 PyObject
* obj0
= 0 ;
2102 PyObject
* obj1
= 0 ;
2104 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2109 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2113 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2115 wxPyEndAllowThreads(__tstate
);
2116 if (PyErr_Occurred()) SWIG_fail
;
2119 wxPoint
* resultptr
;
2120 resultptr
= new wxPoint((wxPoint
&) result
);
2121 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2129 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2130 PyObject
*resultobj
;
2131 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2134 int *arg4
= (int *) 0 ;
2135 int *arg5
= (int *) 0 ;
2138 PyObject
* obj0
= 0 ;
2139 PyObject
* obj1
= 0 ;
2140 PyObject
* obj2
= 0 ;
2144 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2147 arg2
= (int) SWIG_AsInt(obj1
);
2148 if (PyErr_Occurred()) SWIG_fail
;
2149 arg3
= (int) SWIG_AsInt(obj2
);
2150 if (PyErr_Occurred()) SWIG_fail
;
2152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2153 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2155 wxPyEndAllowThreads(__tstate
);
2156 if (PyErr_Occurred()) SWIG_fail
;
2158 Py_INCREF(Py_None
); resultobj
= Py_None
;
2160 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2161 resultobj
= t_output_helper(resultobj
,o
);
2164 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2165 resultobj
= t_output_helper(resultobj
,o
);
2173 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2178 argc
= PyObject_Length(args
);
2179 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2180 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2186 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2195 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2198 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2206 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2214 _v
= SWIG_CheckInt(argv
[1]);
2216 _v
= SWIG_CheckInt(argv
[2]);
2218 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2224 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2229 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2230 PyObject
*resultobj
;
2231 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2232 PyObject
* obj0
= 0 ;
2234 (char *) "self", NULL
2237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2242 (arg1
)->AdjustScrollbars();
2244 wxPyEndAllowThreads(__tstate
);
2245 if (PyErr_Occurred()) SWIG_fail
;
2247 Py_INCREF(Py_None
); resultobj
= Py_None
;
2254 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2255 PyObject
*resultobj
;
2256 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2257 wxScrollWinEvent
*arg2
= 0 ;
2259 PyObject
* obj0
= 0 ;
2260 PyObject
* obj1
= 0 ;
2262 (char *) "self",(char *) "event", NULL
2265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2268 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2269 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2272 PyErr_SetString(PyExc_TypeError
,"null reference");
2276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2277 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2279 wxPyEndAllowThreads(__tstate
);
2280 if (PyErr_Occurred()) SWIG_fail
;
2282 resultobj
= SWIG_FromInt((int)result
);
2289 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2290 PyObject
*resultobj
;
2291 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2292 wxWindow
*arg2
= (wxWindow
*) 0 ;
2293 PyObject
* obj0
= 0 ;
2294 PyObject
* obj1
= 0 ;
2296 (char *) "self",(char *) "target", NULL
2299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2302 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2306 (arg1
)->SetTargetWindow(arg2
);
2308 wxPyEndAllowThreads(__tstate
);
2309 if (PyErr_Occurred()) SWIG_fail
;
2311 Py_INCREF(Py_None
); resultobj
= Py_None
;
2318 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2319 PyObject
*resultobj
;
2320 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2322 PyObject
* obj0
= 0 ;
2324 (char *) "self", NULL
2327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2332 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2334 wxPyEndAllowThreads(__tstate
);
2335 if (PyErr_Occurred()) SWIG_fail
;
2338 resultobj
= wxPyMake_wxObject(result
);
2346 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2347 PyObject
*resultobj
;
2348 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2351 PyObject
* obj0
= 0 ;
2352 PyObject
* obj1
= 0 ;
2354 (char *) "self",(char *) "rect", NULL
2357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2362 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2366 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2368 wxPyEndAllowThreads(__tstate
);
2369 if (PyErr_Occurred()) SWIG_fail
;
2371 Py_INCREF(Py_None
); resultobj
= Py_None
;
2378 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2379 PyObject
*resultobj
;
2380 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2382 PyObject
* obj0
= 0 ;
2384 (char *) "self", NULL
2387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2392 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2394 wxPyEndAllowThreads(__tstate
);
2395 if (PyErr_Occurred()) SWIG_fail
;
2399 resultptr
= new wxRect((wxRect
&) result
);
2400 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
2408 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
2410 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2411 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2413 return Py_BuildValue((char *)"");
2415 static int _wrap_FrameNameStr_set(PyObject
*) {
2416 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2421 static PyObject
*_wrap_FrameNameStr_get() {
2426 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2428 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2435 static int _wrap_DialogNameStr_set(PyObject
*) {
2436 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2441 static PyObject
*_wrap_DialogNameStr_get() {
2446 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2448 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2455 static int _wrap_StatusLineNameStr_set(PyObject
*) {
2456 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2461 static PyObject
*_wrap_StatusLineNameStr_get() {
2466 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2468 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2475 static int _wrap_ToolBarNameStr_set(PyObject
*) {
2476 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2481 static PyObject
*_wrap_ToolBarNameStr_get() {
2486 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2488 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2495 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2496 PyObject
*resultobj
;
2497 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2498 bool arg2
= (bool) True
;
2499 PyObject
* obj0
= 0 ;
2500 PyObject
* obj1
= 0 ;
2502 (char *) "self",(char *) "maximize", NULL
2505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2509 arg2
= (bool) SWIG_AsBool(obj1
);
2510 if (PyErr_Occurred()) SWIG_fail
;
2513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2514 (arg1
)->Maximize(arg2
);
2516 wxPyEndAllowThreads(__tstate
);
2517 if (PyErr_Occurred()) SWIG_fail
;
2519 Py_INCREF(Py_None
); resultobj
= Py_None
;
2526 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2527 PyObject
*resultobj
;
2528 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2529 PyObject
* obj0
= 0 ;
2531 (char *) "self", NULL
2534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2541 wxPyEndAllowThreads(__tstate
);
2542 if (PyErr_Occurred()) SWIG_fail
;
2544 Py_INCREF(Py_None
); resultobj
= Py_None
;
2551 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2552 PyObject
*resultobj
;
2553 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2554 bool arg2
= (bool) True
;
2555 PyObject
* obj0
= 0 ;
2556 PyObject
* obj1
= 0 ;
2558 (char *) "self",(char *) "iconize", NULL
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2565 arg2
= (bool) SWIG_AsBool(obj1
);
2566 if (PyErr_Occurred()) SWIG_fail
;
2569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2570 (arg1
)->Iconize(arg2
);
2572 wxPyEndAllowThreads(__tstate
);
2573 if (PyErr_Occurred()) SWIG_fail
;
2575 Py_INCREF(Py_None
); resultobj
= Py_None
;
2582 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2583 PyObject
*resultobj
;
2584 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2586 PyObject
* obj0
= 0 ;
2588 (char *) "self", NULL
2591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2596 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2598 wxPyEndAllowThreads(__tstate
);
2599 if (PyErr_Occurred()) SWIG_fail
;
2602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2610 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2611 PyObject
*resultobj
;
2612 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2614 PyObject
* obj0
= 0 ;
2616 (char *) "self", NULL
2619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2624 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2626 wxPyEndAllowThreads(__tstate
);
2627 if (PyErr_Occurred()) SWIG_fail
;
2630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2638 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2639 PyObject
*resultobj
;
2640 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2642 PyObject
* obj0
= 0 ;
2644 (char *) "self", NULL
2647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2652 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2654 wxPyEndAllowThreads(__tstate
);
2655 if (PyErr_Occurred()) SWIG_fail
;
2659 resultptr
= new wxIcon((wxIcon
&) result
);
2660 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2668 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2669 PyObject
*resultobj
;
2670 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2672 PyObject
* obj0
= 0 ;
2673 PyObject
* obj1
= 0 ;
2675 (char *) "self",(char *) "icon", NULL
2678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2681 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2682 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2685 PyErr_SetString(PyExc_TypeError
,"null reference");
2689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2690 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2692 wxPyEndAllowThreads(__tstate
);
2693 if (PyErr_Occurred()) SWIG_fail
;
2695 Py_INCREF(Py_None
); resultobj
= Py_None
;
2702 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2703 PyObject
*resultobj
;
2704 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2705 wxIconBundle
*arg2
= 0 ;
2706 PyObject
* obj0
= 0 ;
2707 PyObject
* obj1
= 0 ;
2709 (char *) "self",(char *) "icons", NULL
2712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2716 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2719 PyErr_SetString(PyExc_TypeError
,"null reference");
2723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2724 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2726 wxPyEndAllowThreads(__tstate
);
2727 if (PyErr_Occurred()) SWIG_fail
;
2729 Py_INCREF(Py_None
); resultobj
= Py_None
;
2736 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2737 PyObject
*resultobj
;
2738 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2740 long arg3
= (long) wxFULLSCREEN_ALL
;
2742 PyObject
* obj0
= 0 ;
2743 PyObject
* obj1
= 0 ;
2744 PyObject
* obj2
= 0 ;
2746 (char *) "self",(char *) "show",(char *) "style", NULL
2749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2752 arg2
= (bool) SWIG_AsBool(obj1
);
2753 if (PyErr_Occurred()) SWIG_fail
;
2755 arg3
= (long) SWIG_AsLong(obj2
);
2756 if (PyErr_Occurred()) SWIG_fail
;
2759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2760 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2762 wxPyEndAllowThreads(__tstate
);
2763 if (PyErr_Occurred()) SWIG_fail
;
2766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2774 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2775 PyObject
*resultobj
;
2776 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2778 PyObject
* obj0
= 0 ;
2780 (char *) "self", NULL
2783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2788 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2790 wxPyEndAllowThreads(__tstate
);
2791 if (PyErr_Occurred()) SWIG_fail
;
2794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2802 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2803 PyObject
*resultobj
;
2804 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2805 wxString
*arg2
= 0 ;
2806 bool temp2
= False
;
2807 PyObject
* obj0
= 0 ;
2808 PyObject
* obj1
= 0 ;
2810 (char *) "self",(char *) "title", NULL
2813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2817 arg2
= wxString_in_helper(obj1
);
2818 if (arg2
== NULL
) SWIG_fail
;
2822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2823 (arg1
)->SetTitle((wxString
const &)*arg2
);
2825 wxPyEndAllowThreads(__tstate
);
2826 if (PyErr_Occurred()) SWIG_fail
;
2828 Py_INCREF(Py_None
); resultobj
= Py_None
;
2843 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2844 PyObject
*resultobj
;
2845 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2847 PyObject
* obj0
= 0 ;
2849 (char *) "self", NULL
2852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2857 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2859 wxPyEndAllowThreads(__tstate
);
2860 if (PyErr_Occurred()) SWIG_fail
;
2864 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2866 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2875 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2876 PyObject
*resultobj
;
2877 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2878 wxRegion
*arg2
= 0 ;
2880 PyObject
* obj0
= 0 ;
2881 PyObject
* obj1
= 0 ;
2883 (char *) "self",(char *) "region", NULL
2886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2889 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
2890 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2893 PyErr_SetString(PyExc_TypeError
,"null reference");
2897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2898 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2900 wxPyEndAllowThreads(__tstate
);
2901 if (PyErr_Occurred()) SWIG_fail
;
2904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2912 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
2914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2915 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
2917 return Py_BuildValue((char *)"");
2919 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2920 PyObject
*resultobj
;
2921 wxWindow
*arg1
= (wxWindow
*) 0 ;
2923 wxString
*arg3
= 0 ;
2924 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2925 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2926 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2927 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2928 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
2929 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
2930 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2932 bool temp3
= False
;
2935 bool temp7
= False
;
2936 PyObject
* obj0
= 0 ;
2937 PyObject
* obj1
= 0 ;
2938 PyObject
* obj2
= 0 ;
2939 PyObject
* obj3
= 0 ;
2940 PyObject
* obj4
= 0 ;
2941 PyObject
* obj5
= 0 ;
2942 PyObject
* obj6
= 0 ;
2944 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2950 arg2
= (int const) SWIG_AsInt(obj1
);
2951 if (PyErr_Occurred()) SWIG_fail
;
2953 arg3
= wxString_in_helper(obj2
);
2954 if (arg3
== NULL
) SWIG_fail
;
2960 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2966 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2970 arg6
= (long) SWIG_AsLong(obj5
);
2971 if (PyErr_Occurred()) SWIG_fail
;
2975 arg7
= wxString_in_helper(obj6
);
2976 if (arg7
== NULL
) SWIG_fail
;
2981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2982 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2984 wxPyEndAllowThreads(__tstate
);
2985 if (PyErr_Occurred()) SWIG_fail
;
2988 resultobj
= wxPyMake_wxObject(result
);
3012 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3013 PyObject
*resultobj
;
3019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3022 result
= (wxFrame
*)new wxFrame();
3024 wxPyEndAllowThreads(__tstate
);
3025 if (PyErr_Occurred()) SWIG_fail
;
3028 resultobj
= wxPyMake_wxObject(result
);
3036 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3037 PyObject
*resultobj
;
3038 wxFrame
*arg1
= (wxFrame
*) 0 ;
3039 wxWindow
*arg2
= (wxWindow
*) 0 ;
3041 wxString
*arg4
= 0 ;
3042 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3043 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3044 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3045 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3046 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3047 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3048 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3050 bool temp4
= False
;
3053 bool temp8
= False
;
3054 PyObject
* obj0
= 0 ;
3055 PyObject
* obj1
= 0 ;
3056 PyObject
* obj2
= 0 ;
3057 PyObject
* obj3
= 0 ;
3058 PyObject
* obj4
= 0 ;
3059 PyObject
* obj5
= 0 ;
3060 PyObject
* obj6
= 0 ;
3061 PyObject
* obj7
= 0 ;
3063 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3069 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3071 arg3
= (int const) SWIG_AsInt(obj2
);
3072 if (PyErr_Occurred()) SWIG_fail
;
3074 arg4
= wxString_in_helper(obj3
);
3075 if (arg4
== NULL
) SWIG_fail
;
3081 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3087 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3091 arg7
= (long) SWIG_AsLong(obj6
);
3092 if (PyErr_Occurred()) SWIG_fail
;
3096 arg8
= wxString_in_helper(obj7
);
3097 if (arg8
== NULL
) SWIG_fail
;
3102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3103 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3105 wxPyEndAllowThreads(__tstate
);
3106 if (PyErr_Occurred()) SWIG_fail
;
3109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3133 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3134 PyObject
*resultobj
;
3135 wxFrame
*arg1
= (wxFrame
*) 0 ;
3137 PyObject
* obj0
= 0 ;
3139 (char *) "self", NULL
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3147 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3149 wxPyEndAllowThreads(__tstate
);
3150 if (PyErr_Occurred()) SWIG_fail
;
3153 wxPoint
* resultptr
;
3154 resultptr
= new wxPoint((wxPoint
&) result
);
3155 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3163 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3164 PyObject
*resultobj
;
3165 wxFrame
*arg1
= (wxFrame
*) 0 ;
3166 PyObject
* obj0
= 0 ;
3168 (char *) "self", NULL
3171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3176 (arg1
)->SendSizeEvent();
3178 wxPyEndAllowThreads(__tstate
);
3179 if (PyErr_Occurred()) SWIG_fail
;
3181 Py_INCREF(Py_None
); resultobj
= Py_None
;
3188 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3189 PyObject
*resultobj
;
3190 wxFrame
*arg1
= (wxFrame
*) 0 ;
3191 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3192 PyObject
* obj0
= 0 ;
3193 PyObject
* obj1
= 0 ;
3195 (char *) "self",(char *) "menubar", NULL
3198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3201 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3205 (arg1
)->SetMenuBar(arg2
);
3207 wxPyEndAllowThreads(__tstate
);
3208 if (PyErr_Occurred()) SWIG_fail
;
3210 Py_INCREF(Py_None
); resultobj
= Py_None
;
3217 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3218 PyObject
*resultobj
;
3219 wxFrame
*arg1
= (wxFrame
*) 0 ;
3221 PyObject
* obj0
= 0 ;
3223 (char *) "self", NULL
3226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3231 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3233 wxPyEndAllowThreads(__tstate
);
3234 if (PyErr_Occurred()) SWIG_fail
;
3237 resultobj
= wxPyMake_wxObject(result
);
3245 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3246 PyObject
*resultobj
;
3247 wxFrame
*arg1
= (wxFrame
*) 0 ;
3250 PyObject
* obj0
= 0 ;
3251 PyObject
* obj1
= 0 ;
3253 (char *) "self",(char *) "winid", NULL
3256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3259 arg2
= (int) SWIG_AsInt(obj1
);
3260 if (PyErr_Occurred()) SWIG_fail
;
3262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3263 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3265 wxPyEndAllowThreads(__tstate
);
3266 if (PyErr_Occurred()) SWIG_fail
;
3269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3277 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3278 PyObject
*resultobj
;
3279 wxFrame
*arg1
= (wxFrame
*) 0 ;
3280 int arg2
= (int) 1 ;
3281 long arg3
= (long) wxST_SIZEGRIP
;
3282 int arg4
= (int) 0 ;
3283 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3284 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3285 wxStatusBar
*result
;
3286 bool temp5
= False
;
3287 PyObject
* obj0
= 0 ;
3288 PyObject
* obj1
= 0 ;
3289 PyObject
* obj2
= 0 ;
3290 PyObject
* obj3
= 0 ;
3291 PyObject
* obj4
= 0 ;
3293 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3300 arg2
= (int) SWIG_AsInt(obj1
);
3301 if (PyErr_Occurred()) SWIG_fail
;
3304 arg3
= (long) SWIG_AsLong(obj2
);
3305 if (PyErr_Occurred()) SWIG_fail
;
3308 arg4
= (int) SWIG_AsInt(obj3
);
3309 if (PyErr_Occurred()) SWIG_fail
;
3313 arg5
= wxString_in_helper(obj4
);
3314 if (arg5
== NULL
) SWIG_fail
;
3319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3320 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3322 wxPyEndAllowThreads(__tstate
);
3323 if (PyErr_Occurred()) SWIG_fail
;
3326 resultobj
= wxPyMake_wxObject(result
);
3342 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3343 PyObject
*resultobj
;
3344 wxFrame
*arg1
= (wxFrame
*) 0 ;
3345 wxStatusBar
*result
;
3346 PyObject
* obj0
= 0 ;
3348 (char *) "self", NULL
3351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3356 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3358 wxPyEndAllowThreads(__tstate
);
3359 if (PyErr_Occurred()) SWIG_fail
;
3362 resultobj
= wxPyMake_wxObject(result
);
3370 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
*resultobj
;
3372 wxFrame
*arg1
= (wxFrame
*) 0 ;
3373 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3374 PyObject
* obj0
= 0 ;
3375 PyObject
* obj1
= 0 ;
3377 (char *) "self",(char *) "statBar", NULL
3380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3387 (arg1
)->SetStatusBar(arg2
);
3389 wxPyEndAllowThreads(__tstate
);
3390 if (PyErr_Occurred()) SWIG_fail
;
3392 Py_INCREF(Py_None
); resultobj
= Py_None
;
3399 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3400 PyObject
*resultobj
;
3401 wxFrame
*arg1
= (wxFrame
*) 0 ;
3402 wxString
*arg2
= 0 ;
3403 int arg3
= (int) 0 ;
3404 bool temp2
= False
;
3405 PyObject
* obj0
= 0 ;
3406 PyObject
* obj1
= 0 ;
3407 PyObject
* obj2
= 0 ;
3409 (char *) "self",(char *) "text",(char *) "number", NULL
3412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3416 arg2
= wxString_in_helper(obj1
);
3417 if (arg2
== NULL
) SWIG_fail
;
3421 arg3
= (int) SWIG_AsInt(obj2
);
3422 if (PyErr_Occurred()) SWIG_fail
;
3425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3426 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3428 wxPyEndAllowThreads(__tstate
);
3429 if (PyErr_Occurred()) SWIG_fail
;
3431 Py_INCREF(Py_None
); resultobj
= Py_None
;
3446 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3447 PyObject
*resultobj
;
3448 wxFrame
*arg1
= (wxFrame
*) 0 ;
3450 int *arg3
= (int *) 0 ;
3451 PyObject
* obj0
= 0 ;
3452 PyObject
* obj1
= 0 ;
3454 (char *) "self",(char *) "widths", NULL
3457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3461 arg2
= PyList_Size(obj1
);
3462 arg3
= int_LIST_helper(obj1
);
3463 if (arg3
== NULL
) SWIG_fail
;
3466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3467 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3469 wxPyEndAllowThreads(__tstate
);
3470 if (PyErr_Occurred()) SWIG_fail
;
3472 Py_INCREF(Py_None
); resultobj
= Py_None
;
3474 if (arg3
) delete [] arg3
;
3479 if (arg3
) delete [] arg3
;
3485 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3486 PyObject
*resultobj
;
3487 wxFrame
*arg1
= (wxFrame
*) 0 ;
3488 wxString
*arg2
= 0 ;
3489 int arg3
= (int) 0 ;
3490 bool temp2
= False
;
3491 PyObject
* obj0
= 0 ;
3492 PyObject
* obj1
= 0 ;
3493 PyObject
* obj2
= 0 ;
3495 (char *) "self",(char *) "text",(char *) "number", NULL
3498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3502 arg2
= wxString_in_helper(obj1
);
3503 if (arg2
== NULL
) SWIG_fail
;
3507 arg3
= (int) SWIG_AsInt(obj2
);
3508 if (PyErr_Occurred()) SWIG_fail
;
3511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3512 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3514 wxPyEndAllowThreads(__tstate
);
3515 if (PyErr_Occurred()) SWIG_fail
;
3517 Py_INCREF(Py_None
); resultobj
= Py_None
;
3532 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3533 PyObject
*resultobj
;
3534 wxFrame
*arg1
= (wxFrame
*) 0 ;
3535 int arg2
= (int) 0 ;
3536 PyObject
* obj0
= 0 ;
3537 PyObject
* obj1
= 0 ;
3539 (char *) "self",(char *) "number", NULL
3542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3546 arg2
= (int) SWIG_AsInt(obj1
);
3547 if (PyErr_Occurred()) SWIG_fail
;
3550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3551 (arg1
)->PopStatusText(arg2
);
3553 wxPyEndAllowThreads(__tstate
);
3554 if (PyErr_Occurred()) SWIG_fail
;
3556 Py_INCREF(Py_None
); resultobj
= Py_None
;
3563 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3564 PyObject
*resultobj
;
3565 wxFrame
*arg1
= (wxFrame
*) 0 ;
3567 PyObject
* obj0
= 0 ;
3568 PyObject
* obj1
= 0 ;
3570 (char *) "self",(char *) "n", NULL
3573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3576 arg2
= (int) SWIG_AsInt(obj1
);
3577 if (PyErr_Occurred()) SWIG_fail
;
3579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3580 (arg1
)->SetStatusBarPane(arg2
);
3582 wxPyEndAllowThreads(__tstate
);
3583 if (PyErr_Occurred()) SWIG_fail
;
3585 Py_INCREF(Py_None
); resultobj
= Py_None
;
3592 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3593 PyObject
*resultobj
;
3594 wxFrame
*arg1
= (wxFrame
*) 0 ;
3596 PyObject
* obj0
= 0 ;
3598 (char *) "self", NULL
3601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3606 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3608 wxPyEndAllowThreads(__tstate
);
3609 if (PyErr_Occurred()) SWIG_fail
;
3611 resultobj
= SWIG_FromInt((int)result
);
3618 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3619 PyObject
*resultobj
;
3620 wxFrame
*arg1
= (wxFrame
*) 0 ;
3621 long arg2
= (long) -1 ;
3622 int arg3
= (int) -1 ;
3623 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3624 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3626 bool temp4
= False
;
3627 PyObject
* obj0
= 0 ;
3628 PyObject
* obj1
= 0 ;
3629 PyObject
* obj2
= 0 ;
3630 PyObject
* obj3
= 0 ;
3632 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3639 arg2
= (long) SWIG_AsLong(obj1
);
3640 if (PyErr_Occurred()) SWIG_fail
;
3643 arg3
= (int) SWIG_AsInt(obj2
);
3644 if (PyErr_Occurred()) SWIG_fail
;
3648 arg4
= wxString_in_helper(obj3
);
3649 if (arg4
== NULL
) SWIG_fail
;
3654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3655 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3657 wxPyEndAllowThreads(__tstate
);
3658 if (PyErr_Occurred()) SWIG_fail
;
3661 resultobj
= wxPyMake_wxObject(result
);
3677 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3678 PyObject
*resultobj
;
3679 wxFrame
*arg1
= (wxFrame
*) 0 ;
3681 PyObject
* obj0
= 0 ;
3683 (char *) "self", NULL
3686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3691 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3693 wxPyEndAllowThreads(__tstate
);
3694 if (PyErr_Occurred()) SWIG_fail
;
3697 resultobj
= wxPyMake_wxObject(result
);
3705 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3706 PyObject
*resultobj
;
3707 wxFrame
*arg1
= (wxFrame
*) 0 ;
3708 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3709 PyObject
* obj0
= 0 ;
3710 PyObject
* obj1
= 0 ;
3712 (char *) "self",(char *) "toolbar", NULL
3715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3718 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
3719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3722 (arg1
)->SetToolBar(arg2
);
3724 wxPyEndAllowThreads(__tstate
);
3725 if (PyErr_Occurred()) SWIG_fail
;
3727 Py_INCREF(Py_None
); resultobj
= Py_None
;
3734 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3735 PyObject
*resultobj
;
3736 wxFrame
*arg1
= (wxFrame
*) 0 ;
3737 wxString
*arg2
= 0 ;
3739 bool temp2
= False
;
3740 PyObject
* obj0
= 0 ;
3741 PyObject
* obj1
= 0 ;
3742 PyObject
* obj2
= 0 ;
3744 (char *) "self",(char *) "text",(char *) "show", NULL
3747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3751 arg2
= wxString_in_helper(obj1
);
3752 if (arg2
== NULL
) SWIG_fail
;
3755 arg3
= (bool) SWIG_AsBool(obj2
);
3756 if (PyErr_Occurred()) SWIG_fail
;
3758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3759 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3761 wxPyEndAllowThreads(__tstate
);
3762 if (PyErr_Occurred()) SWIG_fail
;
3764 Py_INCREF(Py_None
); resultobj
= Py_None
;
3779 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3780 PyObject
*resultobj
;
3781 wxFrame
*arg1
= (wxFrame
*) 0 ;
3782 wxMenu
*arg2
= (wxMenu
*) NULL
;
3783 PyObject
* obj0
= 0 ;
3784 PyObject
* obj1
= 0 ;
3786 (char *) "self",(char *) "menu", NULL
3789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3793 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
3794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3798 (arg1
)->DoMenuUpdates(arg2
);
3800 wxPyEndAllowThreads(__tstate
);
3801 if (PyErr_Occurred()) SWIG_fail
;
3803 Py_INCREF(Py_None
); resultobj
= Py_None
;
3810 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
3812 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3813 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3815 return Py_BuildValue((char *)"");
3817 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
*resultobj
;
3819 wxWindow
*arg1
= (wxWindow
*) 0 ;
3821 wxString
*arg3
= 0 ;
3822 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3823 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3824 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3825 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3826 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3827 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3828 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3830 bool temp3
= False
;
3833 bool temp7
= False
;
3834 PyObject
* obj0
= 0 ;
3835 PyObject
* obj1
= 0 ;
3836 PyObject
* obj2
= 0 ;
3837 PyObject
* obj3
= 0 ;
3838 PyObject
* obj4
= 0 ;
3839 PyObject
* obj5
= 0 ;
3840 PyObject
* obj6
= 0 ;
3842 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3848 arg2
= (int const) SWIG_AsInt(obj1
);
3849 if (PyErr_Occurred()) SWIG_fail
;
3851 arg3
= wxString_in_helper(obj2
);
3852 if (arg3
== NULL
) SWIG_fail
;
3858 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3864 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3868 arg6
= (long) SWIG_AsLong(obj5
);
3869 if (PyErr_Occurred()) SWIG_fail
;
3873 arg7
= wxString_in_helper(obj6
);
3874 if (arg7
== NULL
) SWIG_fail
;
3879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3880 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3882 wxPyEndAllowThreads(__tstate
);
3883 if (PyErr_Occurred()) SWIG_fail
;
3885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
3908 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3909 PyObject
*resultobj
;
3915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
3917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3918 result
= (wxDialog
*)new wxDialog();
3920 wxPyEndAllowThreads(__tstate
);
3921 if (PyErr_Occurred()) SWIG_fail
;
3923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
3930 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3931 PyObject
*resultobj
;
3932 wxDialog
*arg1
= (wxDialog
*) 0 ;
3933 wxWindow
*arg2
= (wxWindow
*) 0 ;
3935 wxString
*arg4
= 0 ;
3936 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3937 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3938 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3939 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3940 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
3941 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
3942 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3944 bool temp4
= False
;
3947 bool temp8
= False
;
3948 PyObject
* obj0
= 0 ;
3949 PyObject
* obj1
= 0 ;
3950 PyObject
* obj2
= 0 ;
3951 PyObject
* obj3
= 0 ;
3952 PyObject
* obj4
= 0 ;
3953 PyObject
* obj5
= 0 ;
3954 PyObject
* obj6
= 0 ;
3955 PyObject
* obj7
= 0 ;
3957 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
3962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3963 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3965 arg3
= (int const) SWIG_AsInt(obj2
);
3966 if (PyErr_Occurred()) SWIG_fail
;
3968 arg4
= wxString_in_helper(obj3
);
3969 if (arg4
== NULL
) SWIG_fail
;
3975 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3981 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3985 arg7
= (long) SWIG_AsLong(obj6
);
3986 if (PyErr_Occurred()) SWIG_fail
;
3990 arg8
= wxString_in_helper(obj7
);
3991 if (arg8
== NULL
) SWIG_fail
;
3996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3997 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3999 wxPyEndAllowThreads(__tstate
);
4000 if (PyErr_Occurred()) SWIG_fail
;
4003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4027 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4028 PyObject
*resultobj
;
4029 wxDialog
*arg1
= (wxDialog
*) 0 ;
4031 PyObject
* obj0
= 0 ;
4032 PyObject
* obj1
= 0 ;
4034 (char *) "self",(char *) "returnCode", NULL
4037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4040 arg2
= (int) SWIG_AsInt(obj1
);
4041 if (PyErr_Occurred()) SWIG_fail
;
4043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4044 (arg1
)->SetReturnCode(arg2
);
4046 wxPyEndAllowThreads(__tstate
);
4047 if (PyErr_Occurred()) SWIG_fail
;
4049 Py_INCREF(Py_None
); resultobj
= Py_None
;
4056 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4057 PyObject
*resultobj
;
4058 wxDialog
*arg1
= (wxDialog
*) 0 ;
4060 PyObject
* obj0
= 0 ;
4062 (char *) "self", NULL
4065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4070 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4072 wxPyEndAllowThreads(__tstate
);
4073 if (PyErr_Occurred()) SWIG_fail
;
4075 resultobj
= SWIG_FromInt((int)result
);
4082 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4083 PyObject
*resultobj
;
4084 wxDialog
*arg1
= (wxDialog
*) 0 ;
4085 wxString
*arg2
= 0 ;
4087 bool temp2
= False
;
4088 PyObject
* obj0
= 0 ;
4089 PyObject
* obj1
= 0 ;
4091 (char *) "self",(char *) "message", NULL
4094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4098 arg2
= wxString_in_helper(obj1
);
4099 if (arg2
== NULL
) SWIG_fail
;
4103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4104 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4106 wxPyEndAllowThreads(__tstate
);
4107 if (PyErr_Occurred()) SWIG_fail
;
4110 resultobj
= wxPyMake_wxSizer(result
);
4126 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4127 PyObject
*resultobj
;
4128 wxDialog
*arg1
= (wxDialog
*) 0 ;
4131 PyObject
* obj0
= 0 ;
4132 PyObject
* obj1
= 0 ;
4134 (char *) "self",(char *) "flags", NULL
4137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4140 arg2
= (long) SWIG_AsLong(obj1
);
4141 if (PyErr_Occurred()) SWIG_fail
;
4143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4144 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4146 wxPyEndAllowThreads(__tstate
);
4147 if (PyErr_Occurred()) SWIG_fail
;
4150 resultobj
= wxPyMake_wxSizer(result
);
4158 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4159 PyObject
*resultobj
;
4160 wxDialog
*arg1
= (wxDialog
*) 0 ;
4162 PyObject
* obj0
= 0 ;
4164 (char *) "self", NULL
4167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4172 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4174 wxPyEndAllowThreads(__tstate
);
4175 if (PyErr_Occurred()) SWIG_fail
;
4178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4186 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4187 PyObject
*resultobj
;
4188 wxDialog
*arg1
= (wxDialog
*) 0 ;
4190 PyObject
* obj0
= 0 ;
4192 (char *) "self", NULL
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4200 result
= (int)(arg1
)->ShowModal();
4202 wxPyEndAllowThreads(__tstate
);
4203 if (PyErr_Occurred()) SWIG_fail
;
4205 resultobj
= SWIG_FromInt((int)result
);
4212 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4213 PyObject
*resultobj
;
4214 wxDialog
*arg1
= (wxDialog
*) 0 ;
4216 PyObject
* obj0
= 0 ;
4217 PyObject
* obj1
= 0 ;
4219 (char *) "self",(char *) "retCode", NULL
4222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4225 arg2
= (int) SWIG_AsInt(obj1
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 (arg1
)->EndModal(arg2
);
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) SWIG_fail
;
4234 Py_INCREF(Py_None
); resultobj
= Py_None
;
4241 static PyObject
*_wrap_Dialog_IsModalShowing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
*resultobj
;
4243 wxDialog
*arg1
= (wxDialog
*) 0 ;
4245 PyObject
* obj0
= 0 ;
4247 (char *) "self", NULL
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModalShowing",kwnames
,&obj0
)) goto fail
;
4251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4255 result
= (bool)wxDialog_IsModalShowing(arg1
);
4257 wxPyEndAllowThreads(__tstate
);
4258 if (PyErr_Occurred()) SWIG_fail
;
4261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4269 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
4271 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4272 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4274 return Py_BuildValue((char *)"");
4276 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
*resultobj
;
4278 wxWindow
*arg1
= (wxWindow
*) 0 ;
4280 wxString
*arg3
= 0 ;
4281 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4282 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4283 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4284 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4285 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4286 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4287 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4288 wxMiniFrame
*result
;
4289 bool temp3
= False
;
4292 bool temp7
= False
;
4293 PyObject
* obj0
= 0 ;
4294 PyObject
* obj1
= 0 ;
4295 PyObject
* obj2
= 0 ;
4296 PyObject
* obj3
= 0 ;
4297 PyObject
* obj4
= 0 ;
4298 PyObject
* obj5
= 0 ;
4299 PyObject
* obj6
= 0 ;
4301 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4307 arg2
= (int const) SWIG_AsInt(obj1
);
4308 if (PyErr_Occurred()) SWIG_fail
;
4310 arg3
= wxString_in_helper(obj2
);
4311 if (arg3
== NULL
) SWIG_fail
;
4317 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4323 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4327 arg6
= (long) SWIG_AsLong(obj5
);
4328 if (PyErr_Occurred()) SWIG_fail
;
4332 arg7
= wxString_in_helper(obj6
);
4333 if (arg7
== NULL
) SWIG_fail
;
4338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4339 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4341 wxPyEndAllowThreads(__tstate
);
4342 if (PyErr_Occurred()) SWIG_fail
;
4344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4367 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4368 PyObject
*resultobj
;
4369 wxMiniFrame
*result
;
4374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4377 result
= (wxMiniFrame
*)new wxMiniFrame();
4379 wxPyEndAllowThreads(__tstate
);
4380 if (PyErr_Occurred()) SWIG_fail
;
4382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4389 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4390 PyObject
*resultobj
;
4391 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4392 wxWindow
*arg2
= (wxWindow
*) 0 ;
4394 wxString
*arg4
= 0 ;
4395 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4396 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4397 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4398 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4399 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4400 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4401 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4403 bool temp4
= False
;
4406 bool temp8
= False
;
4407 PyObject
* obj0
= 0 ;
4408 PyObject
* obj1
= 0 ;
4409 PyObject
* obj2
= 0 ;
4410 PyObject
* obj3
= 0 ;
4411 PyObject
* obj4
= 0 ;
4412 PyObject
* obj5
= 0 ;
4413 PyObject
* obj6
= 0 ;
4414 PyObject
* obj7
= 0 ;
4416 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4422 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4424 arg3
= (int const) SWIG_AsInt(obj2
);
4425 if (PyErr_Occurred()) SWIG_fail
;
4427 arg4
= wxString_in_helper(obj3
);
4428 if (arg4
== NULL
) SWIG_fail
;
4434 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4440 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4444 arg7
= (long) SWIG_AsLong(obj6
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4449 arg8
= wxString_in_helper(obj7
);
4450 if (arg8
== NULL
) SWIG_fail
;
4455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4456 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4458 wxPyEndAllowThreads(__tstate
);
4459 if (PyErr_Occurred()) SWIG_fail
;
4462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4486 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
4488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4489 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4491 return Py_BuildValue((char *)"");
4493 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
*resultobj
;
4495 wxBitmap
*arg1
= 0 ;
4496 wxWindow
*arg2
= (wxWindow
*) 0 ;
4498 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4499 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4500 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4501 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4502 long arg6
= (long) wxNO_BORDER
;
4503 wxSplashScreenWindow
*result
;
4506 PyObject
* obj0
= 0 ;
4507 PyObject
* obj1
= 0 ;
4508 PyObject
* obj2
= 0 ;
4509 PyObject
* obj3
= 0 ;
4510 PyObject
* obj4
= 0 ;
4511 PyObject
* obj5
= 0 ;
4513 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4518 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4521 PyErr_SetString(PyExc_TypeError
,"null reference");
4524 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4526 arg3
= (int) SWIG_AsInt(obj2
);
4527 if (PyErr_Occurred()) SWIG_fail
;
4531 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4537 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4541 arg6
= (long) SWIG_AsLong(obj5
);
4542 if (PyErr_Occurred()) SWIG_fail
;
4545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4546 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4548 wxPyEndAllowThreads(__tstate
);
4549 if (PyErr_Occurred()) SWIG_fail
;
4551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4558 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4559 PyObject
*resultobj
;
4560 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4561 wxBitmap
*arg2
= 0 ;
4562 PyObject
* obj0
= 0 ;
4563 PyObject
* obj1
= 0 ;
4565 (char *) "self",(char *) "bitmap", NULL
4568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4572 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4575 PyErr_SetString(PyExc_TypeError
,"null reference");
4579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4580 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4582 wxPyEndAllowThreads(__tstate
);
4583 if (PyErr_Occurred()) SWIG_fail
;
4585 Py_INCREF(Py_None
); resultobj
= Py_None
;
4592 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4593 PyObject
*resultobj
;
4594 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4596 PyObject
* obj0
= 0 ;
4598 (char *) "self", NULL
4601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4607 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4608 result
= (wxBitmap
*) &_result_ref
;
4611 wxPyEndAllowThreads(__tstate
);
4612 if (PyErr_Occurred()) SWIG_fail
;
4615 wxBitmap
* resultptr
= new wxBitmap(*result
);
4616 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4624 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
4626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4627 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4629 return Py_BuildValue((char *)"");
4631 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4632 PyObject
*resultobj
;
4633 wxBitmap
*arg1
= 0 ;
4636 wxWindow
*arg4
= (wxWindow
*) 0 ;
4638 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4639 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4640 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4641 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4642 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4643 wxSplashScreen
*result
;
4646 PyObject
* obj0
= 0 ;
4647 PyObject
* obj1
= 0 ;
4648 PyObject
* obj2
= 0 ;
4649 PyObject
* obj3
= 0 ;
4650 PyObject
* obj4
= 0 ;
4651 PyObject
* obj5
= 0 ;
4652 PyObject
* obj6
= 0 ;
4653 PyObject
* obj7
= 0 ;
4655 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4660 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4663 PyErr_SetString(PyExc_TypeError
,"null reference");
4666 arg2
= (long) SWIG_AsLong(obj1
);
4667 if (PyErr_Occurred()) SWIG_fail
;
4668 arg3
= (int) SWIG_AsInt(obj2
);
4669 if (PyErr_Occurred()) SWIG_fail
;
4670 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4672 arg5
= (int) SWIG_AsInt(obj4
);
4673 if (PyErr_Occurred()) SWIG_fail
;
4677 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4683 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4687 arg8
= (long) SWIG_AsLong(obj7
);
4688 if (PyErr_Occurred()) SWIG_fail
;
4691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
4704 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4705 PyObject
*resultobj
;
4706 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4708 PyObject
* obj0
= 0 ;
4710 (char *) "self", NULL
4713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",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
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4720 wxPyEndAllowThreads(__tstate
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4723 resultobj
= SWIG_FromLong((long)result
);
4730 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
*resultobj
;
4732 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4733 wxSplashScreenWindow
*result
;
4734 PyObject
* obj0
= 0 ;
4736 (char *) "self", NULL
4739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",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
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4746 wxPyEndAllowThreads(__tstate
);
4747 if (PyErr_Occurred()) SWIG_fail
;
4749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
4756 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4757 PyObject
*resultobj
;
4758 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4760 PyObject
* obj0
= 0 ;
4762 (char *) "self", NULL
4765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4770 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4772 wxPyEndAllowThreads(__tstate
);
4773 if (PyErr_Occurred()) SWIG_fail
;
4775 resultobj
= SWIG_FromInt((int)result
);
4782 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
4784 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4785 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4787 return Py_BuildValue((char *)"");
4789 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4790 PyObject
*resultobj
;
4791 wxWindow
*arg1
= (wxWindow
*) 0 ;
4792 int arg2
= (int) -1 ;
4793 long arg3
= (long) wxST_SIZEGRIP
;
4794 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4795 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4796 wxStatusBar
*result
;
4797 bool temp4
= False
;
4798 PyObject
* obj0
= 0 ;
4799 PyObject
* obj1
= 0 ;
4800 PyObject
* obj2
= 0 ;
4801 PyObject
* obj3
= 0 ;
4803 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4810 arg2
= (int) SWIG_AsInt(obj1
);
4811 if (PyErr_Occurred()) SWIG_fail
;
4814 arg3
= (long) SWIG_AsLong(obj2
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4819 arg4
= wxString_in_helper(obj3
);
4820 if (arg4
== NULL
) SWIG_fail
;
4825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4826 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4828 wxPyEndAllowThreads(__tstate
);
4829 if (PyErr_Occurred()) SWIG_fail
;
4832 resultobj
= wxPyMake_wxObject(result
);
4848 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4849 PyObject
*resultobj
;
4850 wxStatusBar
*result
;
4855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4858 result
= (wxStatusBar
*)new wxStatusBar();
4860 wxPyEndAllowThreads(__tstate
);
4861 if (PyErr_Occurred()) SWIG_fail
;
4864 resultobj
= wxPyMake_wxObject(result
);
4872 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4873 PyObject
*resultobj
;
4874 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4875 wxWindow
*arg2
= (wxWindow
*) 0 ;
4877 long arg4
= (long) wxST_SIZEGRIP
;
4878 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4879 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4881 bool temp5
= False
;
4882 PyObject
* obj0
= 0 ;
4883 PyObject
* obj1
= 0 ;
4884 PyObject
* obj2
= 0 ;
4885 PyObject
* obj3
= 0 ;
4886 PyObject
* obj4
= 0 ;
4888 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4894 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4896 arg3
= (int) SWIG_AsInt(obj2
);
4897 if (PyErr_Occurred()) SWIG_fail
;
4899 arg4
= (long) SWIG_AsLong(obj3
);
4900 if (PyErr_Occurred()) SWIG_fail
;
4904 arg5
= wxString_in_helper(obj4
);
4905 if (arg5
== NULL
) SWIG_fail
;
4910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4911 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4913 wxPyEndAllowThreads(__tstate
);
4914 if (PyErr_Occurred()) SWIG_fail
;
4917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4933 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4934 PyObject
*resultobj
;
4935 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4936 int arg2
= (int) 1 ;
4937 PyObject
* obj0
= 0 ;
4938 PyObject
* obj1
= 0 ;
4940 (char *) "self",(char *) "number", NULL
4943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
4944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4947 arg2
= (int) SWIG_AsInt(obj1
);
4948 if (PyErr_Occurred()) SWIG_fail
;
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 (arg1
)->SetFieldsCount(arg2
);
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4957 Py_INCREF(Py_None
); resultobj
= Py_None
;
4964 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4965 PyObject
*resultobj
;
4966 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4968 PyObject
* obj0
= 0 ;
4970 (char *) "self", NULL
4973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
4974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
4980 wxPyEndAllowThreads(__tstate
);
4981 if (PyErr_Occurred()) SWIG_fail
;
4983 resultobj
= SWIG_FromInt((int)result
);
4990 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4991 PyObject
*resultobj
;
4992 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4993 wxString
*arg2
= 0 ;
4994 int arg3
= (int) 0 ;
4995 bool temp2
= False
;
4996 PyObject
* obj0
= 0 ;
4997 PyObject
* obj1
= 0 ;
4998 PyObject
* obj2
= 0 ;
5000 (char *) "self",(char *) "text",(char *) "number", NULL
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5007 arg2
= wxString_in_helper(obj1
);
5008 if (arg2
== NULL
) SWIG_fail
;
5012 arg3
= (int) SWIG_AsInt(obj2
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5017 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5019 wxPyEndAllowThreads(__tstate
);
5020 if (PyErr_Occurred()) SWIG_fail
;
5022 Py_INCREF(Py_None
); resultobj
= Py_None
;
5037 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5038 PyObject
*resultobj
;
5039 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5040 int arg2
= (int) 0 ;
5042 PyObject
* obj0
= 0 ;
5043 PyObject
* obj1
= 0 ;
5045 (char *) "self",(char *) "number", NULL
5048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5052 arg2
= (int) SWIG_AsInt(obj1
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5057 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5059 wxPyEndAllowThreads(__tstate
);
5060 if (PyErr_Occurred()) SWIG_fail
;
5064 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5066 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5075 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5076 PyObject
*resultobj
;
5077 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5078 wxString
*arg2
= 0 ;
5079 int arg3
= (int) 0 ;
5080 bool temp2
= False
;
5081 PyObject
* obj0
= 0 ;
5082 PyObject
* obj1
= 0 ;
5083 PyObject
* obj2
= 0 ;
5085 (char *) "self",(char *) "text",(char *) "number", NULL
5088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5092 arg2
= wxString_in_helper(obj1
);
5093 if (arg2
== NULL
) SWIG_fail
;
5097 arg3
= (int) SWIG_AsInt(obj2
);
5098 if (PyErr_Occurred()) SWIG_fail
;
5101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5104 wxPyEndAllowThreads(__tstate
);
5105 if (PyErr_Occurred()) SWIG_fail
;
5107 Py_INCREF(Py_None
); resultobj
= Py_None
;
5122 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5123 PyObject
*resultobj
;
5124 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5125 int arg2
= (int) 0 ;
5126 PyObject
* obj0
= 0 ;
5127 PyObject
* obj1
= 0 ;
5129 (char *) "self",(char *) "number", NULL
5132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5136 arg2
= (int) SWIG_AsInt(obj1
);
5137 if (PyErr_Occurred()) SWIG_fail
;
5140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5141 (arg1
)->PopStatusText(arg2
);
5143 wxPyEndAllowThreads(__tstate
);
5144 if (PyErr_Occurred()) SWIG_fail
;
5146 Py_INCREF(Py_None
); resultobj
= Py_None
;
5153 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5154 PyObject
*resultobj
;
5155 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5157 int *arg3
= (int *) 0 ;
5158 PyObject
* obj0
= 0 ;
5159 PyObject
* obj1
= 0 ;
5161 (char *) "self",(char *) "widths", NULL
5164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5168 arg2
= PyList_Size(obj1
);
5169 arg3
= int_LIST_helper(obj1
);
5170 if (arg3
== NULL
) SWIG_fail
;
5173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5176 wxPyEndAllowThreads(__tstate
);
5177 if (PyErr_Occurred()) SWIG_fail
;
5179 Py_INCREF(Py_None
); resultobj
= Py_None
;
5181 if (arg3
) delete [] arg3
;
5186 if (arg3
) delete [] arg3
;
5192 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5193 PyObject
*resultobj
;
5194 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5197 PyObject
* obj0
= 0 ;
5198 PyObject
* obj1
= 0 ;
5200 (char *) "self",(char *) "i", NULL
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5206 arg2
= (int) SWIG_AsInt(obj1
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5210 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5212 wxPyEndAllowThreads(__tstate
);
5213 if (PyErr_Occurred()) SWIG_fail
;
5217 resultptr
= new wxRect((wxRect
&) result
);
5218 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5226 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5227 PyObject
*resultobj
;
5228 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5230 PyObject
* obj0
= 0 ;
5231 PyObject
* obj1
= 0 ;
5233 (char *) "self",(char *) "height", NULL
5236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5239 arg2
= (int) SWIG_AsInt(obj1
);
5240 if (PyErr_Occurred()) SWIG_fail
;
5242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5243 (arg1
)->SetMinHeight(arg2
);
5245 wxPyEndAllowThreads(__tstate
);
5246 if (PyErr_Occurred()) SWIG_fail
;
5248 Py_INCREF(Py_None
); resultobj
= Py_None
;
5255 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5256 PyObject
*resultobj
;
5257 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5259 PyObject
* obj0
= 0 ;
5261 (char *) "self", NULL
5264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5269 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5271 wxPyEndAllowThreads(__tstate
);
5272 if (PyErr_Occurred()) SWIG_fail
;
5274 resultobj
= SWIG_FromInt((int)result
);
5281 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5282 PyObject
*resultobj
;
5283 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5285 PyObject
* obj0
= 0 ;
5287 (char *) "self", NULL
5290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5295 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5297 wxPyEndAllowThreads(__tstate
);
5298 if (PyErr_Occurred()) SWIG_fail
;
5300 resultobj
= SWIG_FromInt((int)result
);
5307 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
5309 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5310 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5312 return Py_BuildValue((char *)"");
5314 static int _wrap_SplitterNameStr_set(PyObject
*) {
5315 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5320 static PyObject
*_wrap_SplitterNameStr_get() {
5325 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5327 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5334 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5335 PyObject
*resultobj
;
5336 wxWindow
*arg1
= (wxWindow
*) 0 ;
5338 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5339 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5340 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5341 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5342 long arg5
= (long) wxSP_3D
;
5343 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5344 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5345 wxSplitterWindow
*result
;
5348 bool temp6
= False
;
5349 PyObject
* obj0
= 0 ;
5350 PyObject
* obj1
= 0 ;
5351 PyObject
* obj2
= 0 ;
5352 PyObject
* obj3
= 0 ;
5353 PyObject
* obj4
= 0 ;
5354 PyObject
* obj5
= 0 ;
5356 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5362 arg2
= (int) SWIG_AsInt(obj1
);
5363 if (PyErr_Occurred()) SWIG_fail
;
5367 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5373 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5377 arg5
= (long) SWIG_AsLong(obj4
);
5378 if (PyErr_Occurred()) SWIG_fail
;
5382 arg6
= wxString_in_helper(obj5
);
5383 if (arg6
== NULL
) SWIG_fail
;
5388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5389 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) SWIG_fail
;
5394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5409 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5410 PyObject
*resultobj
;
5411 wxSplitterWindow
*result
;
5416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5419 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5421 wxPyEndAllowThreads(__tstate
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5431 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5432 PyObject
*resultobj
;
5433 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5434 wxWindow
*arg2
= (wxWindow
*) 0 ;
5436 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5437 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5438 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5439 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5440 long arg6
= (long) wxSP_3D
;
5441 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5442 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5446 bool temp7
= False
;
5447 PyObject
* obj0
= 0 ;
5448 PyObject
* obj1
= 0 ;
5449 PyObject
* obj2
= 0 ;
5450 PyObject
* obj3
= 0 ;
5451 PyObject
* obj4
= 0 ;
5452 PyObject
* obj5
= 0 ;
5453 PyObject
* obj6
= 0 ;
5455 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5461 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5463 arg3
= (int) SWIG_AsInt(obj2
);
5464 if (PyErr_Occurred()) SWIG_fail
;
5468 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5474 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5478 arg6
= (long) SWIG_AsLong(obj5
);
5479 if (PyErr_Occurred()) SWIG_fail
;
5483 arg7
= wxString_in_helper(obj6
);
5484 if (arg7
== NULL
) SWIG_fail
;
5489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5490 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5492 wxPyEndAllowThreads(__tstate
);
5493 if (PyErr_Occurred()) SWIG_fail
;
5496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5512 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5513 PyObject
*resultobj
;
5514 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5516 PyObject
* obj0
= 0 ;
5518 (char *) "self", NULL
5521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5526 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5528 wxPyEndAllowThreads(__tstate
);
5529 if (PyErr_Occurred()) SWIG_fail
;
5532 resultobj
= wxPyMake_wxObject(result
);
5540 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5541 PyObject
*resultobj
;
5542 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5544 PyObject
* obj0
= 0 ;
5546 (char *) "self", NULL
5549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5554 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5556 wxPyEndAllowThreads(__tstate
);
5557 if (PyErr_Occurred()) SWIG_fail
;
5560 resultobj
= wxPyMake_wxObject(result
);
5568 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5569 PyObject
*resultobj
;
5570 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5572 PyObject
* obj0
= 0 ;
5573 PyObject
* obj1
= 0 ;
5575 (char *) "self",(char *) "mode", NULL
5578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5581 arg2
= (int) SWIG_AsInt(obj1
);
5582 if (PyErr_Occurred()) SWIG_fail
;
5584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5585 (arg1
)->SetSplitMode(arg2
);
5587 wxPyEndAllowThreads(__tstate
);
5588 if (PyErr_Occurred()) SWIG_fail
;
5590 Py_INCREF(Py_None
); resultobj
= Py_None
;
5597 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
*resultobj
;
5599 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5601 PyObject
* obj0
= 0 ;
5603 (char *) "self", NULL
5606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5611 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5613 wxPyEndAllowThreads(__tstate
);
5614 if (PyErr_Occurred()) SWIG_fail
;
5616 resultobj
= SWIG_FromInt((int)result
);
5623 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5624 PyObject
*resultobj
;
5625 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5626 wxWindow
*arg2
= (wxWindow
*) 0 ;
5627 PyObject
* obj0
= 0 ;
5628 PyObject
* obj1
= 0 ;
5630 (char *) "self",(char *) "window", NULL
5633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5640 (arg1
)->Initialize(arg2
);
5642 wxPyEndAllowThreads(__tstate
);
5643 if (PyErr_Occurred()) SWIG_fail
;
5645 Py_INCREF(Py_None
); resultobj
= Py_None
;
5652 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
*resultobj
;
5654 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5655 wxWindow
*arg2
= (wxWindow
*) 0 ;
5656 wxWindow
*arg3
= (wxWindow
*) 0 ;
5657 int arg4
= (int) 0 ;
5659 PyObject
* obj0
= 0 ;
5660 PyObject
* obj1
= 0 ;
5661 PyObject
* obj2
= 0 ;
5662 PyObject
* obj3
= 0 ;
5664 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5670 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5672 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5675 arg4
= (int) SWIG_AsInt(obj3
);
5676 if (PyErr_Occurred()) SWIG_fail
;
5679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5680 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5682 wxPyEndAllowThreads(__tstate
);
5683 if (PyErr_Occurred()) SWIG_fail
;
5686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5694 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5695 PyObject
*resultobj
;
5696 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5697 wxWindow
*arg2
= (wxWindow
*) 0 ;
5698 wxWindow
*arg3
= (wxWindow
*) 0 ;
5699 int arg4
= (int) 0 ;
5701 PyObject
* obj0
= 0 ;
5702 PyObject
* obj1
= 0 ;
5703 PyObject
* obj2
= 0 ;
5704 PyObject
* obj3
= 0 ;
5706 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5712 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5714 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5717 arg4
= (int) SWIG_AsInt(obj3
);
5718 if (PyErr_Occurred()) SWIG_fail
;
5721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5722 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5724 wxPyEndAllowThreads(__tstate
);
5725 if (PyErr_Occurred()) SWIG_fail
;
5728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5736 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5737 PyObject
*resultobj
;
5738 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5739 wxWindow
*arg2
= (wxWindow
*) NULL
;
5741 PyObject
* obj0
= 0 ;
5742 PyObject
* obj1
= 0 ;
5744 (char *) "self",(char *) "toRemove", NULL
5747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5751 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5756 result
= (bool)(arg1
)->Unsplit(arg2
);
5758 wxPyEndAllowThreads(__tstate
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5770 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5771 PyObject
*resultobj
;
5772 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5773 wxWindow
*arg2
= (wxWindow
*) 0 ;
5774 wxWindow
*arg3
= (wxWindow
*) 0 ;
5776 PyObject
* obj0
= 0 ;
5777 PyObject
* obj1
= 0 ;
5778 PyObject
* obj2
= 0 ;
5780 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5786 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5788 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5792 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5794 wxPyEndAllowThreads(__tstate
);
5795 if (PyErr_Occurred()) SWIG_fail
;
5798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5806 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5807 PyObject
*resultobj
;
5808 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5809 PyObject
* obj0
= 0 ;
5811 (char *) "self", NULL
5814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
5815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5819 (arg1
)->UpdateSize();
5821 wxPyEndAllowThreads(__tstate
);
5822 if (PyErr_Occurred()) SWIG_fail
;
5824 Py_INCREF(Py_None
); resultobj
= Py_None
;
5831 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5832 PyObject
*resultobj
;
5833 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5835 PyObject
* obj0
= 0 ;
5837 (char *) "self", NULL
5840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5845 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5847 wxPyEndAllowThreads(__tstate
);
5848 if (PyErr_Occurred()) SWIG_fail
;
5851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5859 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5860 PyObject
*resultobj
;
5861 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5863 PyObject
* obj0
= 0 ;
5864 PyObject
* obj1
= 0 ;
5866 (char *) "self",(char *) "width", NULL
5869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5872 arg2
= (int) SWIG_AsInt(obj1
);
5873 if (PyErr_Occurred()) SWIG_fail
;
5875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5876 (arg1
)->SetSashSize(arg2
);
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5881 Py_INCREF(Py_None
); resultobj
= Py_None
;
5888 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5889 PyObject
*resultobj
;
5890 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5892 PyObject
* obj0
= 0 ;
5893 PyObject
* obj1
= 0 ;
5895 (char *) "self",(char *) "width", NULL
5898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5901 arg2
= (int) SWIG_AsInt(obj1
);
5902 if (PyErr_Occurred()) SWIG_fail
;
5904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5905 (arg1
)->SetBorderSize(arg2
);
5907 wxPyEndAllowThreads(__tstate
);
5908 if (PyErr_Occurred()) SWIG_fail
;
5910 Py_INCREF(Py_None
); resultobj
= Py_None
;
5917 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5918 PyObject
*resultobj
;
5919 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5921 PyObject
* obj0
= 0 ;
5923 (char *) "self", NULL
5926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
5927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5931 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
5933 wxPyEndAllowThreads(__tstate
);
5934 if (PyErr_Occurred()) SWIG_fail
;
5936 resultobj
= SWIG_FromInt((int)result
);
5943 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5944 PyObject
*resultobj
;
5945 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5947 PyObject
* obj0
= 0 ;
5949 (char *) "self", NULL
5952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
5953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5957 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
5959 wxPyEndAllowThreads(__tstate
);
5960 if (PyErr_Occurred()) SWIG_fail
;
5962 resultobj
= SWIG_FromInt((int)result
);
5969 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5970 PyObject
*resultobj
;
5971 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5973 bool arg3
= (bool) True
;
5974 PyObject
* obj0
= 0 ;
5975 PyObject
* obj1
= 0 ;
5976 PyObject
* obj2
= 0 ;
5978 (char *) "self",(char *) "position",(char *) "redraw", NULL
5981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5984 arg2
= (int) SWIG_AsInt(obj1
);
5985 if (PyErr_Occurred()) SWIG_fail
;
5987 arg3
= (bool) SWIG_AsBool(obj2
);
5988 if (PyErr_Occurred()) SWIG_fail
;
5991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5992 (arg1
)->SetSashPosition(arg2
,arg3
);
5994 wxPyEndAllowThreads(__tstate
);
5995 if (PyErr_Occurred()) SWIG_fail
;
5997 Py_INCREF(Py_None
); resultobj
= Py_None
;
6004 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6005 PyObject
*resultobj
;
6006 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6008 PyObject
* obj0
= 0 ;
6010 (char *) "self", NULL
6013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6018 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6020 wxPyEndAllowThreads(__tstate
);
6021 if (PyErr_Occurred()) SWIG_fail
;
6023 resultobj
= SWIG_FromInt((int)result
);
6030 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6031 PyObject
*resultobj
;
6032 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6034 PyObject
* obj0
= 0 ;
6035 PyObject
* obj1
= 0 ;
6037 (char *) "self",(char *) "min", NULL
6040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6043 arg2
= (int) SWIG_AsInt(obj1
);
6044 if (PyErr_Occurred()) SWIG_fail
;
6046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6047 (arg1
)->SetMinimumPaneSize(arg2
);
6049 wxPyEndAllowThreads(__tstate
);
6050 if (PyErr_Occurred()) SWIG_fail
;
6052 Py_INCREF(Py_None
); resultobj
= Py_None
;
6059 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6060 PyObject
*resultobj
;
6061 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6063 PyObject
* obj0
= 0 ;
6065 (char *) "self", NULL
6068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",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 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6075 wxPyEndAllowThreads(__tstate
);
6076 if (PyErr_Occurred()) SWIG_fail
;
6078 resultobj
= SWIG_FromInt((int)result
);
6085 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6086 PyObject
*resultobj
;
6087 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6090 int arg4
= (int) 5 ;
6092 PyObject
* obj0
= 0 ;
6093 PyObject
* obj1
= 0 ;
6094 PyObject
* obj2
= 0 ;
6095 PyObject
* obj3
= 0 ;
6097 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6103 arg2
= (int) SWIG_AsInt(obj1
);
6104 if (PyErr_Occurred()) SWIG_fail
;
6105 arg3
= (int) SWIG_AsInt(obj2
);
6106 if (PyErr_Occurred()) SWIG_fail
;
6108 arg4
= (int) SWIG_AsInt(obj3
);
6109 if (PyErr_Occurred()) SWIG_fail
;
6112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6113 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6115 wxPyEndAllowThreads(__tstate
);
6116 if (PyErr_Occurred()) SWIG_fail
;
6119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6127 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6128 PyObject
*resultobj
;
6129 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6130 PyObject
* obj0
= 0 ;
6132 (char *) "self", NULL
6135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6140 (arg1
)->SizeWindows();
6142 wxPyEndAllowThreads(__tstate
);
6143 if (PyErr_Occurred()) SWIG_fail
;
6145 Py_INCREF(Py_None
); resultobj
= Py_None
;
6152 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6153 PyObject
*resultobj
;
6154 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6156 PyObject
* obj0
= 0 ;
6157 PyObject
* obj1
= 0 ;
6159 (char *) "self",(char *) "needUpdating", NULL
6162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6165 arg2
= (bool) SWIG_AsBool(obj1
);
6166 if (PyErr_Occurred()) SWIG_fail
;
6168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6169 (arg1
)->SetNeedUpdating(arg2
);
6171 wxPyEndAllowThreads(__tstate
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6174 Py_INCREF(Py_None
); resultobj
= Py_None
;
6181 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
*resultobj
;
6183 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6185 PyObject
* obj0
= 0 ;
6187 (char *) "self", NULL
6190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6195 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6197 wxPyEndAllowThreads(__tstate
);
6198 if (PyErr_Occurred()) SWIG_fail
;
6201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6209 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
6211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6212 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6214 return Py_BuildValue((char *)"");
6216 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
*resultobj
;
6218 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6219 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6220 wxSplitterEvent
*result
;
6221 PyObject
* obj0
= 0 ;
6222 PyObject
* obj1
= 0 ;
6224 (char *) "type",(char *) "splitter", NULL
6227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6229 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6230 if (PyErr_Occurred()) SWIG_fail
;
6233 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6238 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6240 wxPyEndAllowThreads(__tstate
);
6241 if (PyErr_Occurred()) SWIG_fail
;
6243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6250 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6251 PyObject
*resultobj
;
6252 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6254 PyObject
* obj0
= 0 ;
6255 PyObject
* obj1
= 0 ;
6257 (char *) "self",(char *) "pos", NULL
6260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6263 arg2
= (int) SWIG_AsInt(obj1
);
6264 if (PyErr_Occurred()) SWIG_fail
;
6266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6267 (arg1
)->SetSashPosition(arg2
);
6269 wxPyEndAllowThreads(__tstate
);
6270 if (PyErr_Occurred()) SWIG_fail
;
6272 Py_INCREF(Py_None
); resultobj
= Py_None
;
6279 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6280 PyObject
*resultobj
;
6281 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6283 PyObject
* obj0
= 0 ;
6285 (char *) "self", NULL
6288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6293 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6295 wxPyEndAllowThreads(__tstate
);
6296 if (PyErr_Occurred()) SWIG_fail
;
6298 resultobj
= SWIG_FromInt((int)result
);
6305 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6306 PyObject
*resultobj
;
6307 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6309 PyObject
* obj0
= 0 ;
6311 (char *) "self", NULL
6314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6319 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6321 wxPyEndAllowThreads(__tstate
);
6322 if (PyErr_Occurred()) SWIG_fail
;
6325 resultobj
= wxPyMake_wxObject(result
);
6333 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6334 PyObject
*resultobj
;
6335 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6337 PyObject
* obj0
= 0 ;
6339 (char *) "self", NULL
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6347 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6349 wxPyEndAllowThreads(__tstate
);
6350 if (PyErr_Occurred()) SWIG_fail
;
6352 resultobj
= SWIG_FromInt((int)result
);
6359 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6360 PyObject
*resultobj
;
6361 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6363 PyObject
* obj0
= 0 ;
6365 (char *) "self", NULL
6368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6373 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6375 wxPyEndAllowThreads(__tstate
);
6376 if (PyErr_Occurred()) SWIG_fail
;
6378 resultobj
= SWIG_FromInt((int)result
);
6385 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
6387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6388 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6390 return Py_BuildValue((char *)"");
6392 static int _wrap_SashNameStr_set(PyObject
*) {
6393 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6398 static PyObject
*_wrap_SashNameStr_get() {
6403 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6405 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6412 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
6413 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6418 static PyObject
*_wrap_SashLayoutNameStr_get() {
6423 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6425 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6432 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6433 PyObject
*resultobj
;
6434 wxWindow
*arg1
= (wxWindow
*) 0 ;
6436 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6437 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6438 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6439 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6440 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6441 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6442 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6443 wxSashWindow
*result
;
6446 bool temp6
= False
;
6447 PyObject
* obj0
= 0 ;
6448 PyObject
* obj1
= 0 ;
6449 PyObject
* obj2
= 0 ;
6450 PyObject
* obj3
= 0 ;
6451 PyObject
* obj4
= 0 ;
6452 PyObject
* obj5
= 0 ;
6454 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6460 arg2
= (int) SWIG_AsInt(obj1
);
6461 if (PyErr_Occurred()) SWIG_fail
;
6465 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6471 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6475 arg5
= (long) SWIG_AsLong(obj4
);
6476 if (PyErr_Occurred()) SWIG_fail
;
6480 arg6
= wxString_in_helper(obj5
);
6481 if (arg6
== NULL
) SWIG_fail
;
6486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6487 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6489 wxPyEndAllowThreads(__tstate
);
6490 if (PyErr_Occurred()) SWIG_fail
;
6492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6507 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6508 PyObject
*resultobj
;
6509 wxSashWindow
*result
;
6514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6517 result
= (wxSashWindow
*)new wxSashWindow();
6519 wxPyEndAllowThreads(__tstate
);
6520 if (PyErr_Occurred()) SWIG_fail
;
6522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6529 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6530 PyObject
*resultobj
;
6531 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6532 wxWindow
*arg2
= (wxWindow
*) 0 ;
6534 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6535 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6536 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6537 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6538 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6539 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6540 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6544 bool temp7
= False
;
6545 PyObject
* obj0
= 0 ;
6546 PyObject
* obj1
= 0 ;
6547 PyObject
* obj2
= 0 ;
6548 PyObject
* obj3
= 0 ;
6549 PyObject
* obj4
= 0 ;
6550 PyObject
* obj5
= 0 ;
6551 PyObject
* obj6
= 0 ;
6553 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6559 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6561 arg3
= (int) SWIG_AsInt(obj2
);
6562 if (PyErr_Occurred()) SWIG_fail
;
6566 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6572 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6576 arg6
= (long) SWIG_AsLong(obj5
);
6577 if (PyErr_Occurred()) SWIG_fail
;
6581 arg7
= wxString_in_helper(obj6
);
6582 if (arg7
== NULL
) SWIG_fail
;
6587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6588 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6590 wxPyEndAllowThreads(__tstate
);
6591 if (PyErr_Occurred()) SWIG_fail
;
6594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6610 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6611 PyObject
*resultobj
;
6612 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6615 PyObject
* obj0
= 0 ;
6616 PyObject
* obj1
= 0 ;
6617 PyObject
* obj2
= 0 ;
6619 (char *) "self",(char *) "edge",(char *) "sash", NULL
6622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6625 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6626 if (PyErr_Occurred()) SWIG_fail
;
6627 arg3
= (bool) SWIG_AsBool(obj2
);
6628 if (PyErr_Occurred()) SWIG_fail
;
6630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6631 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6633 wxPyEndAllowThreads(__tstate
);
6634 if (PyErr_Occurred()) SWIG_fail
;
6636 Py_INCREF(Py_None
); resultobj
= Py_None
;
6643 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6644 PyObject
*resultobj
;
6645 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6648 PyObject
* obj0
= 0 ;
6649 PyObject
* obj1
= 0 ;
6651 (char *) "self",(char *) "edge", NULL
6654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6657 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6658 if (PyErr_Occurred()) SWIG_fail
;
6660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6661 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6663 wxPyEndAllowThreads(__tstate
);
6664 if (PyErr_Occurred()) SWIG_fail
;
6667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6675 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6676 PyObject
*resultobj
;
6677 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6680 PyObject
* obj0
= 0 ;
6681 PyObject
* obj1
= 0 ;
6682 PyObject
* obj2
= 0 ;
6684 (char *) "self",(char *) "edge",(char *) "border", NULL
6687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6690 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6691 if (PyErr_Occurred()) SWIG_fail
;
6692 arg3
= (bool) SWIG_AsBool(obj2
);
6693 if (PyErr_Occurred()) SWIG_fail
;
6695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6696 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6698 wxPyEndAllowThreads(__tstate
);
6699 if (PyErr_Occurred()) SWIG_fail
;
6701 Py_INCREF(Py_None
); resultobj
= Py_None
;
6708 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6709 PyObject
*resultobj
;
6710 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6713 PyObject
* obj0
= 0 ;
6714 PyObject
* obj1
= 0 ;
6716 (char *) "self",(char *) "edge", NULL
6719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
6720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6722 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6723 if (PyErr_Occurred()) SWIG_fail
;
6725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6726 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
6728 wxPyEndAllowThreads(__tstate
);
6729 if (PyErr_Occurred()) SWIG_fail
;
6732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6740 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6741 PyObject
*resultobj
;
6742 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6745 PyObject
* obj0
= 0 ;
6746 PyObject
* obj1
= 0 ;
6748 (char *) "self",(char *) "edge", NULL
6751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
6752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6754 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6755 if (PyErr_Occurred()) SWIG_fail
;
6757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6758 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
6760 wxPyEndAllowThreads(__tstate
);
6761 if (PyErr_Occurred()) SWIG_fail
;
6763 resultobj
= SWIG_FromInt((int)result
);
6770 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6771 PyObject
*resultobj
;
6772 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6774 PyObject
* obj0
= 0 ;
6775 PyObject
* obj1
= 0 ;
6777 (char *) "self",(char *) "width", NULL
6780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6783 arg2
= (int) SWIG_AsInt(obj1
);
6784 if (PyErr_Occurred()) SWIG_fail
;
6786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6787 (arg1
)->SetDefaultBorderSize(arg2
);
6789 wxPyEndAllowThreads(__tstate
);
6790 if (PyErr_Occurred()) SWIG_fail
;
6792 Py_INCREF(Py_None
); resultobj
= Py_None
;
6799 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6800 PyObject
*resultobj
;
6801 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6803 PyObject
* obj0
= 0 ;
6805 (char *) "self", NULL
6808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
6809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6813 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
6815 wxPyEndAllowThreads(__tstate
);
6816 if (PyErr_Occurred()) SWIG_fail
;
6818 resultobj
= SWIG_FromInt((int)result
);
6825 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6826 PyObject
*resultobj
;
6827 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6829 PyObject
* obj0
= 0 ;
6830 PyObject
* obj1
= 0 ;
6832 (char *) "self",(char *) "width", NULL
6835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6838 arg2
= (int) SWIG_AsInt(obj1
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6842 (arg1
)->SetExtraBorderSize(arg2
);
6844 wxPyEndAllowThreads(__tstate
);
6845 if (PyErr_Occurred()) SWIG_fail
;
6847 Py_INCREF(Py_None
); resultobj
= Py_None
;
6854 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
*resultobj
;
6856 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6858 PyObject
* obj0
= 0 ;
6860 (char *) "self", NULL
6863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
6864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6868 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
6870 wxPyEndAllowThreads(__tstate
);
6871 if (PyErr_Occurred()) SWIG_fail
;
6873 resultobj
= SWIG_FromInt((int)result
);
6880 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6881 PyObject
*resultobj
;
6882 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6884 PyObject
* obj0
= 0 ;
6885 PyObject
* obj1
= 0 ;
6887 (char *) "self",(char *) "min", NULL
6890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6893 arg2
= (int) SWIG_AsInt(obj1
);
6894 if (PyErr_Occurred()) SWIG_fail
;
6896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6897 (arg1
)->SetMinimumSizeX(arg2
);
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6902 Py_INCREF(Py_None
); resultobj
= Py_None
;
6909 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6910 PyObject
*resultobj
;
6911 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6913 PyObject
* obj0
= 0 ;
6914 PyObject
* obj1
= 0 ;
6916 (char *) "self",(char *) "min", NULL
6919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
6920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6922 arg2
= (int) SWIG_AsInt(obj1
);
6923 if (PyErr_Occurred()) SWIG_fail
;
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6926 (arg1
)->SetMinimumSizeY(arg2
);
6928 wxPyEndAllowThreads(__tstate
);
6929 if (PyErr_Occurred()) SWIG_fail
;
6931 Py_INCREF(Py_None
); resultobj
= Py_None
;
6938 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6939 PyObject
*resultobj
;
6940 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6942 PyObject
* obj0
= 0 ;
6944 (char *) "self", NULL
6947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
6948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6952 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
6954 wxPyEndAllowThreads(__tstate
);
6955 if (PyErr_Occurred()) SWIG_fail
;
6957 resultobj
= SWIG_FromInt((int)result
);
6964 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
*resultobj
;
6966 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6968 PyObject
* obj0
= 0 ;
6970 (char *) "self", NULL
6973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
6974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6978 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
6980 wxPyEndAllowThreads(__tstate
);
6981 if (PyErr_Occurred()) SWIG_fail
;
6983 resultobj
= SWIG_FromInt((int)result
);
6990 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6991 PyObject
*resultobj
;
6992 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6994 PyObject
* obj0
= 0 ;
6995 PyObject
* obj1
= 0 ;
6997 (char *) "self",(char *) "max", NULL
7000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7003 arg2
= (int) SWIG_AsInt(obj1
);
7004 if (PyErr_Occurred()) SWIG_fail
;
7006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7007 (arg1
)->SetMaximumSizeX(arg2
);
7009 wxPyEndAllowThreads(__tstate
);
7010 if (PyErr_Occurred()) SWIG_fail
;
7012 Py_INCREF(Py_None
); resultobj
= Py_None
;
7019 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7020 PyObject
*resultobj
;
7021 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7023 PyObject
* obj0
= 0 ;
7024 PyObject
* obj1
= 0 ;
7026 (char *) "self",(char *) "max", NULL
7029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7032 arg2
= (int) SWIG_AsInt(obj1
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7036 (arg1
)->SetMaximumSizeY(arg2
);
7038 wxPyEndAllowThreads(__tstate
);
7039 if (PyErr_Occurred()) SWIG_fail
;
7041 Py_INCREF(Py_None
); resultobj
= Py_None
;
7048 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7049 PyObject
*resultobj
;
7050 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7052 PyObject
* obj0
= 0 ;
7054 (char *) "self", NULL
7057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7062 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7064 wxPyEndAllowThreads(__tstate
);
7065 if (PyErr_Occurred()) SWIG_fail
;
7067 resultobj
= SWIG_FromInt((int)result
);
7074 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
*resultobj
;
7076 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7078 PyObject
* obj0
= 0 ;
7080 (char *) "self", NULL
7083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7088 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7090 wxPyEndAllowThreads(__tstate
);
7091 if (PyErr_Occurred()) SWIG_fail
;
7093 resultobj
= SWIG_FromInt((int)result
);
7100 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7101 PyObject
*resultobj
;
7102 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7105 int arg4
= (int) 2 ;
7107 PyObject
* obj0
= 0 ;
7108 PyObject
* obj1
= 0 ;
7109 PyObject
* obj2
= 0 ;
7110 PyObject
* obj3
= 0 ;
7112 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7118 arg2
= (int) SWIG_AsInt(obj1
);
7119 if (PyErr_Occurred()) SWIG_fail
;
7120 arg3
= (int) SWIG_AsInt(obj2
);
7121 if (PyErr_Occurred()) SWIG_fail
;
7123 arg4
= (int) SWIG_AsInt(obj3
);
7124 if (PyErr_Occurred()) SWIG_fail
;
7127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7128 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7130 wxPyEndAllowThreads(__tstate
);
7131 if (PyErr_Occurred()) SWIG_fail
;
7133 resultobj
= SWIG_FromInt((int)result
);
7140 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7141 PyObject
*resultobj
;
7142 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7143 PyObject
* obj0
= 0 ;
7145 (char *) "self", NULL
7148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7153 (arg1
)->SizeWindows();
7155 wxPyEndAllowThreads(__tstate
);
7156 if (PyErr_Occurred()) SWIG_fail
;
7158 Py_INCREF(Py_None
); resultobj
= Py_None
;
7165 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
7167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7168 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7170 return Py_BuildValue((char *)"");
7172 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7173 PyObject
*resultobj
;
7174 int arg1
= (int) 0 ;
7175 int arg2
= (int) wxSASH_NONE
;
7176 wxSashEvent
*result
;
7177 PyObject
* obj0
= 0 ;
7178 PyObject
* obj1
= 0 ;
7180 (char *) "id",(char *) "edge", NULL
7183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7185 arg1
= (int) SWIG_AsInt(obj0
);
7186 if (PyErr_Occurred()) SWIG_fail
;
7189 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7190 if (PyErr_Occurred()) SWIG_fail
;
7193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7194 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7196 wxPyEndAllowThreads(__tstate
);
7197 if (PyErr_Occurred()) SWIG_fail
;
7199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7206 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
*resultobj
;
7208 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7210 PyObject
* obj0
= 0 ;
7211 PyObject
* obj1
= 0 ;
7213 (char *) "self",(char *) "edge", NULL
7216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7219 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7220 if (PyErr_Occurred()) SWIG_fail
;
7222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7223 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7225 wxPyEndAllowThreads(__tstate
);
7226 if (PyErr_Occurred()) SWIG_fail
;
7228 Py_INCREF(Py_None
); resultobj
= Py_None
;
7235 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7236 PyObject
*resultobj
;
7237 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7239 PyObject
* obj0
= 0 ;
7241 (char *) "self", NULL
7244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7249 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7251 wxPyEndAllowThreads(__tstate
);
7252 if (PyErr_Occurred()) SWIG_fail
;
7254 resultobj
= SWIG_FromInt((int)result
);
7261 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7262 PyObject
*resultobj
;
7263 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7266 PyObject
* obj0
= 0 ;
7267 PyObject
* obj1
= 0 ;
7269 (char *) "self",(char *) "rect", NULL
7272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7277 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7281 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7283 wxPyEndAllowThreads(__tstate
);
7284 if (PyErr_Occurred()) SWIG_fail
;
7286 Py_INCREF(Py_None
); resultobj
= Py_None
;
7293 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
*resultobj
;
7295 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7297 PyObject
* obj0
= 0 ;
7299 (char *) "self", NULL
7302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7307 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7309 wxPyEndAllowThreads(__tstate
);
7310 if (PyErr_Occurred()) SWIG_fail
;
7314 resultptr
= new wxRect((wxRect
&) result
);
7315 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7323 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7324 PyObject
*resultobj
;
7325 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7327 PyObject
* obj0
= 0 ;
7328 PyObject
* obj1
= 0 ;
7330 (char *) "self",(char *) "status", NULL
7333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7336 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7340 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7342 wxPyEndAllowThreads(__tstate
);
7343 if (PyErr_Occurred()) SWIG_fail
;
7345 Py_INCREF(Py_None
); resultobj
= Py_None
;
7352 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7353 PyObject
*resultobj
;
7354 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7356 PyObject
* obj0
= 0 ;
7358 (char *) "self", NULL
7361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7366 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7368 wxPyEndAllowThreads(__tstate
);
7369 if (PyErr_Occurred()) SWIG_fail
;
7371 resultobj
= SWIG_FromInt((int)result
);
7378 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
7380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7381 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7383 return Py_BuildValue((char *)"");
7385 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7386 PyObject
*resultobj
;
7387 int arg1
= (int) 0 ;
7388 wxQueryLayoutInfoEvent
*result
;
7389 PyObject
* obj0
= 0 ;
7394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7396 arg1
= (int) SWIG_AsInt(obj0
);
7397 if (PyErr_Occurred()) SWIG_fail
;
7400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7401 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7403 wxPyEndAllowThreads(__tstate
);
7404 if (PyErr_Occurred()) SWIG_fail
;
7406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7413 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7414 PyObject
*resultobj
;
7415 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7417 PyObject
* obj0
= 0 ;
7418 PyObject
* obj1
= 0 ;
7420 (char *) "self",(char *) "length", NULL
7423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7426 arg2
= (int) SWIG_AsInt(obj1
);
7427 if (PyErr_Occurred()) SWIG_fail
;
7429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7430 (arg1
)->SetRequestedLength(arg2
);
7432 wxPyEndAllowThreads(__tstate
);
7433 if (PyErr_Occurred()) SWIG_fail
;
7435 Py_INCREF(Py_None
); resultobj
= Py_None
;
7442 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
*resultobj
;
7444 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7446 PyObject
* obj0
= 0 ;
7448 (char *) "self", NULL
7451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7456 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7458 wxPyEndAllowThreads(__tstate
);
7459 if (PyErr_Occurred()) SWIG_fail
;
7461 resultobj
= SWIG_FromInt((int)result
);
7468 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7469 PyObject
*resultobj
;
7470 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7472 PyObject
* obj0
= 0 ;
7473 PyObject
* obj1
= 0 ;
7475 (char *) "self",(char *) "flags", NULL
7478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7481 arg2
= (int) SWIG_AsInt(obj1
);
7482 if (PyErr_Occurred()) SWIG_fail
;
7484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7485 (arg1
)->SetFlags(arg2
);
7487 wxPyEndAllowThreads(__tstate
);
7488 if (PyErr_Occurred()) SWIG_fail
;
7490 Py_INCREF(Py_None
); resultobj
= Py_None
;
7497 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7498 PyObject
*resultobj
;
7499 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7501 PyObject
* obj0
= 0 ;
7503 (char *) "self", NULL
7506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7511 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7513 wxPyEndAllowThreads(__tstate
);
7514 if (PyErr_Occurred()) SWIG_fail
;
7516 resultobj
= SWIG_FromInt((int)result
);
7523 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7524 PyObject
*resultobj
;
7525 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7528 PyObject
* obj0
= 0 ;
7529 PyObject
* obj1
= 0 ;
7531 (char *) "self",(char *) "size", NULL
7534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7539 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7543 (arg1
)->SetSize((wxSize
const &)*arg2
);
7545 wxPyEndAllowThreads(__tstate
);
7546 if (PyErr_Occurred()) SWIG_fail
;
7548 Py_INCREF(Py_None
); resultobj
= Py_None
;
7555 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7556 PyObject
*resultobj
;
7557 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7559 PyObject
* obj0
= 0 ;
7561 (char *) "self", NULL
7564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7569 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7571 wxPyEndAllowThreads(__tstate
);
7572 if (PyErr_Occurred()) SWIG_fail
;
7576 resultptr
= new wxSize((wxSize
&) result
);
7577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7585 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7586 PyObject
*resultobj
;
7587 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7589 PyObject
* obj0
= 0 ;
7590 PyObject
* obj1
= 0 ;
7592 (char *) "self",(char *) "orient", NULL
7595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7598 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
7599 if (PyErr_Occurred()) SWIG_fail
;
7601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7602 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7604 wxPyEndAllowThreads(__tstate
);
7605 if (PyErr_Occurred()) SWIG_fail
;
7607 Py_INCREF(Py_None
); resultobj
= Py_None
;
7614 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7615 PyObject
*resultobj
;
7616 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7618 PyObject
* obj0
= 0 ;
7620 (char *) "self", NULL
7623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7628 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7630 wxPyEndAllowThreads(__tstate
);
7631 if (PyErr_Occurred()) SWIG_fail
;
7633 resultobj
= SWIG_FromInt((int)result
);
7640 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7641 PyObject
*resultobj
;
7642 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7644 PyObject
* obj0
= 0 ;
7645 PyObject
* obj1
= 0 ;
7647 (char *) "self",(char *) "align", NULL
7650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7653 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
7654 if (PyErr_Occurred()) SWIG_fail
;
7656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7657 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7659 wxPyEndAllowThreads(__tstate
);
7660 if (PyErr_Occurred()) SWIG_fail
;
7662 Py_INCREF(Py_None
); resultobj
= Py_None
;
7669 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7670 PyObject
*resultobj
;
7671 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7673 PyObject
* obj0
= 0 ;
7675 (char *) "self", NULL
7678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7683 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
7685 wxPyEndAllowThreads(__tstate
);
7686 if (PyErr_Occurred()) SWIG_fail
;
7688 resultobj
= SWIG_FromInt((int)result
);
7695 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
7697 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7698 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7700 return Py_BuildValue((char *)"");
7702 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7703 PyObject
*resultobj
;
7704 int arg1
= (int) 0 ;
7705 wxCalculateLayoutEvent
*result
;
7706 PyObject
* obj0
= 0 ;
7711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
7713 arg1
= (int) SWIG_AsInt(obj0
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7718 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
7720 wxPyEndAllowThreads(__tstate
);
7721 if (PyErr_Occurred()) SWIG_fail
;
7723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
7730 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7731 PyObject
*resultobj
;
7732 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7734 PyObject
* obj0
= 0 ;
7735 PyObject
* obj1
= 0 ;
7737 (char *) "self",(char *) "flags", NULL
7740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7743 arg2
= (int) SWIG_AsInt(obj1
);
7744 if (PyErr_Occurred()) SWIG_fail
;
7746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7747 (arg1
)->SetFlags(arg2
);
7749 wxPyEndAllowThreads(__tstate
);
7750 if (PyErr_Occurred()) SWIG_fail
;
7752 Py_INCREF(Py_None
); resultobj
= Py_None
;
7759 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7760 PyObject
*resultobj
;
7761 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7763 PyObject
* obj0
= 0 ;
7765 (char *) "self", NULL
7768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7773 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
7775 wxPyEndAllowThreads(__tstate
);
7776 if (PyErr_Occurred()) SWIG_fail
;
7778 resultobj
= SWIG_FromInt((int)result
);
7785 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7786 PyObject
*resultobj
;
7787 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7790 PyObject
* obj0
= 0 ;
7791 PyObject
* obj1
= 0 ;
7793 (char *) "self",(char *) "rect", NULL
7796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7801 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7805 (arg1
)->SetRect((wxRect
const &)*arg2
);
7807 wxPyEndAllowThreads(__tstate
);
7808 if (PyErr_Occurred()) SWIG_fail
;
7810 Py_INCREF(Py_None
); resultobj
= Py_None
;
7817 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7818 PyObject
*resultobj
;
7819 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7821 PyObject
* obj0
= 0 ;
7823 (char *) "self", NULL
7826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
7827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7831 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
7833 wxPyEndAllowThreads(__tstate
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7838 resultptr
= new wxRect((wxRect
&) result
);
7839 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7847 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
7849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7850 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
7852 return Py_BuildValue((char *)"");
7854 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7855 PyObject
*resultobj
;
7856 wxWindow
*arg1
= (wxWindow
*) 0 ;
7858 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7859 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7860 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7861 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7862 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7863 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
7864 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7865 wxSashLayoutWindow
*result
;
7868 bool temp6
= False
;
7869 PyObject
* obj0
= 0 ;
7870 PyObject
* obj1
= 0 ;
7871 PyObject
* obj2
= 0 ;
7872 PyObject
* obj3
= 0 ;
7873 PyObject
* obj4
= 0 ;
7874 PyObject
* obj5
= 0 ;
7876 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7882 arg2
= (int) SWIG_AsInt(obj1
);
7883 if (PyErr_Occurred()) SWIG_fail
;
7887 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7893 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7897 arg5
= (long) SWIG_AsLong(obj4
);
7898 if (PyErr_Occurred()) SWIG_fail
;
7902 arg6
= wxString_in_helper(obj5
);
7903 if (arg6
== NULL
) SWIG_fail
;
7908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7909 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7911 wxPyEndAllowThreads(__tstate
);
7912 if (PyErr_Occurred()) SWIG_fail
;
7914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
7929 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7930 PyObject
*resultobj
;
7931 wxSashLayoutWindow
*result
;
7936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
7938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7939 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
7941 wxPyEndAllowThreads(__tstate
);
7942 if (PyErr_Occurred()) SWIG_fail
;
7944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
7951 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7952 PyObject
*resultobj
;
7953 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7954 wxWindow
*arg2
= (wxWindow
*) 0 ;
7956 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7957 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7958 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7959 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7960 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7961 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
7962 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7966 bool temp7
= False
;
7967 PyObject
* obj0
= 0 ;
7968 PyObject
* obj1
= 0 ;
7969 PyObject
* obj2
= 0 ;
7970 PyObject
* obj3
= 0 ;
7971 PyObject
* obj4
= 0 ;
7972 PyObject
* obj5
= 0 ;
7973 PyObject
* obj6
= 0 ;
7975 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
7980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7981 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7983 arg3
= (int) SWIG_AsInt(obj2
);
7984 if (PyErr_Occurred()) SWIG_fail
;
7988 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7994 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7998 arg6
= (long) SWIG_AsLong(obj5
);
7999 if (PyErr_Occurred()) SWIG_fail
;
8003 arg7
= wxString_in_helper(obj6
);
8004 if (arg7
== NULL
) SWIG_fail
;
8009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8010 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8012 wxPyEndAllowThreads(__tstate
);
8013 if (PyErr_Occurred()) SWIG_fail
;
8016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8032 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8033 PyObject
*resultobj
;
8034 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8036 PyObject
* obj0
= 0 ;
8038 (char *) "self", NULL
8041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8046 result
= (int)(arg1
)->GetAlignment();
8048 wxPyEndAllowThreads(__tstate
);
8049 if (PyErr_Occurred()) SWIG_fail
;
8051 resultobj
= SWIG_FromInt((int)result
);
8058 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8059 PyObject
*resultobj
;
8060 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8062 PyObject
* obj0
= 0 ;
8064 (char *) "self", NULL
8067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8072 result
= (int)(arg1
)->GetOrientation();
8074 wxPyEndAllowThreads(__tstate
);
8075 if (PyErr_Occurred()) SWIG_fail
;
8077 resultobj
= SWIG_FromInt((int)result
);
8084 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8085 PyObject
*resultobj
;
8086 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8088 PyObject
* obj0
= 0 ;
8089 PyObject
* obj1
= 0 ;
8091 (char *) "self",(char *) "alignment", NULL
8094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8097 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8098 if (PyErr_Occurred()) SWIG_fail
;
8100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8101 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8103 wxPyEndAllowThreads(__tstate
);
8104 if (PyErr_Occurred()) SWIG_fail
;
8106 Py_INCREF(Py_None
); resultobj
= Py_None
;
8113 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8114 PyObject
*resultobj
;
8115 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8118 PyObject
* obj0
= 0 ;
8119 PyObject
* obj1
= 0 ;
8121 (char *) "self",(char *) "size", NULL
8124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8129 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8133 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8135 wxPyEndAllowThreads(__tstate
);
8136 if (PyErr_Occurred()) SWIG_fail
;
8138 Py_INCREF(Py_None
); resultobj
= Py_None
;
8145 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8146 PyObject
*resultobj
;
8147 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8149 PyObject
* obj0
= 0 ;
8150 PyObject
* obj1
= 0 ;
8152 (char *) "self",(char *) "orientation", NULL
8155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8158 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8159 if (PyErr_Occurred()) SWIG_fail
;
8161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8162 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8164 wxPyEndAllowThreads(__tstate
);
8165 if (PyErr_Occurred()) SWIG_fail
;
8167 Py_INCREF(Py_None
); resultobj
= Py_None
;
8174 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
8176 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8177 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8179 return Py_BuildValue((char *)"");
8181 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8182 PyObject
*resultobj
;
8183 wxLayoutAlgorithm
*result
;
8188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8191 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8203 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
*resultobj
;
8205 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8206 PyObject
* obj0
= 0 ;
8208 (char *) "self", NULL
8211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8218 wxPyEndAllowThreads(__tstate
);
8219 if (PyErr_Occurred()) SWIG_fail
;
8221 Py_INCREF(Py_None
); resultobj
= Py_None
;
8228 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8229 PyObject
*resultobj
;
8230 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8231 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8232 wxRect
*arg3
= (wxRect
*) NULL
;
8234 PyObject
* obj0
= 0 ;
8235 PyObject
* obj1
= 0 ;
8236 PyObject
* obj2
= 0 ;
8238 (char *) "self",(char *) "frame",(char *) "rect", NULL
8241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8244 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8247 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8252 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8254 wxPyEndAllowThreads(__tstate
);
8255 if (PyErr_Occurred()) SWIG_fail
;
8258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8266 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8267 PyObject
*resultobj
;
8268 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8269 wxFrame
*arg2
= (wxFrame
*) 0 ;
8270 wxWindow
*arg3
= (wxWindow
*) NULL
;
8272 PyObject
* obj0
= 0 ;
8273 PyObject
* obj1
= 0 ;
8274 PyObject
* obj2
= 0 ;
8276 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8282 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8285 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8290 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8292 wxPyEndAllowThreads(__tstate
);
8293 if (PyErr_Occurred()) SWIG_fail
;
8296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8304 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8305 PyObject
*resultobj
;
8306 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8307 wxWindow
*arg2
= (wxWindow
*) 0 ;
8308 wxWindow
*arg3
= (wxWindow
*) NULL
;
8310 PyObject
* obj0
= 0 ;
8311 PyObject
* obj1
= 0 ;
8312 PyObject
* obj2
= 0 ;
8314 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8320 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8323 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8328 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8330 wxPyEndAllowThreads(__tstate
);
8331 if (PyErr_Occurred()) SWIG_fail
;
8334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8342 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
8344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8345 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8347 return Py_BuildValue((char *)"");
8349 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8350 PyObject
*resultobj
;
8351 wxWindow
*arg1
= (wxWindow
*) 0 ;
8352 int arg2
= (int) wxBORDER_NONE
;
8353 wxPopupWindow
*result
;
8354 PyObject
* obj0
= 0 ;
8355 PyObject
* obj1
= 0 ;
8357 (char *) "parent",(char *) "flags", NULL
8360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8364 arg2
= (int) SWIG_AsInt(obj1
);
8365 if (PyErr_Occurred()) SWIG_fail
;
8368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8369 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8371 wxPyEndAllowThreads(__tstate
);
8372 if (PyErr_Occurred()) SWIG_fail
;
8374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8381 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8382 PyObject
*resultobj
;
8383 wxPopupWindow
*result
;
8388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8391 result
= (wxPopupWindow
*)new wxPopupWindow();
8393 wxPyEndAllowThreads(__tstate
);
8394 if (PyErr_Occurred()) SWIG_fail
;
8396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8403 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
8405 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8406 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8408 return Py_BuildValue((char *)"");
8410 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8411 PyObject
*resultobj
;
8412 wxWindow
*arg1
= (wxWindow
*) 0 ;
8413 int arg2
= (int) wxBORDER_NONE
;
8414 wxPyPopupTransientWindow
*result
;
8415 PyObject
* obj0
= 0 ;
8416 PyObject
* obj1
= 0 ;
8418 (char *) "parent",(char *) "style", NULL
8421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8425 arg2
= (int) SWIG_AsInt(obj1
);
8426 if (PyErr_Occurred()) SWIG_fail
;
8429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8430 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8432 wxPyEndAllowThreads(__tstate
);
8433 if (PyErr_Occurred()) SWIG_fail
;
8435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8442 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8443 PyObject
*resultobj
;
8444 wxPyPopupTransientWindow
*result
;
8449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8452 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8454 wxPyEndAllowThreads(__tstate
);
8455 if (PyErr_Occurred()) SWIG_fail
;
8457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8464 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
8466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8467 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8469 return Py_BuildValue((char *)"");
8471 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8472 PyObject
*resultobj
;
8473 wxWindow
*arg1
= (wxWindow
*) 0 ;
8474 wxString
*arg2
= 0 ;
8475 int arg3
= (int) 100 ;
8476 wxRect
*arg4
= (wxRect
*) NULL
;
8477 wxTipWindow
*result
;
8478 bool temp2
= False
;
8479 PyObject
* obj0
= 0 ;
8480 PyObject
* obj1
= 0 ;
8481 PyObject
* obj2
= 0 ;
8482 PyObject
* obj3
= 0 ;
8484 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8491 arg2
= wxString_in_helper(obj1
);
8492 if (arg2
== NULL
) SWIG_fail
;
8496 arg3
= (int) SWIG_AsInt(obj2
);
8497 if (PyErr_Occurred()) SWIG_fail
;
8500 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
8501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8505 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8507 wxPyEndAllowThreads(__tstate
);
8508 if (PyErr_Occurred()) SWIG_fail
;
8510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
8525 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8526 PyObject
*resultobj
;
8527 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8530 PyObject
* obj0
= 0 ;
8531 PyObject
* obj1
= 0 ;
8533 (char *) "self",(char *) "rectBound", NULL
8536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8541 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8545 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
8547 wxPyEndAllowThreads(__tstate
);
8548 if (PyErr_Occurred()) SWIG_fail
;
8550 Py_INCREF(Py_None
); resultobj
= Py_None
;
8557 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8558 PyObject
*resultobj
;
8559 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8560 PyObject
* obj0
= 0 ;
8562 (char *) "self", NULL
8565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
8566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8572 wxPyEndAllowThreads(__tstate
);
8573 if (PyErr_Occurred()) SWIG_fail
;
8575 Py_INCREF(Py_None
); resultobj
= Py_None
;
8582 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
8584 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8585 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
8587 return Py_BuildValue((char *)"");
8589 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8590 PyObject
*resultobj
;
8591 wxWindow
*arg1
= (wxWindow
*) 0 ;
8592 int arg2
= (int) wxID_ANY
;
8593 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8594 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8595 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8596 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8597 long arg5
= (long) 0 ;
8598 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8599 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8600 wxPyVScrolledWindow
*result
;
8603 bool temp6
= False
;
8604 PyObject
* obj0
= 0 ;
8605 PyObject
* obj1
= 0 ;
8606 PyObject
* obj2
= 0 ;
8607 PyObject
* obj3
= 0 ;
8608 PyObject
* obj4
= 0 ;
8609 PyObject
* obj5
= 0 ;
8611 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8618 arg2
= (int) SWIG_AsInt(obj1
);
8619 if (PyErr_Occurred()) SWIG_fail
;
8624 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8630 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8634 arg5
= (long) SWIG_AsLong(obj4
);
8635 if (PyErr_Occurred()) SWIG_fail
;
8639 arg6
= wxString_in_helper(obj5
);
8640 if (arg6
== NULL
) SWIG_fail
;
8645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8646 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8648 wxPyEndAllowThreads(__tstate
);
8649 if (PyErr_Occurred()) SWIG_fail
;
8651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8666 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8667 PyObject
*resultobj
;
8668 wxPyVScrolledWindow
*result
;
8673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
8675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8676 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
8678 wxPyEndAllowThreads(__tstate
);
8679 if (PyErr_Occurred()) SWIG_fail
;
8681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8688 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8689 PyObject
*resultobj
;
8690 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8691 PyObject
*arg2
= (PyObject
*) 0 ;
8692 PyObject
*arg3
= (PyObject
*) 0 ;
8693 PyObject
* obj0
= 0 ;
8694 PyObject
* obj1
= 0 ;
8695 PyObject
* obj2
= 0 ;
8697 (char *) "self",(char *) "self",(char *) "_class", NULL
8700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8707 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8709 wxPyEndAllowThreads(__tstate
);
8710 if (PyErr_Occurred()) SWIG_fail
;
8712 Py_INCREF(Py_None
); resultobj
= Py_None
;
8719 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8720 PyObject
*resultobj
;
8721 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8722 wxWindow
*arg2
= (wxWindow
*) 0 ;
8723 int arg3
= (int) wxID_ANY
;
8724 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8725 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8726 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8727 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8728 long arg6
= (long) 0 ;
8729 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
8730 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8734 bool temp7
= False
;
8735 PyObject
* obj0
= 0 ;
8736 PyObject
* obj1
= 0 ;
8737 PyObject
* obj2
= 0 ;
8738 PyObject
* obj3
= 0 ;
8739 PyObject
* obj4
= 0 ;
8740 PyObject
* obj5
= 0 ;
8741 PyObject
* obj6
= 0 ;
8743 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8749 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8752 arg3
= (int) SWIG_AsInt(obj2
);
8753 if (PyErr_Occurred()) SWIG_fail
;
8758 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8764 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8768 arg6
= (long) SWIG_AsLong(obj5
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8773 arg7
= wxString_in_helper(obj6
);
8774 if (arg7
== NULL
) SWIG_fail
;
8779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8780 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8782 wxPyEndAllowThreads(__tstate
);
8783 if (PyErr_Occurred()) SWIG_fail
;
8786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8802 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8803 PyObject
*resultobj
;
8804 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8806 PyObject
* obj0
= 0 ;
8807 PyObject
* obj1
= 0 ;
8809 (char *) "self",(char *) "count", NULL
8812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8815 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8816 if (PyErr_Occurred()) SWIG_fail
;
8818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8819 (arg1
)->SetLineCount(arg2
);
8821 wxPyEndAllowThreads(__tstate
);
8822 if (PyErr_Occurred()) SWIG_fail
;
8824 Py_INCREF(Py_None
); resultobj
= Py_None
;
8831 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8832 PyObject
*resultobj
;
8833 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8836 PyObject
* obj0
= 0 ;
8837 PyObject
* obj1
= 0 ;
8839 (char *) "self",(char *) "line", NULL
8842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8845 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8846 if (PyErr_Occurred()) SWIG_fail
;
8848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8849 result
= (bool)(arg1
)->ScrollToLine(arg2
);
8851 wxPyEndAllowThreads(__tstate
);
8852 if (PyErr_Occurred()) SWIG_fail
;
8855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8863 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8864 PyObject
*resultobj
;
8865 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8868 PyObject
* obj0
= 0 ;
8869 PyObject
* obj1
= 0 ;
8871 (char *) "self",(char *) "lines", NULL
8874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
8875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8877 arg2
= (int) SWIG_AsInt(obj1
);
8878 if (PyErr_Occurred()) SWIG_fail
;
8880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8881 result
= (bool)(arg1
)->ScrollLines(arg2
);
8883 wxPyEndAllowThreads(__tstate
);
8884 if (PyErr_Occurred()) SWIG_fail
;
8887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8895 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8896 PyObject
*resultobj
;
8897 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8900 PyObject
* obj0
= 0 ;
8901 PyObject
* obj1
= 0 ;
8903 (char *) "self",(char *) "pages", NULL
8906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
8907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8909 arg2
= (int) SWIG_AsInt(obj1
);
8910 if (PyErr_Occurred()) SWIG_fail
;
8912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8913 result
= (bool)(arg1
)->ScrollPages(arg2
);
8915 wxPyEndAllowThreads(__tstate
);
8916 if (PyErr_Occurred()) SWIG_fail
;
8919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8927 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8928 PyObject
*resultobj
;
8929 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8931 PyObject
* obj0
= 0 ;
8932 PyObject
* obj1
= 0 ;
8934 (char *) "self",(char *) "line", NULL
8937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8940 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8941 if (PyErr_Occurred()) SWIG_fail
;
8943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8944 (arg1
)->RefreshLine(arg2
);
8946 wxPyEndAllowThreads(__tstate
);
8947 if (PyErr_Occurred()) SWIG_fail
;
8949 Py_INCREF(Py_None
); resultobj
= Py_None
;
8956 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8957 PyObject
*resultobj
;
8958 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8961 PyObject
* obj0
= 0 ;
8962 PyObject
* obj1
= 0 ;
8963 PyObject
* obj2
= 0 ;
8965 (char *) "self",(char *) "from",(char *) "to", NULL
8968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8971 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8972 if (PyErr_Occurred()) SWIG_fail
;
8973 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
8974 if (PyErr_Occurred()) SWIG_fail
;
8976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8977 (arg1
)->RefreshLines(arg2
,arg3
);
8979 wxPyEndAllowThreads(__tstate
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8982 Py_INCREF(Py_None
); resultobj
= Py_None
;
8989 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8990 PyObject
*resultobj
;
8991 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8995 PyObject
* obj0
= 0 ;
8996 PyObject
* obj1
= 0 ;
8997 PyObject
* obj2
= 0 ;
8999 (char *) "self",(char *) "x",(char *) "y", NULL
9002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9005 arg2
= (int) SWIG_AsInt(obj1
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9007 arg3
= (int) SWIG_AsInt(obj2
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9011 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9013 wxPyEndAllowThreads(__tstate
);
9014 if (PyErr_Occurred()) SWIG_fail
;
9016 resultobj
= SWIG_FromInt((int)result
);
9023 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9024 PyObject
*resultobj
;
9025 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9029 PyObject
* obj0
= 0 ;
9030 PyObject
* obj1
= 0 ;
9032 (char *) "self",(char *) "pt", NULL
9035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9040 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9044 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9046 wxPyEndAllowThreads(__tstate
);
9047 if (PyErr_Occurred()) SWIG_fail
;
9049 resultobj
= SWIG_FromInt((int)result
);
9056 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9057 PyObject
*resultobj
;
9058 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9059 PyObject
* obj0
= 0 ;
9061 (char *) "self", NULL
9064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9069 (arg1
)->RefreshAll();
9071 wxPyEndAllowThreads(__tstate
);
9072 if (PyErr_Occurred()) SWIG_fail
;
9074 Py_INCREF(Py_None
); resultobj
= Py_None
;
9081 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9082 PyObject
*resultobj
;
9083 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9085 PyObject
* obj0
= 0 ;
9087 (char *) "self", NULL
9090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9095 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9097 wxPyEndAllowThreads(__tstate
);
9098 if (PyErr_Occurred()) SWIG_fail
;
9100 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9107 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9108 PyObject
*resultobj
;
9109 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9111 PyObject
* obj0
= 0 ;
9113 (char *) "self", NULL
9116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9121 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9123 wxPyEndAllowThreads(__tstate
);
9124 if (PyErr_Occurred()) SWIG_fail
;
9126 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9133 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9134 PyObject
*resultobj
;
9135 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9137 PyObject
* obj0
= 0 ;
9139 (char *) "self", NULL
9142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9147 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9149 wxPyEndAllowThreads(__tstate
);
9150 if (PyErr_Occurred()) SWIG_fail
;
9152 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9159 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9160 PyObject
*resultobj
;
9161 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9164 PyObject
* obj0
= 0 ;
9165 PyObject
* obj1
= 0 ;
9167 (char *) "self",(char *) "line", NULL
9170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9173 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9177 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9179 wxPyEndAllowThreads(__tstate
);
9180 if (PyErr_Occurred()) SWIG_fail
;
9183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9191 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
9193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9194 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9196 return Py_BuildValue((char *)"");
9198 static int _wrap_VListBoxNameStr_set(PyObject
*) {
9199 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9204 static PyObject
*_wrap_VListBoxNameStr_get() {
9209 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9211 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9218 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9219 PyObject
*resultobj
;
9220 wxWindow
*arg1
= (wxWindow
*) 0 ;
9221 int arg2
= (int) wxID_ANY
;
9222 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9223 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9224 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9225 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9226 long arg5
= (long) 0 ;
9227 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9228 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9229 wxPyVListBox
*result
;
9232 bool temp6
= False
;
9233 PyObject
* obj0
= 0 ;
9234 PyObject
* obj1
= 0 ;
9235 PyObject
* obj2
= 0 ;
9236 PyObject
* obj3
= 0 ;
9237 PyObject
* obj4
= 0 ;
9238 PyObject
* obj5
= 0 ;
9240 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9247 arg2
= (int) SWIG_AsInt(obj1
);
9248 if (PyErr_Occurred()) SWIG_fail
;
9253 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9259 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9263 arg5
= (long) SWIG_AsLong(obj4
);
9264 if (PyErr_Occurred()) SWIG_fail
;
9268 arg6
= wxString_in_helper(obj5
);
9269 if (arg6
== NULL
) SWIG_fail
;
9274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9275 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9277 wxPyEndAllowThreads(__tstate
);
9278 if (PyErr_Occurred()) SWIG_fail
;
9280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9295 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9296 PyObject
*resultobj
;
9297 wxPyVListBox
*result
;
9302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9305 result
= (wxPyVListBox
*)new wxPyVListBox();
9307 wxPyEndAllowThreads(__tstate
);
9308 if (PyErr_Occurred()) SWIG_fail
;
9310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9317 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9318 PyObject
*resultobj
;
9319 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9320 PyObject
*arg2
= (PyObject
*) 0 ;
9321 PyObject
*arg3
= (PyObject
*) 0 ;
9322 PyObject
* obj0
= 0 ;
9323 PyObject
* obj1
= 0 ;
9324 PyObject
* obj2
= 0 ;
9326 (char *) "self",(char *) "self",(char *) "_class", NULL
9329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9336 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9338 wxPyEndAllowThreads(__tstate
);
9339 if (PyErr_Occurred()) SWIG_fail
;
9341 Py_INCREF(Py_None
); resultobj
= Py_None
;
9348 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9349 PyObject
*resultobj
;
9350 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9351 wxWindow
*arg2
= (wxWindow
*) 0 ;
9352 int arg3
= (int) wxID_ANY
;
9353 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9354 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9355 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9356 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9357 long arg6
= (long) 0 ;
9358 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9359 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9363 bool temp7
= False
;
9364 PyObject
* obj0
= 0 ;
9365 PyObject
* obj1
= 0 ;
9366 PyObject
* obj2
= 0 ;
9367 PyObject
* obj3
= 0 ;
9368 PyObject
* obj4
= 0 ;
9369 PyObject
* obj5
= 0 ;
9370 PyObject
* obj6
= 0 ;
9372 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9378 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9381 arg3
= (int) SWIG_AsInt(obj2
);
9382 if (PyErr_Occurred()) SWIG_fail
;
9387 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9393 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9397 arg6
= (long) SWIG_AsLong(obj5
);
9398 if (PyErr_Occurred()) SWIG_fail
;
9402 arg7
= wxString_in_helper(obj6
);
9403 if (arg7
== NULL
) SWIG_fail
;
9408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9409 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9411 wxPyEndAllowThreads(__tstate
);
9412 if (PyErr_Occurred()) SWIG_fail
;
9415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9431 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9432 PyObject
*resultobj
;
9433 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9435 PyObject
* obj0
= 0 ;
9437 (char *) "self", NULL
9440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9445 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9447 wxPyEndAllowThreads(__tstate
);
9448 if (PyErr_Occurred()) SWIG_fail
;
9450 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9457 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9458 PyObject
*resultobj
;
9459 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9461 PyObject
* obj0
= 0 ;
9463 (char *) "self", NULL
9466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9471 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9473 wxPyEndAllowThreads(__tstate
);
9474 if (PyErr_Occurred()) SWIG_fail
;
9477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9485 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9486 PyObject
*resultobj
;
9487 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9489 PyObject
* obj0
= 0 ;
9491 (char *) "self", NULL
9494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9499 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9501 wxPyEndAllowThreads(__tstate
);
9502 if (PyErr_Occurred()) SWIG_fail
;
9504 resultobj
= SWIG_FromInt((int)result
);
9511 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9512 PyObject
*resultobj
;
9513 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9516 PyObject
* obj0
= 0 ;
9517 PyObject
* obj1
= 0 ;
9519 (char *) "self",(char *) "item", NULL
9522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9525 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9529 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9531 wxPyEndAllowThreads(__tstate
);
9532 if (PyErr_Occurred()) SWIG_fail
;
9535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9543 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9544 PyObject
*resultobj
;
9545 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9548 PyObject
* obj0
= 0 ;
9549 PyObject
* obj1
= 0 ;
9551 (char *) "self",(char *) "item", NULL
9554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9557 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9558 if (PyErr_Occurred()) SWIG_fail
;
9560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9561 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
9563 wxPyEndAllowThreads(__tstate
);
9564 if (PyErr_Occurred()) SWIG_fail
;
9567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9575 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9576 PyObject
*resultobj
;
9577 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9579 PyObject
* obj0
= 0 ;
9581 (char *) "self", NULL
9584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
9585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9589 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
9591 wxPyEndAllowThreads(__tstate
);
9592 if (PyErr_Occurred()) SWIG_fail
;
9594 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9601 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9602 PyObject
*resultobj
;
9603 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9604 unsigned long *arg2
= 0 ;
9606 PyObject
* obj0
= 0 ;
9607 PyObject
* obj1
= 0 ;
9609 (char *) "self",(char *) "cookie", NULL
9612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9616 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9619 PyErr_SetString(PyExc_TypeError
,"null reference");
9623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9624 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
9626 wxPyEndAllowThreads(__tstate
);
9627 if (PyErr_Occurred()) SWIG_fail
;
9629 resultobj
= SWIG_FromInt((int)result
);
9636 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9637 PyObject
*resultobj
;
9638 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9639 unsigned long *arg2
= 0 ;
9641 PyObject
* obj0
= 0 ;
9642 PyObject
* obj1
= 0 ;
9644 (char *) "self",(char *) "cookie", NULL
9647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9650 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9651 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9654 PyErr_SetString(PyExc_TypeError
,"null reference");
9658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9659 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
9661 wxPyEndAllowThreads(__tstate
);
9662 if (PyErr_Occurred()) SWIG_fail
;
9664 resultobj
= SWIG_FromInt((int)result
);
9671 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9672 PyObject
*resultobj
;
9673 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9675 PyObject
* obj0
= 0 ;
9677 (char *) "self", NULL
9680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
9681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9685 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
9687 wxPyEndAllowThreads(__tstate
);
9688 if (PyErr_Occurred()) SWIG_fail
;
9691 wxPoint
* resultptr
;
9692 resultptr
= new wxPoint((wxPoint
&) result
);
9693 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9701 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9702 PyObject
*resultobj
;
9703 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9705 PyObject
* obj0
= 0 ;
9707 (char *) "self", NULL
9710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
9711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9716 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
9717 result
= (wxColour
*) &_result_ref
;
9720 wxPyEndAllowThreads(__tstate
);
9721 if (PyErr_Occurred()) SWIG_fail
;
9723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9730 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9731 PyObject
*resultobj
;
9732 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9734 PyObject
* obj0
= 0 ;
9735 PyObject
* obj1
= 0 ;
9737 (char *) "self",(char *) "count", NULL
9740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9743 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9744 if (PyErr_Occurred()) SWIG_fail
;
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 (arg1
)->SetItemCount(arg2
);
9749 wxPyEndAllowThreads(__tstate
);
9750 if (PyErr_Occurred()) SWIG_fail
;
9752 Py_INCREF(Py_None
); resultobj
= Py_None
;
9759 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9760 PyObject
*resultobj
;
9761 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9762 PyObject
* obj0
= 0 ;
9764 (char *) "self", NULL
9767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
9768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9774 wxPyEndAllowThreads(__tstate
);
9775 if (PyErr_Occurred()) SWIG_fail
;
9777 Py_INCREF(Py_None
); resultobj
= Py_None
;
9784 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9785 PyObject
*resultobj
;
9786 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9788 PyObject
* obj0
= 0 ;
9789 PyObject
* obj1
= 0 ;
9791 (char *) "self",(char *) "selection", NULL
9794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9797 arg2
= (int) SWIG_AsInt(obj1
);
9798 if (PyErr_Occurred()) SWIG_fail
;
9800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9801 (arg1
)->SetSelection(arg2
);
9803 wxPyEndAllowThreads(__tstate
);
9804 if (PyErr_Occurred()) SWIG_fail
;
9806 Py_INCREF(Py_None
); resultobj
= Py_None
;
9813 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9814 PyObject
*resultobj
;
9815 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9817 bool arg3
= (bool) True
;
9819 PyObject
* obj0
= 0 ;
9820 PyObject
* obj1
= 0 ;
9821 PyObject
* obj2
= 0 ;
9823 (char *) "self",(char *) "item",(char *) "select", NULL
9826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9829 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9830 if (PyErr_Occurred()) SWIG_fail
;
9832 arg3
= (bool) SWIG_AsBool(obj2
);
9833 if (PyErr_Occurred()) SWIG_fail
;
9836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9837 result
= (bool)(arg1
)->Select(arg2
,arg3
);
9839 wxPyEndAllowThreads(__tstate
);
9840 if (PyErr_Occurred()) SWIG_fail
;
9843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9851 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9852 PyObject
*resultobj
;
9853 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9857 PyObject
* obj0
= 0 ;
9858 PyObject
* obj1
= 0 ;
9859 PyObject
* obj2
= 0 ;
9861 (char *) "self",(char *) "from",(char *) "to", NULL
9864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9867 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9868 if (PyErr_Occurred()) SWIG_fail
;
9869 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9870 if (PyErr_Occurred()) SWIG_fail
;
9872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9873 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
9875 wxPyEndAllowThreads(__tstate
);
9876 if (PyErr_Occurred()) SWIG_fail
;
9879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9887 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9888 PyObject
*resultobj
;
9889 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9891 PyObject
* obj0
= 0 ;
9892 PyObject
* obj1
= 0 ;
9894 (char *) "self",(char *) "item", NULL
9897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
9898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9900 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9901 if (PyErr_Occurred()) SWIG_fail
;
9903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9904 (arg1
)->Toggle(arg2
);
9906 wxPyEndAllowThreads(__tstate
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9909 Py_INCREF(Py_None
); resultobj
= Py_None
;
9916 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9917 PyObject
*resultobj
;
9918 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9920 PyObject
* obj0
= 0 ;
9922 (char *) "self", NULL
9925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
9926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9930 result
= (bool)(arg1
)->SelectAll();
9932 wxPyEndAllowThreads(__tstate
);
9933 if (PyErr_Occurred()) SWIG_fail
;
9936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9944 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9945 PyObject
*resultobj
;
9946 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9948 PyObject
* obj0
= 0 ;
9950 (char *) "self", NULL
9953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
9954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9958 result
= (bool)(arg1
)->DeselectAll();
9960 wxPyEndAllowThreads(__tstate
);
9961 if (PyErr_Occurred()) SWIG_fail
;
9964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9972 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9973 PyObject
*resultobj
;
9974 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9977 PyObject
* obj0
= 0 ;
9978 PyObject
* obj1
= 0 ;
9980 (char *) "self",(char *) "pt", NULL
9983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
9984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9988 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9992 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
9994 wxPyEndAllowThreads(__tstate
);
9995 if (PyErr_Occurred()) SWIG_fail
;
9997 Py_INCREF(Py_None
); resultobj
= Py_None
;
10004 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10005 PyObject
*resultobj
;
10006 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10009 PyObject
* obj0
= 0 ;
10010 PyObject
* obj1
= 0 ;
10011 PyObject
* obj2
= 0 ;
10012 char *kwnames
[] = {
10013 (char *) "self",(char *) "x",(char *) "y", NULL
10016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10019 arg2
= (int) SWIG_AsInt(obj1
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10021 arg3
= (int) SWIG_AsInt(obj2
);
10022 if (PyErr_Occurred()) SWIG_fail
;
10024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10025 (arg1
)->SetMargins(arg2
,arg3
);
10027 wxPyEndAllowThreads(__tstate
);
10028 if (PyErr_Occurred()) SWIG_fail
;
10030 Py_INCREF(Py_None
); resultobj
= Py_None
;
10037 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10038 PyObject
*resultobj
;
10039 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10040 wxColour
*arg2
= 0 ;
10042 PyObject
* obj0
= 0 ;
10043 PyObject
* obj1
= 0 ;
10044 char *kwnames
[] = {
10045 (char *) "self",(char *) "col", NULL
10048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10053 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10057 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10059 wxPyEndAllowThreads(__tstate
);
10060 if (PyErr_Occurred()) SWIG_fail
;
10062 Py_INCREF(Py_None
); resultobj
= Py_None
;
10069 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
10071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10072 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10074 return Py_BuildValue((char *)"");
10076 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10077 PyObject
*resultobj
;
10078 wxWindow
*arg1
= (wxWindow
*) 0 ;
10079 int arg2
= (int) wxID_ANY
;
10080 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10081 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10082 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10083 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10084 long arg5
= (long) 0 ;
10085 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10086 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10087 wxPyHtmlListBox
*result
;
10090 bool temp6
= False
;
10091 PyObject
* obj0
= 0 ;
10092 PyObject
* obj1
= 0 ;
10093 PyObject
* obj2
= 0 ;
10094 PyObject
* obj3
= 0 ;
10095 PyObject
* obj4
= 0 ;
10096 PyObject
* obj5
= 0 ;
10097 char *kwnames
[] = {
10098 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10105 arg2
= (int) SWIG_AsInt(obj1
);
10106 if (PyErr_Occurred()) SWIG_fail
;
10111 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10117 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10121 arg5
= (long) SWIG_AsLong(obj4
);
10122 if (PyErr_Occurred()) SWIG_fail
;
10126 arg6
= wxString_in_helper(obj5
);
10127 if (arg6
== NULL
) SWIG_fail
;
10132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10133 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10135 wxPyEndAllowThreads(__tstate
);
10136 if (PyErr_Occurred()) SWIG_fail
;
10138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10153 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10154 PyObject
*resultobj
;
10155 wxPyHtmlListBox
*result
;
10156 char *kwnames
[] = {
10160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10163 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10165 wxPyEndAllowThreads(__tstate
);
10166 if (PyErr_Occurred()) SWIG_fail
;
10168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10175 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10176 PyObject
*resultobj
;
10177 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10178 PyObject
*arg2
= (PyObject
*) 0 ;
10179 PyObject
*arg3
= (PyObject
*) 0 ;
10180 PyObject
* obj0
= 0 ;
10181 PyObject
* obj1
= 0 ;
10182 PyObject
* obj2
= 0 ;
10183 char *kwnames
[] = {
10184 (char *) "self",(char *) "self",(char *) "_class", NULL
10187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10194 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10196 wxPyEndAllowThreads(__tstate
);
10197 if (PyErr_Occurred()) SWIG_fail
;
10199 Py_INCREF(Py_None
); resultobj
= Py_None
;
10206 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10207 PyObject
*resultobj
;
10208 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10209 wxWindow
*arg2
= (wxWindow
*) 0 ;
10210 int arg3
= (int) wxID_ANY
;
10211 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10212 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10213 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10214 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10215 long arg6
= (long) 0 ;
10216 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10217 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10221 bool temp7
= False
;
10222 PyObject
* obj0
= 0 ;
10223 PyObject
* obj1
= 0 ;
10224 PyObject
* obj2
= 0 ;
10225 PyObject
* obj3
= 0 ;
10226 PyObject
* obj4
= 0 ;
10227 PyObject
* obj5
= 0 ;
10228 PyObject
* obj6
= 0 ;
10229 char *kwnames
[] = {
10230 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10236 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10239 arg3
= (int) SWIG_AsInt(obj2
);
10240 if (PyErr_Occurred()) SWIG_fail
;
10245 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10251 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10255 arg6
= (long) SWIG_AsLong(obj5
);
10256 if (PyErr_Occurred()) SWIG_fail
;
10260 arg7
= wxString_in_helper(obj6
);
10261 if (arg7
== NULL
) SWIG_fail
;
10266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10267 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10269 wxPyEndAllowThreads(__tstate
);
10270 if (PyErr_Occurred()) SWIG_fail
;
10273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10289 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10290 PyObject
*resultobj
;
10291 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10292 PyObject
* obj0
= 0 ;
10293 char *kwnames
[] = {
10294 (char *) "self", NULL
10297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10302 (arg1
)->RefreshAll();
10304 wxPyEndAllowThreads(__tstate
);
10305 if (PyErr_Occurred()) SWIG_fail
;
10307 Py_INCREF(Py_None
); resultobj
= Py_None
;
10314 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10315 PyObject
*resultobj
;
10316 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10318 PyObject
* obj0
= 0 ;
10319 PyObject
* obj1
= 0 ;
10320 char *kwnames
[] = {
10321 (char *) "self",(char *) "count", NULL
10324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10327 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10328 if (PyErr_Occurred()) SWIG_fail
;
10330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10331 (arg1
)->SetItemCount(arg2
);
10333 wxPyEndAllowThreads(__tstate
);
10334 if (PyErr_Occurred()) SWIG_fail
;
10336 Py_INCREF(Py_None
); resultobj
= Py_None
;
10343 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
10345 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10346 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10348 return Py_BuildValue((char *)"");
10350 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
;
10352 wxTaskBarIcon
*result
;
10353 char *kwnames
[] = {
10357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10360 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10362 wxPyEndAllowThreads(__tstate
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10372 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10373 PyObject
*resultobj
;
10374 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10375 PyObject
* obj0
= 0 ;
10376 char *kwnames
[] = {
10377 (char *) "self", NULL
10380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10387 wxPyEndAllowThreads(__tstate
);
10388 if (PyErr_Occurred()) SWIG_fail
;
10390 Py_INCREF(Py_None
); resultobj
= Py_None
;
10397 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
10399 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10400 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
10402 return Py_BuildValue((char *)"");
10404 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10405 PyObject
*resultobj
;
10407 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
10408 wxTaskBarIconEvent
*result
;
10409 PyObject
* obj0
= 0 ;
10410 PyObject
* obj1
= 0 ;
10411 char *kwnames
[] = {
10412 (char *) "evtType",(char *) "tbIcon", NULL
10415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10416 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10417 if (PyErr_Occurred()) SWIG_fail
;
10418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
10419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10422 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
10424 wxPyEndAllowThreads(__tstate
);
10425 if (PyErr_Occurred()) SWIG_fail
;
10427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
10434 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
10436 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10437 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
10439 return Py_BuildValue((char *)"");
10441 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
10442 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
10447 static PyObject
*_wrap_FileSelectorPromptStr_get() {
10452 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10454 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10461 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
10462 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
10467 static PyObject
*_wrap_DirSelectorPromptStr_get() {
10472 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10474 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10481 static int _wrap_DirDialogNameStr_set(PyObject
*) {
10482 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
10487 static PyObject
*_wrap_DirDialogNameStr_get() {
10492 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10494 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10501 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
10502 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
10507 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
10512 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10514 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10521 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
10522 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
10527 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
10532 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10534 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10541 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
10542 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
10547 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
10552 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10554 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10561 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10562 PyObject
*resultobj
;
10563 wxColourData
*result
;
10564 char *kwnames
[] = {
10568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
10570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10571 result
= (wxColourData
*)new wxColourData();
10573 wxPyEndAllowThreads(__tstate
);
10574 if (PyErr_Occurred()) SWIG_fail
;
10576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
10583 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10584 PyObject
*resultobj
;
10585 wxColourData
*arg1
= (wxColourData
*) 0 ;
10586 PyObject
* obj0
= 0 ;
10587 char *kwnames
[] = {
10588 (char *) "self", NULL
10591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
10592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10598 wxPyEndAllowThreads(__tstate
);
10599 if (PyErr_Occurred()) SWIG_fail
;
10601 Py_INCREF(Py_None
); resultobj
= Py_None
;
10608 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10609 PyObject
*resultobj
;
10610 wxColourData
*arg1
= (wxColourData
*) 0 ;
10612 PyObject
* obj0
= 0 ;
10613 char *kwnames
[] = {
10614 (char *) "self", NULL
10617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
10618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10622 result
= (bool)(arg1
)->GetChooseFull();
10624 wxPyEndAllowThreads(__tstate
);
10625 if (PyErr_Occurred()) SWIG_fail
;
10628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10636 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10637 PyObject
*resultobj
;
10638 wxColourData
*arg1
= (wxColourData
*) 0 ;
10640 PyObject
* obj0
= 0 ;
10641 char *kwnames
[] = {
10642 (char *) "self", NULL
10645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
10646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10650 result
= (arg1
)->GetColour();
10652 wxPyEndAllowThreads(__tstate
);
10653 if (PyErr_Occurred()) SWIG_fail
;
10656 wxColour
* resultptr
;
10657 resultptr
= new wxColour((wxColour
&) result
);
10658 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10666 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10667 PyObject
*resultobj
;
10668 wxColourData
*arg1
= (wxColourData
*) 0 ;
10671 PyObject
* obj0
= 0 ;
10672 PyObject
* obj1
= 0 ;
10673 char *kwnames
[] = {
10674 (char *) "self",(char *) "i", NULL
10677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10680 arg2
= (int) SWIG_AsInt(obj1
);
10681 if (PyErr_Occurred()) SWIG_fail
;
10683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10684 result
= (arg1
)->GetCustomColour(arg2
);
10686 wxPyEndAllowThreads(__tstate
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10690 wxColour
* resultptr
;
10691 resultptr
= new wxColour((wxColour
&) result
);
10692 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10700 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10701 PyObject
*resultobj
;
10702 wxColourData
*arg1
= (wxColourData
*) 0 ;
10704 PyObject
* obj0
= 0 ;
10705 PyObject
* obj1
= 0 ;
10706 char *kwnames
[] = {
10707 (char *) "self",(char *) "flag", NULL
10710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
10711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10713 arg2
= (int) SWIG_AsInt(obj1
);
10714 if (PyErr_Occurred()) SWIG_fail
;
10716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10717 (arg1
)->SetChooseFull(arg2
);
10719 wxPyEndAllowThreads(__tstate
);
10720 if (PyErr_Occurred()) SWIG_fail
;
10722 Py_INCREF(Py_None
); resultobj
= Py_None
;
10729 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10730 PyObject
*resultobj
;
10731 wxColourData
*arg1
= (wxColourData
*) 0 ;
10732 wxColour
*arg2
= 0 ;
10734 PyObject
* obj0
= 0 ;
10735 PyObject
* obj1
= 0 ;
10736 char *kwnames
[] = {
10737 (char *) "self",(char *) "colour", NULL
10740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10745 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10749 (arg1
)->SetColour((wxColour
const &)*arg2
);
10751 wxPyEndAllowThreads(__tstate
);
10752 if (PyErr_Occurred()) SWIG_fail
;
10754 Py_INCREF(Py_None
); resultobj
= Py_None
;
10761 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10762 PyObject
*resultobj
;
10763 wxColourData
*arg1
= (wxColourData
*) 0 ;
10765 wxColour
*arg3
= 0 ;
10767 PyObject
* obj0
= 0 ;
10768 PyObject
* obj1
= 0 ;
10769 PyObject
* obj2
= 0 ;
10770 char *kwnames
[] = {
10771 (char *) "self",(char *) "i",(char *) "colour", NULL
10774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10777 arg2
= (int) SWIG_AsInt(obj1
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10781 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
10787 wxPyEndAllowThreads(__tstate
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10790 Py_INCREF(Py_None
); resultobj
= Py_None
;
10797 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
10799 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10800 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
10802 return Py_BuildValue((char *)"");
10804 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10805 PyObject
*resultobj
;
10806 wxWindow
*arg1
= (wxWindow
*) 0 ;
10807 wxColourData
*arg2
= (wxColourData
*) NULL
;
10808 wxColourDialog
*result
;
10809 PyObject
* obj0
= 0 ;
10810 PyObject
* obj1
= 0 ;
10811 char *kwnames
[] = {
10812 (char *) "parent",(char *) "data", NULL
10815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
10816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10819 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
10820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10824 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
10826 wxPyEndAllowThreads(__tstate
);
10827 if (PyErr_Occurred()) SWIG_fail
;
10829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
10836 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10837 PyObject
*resultobj
;
10838 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
10839 wxColourData
*result
;
10840 PyObject
* obj0
= 0 ;
10841 char *kwnames
[] = {
10842 (char *) "self", NULL
10845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
10846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
10847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10851 wxColourData
&_result_ref
= (arg1
)->GetColourData();
10852 result
= (wxColourData
*) &_result_ref
;
10855 wxPyEndAllowThreads(__tstate
);
10856 if (PyErr_Occurred()) SWIG_fail
;
10858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
10865 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
10867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10868 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
10870 return Py_BuildValue((char *)"");
10872 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10873 PyObject
*resultobj
;
10874 wxWindow
*arg1
= (wxWindow
*) 0 ;
10875 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
10876 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10877 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10878 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10879 long arg4
= (long) 0 ;
10880 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10881 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10882 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10883 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10884 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
10885 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10886 wxDirDialog
*result
;
10887 bool temp2
= False
;
10888 bool temp3
= False
;
10891 bool temp7
= False
;
10892 PyObject
* obj0
= 0 ;
10893 PyObject
* obj1
= 0 ;
10894 PyObject
* obj2
= 0 ;
10895 PyObject
* obj3
= 0 ;
10896 PyObject
* obj4
= 0 ;
10897 PyObject
* obj5
= 0 ;
10898 PyObject
* obj6
= 0 ;
10899 char *kwnames
[] = {
10900 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
10903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10908 arg2
= wxString_in_helper(obj1
);
10909 if (arg2
== NULL
) SWIG_fail
;
10915 arg3
= wxString_in_helper(obj2
);
10916 if (arg3
== NULL
) SWIG_fail
;
10921 arg4
= (long) SWIG_AsLong(obj3
);
10922 if (PyErr_Occurred()) SWIG_fail
;
10927 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10933 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10938 arg7
= wxString_in_helper(obj6
);
10939 if (arg7
== NULL
) SWIG_fail
;
10944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10945 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
10947 wxPyEndAllowThreads(__tstate
);
10948 if (PyErr_Occurred()) SWIG_fail
;
10950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
10981 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10982 PyObject
*resultobj
;
10983 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
10985 PyObject
* obj0
= 0 ;
10986 char *kwnames
[] = {
10987 (char *) "self", NULL
10990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
10991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
10992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10995 result
= (arg1
)->GetPath();
10997 wxPyEndAllowThreads(__tstate
);
10998 if (PyErr_Occurred()) SWIG_fail
;
11002 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11004 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11013 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11014 PyObject
*resultobj
;
11015 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11017 PyObject
* obj0
= 0 ;
11018 char *kwnames
[] = {
11019 (char *) "self", NULL
11022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11027 result
= (arg1
)->GetMessage();
11029 wxPyEndAllowThreads(__tstate
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11034 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11036 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11045 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11046 PyObject
*resultobj
;
11047 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11049 PyObject
* obj0
= 0 ;
11050 char *kwnames
[] = {
11051 (char *) "self", NULL
11054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11059 result
= (long)(arg1
)->GetStyle();
11061 wxPyEndAllowThreads(__tstate
);
11062 if (PyErr_Occurred()) SWIG_fail
;
11064 resultobj
= SWIG_FromLong((long)result
);
11071 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11072 PyObject
*resultobj
;
11073 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11074 wxString
*arg2
= 0 ;
11075 bool temp2
= False
;
11076 PyObject
* obj0
= 0 ;
11077 PyObject
* obj1
= 0 ;
11078 char *kwnames
[] = {
11079 (char *) "self",(char *) "message", NULL
11082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11086 arg2
= wxString_in_helper(obj1
);
11087 if (arg2
== NULL
) SWIG_fail
;
11091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11092 (arg1
)->SetMessage((wxString
const &)*arg2
);
11094 wxPyEndAllowThreads(__tstate
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11097 Py_INCREF(Py_None
); resultobj
= Py_None
;
11112 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11113 PyObject
*resultobj
;
11114 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11115 wxString
*arg2
= 0 ;
11116 bool temp2
= False
;
11117 PyObject
* obj0
= 0 ;
11118 PyObject
* obj1
= 0 ;
11119 char *kwnames
[] = {
11120 (char *) "self",(char *) "path", NULL
11123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11127 arg2
= wxString_in_helper(obj1
);
11128 if (arg2
== NULL
) SWIG_fail
;
11132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11133 (arg1
)->SetPath((wxString
const &)*arg2
);
11135 wxPyEndAllowThreads(__tstate
);
11136 if (PyErr_Occurred()) SWIG_fail
;
11138 Py_INCREF(Py_None
); resultobj
= Py_None
;
11153 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
11155 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11156 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11158 return Py_BuildValue((char *)"");
11160 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11161 PyObject
*resultobj
;
11162 wxWindow
*arg1
= (wxWindow
*) 0 ;
11163 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11164 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11165 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11166 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11167 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11168 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11169 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11170 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11171 long arg6
= (long) 0 ;
11172 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11173 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11174 wxFileDialog
*result
;
11175 bool temp2
= False
;
11176 bool temp3
= False
;
11177 bool temp4
= False
;
11178 bool temp5
= False
;
11180 PyObject
* obj0
= 0 ;
11181 PyObject
* obj1
= 0 ;
11182 PyObject
* obj2
= 0 ;
11183 PyObject
* obj3
= 0 ;
11184 PyObject
* obj4
= 0 ;
11185 PyObject
* obj5
= 0 ;
11186 PyObject
* obj6
= 0 ;
11187 char *kwnames
[] = {
11188 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11196 arg2
= wxString_in_helper(obj1
);
11197 if (arg2
== NULL
) SWIG_fail
;
11203 arg3
= wxString_in_helper(obj2
);
11204 if (arg3
== NULL
) SWIG_fail
;
11210 arg4
= wxString_in_helper(obj3
);
11211 if (arg4
== NULL
) SWIG_fail
;
11217 arg5
= wxString_in_helper(obj4
);
11218 if (arg5
== NULL
) SWIG_fail
;
11223 arg6
= (long) SWIG_AsLong(obj5
);
11224 if (PyErr_Occurred()) SWIG_fail
;
11229 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11234 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11236 wxPyEndAllowThreads(__tstate
);
11237 if (PyErr_Occurred()) SWIG_fail
;
11239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11278 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11279 PyObject
*resultobj
;
11280 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11281 wxString
*arg2
= 0 ;
11282 bool temp2
= False
;
11283 PyObject
* obj0
= 0 ;
11284 PyObject
* obj1
= 0 ;
11285 char *kwnames
[] = {
11286 (char *) "self",(char *) "message", NULL
11289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11293 arg2
= wxString_in_helper(obj1
);
11294 if (arg2
== NULL
) SWIG_fail
;
11298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11299 (arg1
)->SetMessage((wxString
const &)*arg2
);
11301 wxPyEndAllowThreads(__tstate
);
11302 if (PyErr_Occurred()) SWIG_fail
;
11304 Py_INCREF(Py_None
); resultobj
= Py_None
;
11319 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11320 PyObject
*resultobj
;
11321 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11322 wxString
*arg2
= 0 ;
11323 bool temp2
= False
;
11324 PyObject
* obj0
= 0 ;
11325 PyObject
* obj1
= 0 ;
11326 char *kwnames
[] = {
11327 (char *) "self",(char *) "path", NULL
11330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11334 arg2
= wxString_in_helper(obj1
);
11335 if (arg2
== NULL
) SWIG_fail
;
11339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11340 (arg1
)->SetPath((wxString
const &)*arg2
);
11342 wxPyEndAllowThreads(__tstate
);
11343 if (PyErr_Occurred()) SWIG_fail
;
11345 Py_INCREF(Py_None
); resultobj
= Py_None
;
11360 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11361 PyObject
*resultobj
;
11362 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11363 wxString
*arg2
= 0 ;
11364 bool temp2
= False
;
11365 PyObject
* obj0
= 0 ;
11366 PyObject
* obj1
= 0 ;
11367 char *kwnames
[] = {
11368 (char *) "self",(char *) "dir", NULL
11371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
11372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11375 arg2
= wxString_in_helper(obj1
);
11376 if (arg2
== NULL
) SWIG_fail
;
11380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11381 (arg1
)->SetDirectory((wxString
const &)*arg2
);
11383 wxPyEndAllowThreads(__tstate
);
11384 if (PyErr_Occurred()) SWIG_fail
;
11386 Py_INCREF(Py_None
); resultobj
= Py_None
;
11401 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11402 PyObject
*resultobj
;
11403 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11404 wxString
*arg2
= 0 ;
11405 bool temp2
= False
;
11406 PyObject
* obj0
= 0 ;
11407 PyObject
* obj1
= 0 ;
11408 char *kwnames
[] = {
11409 (char *) "self",(char *) "name", NULL
11412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11416 arg2
= wxString_in_helper(obj1
);
11417 if (arg2
== NULL
) SWIG_fail
;
11421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11422 (arg1
)->SetFilename((wxString
const &)*arg2
);
11424 wxPyEndAllowThreads(__tstate
);
11425 if (PyErr_Occurred()) SWIG_fail
;
11427 Py_INCREF(Py_None
); resultobj
= Py_None
;
11442 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11443 PyObject
*resultobj
;
11444 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11445 wxString
*arg2
= 0 ;
11446 bool temp2
= False
;
11447 PyObject
* obj0
= 0 ;
11448 PyObject
* obj1
= 0 ;
11449 char *kwnames
[] = {
11450 (char *) "self",(char *) "wildCard", NULL
11453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
11454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11457 arg2
= wxString_in_helper(obj1
);
11458 if (arg2
== NULL
) SWIG_fail
;
11462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11463 (arg1
)->SetWildcard((wxString
const &)*arg2
);
11465 wxPyEndAllowThreads(__tstate
);
11466 if (PyErr_Occurred()) SWIG_fail
;
11468 Py_INCREF(Py_None
); resultobj
= Py_None
;
11483 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11484 PyObject
*resultobj
;
11485 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11487 PyObject
* obj0
= 0 ;
11488 PyObject
* obj1
= 0 ;
11489 char *kwnames
[] = {
11490 (char *) "self",(char *) "style", NULL
11493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11496 arg2
= (long) SWIG_AsLong(obj1
);
11497 if (PyErr_Occurred()) SWIG_fail
;
11499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11500 (arg1
)->SetStyle(arg2
);
11502 wxPyEndAllowThreads(__tstate
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11505 Py_INCREF(Py_None
); resultobj
= Py_None
;
11512 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11513 PyObject
*resultobj
;
11514 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11516 PyObject
* obj0
= 0 ;
11517 PyObject
* obj1
= 0 ;
11518 char *kwnames
[] = {
11519 (char *) "self",(char *) "filterIndex", NULL
11522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
11523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11525 arg2
= (int) SWIG_AsInt(obj1
);
11526 if (PyErr_Occurred()) SWIG_fail
;
11528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11529 (arg1
)->SetFilterIndex(arg2
);
11531 wxPyEndAllowThreads(__tstate
);
11532 if (PyErr_Occurred()) SWIG_fail
;
11534 Py_INCREF(Py_None
); resultobj
= Py_None
;
11541 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11542 PyObject
*resultobj
;
11543 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11545 PyObject
* obj0
= 0 ;
11546 char *kwnames
[] = {
11547 (char *) "self", NULL
11550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11555 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
11557 wxPyEndAllowThreads(__tstate
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11562 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11564 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11573 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11574 PyObject
*resultobj
;
11575 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11577 PyObject
* obj0
= 0 ;
11578 char *kwnames
[] = {
11579 (char *) "self", NULL
11582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11587 result
= ((wxFileDialog
const *)arg1
)->GetPath();
11589 wxPyEndAllowThreads(__tstate
);
11590 if (PyErr_Occurred()) SWIG_fail
;
11594 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11596 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11605 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11606 PyObject
*resultobj
;
11607 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11609 PyObject
* obj0
= 0 ;
11610 char *kwnames
[] = {
11611 (char *) "self", NULL
11614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
11615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11619 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
11621 wxPyEndAllowThreads(__tstate
);
11622 if (PyErr_Occurred()) SWIG_fail
;
11626 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11628 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11637 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11638 PyObject
*resultobj
;
11639 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11641 PyObject
* obj0
= 0 ;
11642 char *kwnames
[] = {
11643 (char *) "self", NULL
11646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
11647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11651 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
11653 wxPyEndAllowThreads(__tstate
);
11654 if (PyErr_Occurred()) SWIG_fail
;
11658 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11660 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11669 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11670 PyObject
*resultobj
;
11671 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11673 PyObject
* obj0
= 0 ;
11674 char *kwnames
[] = {
11675 (char *) "self", NULL
11678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
11679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11683 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
11685 wxPyEndAllowThreads(__tstate
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11690 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11692 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11701 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11702 PyObject
*resultobj
;
11703 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11705 PyObject
* obj0
= 0 ;
11706 char *kwnames
[] = {
11707 (char *) "self", NULL
11710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11715 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
11717 wxPyEndAllowThreads(__tstate
);
11718 if (PyErr_Occurred()) SWIG_fail
;
11720 resultobj
= SWIG_FromLong((long)result
);
11727 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11728 PyObject
*resultobj
;
11729 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11731 PyObject
* obj0
= 0 ;
11732 char *kwnames
[] = {
11733 (char *) "self", NULL
11736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
11737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11741 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
11743 wxPyEndAllowThreads(__tstate
);
11744 if (PyErr_Occurred()) SWIG_fail
;
11746 resultobj
= SWIG_FromInt((int)result
);
11753 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11754 PyObject
*resultobj
;
11755 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11757 PyObject
* obj0
= 0 ;
11758 char *kwnames
[] = {
11759 (char *) "self", NULL
11762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
11763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11767 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
11769 wxPyEndAllowThreads(__tstate
);
11770 if (PyErr_Occurred()) SWIG_fail
;
11772 resultobj
= result
;
11779 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11780 PyObject
*resultobj
;
11781 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11783 PyObject
* obj0
= 0 ;
11784 char *kwnames
[] = {
11785 (char *) "self", NULL
11788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
11789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11793 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
11795 wxPyEndAllowThreads(__tstate
);
11796 if (PyErr_Occurred()) SWIG_fail
;
11798 resultobj
= result
;
11805 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
11807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11808 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
11810 return Py_BuildValue((char *)"");
11812 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11813 PyObject
*resultobj
;
11814 wxWindow
*arg1
= (wxWindow
*) 0 ;
11815 wxString
*arg2
= 0 ;
11816 wxString
*arg3
= 0 ;
11817 int arg4
= (int) 0 ;
11818 wxString
*arg5
= (wxString
*) 0 ;
11819 long arg6
= (long) wxCHOICEDLG_STYLE
;
11820 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11821 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11822 wxMultiChoiceDialog
*result
;
11823 bool temp2
= False
;
11824 bool temp3
= False
;
11826 PyObject
* obj0
= 0 ;
11827 PyObject
* obj1
= 0 ;
11828 PyObject
* obj2
= 0 ;
11829 PyObject
* obj3
= 0 ;
11830 PyObject
* obj4
= 0 ;
11831 PyObject
* obj5
= 0 ;
11832 char *kwnames
[] = {
11833 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11840 arg2
= wxString_in_helper(obj1
);
11841 if (arg2
== NULL
) SWIG_fail
;
11845 arg3
= wxString_in_helper(obj2
);
11846 if (arg3
== NULL
) SWIG_fail
;
11851 arg4
= PyList_Size(obj3
);
11852 arg5
= wxString_LIST_helper(obj3
);
11853 if (arg5
== NULL
) SWIG_fail
;
11857 arg6
= (long) SWIG_AsLong(obj4
);
11858 if (PyErr_Occurred()) SWIG_fail
;
11863 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
11867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11868 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
11870 wxPyEndAllowThreads(__tstate
);
11871 if (PyErr_Occurred()) SWIG_fail
;
11873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
11883 if (arg5
) delete [] arg5
;
11896 if (arg5
) delete [] arg5
;
11902 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11903 PyObject
*resultobj
;
11904 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
11905 wxArrayInt
*arg2
= 0 ;
11906 bool temp2
= False
;
11907 PyObject
* obj0
= 0 ;
11908 PyObject
* obj1
= 0 ;
11909 char *kwnames
[] = {
11910 (char *) "self",(char *) "selections", NULL
11913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
11914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
11915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11917 if (! PySequence_Check(obj1
)) {
11918 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
11921 arg2
= new wxArrayInt
;
11923 int i
, len
=PySequence_Length(obj1
);
11924 for (i
=0; i
<len
; i
++) {
11925 PyObject
* item
= PySequence_GetItem(obj1
, i
);
11926 PyObject
* number
= PyNumber_Int(item
);
11927 arg2
->Add(PyInt_AS_LONG(number
));
11933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11934 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
11936 wxPyEndAllowThreads(__tstate
);
11937 if (PyErr_Occurred()) SWIG_fail
;
11939 Py_INCREF(Py_None
); resultobj
= Py_None
;
11941 if (temp2
) delete arg2
;
11946 if (temp2
) delete arg2
;
11952 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11953 PyObject
*resultobj
;
11954 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
11956 PyObject
* obj0
= 0 ;
11957 char *kwnames
[] = {
11958 (char *) "self", NULL
11961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
11962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
11963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11966 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
11968 wxPyEndAllowThreads(__tstate
);
11969 if (PyErr_Occurred()) SWIG_fail
;
11971 resultobj
= result
;
11978 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
11980 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11981 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
11983 return Py_BuildValue((char *)"");
11985 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11986 PyObject
*resultobj
;
11987 wxWindow
*arg1
= (wxWindow
*) 0 ;
11988 wxString
*arg2
= 0 ;
11989 wxString
*arg3
= 0 ;
11991 wxString
*arg5
= (wxString
*) 0 ;
11992 long arg6
= (long) wxCHOICEDLG_STYLE
;
11993 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11994 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11995 wxSingleChoiceDialog
*result
;
11996 bool temp2
= False
;
11997 bool temp3
= False
;
11999 PyObject
* obj0
= 0 ;
12000 PyObject
* obj1
= 0 ;
12001 PyObject
* obj2
= 0 ;
12002 PyObject
* obj3
= 0 ;
12003 PyObject
* obj4
= 0 ;
12004 PyObject
* obj5
= 0 ;
12005 char *kwnames
[] = {
12006 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12013 arg2
= wxString_in_helper(obj1
);
12014 if (arg2
== NULL
) SWIG_fail
;
12018 arg3
= wxString_in_helper(obj2
);
12019 if (arg3
== NULL
) SWIG_fail
;
12023 arg4
= PyList_Size(obj3
);
12024 arg5
= wxString_LIST_helper(obj3
);
12025 if (arg5
== NULL
) SWIG_fail
;
12028 arg6
= (long) SWIG_AsLong(obj4
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12034 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12039 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12041 wxPyEndAllowThreads(__tstate
);
12042 if (PyErr_Occurred()) SWIG_fail
;
12044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12054 if (arg5
) delete [] arg5
;
12067 if (arg5
) delete [] arg5
;
12073 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12074 PyObject
*resultobj
;
12075 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12077 PyObject
* obj0
= 0 ;
12078 char *kwnames
[] = {
12079 (char *) "self", NULL
12082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12087 result
= (int)(arg1
)->GetSelection();
12089 wxPyEndAllowThreads(__tstate
);
12090 if (PyErr_Occurred()) SWIG_fail
;
12092 resultobj
= SWIG_FromInt((int)result
);
12099 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12100 PyObject
*resultobj
;
12101 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12103 PyObject
* obj0
= 0 ;
12104 char *kwnames
[] = {
12105 (char *) "self", NULL
12108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12113 result
= (arg1
)->GetStringSelection();
12115 wxPyEndAllowThreads(__tstate
);
12116 if (PyErr_Occurred()) SWIG_fail
;
12120 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12122 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12131 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12132 PyObject
*resultobj
;
12133 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12135 PyObject
* obj0
= 0 ;
12136 PyObject
* obj1
= 0 ;
12137 char *kwnames
[] = {
12138 (char *) "self",(char *) "sel", NULL
12141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12144 arg2
= (int) SWIG_AsInt(obj1
);
12145 if (PyErr_Occurred()) SWIG_fail
;
12147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12148 (arg1
)->SetSelection(arg2
);
12150 wxPyEndAllowThreads(__tstate
);
12151 if (PyErr_Occurred()) SWIG_fail
;
12153 Py_INCREF(Py_None
); resultobj
= Py_None
;
12160 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
12162 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12163 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12165 return Py_BuildValue((char *)"");
12167 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12168 PyObject
*resultobj
;
12169 wxWindow
*arg1
= (wxWindow
*) 0 ;
12170 wxString
*arg2
= 0 ;
12171 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12172 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12173 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12174 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12175 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12176 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12177 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12178 wxTextEntryDialog
*result
;
12179 bool temp2
= False
;
12180 bool temp3
= False
;
12181 bool temp4
= False
;
12183 PyObject
* obj0
= 0 ;
12184 PyObject
* obj1
= 0 ;
12185 PyObject
* obj2
= 0 ;
12186 PyObject
* obj3
= 0 ;
12187 PyObject
* obj4
= 0 ;
12188 PyObject
* obj5
= 0 ;
12189 char *kwnames
[] = {
12190 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12197 arg2
= wxString_in_helper(obj1
);
12198 if (arg2
== NULL
) SWIG_fail
;
12203 arg3
= wxString_in_helper(obj2
);
12204 if (arg3
== NULL
) SWIG_fail
;
12210 arg4
= wxString_in_helper(obj3
);
12211 if (arg4
== NULL
) SWIG_fail
;
12216 arg5
= (long) SWIG_AsLong(obj4
);
12217 if (PyErr_Occurred()) SWIG_fail
;
12222 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12227 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12229 wxPyEndAllowThreads(__tstate
);
12230 if (PyErr_Occurred()) SWIG_fail
;
12232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12263 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12264 PyObject
*resultobj
;
12265 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12267 PyObject
* obj0
= 0 ;
12268 char *kwnames
[] = {
12269 (char *) "self", NULL
12272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12277 result
= (arg1
)->GetValue();
12279 wxPyEndAllowThreads(__tstate
);
12280 if (PyErr_Occurred()) SWIG_fail
;
12284 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12286 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12295 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12296 PyObject
*resultobj
;
12297 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12298 wxString
*arg2
= 0 ;
12299 bool temp2
= False
;
12300 PyObject
* obj0
= 0 ;
12301 PyObject
* obj1
= 0 ;
12302 char *kwnames
[] = {
12303 (char *) "self",(char *) "value", NULL
12306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12310 arg2
= wxString_in_helper(obj1
);
12311 if (arg2
== NULL
) SWIG_fail
;
12315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12316 (arg1
)->SetValue((wxString
const &)*arg2
);
12318 wxPyEndAllowThreads(__tstate
);
12319 if (PyErr_Occurred()) SWIG_fail
;
12321 Py_INCREF(Py_None
); resultobj
= Py_None
;
12336 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
12338 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12339 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12341 return Py_BuildValue((char *)"");
12343 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12344 PyObject
*resultobj
;
12345 wxFontData
*result
;
12346 char *kwnames
[] = {
12350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
12352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12353 result
= (wxFontData
*)new wxFontData();
12355 wxPyEndAllowThreads(__tstate
);
12356 if (PyErr_Occurred()) SWIG_fail
;
12358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
12365 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12366 PyObject
*resultobj
;
12367 wxFontData
*arg1
= (wxFontData
*) 0 ;
12368 PyObject
* obj0
= 0 ;
12369 char *kwnames
[] = {
12370 (char *) "self", NULL
12373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
12374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12380 wxPyEndAllowThreads(__tstate
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12383 Py_INCREF(Py_None
); resultobj
= Py_None
;
12390 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12391 PyObject
*resultobj
;
12392 wxFontData
*arg1
= (wxFontData
*) 0 ;
12394 PyObject
* obj0
= 0 ;
12395 PyObject
* obj1
= 0 ;
12396 char *kwnames
[] = {
12397 (char *) "self",(char *) "enable", NULL
12400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
12401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12403 arg2
= (bool) SWIG_AsBool(obj1
);
12404 if (PyErr_Occurred()) SWIG_fail
;
12406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12407 (arg1
)->EnableEffects(arg2
);
12409 wxPyEndAllowThreads(__tstate
);
12410 if (PyErr_Occurred()) SWIG_fail
;
12412 Py_INCREF(Py_None
); resultobj
= Py_None
;
12419 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12420 PyObject
*resultobj
;
12421 wxFontData
*arg1
= (wxFontData
*) 0 ;
12423 PyObject
* obj0
= 0 ;
12424 char *kwnames
[] = {
12425 (char *) "self", NULL
12428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
12429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12433 result
= (bool)(arg1
)->GetAllowSymbols();
12435 wxPyEndAllowThreads(__tstate
);
12436 if (PyErr_Occurred()) SWIG_fail
;
12439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12447 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12448 PyObject
*resultobj
;
12449 wxFontData
*arg1
= (wxFontData
*) 0 ;
12451 PyObject
* obj0
= 0 ;
12452 char *kwnames
[] = {
12453 (char *) "self", NULL
12456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
12457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12461 result
= (arg1
)->GetColour();
12463 wxPyEndAllowThreads(__tstate
);
12464 if (PyErr_Occurred()) SWIG_fail
;
12467 wxColour
* resultptr
;
12468 resultptr
= new wxColour((wxColour
&) result
);
12469 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12477 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12478 PyObject
*resultobj
;
12479 wxFontData
*arg1
= (wxFontData
*) 0 ;
12481 PyObject
* obj0
= 0 ;
12482 char *kwnames
[] = {
12483 (char *) "self", NULL
12486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
12487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12491 result
= (arg1
)->GetChosenFont();
12493 wxPyEndAllowThreads(__tstate
);
12494 if (PyErr_Occurred()) SWIG_fail
;
12497 wxFont
* resultptr
;
12498 resultptr
= new wxFont((wxFont
&) result
);
12499 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12507 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12508 PyObject
*resultobj
;
12509 wxFontData
*arg1
= (wxFontData
*) 0 ;
12511 PyObject
* obj0
= 0 ;
12512 char *kwnames
[] = {
12513 (char *) "self", NULL
12516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
12517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12521 result
= (bool)(arg1
)->GetEnableEffects();
12523 wxPyEndAllowThreads(__tstate
);
12524 if (PyErr_Occurred()) SWIG_fail
;
12527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12535 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12536 PyObject
*resultobj
;
12537 wxFontData
*arg1
= (wxFontData
*) 0 ;
12539 PyObject
* obj0
= 0 ;
12540 char *kwnames
[] = {
12541 (char *) "self", NULL
12544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
12545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12549 result
= (arg1
)->GetInitialFont();
12551 wxPyEndAllowThreads(__tstate
);
12552 if (PyErr_Occurred()) SWIG_fail
;
12555 wxFont
* resultptr
;
12556 resultptr
= new wxFont((wxFont
&) result
);
12557 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12565 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12566 PyObject
*resultobj
;
12567 wxFontData
*arg1
= (wxFontData
*) 0 ;
12569 PyObject
* obj0
= 0 ;
12570 char *kwnames
[] = {
12571 (char *) "self", NULL
12574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
12575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12579 result
= (bool)(arg1
)->GetShowHelp();
12581 wxPyEndAllowThreads(__tstate
);
12582 if (PyErr_Occurred()) SWIG_fail
;
12585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12593 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12594 PyObject
*resultobj
;
12595 wxFontData
*arg1
= (wxFontData
*) 0 ;
12597 PyObject
* obj0
= 0 ;
12598 PyObject
* obj1
= 0 ;
12599 char *kwnames
[] = {
12600 (char *) "self",(char *) "allowSymbols", NULL
12603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
12604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12606 arg2
= (bool) SWIG_AsBool(obj1
);
12607 if (PyErr_Occurred()) SWIG_fail
;
12609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12610 (arg1
)->SetAllowSymbols(arg2
);
12612 wxPyEndAllowThreads(__tstate
);
12613 if (PyErr_Occurred()) SWIG_fail
;
12615 Py_INCREF(Py_None
); resultobj
= Py_None
;
12622 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12623 PyObject
*resultobj
;
12624 wxFontData
*arg1
= (wxFontData
*) 0 ;
12626 PyObject
* obj0
= 0 ;
12627 PyObject
* obj1
= 0 ;
12628 char *kwnames
[] = {
12629 (char *) "self",(char *) "font", NULL
12632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12636 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12638 if (arg2
== NULL
) {
12639 PyErr_SetString(PyExc_TypeError
,"null reference");
12643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12644 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
12646 wxPyEndAllowThreads(__tstate
);
12647 if (PyErr_Occurred()) SWIG_fail
;
12649 Py_INCREF(Py_None
); resultobj
= Py_None
;
12656 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12657 PyObject
*resultobj
;
12658 wxFontData
*arg1
= (wxFontData
*) 0 ;
12659 wxColour
*arg2
= 0 ;
12661 PyObject
* obj0
= 0 ;
12662 PyObject
* obj1
= 0 ;
12663 char *kwnames
[] = {
12664 (char *) "self",(char *) "colour", NULL
12667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12672 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12676 (arg1
)->SetColour((wxColour
const &)*arg2
);
12678 wxPyEndAllowThreads(__tstate
);
12679 if (PyErr_Occurred()) SWIG_fail
;
12681 Py_INCREF(Py_None
); resultobj
= Py_None
;
12688 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12689 PyObject
*resultobj
;
12690 wxFontData
*arg1
= (wxFontData
*) 0 ;
12692 PyObject
* obj0
= 0 ;
12693 PyObject
* obj1
= 0 ;
12694 char *kwnames
[] = {
12695 (char *) "self",(char *) "font", NULL
12698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12701 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12702 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12704 if (arg2
== NULL
) {
12705 PyErr_SetString(PyExc_TypeError
,"null reference");
12709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12710 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
12712 wxPyEndAllowThreads(__tstate
);
12713 if (PyErr_Occurred()) SWIG_fail
;
12715 Py_INCREF(Py_None
); resultobj
= Py_None
;
12722 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12723 PyObject
*resultobj
;
12724 wxFontData
*arg1
= (wxFontData
*) 0 ;
12727 PyObject
* obj0
= 0 ;
12728 PyObject
* obj1
= 0 ;
12729 PyObject
* obj2
= 0 ;
12730 char *kwnames
[] = {
12731 (char *) "self",(char *) "min",(char *) "max", NULL
12734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12737 arg2
= (int) SWIG_AsInt(obj1
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12739 arg3
= (int) SWIG_AsInt(obj2
);
12740 if (PyErr_Occurred()) SWIG_fail
;
12742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12743 (arg1
)->SetRange(arg2
,arg3
);
12745 wxPyEndAllowThreads(__tstate
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12748 Py_INCREF(Py_None
); resultobj
= Py_None
;
12755 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12756 PyObject
*resultobj
;
12757 wxFontData
*arg1
= (wxFontData
*) 0 ;
12759 PyObject
* obj0
= 0 ;
12760 PyObject
* obj1
= 0 ;
12761 char *kwnames
[] = {
12762 (char *) "self",(char *) "showHelp", NULL
12765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
12766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12768 arg2
= (bool) SWIG_AsBool(obj1
);
12769 if (PyErr_Occurred()) SWIG_fail
;
12771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12772 (arg1
)->SetShowHelp(arg2
);
12774 wxPyEndAllowThreads(__tstate
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12777 Py_INCREF(Py_None
); resultobj
= Py_None
;
12784 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
12786 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12787 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
12789 return Py_BuildValue((char *)"");
12791 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12792 PyObject
*resultobj
;
12793 wxWindow
*arg1
= (wxWindow
*) 0 ;
12794 wxFontData
*arg2
= 0 ;
12795 wxFontDialog
*result
;
12796 PyObject
* obj0
= 0 ;
12797 PyObject
* obj1
= 0 ;
12798 char *kwnames
[] = {
12799 (char *) "parent",(char *) "data", NULL
12802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
12803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12805 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
12806 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12808 if (arg2
== NULL
) {
12809 PyErr_SetString(PyExc_TypeError
,"null reference");
12813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12814 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
12816 wxPyEndAllowThreads(__tstate
);
12817 if (PyErr_Occurred()) SWIG_fail
;
12819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
12826 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12827 PyObject
*resultobj
;
12828 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
12829 wxFontData
*result
;
12830 PyObject
* obj0
= 0 ;
12831 char *kwnames
[] = {
12832 (char *) "self", NULL
12835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
12836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
12837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12841 wxFontData
&_result_ref
= (arg1
)->GetFontData();
12842 result
= (wxFontData
*) &_result_ref
;
12845 wxPyEndAllowThreads(__tstate
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
12855 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
12857 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12858 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
12860 return Py_BuildValue((char *)"");
12862 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12863 PyObject
*resultobj
;
12864 wxWindow
*arg1
= (wxWindow
*) 0 ;
12865 wxString
*arg2
= 0 ;
12866 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
12867 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12868 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12869 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12870 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12871 wxMessageDialog
*result
;
12872 bool temp2
= False
;
12873 bool temp3
= False
;
12875 PyObject
* obj0
= 0 ;
12876 PyObject
* obj1
= 0 ;
12877 PyObject
* obj2
= 0 ;
12878 PyObject
* obj3
= 0 ;
12879 PyObject
* obj4
= 0 ;
12880 char *kwnames
[] = {
12881 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
12884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12888 arg2
= wxString_in_helper(obj1
);
12889 if (arg2
== NULL
) SWIG_fail
;
12894 arg3
= wxString_in_helper(obj2
);
12895 if (arg3
== NULL
) SWIG_fail
;
12900 arg4
= (long) SWIG_AsLong(obj3
);
12901 if (PyErr_Occurred()) SWIG_fail
;
12906 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12911 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
12913 wxPyEndAllowThreads(__tstate
);
12914 if (PyErr_Occurred()) SWIG_fail
;
12916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
12939 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
12941 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12942 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
12944 return Py_BuildValue((char *)"");
12946 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12947 PyObject
*resultobj
;
12948 wxString
*arg1
= 0 ;
12949 wxString
*arg2
= 0 ;
12950 int arg3
= (int) 100 ;
12951 wxWindow
*arg4
= (wxWindow
*) NULL
;
12952 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
12953 wxProgressDialog
*result
;
12954 bool temp1
= False
;
12955 bool temp2
= False
;
12956 PyObject
* obj0
= 0 ;
12957 PyObject
* obj1
= 0 ;
12958 PyObject
* obj2
= 0 ;
12959 PyObject
* obj3
= 0 ;
12960 PyObject
* obj4
= 0 ;
12961 char *kwnames
[] = {
12962 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
12965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12967 arg1
= wxString_in_helper(obj0
);
12968 if (arg1
== NULL
) SWIG_fail
;
12972 arg2
= wxString_in_helper(obj1
);
12973 if (arg2
== NULL
) SWIG_fail
;
12977 arg3
= (int) SWIG_AsInt(obj2
);
12978 if (PyErr_Occurred()) SWIG_fail
;
12981 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
12982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12985 arg5
= (int) SWIG_AsInt(obj4
);
12986 if (PyErr_Occurred()) SWIG_fail
;
12989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12990 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
12992 wxPyEndAllowThreads(__tstate
);
12993 if (PyErr_Occurred()) SWIG_fail
;
12995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13018 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13019 PyObject
*resultobj
;
13020 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13022 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13023 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13025 bool temp3
= False
;
13026 PyObject
* obj0
= 0 ;
13027 PyObject
* obj1
= 0 ;
13028 PyObject
* obj2
= 0 ;
13029 char *kwnames
[] = {
13030 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13036 arg2
= (int) SWIG_AsInt(obj1
);
13037 if (PyErr_Occurred()) SWIG_fail
;
13040 arg3
= wxString_in_helper(obj2
);
13041 if (arg3
== NULL
) SWIG_fail
;
13046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13047 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13049 wxPyEndAllowThreads(__tstate
);
13050 if (PyErr_Occurred()) SWIG_fail
;
13053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13069 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13070 PyObject
*resultobj
;
13071 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13072 PyObject
* obj0
= 0 ;
13073 char *kwnames
[] = {
13074 (char *) "self", NULL
13077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13084 wxPyEndAllowThreads(__tstate
);
13085 if (PyErr_Occurred()) SWIG_fail
;
13087 Py_INCREF(Py_None
); resultobj
= Py_None
;
13094 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
13096 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13097 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13099 return Py_BuildValue((char *)"");
13101 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13102 PyObject
*resultobj
;
13103 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13104 int arg2
= (int) 0 ;
13105 wxFindDialogEvent
*result
;
13106 PyObject
* obj0
= 0 ;
13107 PyObject
* obj1
= 0 ;
13108 char *kwnames
[] = {
13109 (char *) "commandType",(char *) "id", NULL
13112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13114 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13115 if (PyErr_Occurred()) SWIG_fail
;
13118 arg2
= (int) SWIG_AsInt(obj1
);
13119 if (PyErr_Occurred()) SWIG_fail
;
13122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13123 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13125 wxPyEndAllowThreads(__tstate
);
13126 if (PyErr_Occurred()) SWIG_fail
;
13128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13135 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13136 PyObject
*resultobj
;
13137 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13139 PyObject
* obj0
= 0 ;
13140 char *kwnames
[] = {
13141 (char *) "self", NULL
13144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13149 result
= (int)(arg1
)->GetFlags();
13151 wxPyEndAllowThreads(__tstate
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13154 resultobj
= SWIG_FromInt((int)result
);
13161 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13162 PyObject
*resultobj
;
13163 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13165 PyObject
* obj0
= 0 ;
13166 char *kwnames
[] = {
13167 (char *) "self", NULL
13170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13176 wxString
const &_result_ref
= (arg1
)->GetFindString();
13177 result
= (wxString
*) &_result_ref
;
13180 wxPyEndAllowThreads(__tstate
);
13181 if (PyErr_Occurred()) SWIG_fail
;
13185 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13187 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13196 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13197 PyObject
*resultobj
;
13198 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13200 PyObject
* obj0
= 0 ;
13201 char *kwnames
[] = {
13202 (char *) "self", NULL
13205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13211 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13212 result
= (wxString
*) &_result_ref
;
13215 wxPyEndAllowThreads(__tstate
);
13216 if (PyErr_Occurred()) SWIG_fail
;
13220 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13222 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13231 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13232 PyObject
*resultobj
;
13233 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13234 wxFindReplaceDialog
*result
;
13235 PyObject
* obj0
= 0 ;
13236 char *kwnames
[] = {
13237 (char *) "self", NULL
13240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13245 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13247 wxPyEndAllowThreads(__tstate
);
13248 if (PyErr_Occurred()) SWIG_fail
;
13250 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13257 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13258 PyObject
*resultobj
;
13259 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13261 PyObject
* obj0
= 0 ;
13262 PyObject
* obj1
= 0 ;
13263 char *kwnames
[] = {
13264 (char *) "self",(char *) "flags", NULL
13267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13270 arg2
= (int) SWIG_AsInt(obj1
);
13271 if (PyErr_Occurred()) SWIG_fail
;
13273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13274 (arg1
)->SetFlags(arg2
);
13276 wxPyEndAllowThreads(__tstate
);
13277 if (PyErr_Occurred()) SWIG_fail
;
13279 Py_INCREF(Py_None
); resultobj
= Py_None
;
13286 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13287 PyObject
*resultobj
;
13288 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13289 wxString
*arg2
= 0 ;
13290 bool temp2
= False
;
13291 PyObject
* obj0
= 0 ;
13292 PyObject
* obj1
= 0 ;
13293 char *kwnames
[] = {
13294 (char *) "self",(char *) "str", NULL
13297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13301 arg2
= wxString_in_helper(obj1
);
13302 if (arg2
== NULL
) SWIG_fail
;
13306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13307 (arg1
)->SetFindString((wxString
const &)*arg2
);
13309 wxPyEndAllowThreads(__tstate
);
13310 if (PyErr_Occurred()) SWIG_fail
;
13312 Py_INCREF(Py_None
); resultobj
= Py_None
;
13327 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13328 PyObject
*resultobj
;
13329 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13330 wxString
*arg2
= 0 ;
13331 bool temp2
= False
;
13332 PyObject
* obj0
= 0 ;
13333 PyObject
* obj1
= 0 ;
13334 char *kwnames
[] = {
13335 (char *) "self",(char *) "str", NULL
13338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13342 arg2
= wxString_in_helper(obj1
);
13343 if (arg2
== NULL
) SWIG_fail
;
13347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13348 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13350 wxPyEndAllowThreads(__tstate
);
13351 if (PyErr_Occurred()) SWIG_fail
;
13353 Py_INCREF(Py_None
); resultobj
= Py_None
;
13368 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
13370 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13371 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
13373 return Py_BuildValue((char *)"");
13375 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13376 PyObject
*resultobj
;
13377 int arg1
= (int) 0 ;
13378 wxFindReplaceData
*result
;
13379 PyObject
* obj0
= 0 ;
13380 char *kwnames
[] = {
13381 (char *) "flags", NULL
13384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13386 arg1
= (int) SWIG_AsInt(obj0
);
13387 if (PyErr_Occurred()) SWIG_fail
;
13390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13391 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
13393 wxPyEndAllowThreads(__tstate
);
13394 if (PyErr_Occurred()) SWIG_fail
;
13396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
13403 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13404 PyObject
*resultobj
;
13405 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13406 PyObject
* obj0
= 0 ;
13407 char *kwnames
[] = {
13408 (char *) "self", NULL
13411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13418 wxPyEndAllowThreads(__tstate
);
13419 if (PyErr_Occurred()) SWIG_fail
;
13421 Py_INCREF(Py_None
); resultobj
= Py_None
;
13428 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13429 PyObject
*resultobj
;
13430 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13432 PyObject
* obj0
= 0 ;
13433 char *kwnames
[] = {
13434 (char *) "self", NULL
13437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
13438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13443 wxString
const &_result_ref
= (arg1
)->GetFindString();
13444 result
= (wxString
*) &_result_ref
;
13447 wxPyEndAllowThreads(__tstate
);
13448 if (PyErr_Occurred()) SWIG_fail
;
13452 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13454 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13463 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13464 PyObject
*resultobj
;
13465 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13467 PyObject
* obj0
= 0 ;
13468 char *kwnames
[] = {
13469 (char *) "self", NULL
13472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13478 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13479 result
= (wxString
*) &_result_ref
;
13482 wxPyEndAllowThreads(__tstate
);
13483 if (PyErr_Occurred()) SWIG_fail
;
13487 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13489 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13498 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13499 PyObject
*resultobj
;
13500 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13502 PyObject
* obj0
= 0 ;
13503 char *kwnames
[] = {
13504 (char *) "self", NULL
13507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
13508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13512 result
= (int)(arg1
)->GetFlags();
13514 wxPyEndAllowThreads(__tstate
);
13515 if (PyErr_Occurred()) SWIG_fail
;
13517 resultobj
= SWIG_FromInt((int)result
);
13524 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13525 PyObject
*resultobj
;
13526 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13528 PyObject
* obj0
= 0 ;
13529 PyObject
* obj1
= 0 ;
13530 char *kwnames
[] = {
13531 (char *) "self",(char *) "flags", NULL
13534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13537 arg2
= (int) SWIG_AsInt(obj1
);
13538 if (PyErr_Occurred()) SWIG_fail
;
13540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13541 (arg1
)->SetFlags(arg2
);
13543 wxPyEndAllowThreads(__tstate
);
13544 if (PyErr_Occurred()) SWIG_fail
;
13546 Py_INCREF(Py_None
); resultobj
= Py_None
;
13553 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13554 PyObject
*resultobj
;
13555 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13556 wxString
*arg2
= 0 ;
13557 bool temp2
= False
;
13558 PyObject
* obj0
= 0 ;
13559 PyObject
* obj1
= 0 ;
13560 char *kwnames
[] = {
13561 (char *) "self",(char *) "str", NULL
13564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13568 arg2
= wxString_in_helper(obj1
);
13569 if (arg2
== NULL
) SWIG_fail
;
13573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13574 (arg1
)->SetFindString((wxString
const &)*arg2
);
13576 wxPyEndAllowThreads(__tstate
);
13577 if (PyErr_Occurred()) SWIG_fail
;
13579 Py_INCREF(Py_None
); resultobj
= Py_None
;
13594 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13595 PyObject
*resultobj
;
13596 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13597 wxString
*arg2
= 0 ;
13598 bool temp2
= False
;
13599 PyObject
* obj0
= 0 ;
13600 PyObject
* obj1
= 0 ;
13601 char *kwnames
[] = {
13602 (char *) "self",(char *) "str", NULL
13605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13609 arg2
= wxString_in_helper(obj1
);
13610 if (arg2
== NULL
) SWIG_fail
;
13614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13615 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13617 wxPyEndAllowThreads(__tstate
);
13618 if (PyErr_Occurred()) SWIG_fail
;
13620 Py_INCREF(Py_None
); resultobj
= Py_None
;
13635 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
13637 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13638 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
13640 return Py_BuildValue((char *)"");
13642 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13643 PyObject
*resultobj
;
13644 wxWindow
*arg1
= (wxWindow
*) 0 ;
13645 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
13646 wxString
*arg3
= 0 ;
13647 int arg4
= (int) 0 ;
13648 wxFindReplaceDialog
*result
;
13649 bool temp3
= False
;
13650 PyObject
* obj0
= 0 ;
13651 PyObject
* obj1
= 0 ;
13652 PyObject
* obj2
= 0 ;
13653 PyObject
* obj3
= 0 ;
13654 char *kwnames
[] = {
13655 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13661 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
13662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13664 arg3
= wxString_in_helper(obj2
);
13665 if (arg3
== NULL
) SWIG_fail
;
13669 arg4
= (int) SWIG_AsInt(obj3
);
13670 if (PyErr_Occurred()) SWIG_fail
;
13673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13674 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13676 wxPyEndAllowThreads(__tstate
);
13677 if (PyErr_Occurred()) SWIG_fail
;
13679 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
13694 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13695 PyObject
*resultobj
;
13696 wxFindReplaceDialog
*result
;
13697 char *kwnames
[] = {
13701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
13703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13704 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
13706 wxPyEndAllowThreads(__tstate
);
13707 if (PyErr_Occurred()) SWIG_fail
;
13709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
13716 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13717 PyObject
*resultobj
;
13718 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13719 wxWindow
*arg2
= (wxWindow
*) 0 ;
13720 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
13721 wxString
*arg4
= 0 ;
13722 int arg5
= (int) 0 ;
13724 bool temp4
= False
;
13725 PyObject
* obj0
= 0 ;
13726 PyObject
* obj1
= 0 ;
13727 PyObject
* obj2
= 0 ;
13728 PyObject
* obj3
= 0 ;
13729 PyObject
* obj4
= 0 ;
13730 char *kwnames
[] = {
13731 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
13736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13739 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
13740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13742 arg4
= wxString_in_helper(obj3
);
13743 if (arg4
== NULL
) SWIG_fail
;
13747 arg5
= (int) SWIG_AsInt(obj4
);
13748 if (PyErr_Occurred()) SWIG_fail
;
13751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13752 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13754 wxPyEndAllowThreads(__tstate
);
13755 if (PyErr_Occurred()) SWIG_fail
;
13758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13774 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13775 PyObject
*resultobj
;
13776 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13777 wxFindReplaceData
*result
;
13778 PyObject
* obj0
= 0 ;
13779 char *kwnames
[] = {
13780 (char *) "self", NULL
13783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
13784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
13785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13788 result
= (wxFindReplaceData
*)(arg1
)->GetData();
13790 wxPyEndAllowThreads(__tstate
);
13791 if (PyErr_Occurred()) SWIG_fail
;
13793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
13800 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13801 PyObject
*resultobj
;
13802 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13803 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
13804 PyObject
* obj0
= 0 ;
13805 PyObject
* obj1
= 0 ;
13806 char *kwnames
[] = {
13807 (char *) "self",(char *) "data", NULL
13810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
13811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
13812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13813 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
13814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13817 (arg1
)->SetData(arg2
);
13819 wxPyEndAllowThreads(__tstate
);
13820 if (PyErr_Occurred()) SWIG_fail
;
13822 Py_INCREF(Py_None
); resultobj
= Py_None
;
13829 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
13831 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13832 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
13834 return Py_BuildValue((char *)"");
13836 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13837 PyObject
*resultobj
;
13838 wxWindow
*arg1
= (wxWindow
*) 0 ;
13840 wxString
*arg3
= 0 ;
13841 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13842 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13843 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13844 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13845 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
13846 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
13847 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13848 wxMDIParentFrame
*result
;
13849 bool temp3
= False
;
13852 bool temp7
= False
;
13853 PyObject
* obj0
= 0 ;
13854 PyObject
* obj1
= 0 ;
13855 PyObject
* obj2
= 0 ;
13856 PyObject
* obj3
= 0 ;
13857 PyObject
* obj4
= 0 ;
13858 PyObject
* obj5
= 0 ;
13859 PyObject
* obj6
= 0 ;
13860 char *kwnames
[] = {
13861 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13867 arg2
= (int const) SWIG_AsInt(obj1
);
13868 if (PyErr_Occurred()) SWIG_fail
;
13870 arg3
= wxString_in_helper(obj2
);
13871 if (arg3
== NULL
) SWIG_fail
;
13877 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13883 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13887 arg6
= (long) SWIG_AsLong(obj5
);
13888 if (PyErr_Occurred()) SWIG_fail
;
13892 arg7
= wxString_in_helper(obj6
);
13893 if (arg7
== NULL
) SWIG_fail
;
13898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13899 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13901 wxPyEndAllowThreads(__tstate
);
13902 if (PyErr_Occurred()) SWIG_fail
;
13904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
13927 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13928 PyObject
*resultobj
;
13929 wxMDIParentFrame
*result
;
13930 char *kwnames
[] = {
13934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
13936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13937 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
13939 wxPyEndAllowThreads(__tstate
);
13940 if (PyErr_Occurred()) SWIG_fail
;
13942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
13949 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13950 PyObject
*resultobj
;
13951 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
13952 wxWindow
*arg2
= (wxWindow
*) 0 ;
13954 wxString
*arg4
= 0 ;
13955 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13956 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13957 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13958 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13959 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
13960 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
13961 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13963 bool temp4
= False
;
13966 bool temp8
= False
;
13967 PyObject
* obj0
= 0 ;
13968 PyObject
* obj1
= 0 ;
13969 PyObject
* obj2
= 0 ;
13970 PyObject
* obj3
= 0 ;
13971 PyObject
* obj4
= 0 ;
13972 PyObject
* obj5
= 0 ;
13973 PyObject
* obj6
= 0 ;
13974 PyObject
* obj7
= 0 ;
13975 char *kwnames
[] = {
13976 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
13981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13982 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13984 arg3
= (int const) SWIG_AsInt(obj2
);
13985 if (PyErr_Occurred()) SWIG_fail
;
13987 arg4
= wxString_in_helper(obj3
);
13988 if (arg4
== NULL
) SWIG_fail
;
13994 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14000 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14004 arg7
= (long) SWIG_AsLong(obj6
);
14005 if (PyErr_Occurred()) SWIG_fail
;
14009 arg8
= wxString_in_helper(obj7
);
14010 if (arg8
== NULL
) SWIG_fail
;
14015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14016 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14018 wxPyEndAllowThreads(__tstate
);
14019 if (PyErr_Occurred()) SWIG_fail
;
14022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14046 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14047 PyObject
*resultobj
;
14048 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14049 PyObject
* obj0
= 0 ;
14050 char *kwnames
[] = {
14051 (char *) "self", NULL
14054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14059 (arg1
)->ActivateNext();
14061 wxPyEndAllowThreads(__tstate
);
14062 if (PyErr_Occurred()) SWIG_fail
;
14064 Py_INCREF(Py_None
); resultobj
= Py_None
;
14071 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14072 PyObject
*resultobj
;
14073 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14074 PyObject
* obj0
= 0 ;
14075 char *kwnames
[] = {
14076 (char *) "self", NULL
14079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14084 (arg1
)->ActivatePrevious();
14086 wxPyEndAllowThreads(__tstate
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14089 Py_INCREF(Py_None
); resultobj
= Py_None
;
14096 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14097 PyObject
*resultobj
;
14098 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14099 PyObject
* obj0
= 0 ;
14100 char *kwnames
[] = {
14101 (char *) "self", NULL
14104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14109 (arg1
)->ArrangeIcons();
14111 wxPyEndAllowThreads(__tstate
);
14112 if (PyErr_Occurred()) SWIG_fail
;
14114 Py_INCREF(Py_None
); resultobj
= Py_None
;
14121 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14122 PyObject
*resultobj
;
14123 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14124 PyObject
* obj0
= 0 ;
14125 char *kwnames
[] = {
14126 (char *) "self", NULL
14129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14136 wxPyEndAllowThreads(__tstate
);
14137 if (PyErr_Occurred()) SWIG_fail
;
14139 Py_INCREF(Py_None
); resultobj
= Py_None
;
14146 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14147 PyObject
*resultobj
;
14148 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14149 wxMDIChildFrame
*result
;
14150 PyObject
* obj0
= 0 ;
14151 char *kwnames
[] = {
14152 (char *) "self", NULL
14155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14160 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14162 wxPyEndAllowThreads(__tstate
);
14163 if (PyErr_Occurred()) SWIG_fail
;
14166 resultobj
= wxPyMake_wxObject(result
);
14174 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14175 PyObject
*resultobj
;
14176 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14177 wxMDIClientWindow
*result
;
14178 PyObject
* obj0
= 0 ;
14179 char *kwnames
[] = {
14180 (char *) "self", NULL
14183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14188 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14190 wxPyEndAllowThreads(__tstate
);
14191 if (PyErr_Occurred()) SWIG_fail
;
14194 resultobj
= wxPyMake_wxObject(result
);
14202 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14203 PyObject
*resultobj
;
14204 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14206 PyObject
* obj0
= 0 ;
14207 char *kwnames
[] = {
14208 (char *) "self", NULL
14211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14216 result
= (wxWindow
*)(arg1
)->GetToolBar();
14218 wxPyEndAllowThreads(__tstate
);
14219 if (PyErr_Occurred()) SWIG_fail
;
14222 resultobj
= wxPyMake_wxObject(result
);
14230 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14231 PyObject
*resultobj
;
14232 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14233 PyObject
* obj0
= 0 ;
14234 char *kwnames
[] = {
14235 (char *) "self", NULL
14238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14245 wxPyEndAllowThreads(__tstate
);
14246 if (PyErr_Occurred()) SWIG_fail
;
14248 Py_INCREF(Py_None
); resultobj
= Py_None
;
14255 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
14257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14258 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14260 return Py_BuildValue((char *)"");
14262 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14263 PyObject
*resultobj
;
14264 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14266 wxString
*arg3
= 0 ;
14267 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14268 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14269 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14270 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14271 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14272 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14273 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14274 wxMDIChildFrame
*result
;
14275 bool temp3
= False
;
14278 bool temp7
= False
;
14279 PyObject
* obj0
= 0 ;
14280 PyObject
* obj1
= 0 ;
14281 PyObject
* obj2
= 0 ;
14282 PyObject
* obj3
= 0 ;
14283 PyObject
* obj4
= 0 ;
14284 PyObject
* obj5
= 0 ;
14285 PyObject
* obj6
= 0 ;
14286 char *kwnames
[] = {
14287 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14293 arg2
= (int const) SWIG_AsInt(obj1
);
14294 if (PyErr_Occurred()) SWIG_fail
;
14296 arg3
= wxString_in_helper(obj2
);
14297 if (arg3
== NULL
) SWIG_fail
;
14303 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14309 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14313 arg6
= (long) SWIG_AsLong(obj5
);
14314 if (PyErr_Occurred()) SWIG_fail
;
14318 arg7
= wxString_in_helper(obj6
);
14319 if (arg7
== NULL
) SWIG_fail
;
14324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14325 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14327 wxPyEndAllowThreads(__tstate
);
14328 if (PyErr_Occurred()) SWIG_fail
;
14331 resultobj
= wxPyMake_wxObject(result
);
14355 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14356 PyObject
*resultobj
;
14357 wxMDIChildFrame
*result
;
14358 char *kwnames
[] = {
14362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
14364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14365 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
14367 wxPyEndAllowThreads(__tstate
);
14368 if (PyErr_Occurred()) SWIG_fail
;
14371 resultobj
= wxPyMake_wxObject(result
);
14379 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14380 PyObject
*resultobj
;
14381 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14382 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14384 wxString
*arg4
= 0 ;
14385 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14386 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14387 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14388 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14389 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
14390 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14391 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14393 bool temp4
= False
;
14396 bool temp8
= False
;
14397 PyObject
* obj0
= 0 ;
14398 PyObject
* obj1
= 0 ;
14399 PyObject
* obj2
= 0 ;
14400 PyObject
* obj3
= 0 ;
14401 PyObject
* obj4
= 0 ;
14402 PyObject
* obj5
= 0 ;
14403 PyObject
* obj6
= 0 ;
14404 PyObject
* obj7
= 0 ;
14405 char *kwnames
[] = {
14406 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14412 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14414 arg3
= (int const) SWIG_AsInt(obj2
);
14415 if (PyErr_Occurred()) SWIG_fail
;
14417 arg4
= wxString_in_helper(obj3
);
14418 if (arg4
== NULL
) SWIG_fail
;
14424 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14430 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14434 arg7
= (long) SWIG_AsLong(obj6
);
14435 if (PyErr_Occurred()) SWIG_fail
;
14439 arg8
= wxString_in_helper(obj7
);
14440 if (arg8
== NULL
) SWIG_fail
;
14445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14446 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14448 wxPyEndAllowThreads(__tstate
);
14449 if (PyErr_Occurred()) SWIG_fail
;
14452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14476 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14477 PyObject
*resultobj
;
14478 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14479 PyObject
* obj0
= 0 ;
14480 char *kwnames
[] = {
14481 (char *) "self", NULL
14484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
14485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14489 (arg1
)->Activate();
14491 wxPyEndAllowThreads(__tstate
);
14492 if (PyErr_Occurred()) SWIG_fail
;
14494 Py_INCREF(Py_None
); resultobj
= Py_None
;
14501 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14502 PyObject
*resultobj
;
14503 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14505 PyObject
* obj0
= 0 ;
14506 PyObject
* obj1
= 0 ;
14507 char *kwnames
[] = {
14508 (char *) "self",(char *) "maximize", NULL
14511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
14512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14514 arg2
= (bool) SWIG_AsBool(obj1
);
14515 if (PyErr_Occurred()) SWIG_fail
;
14517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14518 (arg1
)->Maximize(arg2
);
14520 wxPyEndAllowThreads(__tstate
);
14521 if (PyErr_Occurred()) SWIG_fail
;
14523 Py_INCREF(Py_None
); resultobj
= Py_None
;
14530 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14531 PyObject
*resultobj
;
14532 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14533 PyObject
* obj0
= 0 ;
14534 char *kwnames
[] = {
14535 (char *) "self", NULL
14538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
14539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14545 wxPyEndAllowThreads(__tstate
);
14546 if (PyErr_Occurred()) SWIG_fail
;
14548 Py_INCREF(Py_None
); resultobj
= Py_None
;
14555 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
14557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14558 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
14560 return Py_BuildValue((char *)"");
14562 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14563 PyObject
*resultobj
;
14564 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14565 long arg2
= (long) 0 ;
14566 wxMDIClientWindow
*result
;
14567 PyObject
* obj0
= 0 ;
14568 PyObject
* obj1
= 0 ;
14569 char *kwnames
[] = {
14570 (char *) "parent",(char *) "style", NULL
14573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
14574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14577 arg2
= (long) SWIG_AsLong(obj1
);
14578 if (PyErr_Occurred()) SWIG_fail
;
14581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14582 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
14584 wxPyEndAllowThreads(__tstate
);
14585 if (PyErr_Occurred()) SWIG_fail
;
14588 resultobj
= wxPyMake_wxObject(result
);
14596 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14597 PyObject
*resultobj
;
14598 wxMDIClientWindow
*result
;
14599 char *kwnames
[] = {
14603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
14605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14606 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
14608 wxPyEndAllowThreads(__tstate
);
14609 if (PyErr_Occurred()) SWIG_fail
;
14612 resultobj
= wxPyMake_wxObject(result
);
14620 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14621 PyObject
*resultobj
;
14622 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
14623 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14624 long arg3
= (long) 0 ;
14626 PyObject
* obj0
= 0 ;
14627 PyObject
* obj1
= 0 ;
14628 PyObject
* obj2
= 0 ;
14629 char *kwnames
[] = {
14630 (char *) "self",(char *) "parent",(char *) "style", NULL
14633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
14635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14639 arg3
= (long) SWIG_AsLong(obj2
);
14640 if (PyErr_Occurred()) SWIG_fail
;
14643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14644 result
= (bool)(arg1
)->Create(arg2
,arg3
);
14646 wxPyEndAllowThreads(__tstate
);
14647 if (PyErr_Occurred()) SWIG_fail
;
14650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14658 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
14660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14661 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
14663 return Py_BuildValue((char *)"");
14665 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14666 PyObject
*resultobj
;
14667 wxWindow
*arg1
= (wxWindow
*) 0 ;
14669 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14670 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14671 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14672 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14673 long arg5
= (long) 0 ;
14674 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
14675 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14676 wxPyWindow
*result
;
14679 bool temp6
= False
;
14680 PyObject
* obj0
= 0 ;
14681 PyObject
* obj1
= 0 ;
14682 PyObject
* obj2
= 0 ;
14683 PyObject
* obj3
= 0 ;
14684 PyObject
* obj4
= 0 ;
14685 PyObject
* obj5
= 0 ;
14686 char *kwnames
[] = {
14687 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14693 arg2
= (int const) SWIG_AsInt(obj1
);
14694 if (PyErr_Occurred()) SWIG_fail
;
14698 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14704 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14708 arg5
= (long) SWIG_AsLong(obj4
);
14709 if (PyErr_Occurred()) SWIG_fail
;
14713 arg6
= wxString_in_helper(obj5
);
14714 if (arg6
== NULL
) SWIG_fail
;
14719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14720 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14722 wxPyEndAllowThreads(__tstate
);
14723 if (PyErr_Occurred()) SWIG_fail
;
14725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
14740 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14741 PyObject
*resultobj
;
14742 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14743 PyObject
*arg2
= (PyObject
*) 0 ;
14744 PyObject
*arg3
= (PyObject
*) 0 ;
14745 PyObject
* obj0
= 0 ;
14746 PyObject
* obj1
= 0 ;
14747 PyObject
* obj2
= 0 ;
14748 char *kwnames
[] = {
14749 (char *) "self",(char *) "self",(char *) "_class", NULL
14752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14759 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14761 wxPyEndAllowThreads(__tstate
);
14762 if (PyErr_Occurred()) SWIG_fail
;
14764 Py_INCREF(Py_None
); resultobj
= Py_None
;
14771 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14772 PyObject
*resultobj
;
14773 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14778 PyObject
* obj0
= 0 ;
14779 PyObject
* obj1
= 0 ;
14780 PyObject
* obj2
= 0 ;
14781 PyObject
* obj3
= 0 ;
14782 PyObject
* obj4
= 0 ;
14783 char *kwnames
[] = {
14784 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14790 arg2
= (int) SWIG_AsInt(obj1
);
14791 if (PyErr_Occurred()) SWIG_fail
;
14792 arg3
= (int) SWIG_AsInt(obj2
);
14793 if (PyErr_Occurred()) SWIG_fail
;
14794 arg4
= (int) SWIG_AsInt(obj3
);
14795 if (PyErr_Occurred()) SWIG_fail
;
14796 arg5
= (int) SWIG_AsInt(obj4
);
14797 if (PyErr_Occurred()) SWIG_fail
;
14799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14800 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
14802 wxPyEndAllowThreads(__tstate
);
14803 if (PyErr_Occurred()) SWIG_fail
;
14805 Py_INCREF(Py_None
); resultobj
= Py_None
;
14812 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14813 PyObject
*resultobj
;
14814 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14819 int arg6
= (int) wxSIZE_AUTO
;
14820 PyObject
* obj0
= 0 ;
14821 PyObject
* obj1
= 0 ;
14822 PyObject
* obj2
= 0 ;
14823 PyObject
* obj3
= 0 ;
14824 PyObject
* obj4
= 0 ;
14825 PyObject
* obj5
= 0 ;
14826 char *kwnames
[] = {
14827 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14833 arg2
= (int) SWIG_AsInt(obj1
);
14834 if (PyErr_Occurred()) SWIG_fail
;
14835 arg3
= (int) SWIG_AsInt(obj2
);
14836 if (PyErr_Occurred()) SWIG_fail
;
14837 arg4
= (int) SWIG_AsInt(obj3
);
14838 if (PyErr_Occurred()) SWIG_fail
;
14839 arg5
= (int) SWIG_AsInt(obj4
);
14840 if (PyErr_Occurred()) SWIG_fail
;
14842 arg6
= (int) SWIG_AsInt(obj5
);
14843 if (PyErr_Occurred()) SWIG_fail
;
14846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14847 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
14849 wxPyEndAllowThreads(__tstate
);
14850 if (PyErr_Occurred()) SWIG_fail
;
14852 Py_INCREF(Py_None
); resultobj
= Py_None
;
14859 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14860 PyObject
*resultobj
;
14861 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14864 PyObject
* obj0
= 0 ;
14865 PyObject
* obj1
= 0 ;
14866 PyObject
* obj2
= 0 ;
14867 char *kwnames
[] = {
14868 (char *) "self",(char *) "width",(char *) "height", NULL
14871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14874 arg2
= (int) SWIG_AsInt(obj1
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14876 arg3
= (int) SWIG_AsInt(obj2
);
14877 if (PyErr_Occurred()) SWIG_fail
;
14879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14880 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
14882 wxPyEndAllowThreads(__tstate
);
14883 if (PyErr_Occurred()) SWIG_fail
;
14885 Py_INCREF(Py_None
); resultobj
= Py_None
;
14892 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14893 PyObject
*resultobj
;
14894 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14897 PyObject
* obj0
= 0 ;
14898 PyObject
* obj1
= 0 ;
14899 PyObject
* obj2
= 0 ;
14900 char *kwnames
[] = {
14901 (char *) "self",(char *) "x",(char *) "y", NULL
14904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14907 arg2
= (int) SWIG_AsInt(obj1
);
14908 if (PyErr_Occurred()) SWIG_fail
;
14909 arg3
= (int) SWIG_AsInt(obj2
);
14910 if (PyErr_Occurred()) SWIG_fail
;
14912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14913 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
14915 wxPyEndAllowThreads(__tstate
);
14916 if (PyErr_Occurred()) SWIG_fail
;
14918 Py_INCREF(Py_None
); resultobj
= Py_None
;
14925 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14926 PyObject
*resultobj
;
14927 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14928 int *arg2
= (int *) 0 ;
14929 int *arg3
= (int *) 0 ;
14932 PyObject
* obj0
= 0 ;
14933 char *kwnames
[] = {
14934 (char *) "self", NULL
14939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
14940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14944 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
14946 wxPyEndAllowThreads(__tstate
);
14947 if (PyErr_Occurred()) SWIG_fail
;
14949 Py_INCREF(Py_None
); resultobj
= Py_None
;
14951 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14952 resultobj
= t_output_helper(resultobj
,o
);
14955 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14956 resultobj
= t_output_helper(resultobj
,o
);
14964 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14965 PyObject
*resultobj
;
14966 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14967 int *arg2
= (int *) 0 ;
14968 int *arg3
= (int *) 0 ;
14971 PyObject
* obj0
= 0 ;
14972 char *kwnames
[] = {
14973 (char *) "self", NULL
14978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
14979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14983 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
14985 wxPyEndAllowThreads(__tstate
);
14986 if (PyErr_Occurred()) SWIG_fail
;
14988 Py_INCREF(Py_None
); resultobj
= Py_None
;
14990 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14991 resultobj
= t_output_helper(resultobj
,o
);
14994 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14995 resultobj
= t_output_helper(resultobj
,o
);
15003 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15004 PyObject
*resultobj
;
15005 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15006 int *arg2
= (int *) 0 ;
15007 int *arg3
= (int *) 0 ;
15010 PyObject
* obj0
= 0 ;
15011 char *kwnames
[] = {
15012 (char *) "self", NULL
15017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15022 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15024 wxPyEndAllowThreads(__tstate
);
15025 if (PyErr_Occurred()) SWIG_fail
;
15027 Py_INCREF(Py_None
); resultobj
= Py_None
;
15029 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15030 resultobj
= t_output_helper(resultobj
,o
);
15033 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15034 resultobj
= t_output_helper(resultobj
,o
);
15042 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15043 PyObject
*resultobj
;
15044 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15046 PyObject
* obj0
= 0 ;
15047 char *kwnames
[] = {
15048 (char *) "self", NULL
15051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15056 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15058 wxPyEndAllowThreads(__tstate
);
15059 if (PyErr_Occurred()) SWIG_fail
;
15062 wxSize
* resultptr
;
15063 resultptr
= new wxSize((wxSize
&) result
);
15064 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15072 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15073 PyObject
*resultobj
;
15074 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15076 PyObject
* obj0
= 0 ;
15077 char *kwnames
[] = {
15078 (char *) "self", NULL
15081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15086 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15088 wxPyEndAllowThreads(__tstate
);
15089 if (PyErr_Occurred()) SWIG_fail
;
15092 wxSize
* resultptr
;
15093 resultptr
= new wxSize((wxSize
&) result
);
15094 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15102 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15103 PyObject
*resultobj
;
15104 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15105 PyObject
* obj0
= 0 ;
15106 char *kwnames
[] = {
15107 (char *) "self", NULL
15110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15115 (arg1
)->base_InitDialog();
15117 wxPyEndAllowThreads(__tstate
);
15118 if (PyErr_Occurred()) SWIG_fail
;
15120 Py_INCREF(Py_None
); resultobj
= Py_None
;
15127 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15128 PyObject
*resultobj
;
15129 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15131 PyObject
* obj0
= 0 ;
15132 char *kwnames
[] = {
15133 (char *) "self", NULL
15136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15141 result
= (bool)(arg1
)->base_TransferDataToWindow();
15143 wxPyEndAllowThreads(__tstate
);
15144 if (PyErr_Occurred()) SWIG_fail
;
15147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15155 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15156 PyObject
*resultobj
;
15157 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15159 PyObject
* obj0
= 0 ;
15160 char *kwnames
[] = {
15161 (char *) "self", NULL
15164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15169 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15171 wxPyEndAllowThreads(__tstate
);
15172 if (PyErr_Occurred()) SWIG_fail
;
15175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15183 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15184 PyObject
*resultobj
;
15185 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15187 PyObject
* obj0
= 0 ;
15188 char *kwnames
[] = {
15189 (char *) "self", NULL
15192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15197 result
= (bool)(arg1
)->base_Validate();
15199 wxPyEndAllowThreads(__tstate
);
15200 if (PyErr_Occurred()) SWIG_fail
;
15203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15211 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15212 PyObject
*resultobj
;
15213 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15215 PyObject
* obj0
= 0 ;
15216 char *kwnames
[] = {
15217 (char *) "self", NULL
15220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15225 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15227 wxPyEndAllowThreads(__tstate
);
15228 if (PyErr_Occurred()) SWIG_fail
;
15231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15239 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15240 PyObject
*resultobj
;
15241 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15243 PyObject
* obj0
= 0 ;
15244 char *kwnames
[] = {
15245 (char *) "self", NULL
15248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15253 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15255 wxPyEndAllowThreads(__tstate
);
15256 if (PyErr_Occurred()) SWIG_fail
;
15259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15267 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15268 PyObject
*resultobj
;
15269 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15271 PyObject
* obj0
= 0 ;
15272 char *kwnames
[] = {
15273 (char *) "self", NULL
15276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15281 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
15283 wxPyEndAllowThreads(__tstate
);
15284 if (PyErr_Occurred()) SWIG_fail
;
15287 wxSize
* resultptr
;
15288 resultptr
= new wxSize((wxSize
&) result
);
15289 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15297 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15298 PyObject
*resultobj
;
15299 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15300 wxWindow
*arg2
= (wxWindow
*) 0 ;
15301 PyObject
* obj0
= 0 ;
15302 PyObject
* obj1
= 0 ;
15303 char *kwnames
[] = {
15304 (char *) "self",(char *) "child", NULL
15307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15310 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15314 (arg1
)->base_AddChild(arg2
);
15316 wxPyEndAllowThreads(__tstate
);
15317 if (PyErr_Occurred()) SWIG_fail
;
15319 Py_INCREF(Py_None
); resultobj
= Py_None
;
15326 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15327 PyObject
*resultobj
;
15328 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15329 wxWindow
*arg2
= (wxWindow
*) 0 ;
15330 PyObject
* obj0
= 0 ;
15331 PyObject
* obj1
= 0 ;
15332 char *kwnames
[] = {
15333 (char *) "self",(char *) "child", NULL
15336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15339 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15343 (arg1
)->base_RemoveChild(arg2
);
15345 wxPyEndAllowThreads(__tstate
);
15346 if (PyErr_Occurred()) SWIG_fail
;
15348 Py_INCREF(Py_None
); resultobj
= Py_None
;
15355 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
15357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15358 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
15360 return Py_BuildValue((char *)"");
15362 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15363 PyObject
*resultobj
;
15364 wxWindow
*arg1
= (wxWindow
*) 0 ;
15366 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15367 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15368 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15369 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15370 long arg5
= (long) 0 ;
15371 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15372 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15376 bool temp6
= False
;
15377 PyObject
* obj0
= 0 ;
15378 PyObject
* obj1
= 0 ;
15379 PyObject
* obj2
= 0 ;
15380 PyObject
* obj3
= 0 ;
15381 PyObject
* obj4
= 0 ;
15382 PyObject
* obj5
= 0 ;
15383 char *kwnames
[] = {
15384 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15390 arg2
= (int const) SWIG_AsInt(obj1
);
15391 if (PyErr_Occurred()) SWIG_fail
;
15395 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15401 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15405 arg5
= (long) SWIG_AsLong(obj4
);
15406 if (PyErr_Occurred()) SWIG_fail
;
15410 arg6
= wxString_in_helper(obj5
);
15411 if (arg6
== NULL
) SWIG_fail
;
15416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15417 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15419 wxPyEndAllowThreads(__tstate
);
15420 if (PyErr_Occurred()) SWIG_fail
;
15422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
15437 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15438 PyObject
*resultobj
;
15439 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15440 PyObject
*arg2
= (PyObject
*) 0 ;
15441 PyObject
*arg3
= (PyObject
*) 0 ;
15442 PyObject
* obj0
= 0 ;
15443 PyObject
* obj1
= 0 ;
15444 PyObject
* obj2
= 0 ;
15445 char *kwnames
[] = {
15446 (char *) "self",(char *) "self",(char *) "_class", NULL
15449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15456 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15458 wxPyEndAllowThreads(__tstate
);
15459 if (PyErr_Occurred()) SWIG_fail
;
15461 Py_INCREF(Py_None
); resultobj
= Py_None
;
15468 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15469 PyObject
*resultobj
;
15470 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15475 PyObject
* obj0
= 0 ;
15476 PyObject
* obj1
= 0 ;
15477 PyObject
* obj2
= 0 ;
15478 PyObject
* obj3
= 0 ;
15479 PyObject
* obj4
= 0 ;
15480 char *kwnames
[] = {
15481 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15487 arg2
= (int) SWIG_AsInt(obj1
);
15488 if (PyErr_Occurred()) SWIG_fail
;
15489 arg3
= (int) SWIG_AsInt(obj2
);
15490 if (PyErr_Occurred()) SWIG_fail
;
15491 arg4
= (int) SWIG_AsInt(obj3
);
15492 if (PyErr_Occurred()) SWIG_fail
;
15493 arg5
= (int) SWIG_AsInt(obj4
);
15494 if (PyErr_Occurred()) SWIG_fail
;
15496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15497 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15499 wxPyEndAllowThreads(__tstate
);
15500 if (PyErr_Occurred()) SWIG_fail
;
15502 Py_INCREF(Py_None
); resultobj
= Py_None
;
15509 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15510 PyObject
*resultobj
;
15511 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15516 int arg6
= (int) wxSIZE_AUTO
;
15517 PyObject
* obj0
= 0 ;
15518 PyObject
* obj1
= 0 ;
15519 PyObject
* obj2
= 0 ;
15520 PyObject
* obj3
= 0 ;
15521 PyObject
* obj4
= 0 ;
15522 PyObject
* obj5
= 0 ;
15523 char *kwnames
[] = {
15524 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15530 arg2
= (int) SWIG_AsInt(obj1
);
15531 if (PyErr_Occurred()) SWIG_fail
;
15532 arg3
= (int) SWIG_AsInt(obj2
);
15533 if (PyErr_Occurred()) SWIG_fail
;
15534 arg4
= (int) SWIG_AsInt(obj3
);
15535 if (PyErr_Occurred()) SWIG_fail
;
15536 arg5
= (int) SWIG_AsInt(obj4
);
15537 if (PyErr_Occurred()) SWIG_fail
;
15539 arg6
= (int) SWIG_AsInt(obj5
);
15540 if (PyErr_Occurred()) SWIG_fail
;
15543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15544 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15546 wxPyEndAllowThreads(__tstate
);
15547 if (PyErr_Occurred()) SWIG_fail
;
15549 Py_INCREF(Py_None
); resultobj
= Py_None
;
15556 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15557 PyObject
*resultobj
;
15558 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15561 PyObject
* obj0
= 0 ;
15562 PyObject
* obj1
= 0 ;
15563 PyObject
* obj2
= 0 ;
15564 char *kwnames
[] = {
15565 (char *) "self",(char *) "width",(char *) "height", NULL
15568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15571 arg2
= (int) SWIG_AsInt(obj1
);
15572 if (PyErr_Occurred()) SWIG_fail
;
15573 arg3
= (int) SWIG_AsInt(obj2
);
15574 if (PyErr_Occurred()) SWIG_fail
;
15576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15577 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15579 wxPyEndAllowThreads(__tstate
);
15580 if (PyErr_Occurred()) SWIG_fail
;
15582 Py_INCREF(Py_None
); resultobj
= Py_None
;
15589 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15590 PyObject
*resultobj
;
15591 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15594 PyObject
* obj0
= 0 ;
15595 PyObject
* obj1
= 0 ;
15596 PyObject
* obj2
= 0 ;
15597 char *kwnames
[] = {
15598 (char *) "self",(char *) "x",(char *) "y", NULL
15601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15604 arg2
= (int) SWIG_AsInt(obj1
);
15605 if (PyErr_Occurred()) SWIG_fail
;
15606 arg3
= (int) SWIG_AsInt(obj2
);
15607 if (PyErr_Occurred()) SWIG_fail
;
15609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15610 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15612 wxPyEndAllowThreads(__tstate
);
15613 if (PyErr_Occurred()) SWIG_fail
;
15615 Py_INCREF(Py_None
); resultobj
= Py_None
;
15622 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15623 PyObject
*resultobj
;
15624 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15625 int *arg2
= (int *) 0 ;
15626 int *arg3
= (int *) 0 ;
15629 PyObject
* obj0
= 0 ;
15630 char *kwnames
[] = {
15631 (char *) "self", NULL
15636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15641 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15643 wxPyEndAllowThreads(__tstate
);
15644 if (PyErr_Occurred()) SWIG_fail
;
15646 Py_INCREF(Py_None
); resultobj
= Py_None
;
15648 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15649 resultobj
= t_output_helper(resultobj
,o
);
15652 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15653 resultobj
= t_output_helper(resultobj
,o
);
15661 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15662 PyObject
*resultobj
;
15663 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15664 int *arg2
= (int *) 0 ;
15665 int *arg3
= (int *) 0 ;
15668 PyObject
* obj0
= 0 ;
15669 char *kwnames
[] = {
15670 (char *) "self", NULL
15675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15680 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15682 wxPyEndAllowThreads(__tstate
);
15683 if (PyErr_Occurred()) SWIG_fail
;
15685 Py_INCREF(Py_None
); resultobj
= Py_None
;
15687 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15688 resultobj
= t_output_helper(resultobj
,o
);
15691 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15692 resultobj
= t_output_helper(resultobj
,o
);
15700 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15701 PyObject
*resultobj
;
15702 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15703 int *arg2
= (int *) 0 ;
15704 int *arg3
= (int *) 0 ;
15707 PyObject
* obj0
= 0 ;
15708 char *kwnames
[] = {
15709 (char *) "self", NULL
15714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15719 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15721 wxPyEndAllowThreads(__tstate
);
15722 if (PyErr_Occurred()) SWIG_fail
;
15724 Py_INCREF(Py_None
); resultobj
= Py_None
;
15726 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15727 resultobj
= t_output_helper(resultobj
,o
);
15730 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15731 resultobj
= t_output_helper(resultobj
,o
);
15739 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15740 PyObject
*resultobj
;
15741 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15743 PyObject
* obj0
= 0 ;
15744 char *kwnames
[] = {
15745 (char *) "self", NULL
15748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15753 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
15755 wxPyEndAllowThreads(__tstate
);
15756 if (PyErr_Occurred()) SWIG_fail
;
15759 wxSize
* resultptr
;
15760 resultptr
= new wxSize((wxSize
&) result
);
15761 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15769 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15770 PyObject
*resultobj
;
15771 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15773 PyObject
* obj0
= 0 ;
15774 char *kwnames
[] = {
15775 (char *) "self", NULL
15778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15783 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
15785 wxPyEndAllowThreads(__tstate
);
15786 if (PyErr_Occurred()) SWIG_fail
;
15789 wxSize
* resultptr
;
15790 resultptr
= new wxSize((wxSize
&) result
);
15791 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15799 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15800 PyObject
*resultobj
;
15801 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15802 PyObject
* obj0
= 0 ;
15803 char *kwnames
[] = {
15804 (char *) "self", NULL
15807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15812 (arg1
)->base_InitDialog();
15814 wxPyEndAllowThreads(__tstate
);
15815 if (PyErr_Occurred()) SWIG_fail
;
15817 Py_INCREF(Py_None
); resultobj
= Py_None
;
15824 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15825 PyObject
*resultobj
;
15826 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15828 PyObject
* obj0
= 0 ;
15829 char *kwnames
[] = {
15830 (char *) "self", NULL
15833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15838 result
= (bool)(arg1
)->base_TransferDataToWindow();
15840 wxPyEndAllowThreads(__tstate
);
15841 if (PyErr_Occurred()) SWIG_fail
;
15844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15852 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15853 PyObject
*resultobj
;
15854 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15856 PyObject
* obj0
= 0 ;
15857 char *kwnames
[] = {
15858 (char *) "self", NULL
15861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15866 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15868 wxPyEndAllowThreads(__tstate
);
15869 if (PyErr_Occurred()) SWIG_fail
;
15872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15880 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15881 PyObject
*resultobj
;
15882 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15884 PyObject
* obj0
= 0 ;
15885 char *kwnames
[] = {
15886 (char *) "self", NULL
15889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
15890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15894 result
= (bool)(arg1
)->base_Validate();
15896 wxPyEndAllowThreads(__tstate
);
15897 if (PyErr_Occurred()) SWIG_fail
;
15900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15908 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15909 PyObject
*resultobj
;
15910 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15912 PyObject
* obj0
= 0 ;
15913 char *kwnames
[] = {
15914 (char *) "self", NULL
15917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15922 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
15924 wxPyEndAllowThreads(__tstate
);
15925 if (PyErr_Occurred()) SWIG_fail
;
15928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15936 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15937 PyObject
*resultobj
;
15938 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15940 PyObject
* obj0
= 0 ;
15941 char *kwnames
[] = {
15942 (char *) "self", NULL
15945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15950 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15952 wxPyEndAllowThreads(__tstate
);
15953 if (PyErr_Occurred()) SWIG_fail
;
15956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15964 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15965 PyObject
*resultobj
;
15966 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15968 PyObject
* obj0
= 0 ;
15969 char *kwnames
[] = {
15970 (char *) "self", NULL
15973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15978 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
15980 wxPyEndAllowThreads(__tstate
);
15981 if (PyErr_Occurred()) SWIG_fail
;
15984 wxSize
* resultptr
;
15985 resultptr
= new wxSize((wxSize
&) result
);
15986 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15994 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15995 PyObject
*resultobj
;
15996 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15997 wxWindow
*arg2
= (wxWindow
*) 0 ;
15998 PyObject
* obj0
= 0 ;
15999 PyObject
* obj1
= 0 ;
16000 char *kwnames
[] = {
16001 (char *) "self",(char *) "child", NULL
16004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16007 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16011 (arg1
)->base_AddChild(arg2
);
16013 wxPyEndAllowThreads(__tstate
);
16014 if (PyErr_Occurred()) SWIG_fail
;
16016 Py_INCREF(Py_None
); resultobj
= Py_None
;
16023 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16024 PyObject
*resultobj
;
16025 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16026 wxWindow
*arg2
= (wxWindow
*) 0 ;
16027 PyObject
* obj0
= 0 ;
16028 PyObject
* obj1
= 0 ;
16029 char *kwnames
[] = {
16030 (char *) "self",(char *) "child", NULL
16033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16036 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16040 (arg1
)->base_RemoveChild(arg2
);
16042 wxPyEndAllowThreads(__tstate
);
16043 if (PyErr_Occurred()) SWIG_fail
;
16045 Py_INCREF(Py_None
); resultobj
= Py_None
;
16052 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
16054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16055 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
16057 return Py_BuildValue((char *)"");
16059 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
16060 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
16065 static PyObject
*_wrap_PrintoutTitleStr_get() {
16070 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
16072 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
16079 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
16080 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
16085 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
16090 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
16092 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
16099 static PyObject
*_wrap_new_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16100 PyObject
*resultobj
;
16101 wxPrintData
*result
;
16102 char *kwnames
[] = {
16106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
16108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16109 result
= (wxPrintData
*)new wxPrintData();
16111 wxPyEndAllowThreads(__tstate
);
16112 if (PyErr_Occurred()) SWIG_fail
;
16114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
16121 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16122 PyObject
*resultobj
;
16123 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16124 PyObject
* obj0
= 0 ;
16125 char *kwnames
[] = {
16126 (char *) "self", NULL
16129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
16130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16136 wxPyEndAllowThreads(__tstate
);
16137 if (PyErr_Occurred()) SWIG_fail
;
16139 Py_INCREF(Py_None
); resultobj
= Py_None
;
16146 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16147 PyObject
*resultobj
;
16148 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16150 PyObject
* obj0
= 0 ;
16151 char *kwnames
[] = {
16152 (char *) "self", NULL
16155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
16156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16160 result
= (int)(arg1
)->GetNoCopies();
16162 wxPyEndAllowThreads(__tstate
);
16163 if (PyErr_Occurred()) SWIG_fail
;
16165 resultobj
= SWIG_FromInt((int)result
);
16172 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16173 PyObject
*resultobj
;
16174 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16176 PyObject
* obj0
= 0 ;
16177 char *kwnames
[] = {
16178 (char *) "self", NULL
16181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
16182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16186 result
= (bool)(arg1
)->GetCollate();
16188 wxPyEndAllowThreads(__tstate
);
16189 if (PyErr_Occurred()) SWIG_fail
;
16192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16200 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16201 PyObject
*resultobj
;
16202 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16204 PyObject
* obj0
= 0 ;
16205 char *kwnames
[] = {
16206 (char *) "self", NULL
16209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
16210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16214 result
= (int)(arg1
)->GetOrientation();
16216 wxPyEndAllowThreads(__tstate
);
16217 if (PyErr_Occurred()) SWIG_fail
;
16219 resultobj
= SWIG_FromInt((int)result
);
16226 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16227 PyObject
*resultobj
;
16228 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16230 PyObject
* obj0
= 0 ;
16231 char *kwnames
[] = {
16232 (char *) "self", NULL
16235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
16236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16240 result
= (bool)(arg1
)->Ok();
16242 wxPyEndAllowThreads(__tstate
);
16243 if (PyErr_Occurred()) SWIG_fail
;
16246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16254 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16255 PyObject
*resultobj
;
16256 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16258 PyObject
* obj0
= 0 ;
16259 char *kwnames
[] = {
16260 (char *) "self", NULL
16263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
16264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16269 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
16270 result
= (wxString
*) &_result_ref
;
16273 wxPyEndAllowThreads(__tstate
);
16274 if (PyErr_Occurred()) SWIG_fail
;
16278 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16280 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16289 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16290 PyObject
*resultobj
;
16291 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16293 PyObject
* obj0
= 0 ;
16294 char *kwnames
[] = {
16295 (char *) "self", NULL
16298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
16299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16303 result
= (bool)(arg1
)->GetColour();
16305 wxPyEndAllowThreads(__tstate
);
16306 if (PyErr_Occurred()) SWIG_fail
;
16309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16317 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16318 PyObject
*resultobj
;
16319 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16321 PyObject
* obj0
= 0 ;
16322 char *kwnames
[] = {
16323 (char *) "self", NULL
16326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
16327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16331 result
= (int)(arg1
)->GetDuplex();
16333 wxPyEndAllowThreads(__tstate
);
16334 if (PyErr_Occurred()) SWIG_fail
;
16336 resultobj
= SWIG_FromInt((int)result
);
16343 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16344 PyObject
*resultobj
;
16345 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16347 PyObject
* obj0
= 0 ;
16348 char *kwnames
[] = {
16349 (char *) "self", NULL
16352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
16353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16357 result
= (int)(arg1
)->GetPaperId();
16359 wxPyEndAllowThreads(__tstate
);
16360 if (PyErr_Occurred()) SWIG_fail
;
16362 resultobj
= SWIG_FromInt((int)result
);
16369 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16370 PyObject
*resultobj
;
16371 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16373 PyObject
* obj0
= 0 ;
16374 char *kwnames
[] = {
16375 (char *) "self", NULL
16378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
16379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16384 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
16385 result
= (wxSize
*) &_result_ref
;
16388 wxPyEndAllowThreads(__tstate
);
16389 if (PyErr_Occurred()) SWIG_fail
;
16391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16398 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16399 PyObject
*resultobj
;
16400 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16402 PyObject
* obj0
= 0 ;
16403 char *kwnames
[] = {
16404 (char *) "self", NULL
16407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
16408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16412 result
= (int)(arg1
)->GetQuality();
16414 wxPyEndAllowThreads(__tstate
);
16415 if (PyErr_Occurred()) SWIG_fail
;
16417 resultobj
= SWIG_FromInt((int)result
);
16424 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16425 PyObject
*resultobj
;
16426 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16428 PyObject
* obj0
= 0 ;
16429 PyObject
* obj1
= 0 ;
16430 char *kwnames
[] = {
16431 (char *) "self",(char *) "v", NULL
16434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
16435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16437 arg2
= (int) SWIG_AsInt(obj1
);
16438 if (PyErr_Occurred()) SWIG_fail
;
16440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16441 (arg1
)->SetNoCopies(arg2
);
16443 wxPyEndAllowThreads(__tstate
);
16444 if (PyErr_Occurred()) SWIG_fail
;
16446 Py_INCREF(Py_None
); resultobj
= Py_None
;
16453 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16454 PyObject
*resultobj
;
16455 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16457 PyObject
* obj0
= 0 ;
16458 PyObject
* obj1
= 0 ;
16459 char *kwnames
[] = {
16460 (char *) "self",(char *) "flag", NULL
16463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
16464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16466 arg2
= (bool) SWIG_AsBool(obj1
);
16467 if (PyErr_Occurred()) SWIG_fail
;
16469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16470 (arg1
)->SetCollate(arg2
);
16472 wxPyEndAllowThreads(__tstate
);
16473 if (PyErr_Occurred()) SWIG_fail
;
16475 Py_INCREF(Py_None
); resultobj
= Py_None
;
16482 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16483 PyObject
*resultobj
;
16484 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16486 PyObject
* obj0
= 0 ;
16487 PyObject
* obj1
= 0 ;
16488 char *kwnames
[] = {
16489 (char *) "self",(char *) "orient", NULL
16492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16495 arg2
= (int) SWIG_AsInt(obj1
);
16496 if (PyErr_Occurred()) SWIG_fail
;
16498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16499 (arg1
)->SetOrientation(arg2
);
16501 wxPyEndAllowThreads(__tstate
);
16502 if (PyErr_Occurred()) SWIG_fail
;
16504 Py_INCREF(Py_None
); resultobj
= Py_None
;
16511 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16512 PyObject
*resultobj
;
16513 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16514 wxString
*arg2
= 0 ;
16515 bool temp2
= False
;
16516 PyObject
* obj0
= 0 ;
16517 PyObject
* obj1
= 0 ;
16518 char *kwnames
[] = {
16519 (char *) "self",(char *) "name", NULL
16522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
16523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16526 arg2
= wxString_in_helper(obj1
);
16527 if (arg2
== NULL
) SWIG_fail
;
16531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16532 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
16534 wxPyEndAllowThreads(__tstate
);
16535 if (PyErr_Occurred()) SWIG_fail
;
16537 Py_INCREF(Py_None
); resultobj
= Py_None
;
16552 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16553 PyObject
*resultobj
;
16554 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16556 PyObject
* obj0
= 0 ;
16557 PyObject
* obj1
= 0 ;
16558 char *kwnames
[] = {
16559 (char *) "self",(char *) "colour", NULL
16562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16565 arg2
= (bool) SWIG_AsBool(obj1
);
16566 if (PyErr_Occurred()) SWIG_fail
;
16568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16569 (arg1
)->SetColour(arg2
);
16571 wxPyEndAllowThreads(__tstate
);
16572 if (PyErr_Occurred()) SWIG_fail
;
16574 Py_INCREF(Py_None
); resultobj
= Py_None
;
16581 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16582 PyObject
*resultobj
;
16583 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16585 PyObject
* obj0
= 0 ;
16586 PyObject
* obj1
= 0 ;
16587 char *kwnames
[] = {
16588 (char *) "self",(char *) "duplex", NULL
16591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
16592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16594 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
16595 if (PyErr_Occurred()) SWIG_fail
;
16597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16598 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
16600 wxPyEndAllowThreads(__tstate
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16603 Py_INCREF(Py_None
); resultobj
= Py_None
;
16610 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16611 PyObject
*resultobj
;
16612 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16614 PyObject
* obj0
= 0 ;
16615 PyObject
* obj1
= 0 ;
16616 char *kwnames
[] = {
16617 (char *) "self",(char *) "sizeId", NULL
16620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
16621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16623 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
16624 if (PyErr_Occurred()) SWIG_fail
;
16626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16627 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
16629 wxPyEndAllowThreads(__tstate
);
16630 if (PyErr_Occurred()) SWIG_fail
;
16632 Py_INCREF(Py_None
); resultobj
= Py_None
;
16639 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16640 PyObject
*resultobj
;
16641 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16644 PyObject
* obj0
= 0 ;
16645 PyObject
* obj1
= 0 ;
16646 char *kwnames
[] = {
16647 (char *) "self",(char *) "sz", NULL
16650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16655 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16659 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
16661 wxPyEndAllowThreads(__tstate
);
16662 if (PyErr_Occurred()) SWIG_fail
;
16664 Py_INCREF(Py_None
); resultobj
= Py_None
;
16671 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16672 PyObject
*resultobj
;
16673 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16675 PyObject
* obj0
= 0 ;
16676 PyObject
* obj1
= 0 ;
16677 char *kwnames
[] = {
16678 (char *) "self",(char *) "quality", NULL
16681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
16682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16684 arg2
= (int) SWIG_AsInt(obj1
);
16685 if (PyErr_Occurred()) SWIG_fail
;
16687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16688 (arg1
)->SetQuality(arg2
);
16690 wxPyEndAllowThreads(__tstate
);
16691 if (PyErr_Occurred()) SWIG_fail
;
16693 Py_INCREF(Py_None
); resultobj
= Py_None
;
16700 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16701 PyObject
*resultobj
;
16702 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16704 PyObject
* obj0
= 0 ;
16705 char *kwnames
[] = {
16706 (char *) "self", NULL
16709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
16710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16715 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
16716 result
= (wxString
*) &_result_ref
;
16719 wxPyEndAllowThreads(__tstate
);
16720 if (PyErr_Occurred()) SWIG_fail
;
16724 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16726 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16735 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16736 PyObject
*resultobj
;
16737 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16739 PyObject
* obj0
= 0 ;
16740 char *kwnames
[] = {
16741 (char *) "self", NULL
16744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
16745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16750 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
16751 result
= (wxString
*) &_result_ref
;
16754 wxPyEndAllowThreads(__tstate
);
16755 if (PyErr_Occurred()) SWIG_fail
;
16759 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16761 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16770 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16771 PyObject
*resultobj
;
16772 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16774 PyObject
* obj0
= 0 ;
16775 char *kwnames
[] = {
16776 (char *) "self", NULL
16779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
16780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16785 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
16786 result
= (wxString
*) &_result_ref
;
16789 wxPyEndAllowThreads(__tstate
);
16790 if (PyErr_Occurred()) SWIG_fail
;
16794 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16796 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16805 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16806 PyObject
*resultobj
;
16807 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16809 PyObject
* obj0
= 0 ;
16810 char *kwnames
[] = {
16811 (char *) "self", NULL
16814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
16815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16820 wxString
const &_result_ref
= (arg1
)->GetFilename();
16821 result
= (wxString
*) &_result_ref
;
16824 wxPyEndAllowThreads(__tstate
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16829 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16831 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16840 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16841 PyObject
*resultobj
;
16842 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16844 PyObject
* obj0
= 0 ;
16845 char *kwnames
[] = {
16846 (char *) "self", NULL
16849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
16850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16855 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
16856 result
= (wxString
*) &_result_ref
;
16859 wxPyEndAllowThreads(__tstate
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16864 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16866 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16875 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16876 PyObject
*resultobj
;
16877 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16879 PyObject
* obj0
= 0 ;
16880 char *kwnames
[] = {
16881 (char *) "self", NULL
16884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
16885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16889 result
= (double)(arg1
)->GetPrinterScaleX();
16891 wxPyEndAllowThreads(__tstate
);
16892 if (PyErr_Occurred()) SWIG_fail
;
16894 resultobj
= SWIG_FromDouble((double)result
);
16901 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16902 PyObject
*resultobj
;
16903 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16905 PyObject
* obj0
= 0 ;
16906 char *kwnames
[] = {
16907 (char *) "self", NULL
16910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
16911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16915 result
= (double)(arg1
)->GetPrinterScaleY();
16917 wxPyEndAllowThreads(__tstate
);
16918 if (PyErr_Occurred()) SWIG_fail
;
16920 resultobj
= SWIG_FromDouble((double)result
);
16927 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16928 PyObject
*resultobj
;
16929 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16931 PyObject
* obj0
= 0 ;
16932 char *kwnames
[] = {
16933 (char *) "self", NULL
16936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
16937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16941 result
= (long)(arg1
)->GetPrinterTranslateX();
16943 wxPyEndAllowThreads(__tstate
);
16944 if (PyErr_Occurred()) SWIG_fail
;
16946 resultobj
= SWIG_FromLong((long)result
);
16953 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16954 PyObject
*resultobj
;
16955 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16957 PyObject
* obj0
= 0 ;
16958 char *kwnames
[] = {
16959 (char *) "self", NULL
16962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
16963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16967 result
= (long)(arg1
)->GetPrinterTranslateY();
16969 wxPyEndAllowThreads(__tstate
);
16970 if (PyErr_Occurred()) SWIG_fail
;
16972 resultobj
= SWIG_FromLong((long)result
);
16979 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16980 PyObject
*resultobj
;
16981 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16983 PyObject
* obj0
= 0 ;
16984 char *kwnames
[] = {
16985 (char *) "self", NULL
16988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
16989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16993 result
= (int)(arg1
)->GetPrintMode();
16995 wxPyEndAllowThreads(__tstate
);
16996 if (PyErr_Occurred()) SWIG_fail
;
16998 resultobj
= SWIG_FromInt((int)result
);
17005 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17006 PyObject
*resultobj
;
17007 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17008 wxString
*arg2
= 0 ;
17009 bool temp2
= False
;
17010 PyObject
* obj0
= 0 ;
17011 PyObject
* obj1
= 0 ;
17012 char *kwnames
[] = {
17013 (char *) "self",(char *) "command", NULL
17016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
17017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17020 arg2
= wxString_in_helper(obj1
);
17021 if (arg2
== NULL
) SWIG_fail
;
17025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17026 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
17028 wxPyEndAllowThreads(__tstate
);
17029 if (PyErr_Occurred()) SWIG_fail
;
17031 Py_INCREF(Py_None
); resultobj
= Py_None
;
17046 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17047 PyObject
*resultobj
;
17048 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17049 wxString
*arg2
= 0 ;
17050 bool temp2
= False
;
17051 PyObject
* obj0
= 0 ;
17052 PyObject
* obj1
= 0 ;
17053 char *kwnames
[] = {
17054 (char *) "self",(char *) "options", NULL
17057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
17058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17061 arg2
= wxString_in_helper(obj1
);
17062 if (arg2
== NULL
) SWIG_fail
;
17066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17067 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
17069 wxPyEndAllowThreads(__tstate
);
17070 if (PyErr_Occurred()) SWIG_fail
;
17072 Py_INCREF(Py_None
); resultobj
= Py_None
;
17087 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17088 PyObject
*resultobj
;
17089 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17090 wxString
*arg2
= 0 ;
17091 bool temp2
= False
;
17092 PyObject
* obj0
= 0 ;
17093 PyObject
* obj1
= 0 ;
17094 char *kwnames
[] = {
17095 (char *) "self",(char *) "command", NULL
17098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
17099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17102 arg2
= wxString_in_helper(obj1
);
17103 if (arg2
== NULL
) SWIG_fail
;
17107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17108 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
17110 wxPyEndAllowThreads(__tstate
);
17111 if (PyErr_Occurred()) SWIG_fail
;
17113 Py_INCREF(Py_None
); resultobj
= Py_None
;
17128 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17129 PyObject
*resultobj
;
17130 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17131 wxString
*arg2
= 0 ;
17132 bool temp2
= False
;
17133 PyObject
* obj0
= 0 ;
17134 PyObject
* obj1
= 0 ;
17135 char *kwnames
[] = {
17136 (char *) "self",(char *) "filename", NULL
17139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
17140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17143 arg2
= wxString_in_helper(obj1
);
17144 if (arg2
== NULL
) SWIG_fail
;
17148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17149 (arg1
)->SetFilename((wxString
const &)*arg2
);
17151 wxPyEndAllowThreads(__tstate
);
17152 if (PyErr_Occurred()) SWIG_fail
;
17154 Py_INCREF(Py_None
); resultobj
= Py_None
;
17169 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17170 PyObject
*resultobj
;
17171 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17172 wxString
*arg2
= 0 ;
17173 bool temp2
= False
;
17174 PyObject
* obj0
= 0 ;
17175 PyObject
* obj1
= 0 ;
17176 char *kwnames
[] = {
17177 (char *) "self",(char *) "path", NULL
17180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
17181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17184 arg2
= wxString_in_helper(obj1
);
17185 if (arg2
== NULL
) SWIG_fail
;
17189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17190 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
17192 wxPyEndAllowThreads(__tstate
);
17193 if (PyErr_Occurred()) SWIG_fail
;
17195 Py_INCREF(Py_None
); resultobj
= Py_None
;
17210 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17211 PyObject
*resultobj
;
17212 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17214 PyObject
* obj0
= 0 ;
17215 PyObject
* obj1
= 0 ;
17216 char *kwnames
[] = {
17217 (char *) "self",(char *) "x", NULL
17220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
17221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17223 arg2
= (double) SWIG_AsDouble(obj1
);
17224 if (PyErr_Occurred()) SWIG_fail
;
17226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17227 (arg1
)->SetPrinterScaleX(arg2
);
17229 wxPyEndAllowThreads(__tstate
);
17230 if (PyErr_Occurred()) SWIG_fail
;
17232 Py_INCREF(Py_None
); resultobj
= Py_None
;
17239 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17240 PyObject
*resultobj
;
17241 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17243 PyObject
* obj0
= 0 ;
17244 PyObject
* obj1
= 0 ;
17245 char *kwnames
[] = {
17246 (char *) "self",(char *) "y", NULL
17249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
17250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17252 arg2
= (double) SWIG_AsDouble(obj1
);
17253 if (PyErr_Occurred()) SWIG_fail
;
17255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17256 (arg1
)->SetPrinterScaleY(arg2
);
17258 wxPyEndAllowThreads(__tstate
);
17259 if (PyErr_Occurred()) SWIG_fail
;
17261 Py_INCREF(Py_None
); resultobj
= Py_None
;
17268 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17269 PyObject
*resultobj
;
17270 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17273 PyObject
* obj0
= 0 ;
17274 PyObject
* obj1
= 0 ;
17275 PyObject
* obj2
= 0 ;
17276 char *kwnames
[] = {
17277 (char *) "self",(char *) "x",(char *) "y", NULL
17280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17283 arg2
= (double) SWIG_AsDouble(obj1
);
17284 if (PyErr_Occurred()) SWIG_fail
;
17285 arg3
= (double) SWIG_AsDouble(obj2
);
17286 if (PyErr_Occurred()) SWIG_fail
;
17288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17289 (arg1
)->SetPrinterScaling(arg2
,arg3
);
17291 wxPyEndAllowThreads(__tstate
);
17292 if (PyErr_Occurred()) SWIG_fail
;
17294 Py_INCREF(Py_None
); resultobj
= Py_None
;
17301 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17302 PyObject
*resultobj
;
17303 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17305 PyObject
* obj0
= 0 ;
17306 PyObject
* obj1
= 0 ;
17307 char *kwnames
[] = {
17308 (char *) "self",(char *) "x", NULL
17311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
17312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17314 arg2
= (long) SWIG_AsLong(obj1
);
17315 if (PyErr_Occurred()) SWIG_fail
;
17317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17318 (arg1
)->SetPrinterTranslateX(arg2
);
17320 wxPyEndAllowThreads(__tstate
);
17321 if (PyErr_Occurred()) SWIG_fail
;
17323 Py_INCREF(Py_None
); resultobj
= Py_None
;
17330 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17331 PyObject
*resultobj
;
17332 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17334 PyObject
* obj0
= 0 ;
17335 PyObject
* obj1
= 0 ;
17336 char *kwnames
[] = {
17337 (char *) "self",(char *) "y", NULL
17340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
17341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17343 arg2
= (long) SWIG_AsLong(obj1
);
17344 if (PyErr_Occurred()) SWIG_fail
;
17346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17347 (arg1
)->SetPrinterTranslateY(arg2
);
17349 wxPyEndAllowThreads(__tstate
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17352 Py_INCREF(Py_None
); resultobj
= Py_None
;
17359 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17360 PyObject
*resultobj
;
17361 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17364 PyObject
* obj0
= 0 ;
17365 PyObject
* obj1
= 0 ;
17366 PyObject
* obj2
= 0 ;
17367 char *kwnames
[] = {
17368 (char *) "self",(char *) "x",(char *) "y", NULL
17371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17374 arg2
= (long) SWIG_AsLong(obj1
);
17375 if (PyErr_Occurred()) SWIG_fail
;
17376 arg3
= (long) SWIG_AsLong(obj2
);
17377 if (PyErr_Occurred()) SWIG_fail
;
17379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17380 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
17382 wxPyEndAllowThreads(__tstate
);
17383 if (PyErr_Occurred()) SWIG_fail
;
17385 Py_INCREF(Py_None
); resultobj
= Py_None
;
17392 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17393 PyObject
*resultobj
;
17394 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17396 PyObject
* obj0
= 0 ;
17397 PyObject
* obj1
= 0 ;
17398 char *kwnames
[] = {
17399 (char *) "self",(char *) "printMode", NULL
17402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
17403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17405 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
17406 if (PyErr_Occurred()) SWIG_fail
;
17408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17409 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
17411 wxPyEndAllowThreads(__tstate
);
17412 if (PyErr_Occurred()) SWIG_fail
;
17414 Py_INCREF(Py_None
); resultobj
= Py_None
;
17421 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17422 PyObject
*resultobj
;
17423 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17424 wxOutputStream
*result
;
17425 PyObject
* obj0
= 0 ;
17426 char *kwnames
[] = {
17427 (char *) "self", NULL
17430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
17431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17435 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
17437 wxPyEndAllowThreads(__tstate
);
17438 if (PyErr_Occurred()) SWIG_fail
;
17440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
17447 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17448 PyObject
*resultobj
;
17449 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17450 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
17451 PyObject
* obj0
= 0 ;
17452 PyObject
* obj1
= 0 ;
17453 char *kwnames
[] = {
17454 (char *) "self",(char *) "outputstream", NULL
17457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
17458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17460 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
17461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17464 (arg1
)->SetOutputStream(arg2
);
17466 wxPyEndAllowThreads(__tstate
);
17467 if (PyErr_Occurred()) SWIG_fail
;
17469 Py_INCREF(Py_None
); resultobj
= Py_None
;
17476 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
17478 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17479 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
17481 return Py_BuildValue((char *)"");
17483 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17484 PyObject
*resultobj
;
17485 wxPageSetupDialogData
*result
;
17486 char *kwnames
[] = {
17490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
17492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17493 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
17495 wxPyEndAllowThreads(__tstate
);
17496 if (PyErr_Occurred()) SWIG_fail
;
17498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
17505 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17506 PyObject
*resultobj
;
17507 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17508 PyObject
* obj0
= 0 ;
17509 char *kwnames
[] = {
17510 (char *) "self", NULL
17513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
17514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17520 wxPyEndAllowThreads(__tstate
);
17521 if (PyErr_Occurred()) SWIG_fail
;
17523 Py_INCREF(Py_None
); resultobj
= Py_None
;
17530 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17531 PyObject
*resultobj
;
17532 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17534 PyObject
* obj0
= 0 ;
17535 PyObject
* obj1
= 0 ;
17536 char *kwnames
[] = {
17537 (char *) "self",(char *) "flag", NULL
17540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17543 arg2
= (bool) SWIG_AsBool(obj1
);
17544 if (PyErr_Occurred()) SWIG_fail
;
17546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17547 (arg1
)->EnableHelp(arg2
);
17549 wxPyEndAllowThreads(__tstate
);
17550 if (PyErr_Occurred()) SWIG_fail
;
17552 Py_INCREF(Py_None
); resultobj
= Py_None
;
17559 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17560 PyObject
*resultobj
;
17561 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17563 PyObject
* obj0
= 0 ;
17564 PyObject
* obj1
= 0 ;
17565 char *kwnames
[] = {
17566 (char *) "self",(char *) "flag", NULL
17569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17572 arg2
= (bool) SWIG_AsBool(obj1
);
17573 if (PyErr_Occurred()) SWIG_fail
;
17575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17576 (arg1
)->EnableMargins(arg2
);
17578 wxPyEndAllowThreads(__tstate
);
17579 if (PyErr_Occurred()) SWIG_fail
;
17581 Py_INCREF(Py_None
); resultobj
= Py_None
;
17588 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17589 PyObject
*resultobj
;
17590 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17592 PyObject
* obj0
= 0 ;
17593 PyObject
* obj1
= 0 ;
17594 char *kwnames
[] = {
17595 (char *) "self",(char *) "flag", NULL
17598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
17599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17601 arg2
= (bool) SWIG_AsBool(obj1
);
17602 if (PyErr_Occurred()) SWIG_fail
;
17604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17605 (arg1
)->EnableOrientation(arg2
);
17607 wxPyEndAllowThreads(__tstate
);
17608 if (PyErr_Occurred()) SWIG_fail
;
17610 Py_INCREF(Py_None
); resultobj
= Py_None
;
17617 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17618 PyObject
*resultobj
;
17619 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17621 PyObject
* obj0
= 0 ;
17622 PyObject
* obj1
= 0 ;
17623 char *kwnames
[] = {
17624 (char *) "self",(char *) "flag", NULL
17627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
17628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17630 arg2
= (bool) SWIG_AsBool(obj1
);
17631 if (PyErr_Occurred()) SWIG_fail
;
17633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17634 (arg1
)->EnablePaper(arg2
);
17636 wxPyEndAllowThreads(__tstate
);
17637 if (PyErr_Occurred()) SWIG_fail
;
17639 Py_INCREF(Py_None
); resultobj
= Py_None
;
17646 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17647 PyObject
*resultobj
;
17648 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17650 PyObject
* obj0
= 0 ;
17651 PyObject
* obj1
= 0 ;
17652 char *kwnames
[] = {
17653 (char *) "self",(char *) "flag", NULL
17656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
17657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17659 arg2
= (bool) SWIG_AsBool(obj1
);
17660 if (PyErr_Occurred()) SWIG_fail
;
17662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17663 (arg1
)->EnablePrinter(arg2
);
17665 wxPyEndAllowThreads(__tstate
);
17666 if (PyErr_Occurred()) SWIG_fail
;
17668 Py_INCREF(Py_None
); resultobj
= Py_None
;
17675 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17676 PyObject
*resultobj
;
17677 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17679 PyObject
* obj0
= 0 ;
17680 char *kwnames
[] = {
17681 (char *) "self", NULL
17684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
17685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17689 result
= (bool)(arg1
)->GetDefaultMinMargins();
17691 wxPyEndAllowThreads(__tstate
);
17692 if (PyErr_Occurred()) SWIG_fail
;
17695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17703 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17704 PyObject
*resultobj
;
17705 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17707 PyObject
* obj0
= 0 ;
17708 char *kwnames
[] = {
17709 (char *) "self", NULL
17712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
17713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17717 result
= (bool)(arg1
)->GetEnableMargins();
17719 wxPyEndAllowThreads(__tstate
);
17720 if (PyErr_Occurred()) SWIG_fail
;
17723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17731 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17732 PyObject
*resultobj
;
17733 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17735 PyObject
* obj0
= 0 ;
17736 char *kwnames
[] = {
17737 (char *) "self", NULL
17740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
17741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17745 result
= (bool)(arg1
)->GetEnableOrientation();
17747 wxPyEndAllowThreads(__tstate
);
17748 if (PyErr_Occurred()) SWIG_fail
;
17751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17759 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17760 PyObject
*resultobj
;
17761 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17763 PyObject
* obj0
= 0 ;
17764 char *kwnames
[] = {
17765 (char *) "self", NULL
17768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
17769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17773 result
= (bool)(arg1
)->GetEnablePaper();
17775 wxPyEndAllowThreads(__tstate
);
17776 if (PyErr_Occurred()) SWIG_fail
;
17779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17787 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17788 PyObject
*resultobj
;
17789 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17791 PyObject
* obj0
= 0 ;
17792 char *kwnames
[] = {
17793 (char *) "self", NULL
17796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
17797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17801 result
= (bool)(arg1
)->GetEnablePrinter();
17803 wxPyEndAllowThreads(__tstate
);
17804 if (PyErr_Occurred()) SWIG_fail
;
17807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17815 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17816 PyObject
*resultobj
;
17817 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17819 PyObject
* obj0
= 0 ;
17820 char *kwnames
[] = {
17821 (char *) "self", NULL
17824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
17825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17829 result
= (bool)(arg1
)->GetEnableHelp();
17831 wxPyEndAllowThreads(__tstate
);
17832 if (PyErr_Occurred()) SWIG_fail
;
17835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17843 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17844 PyObject
*resultobj
;
17845 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17847 PyObject
* obj0
= 0 ;
17848 char *kwnames
[] = {
17849 (char *) "self", NULL
17852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
17853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17857 result
= (bool)(arg1
)->GetDefaultInfo();
17859 wxPyEndAllowThreads(__tstate
);
17860 if (PyErr_Occurred()) SWIG_fail
;
17863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17871 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17872 PyObject
*resultobj
;
17873 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17875 PyObject
* obj0
= 0 ;
17876 char *kwnames
[] = {
17877 (char *) "self", NULL
17880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
17881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17885 result
= (arg1
)->GetMarginTopLeft();
17887 wxPyEndAllowThreads(__tstate
);
17888 if (PyErr_Occurred()) SWIG_fail
;
17891 wxPoint
* resultptr
;
17892 resultptr
= new wxPoint((wxPoint
&) result
);
17893 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17901 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17902 PyObject
*resultobj
;
17903 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17905 PyObject
* obj0
= 0 ;
17906 char *kwnames
[] = {
17907 (char *) "self", NULL
17910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
17911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17915 result
= (arg1
)->GetMarginBottomRight();
17917 wxPyEndAllowThreads(__tstate
);
17918 if (PyErr_Occurred()) SWIG_fail
;
17921 wxPoint
* resultptr
;
17922 resultptr
= new wxPoint((wxPoint
&) result
);
17923 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17931 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17932 PyObject
*resultobj
;
17933 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17935 PyObject
* obj0
= 0 ;
17936 char *kwnames
[] = {
17937 (char *) "self", NULL
17940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
17941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17945 result
= (arg1
)->GetMinMarginTopLeft();
17947 wxPyEndAllowThreads(__tstate
);
17948 if (PyErr_Occurred()) SWIG_fail
;
17951 wxPoint
* resultptr
;
17952 resultptr
= new wxPoint((wxPoint
&) result
);
17953 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17961 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17962 PyObject
*resultobj
;
17963 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17965 PyObject
* obj0
= 0 ;
17966 char *kwnames
[] = {
17967 (char *) "self", NULL
17970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
17971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17975 result
= (arg1
)->GetMinMarginBottomRight();
17977 wxPyEndAllowThreads(__tstate
);
17978 if (PyErr_Occurred()) SWIG_fail
;
17981 wxPoint
* resultptr
;
17982 resultptr
= new wxPoint((wxPoint
&) result
);
17983 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17991 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17992 PyObject
*resultobj
;
17993 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17995 PyObject
* obj0
= 0 ;
17996 char *kwnames
[] = {
17997 (char *) "self", NULL
18000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18005 result
= (int)(arg1
)->GetPaperId();
18007 wxPyEndAllowThreads(__tstate
);
18008 if (PyErr_Occurred()) SWIG_fail
;
18010 resultobj
= SWIG_FromInt((int)result
);
18017 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18018 PyObject
*resultobj
;
18019 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18021 PyObject
* obj0
= 0 ;
18022 char *kwnames
[] = {
18023 (char *) "self", NULL
18026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18031 result
= (arg1
)->GetPaperSize();
18033 wxPyEndAllowThreads(__tstate
);
18034 if (PyErr_Occurred()) SWIG_fail
;
18037 wxSize
* resultptr
;
18038 resultptr
= new wxSize((wxSize
&) result
);
18039 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18047 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18048 PyObject
*resultobj
;
18049 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18050 wxPrintData
*result
;
18051 PyObject
* obj0
= 0 ;
18052 char *kwnames
[] = {
18053 (char *) "self", NULL
18056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
18057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18062 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
18063 result
= (wxPrintData
*) &_result_ref
;
18066 wxPyEndAllowThreads(__tstate
);
18067 if (PyErr_Occurred()) SWIG_fail
;
18069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
18076 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18077 PyObject
*resultobj
;
18078 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18080 PyObject
* obj0
= 0 ;
18081 char *kwnames
[] = {
18082 (char *) "self", NULL
18085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
18086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18090 result
= (bool)(arg1
)->Ok();
18092 wxPyEndAllowThreads(__tstate
);
18093 if (PyErr_Occurred()) SWIG_fail
;
18096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18104 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18105 PyObject
*resultobj
;
18106 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18108 PyObject
* obj0
= 0 ;
18109 PyObject
* obj1
= 0 ;
18110 char *kwnames
[] = {
18111 (char *) "self",(char *) "flag", NULL
18114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
18115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18117 arg2
= (bool) SWIG_AsBool(obj1
);
18118 if (PyErr_Occurred()) SWIG_fail
;
18120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18121 (arg1
)->SetDefaultInfo(arg2
);
18123 wxPyEndAllowThreads(__tstate
);
18124 if (PyErr_Occurred()) SWIG_fail
;
18126 Py_INCREF(Py_None
); resultobj
= Py_None
;
18133 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18134 PyObject
*resultobj
;
18135 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18137 PyObject
* obj0
= 0 ;
18138 PyObject
* obj1
= 0 ;
18139 char *kwnames
[] = {
18140 (char *) "self",(char *) "flag", NULL
18143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18146 arg2
= (bool) SWIG_AsBool(obj1
);
18147 if (PyErr_Occurred()) SWIG_fail
;
18149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18150 (arg1
)->SetDefaultMinMargins(arg2
);
18152 wxPyEndAllowThreads(__tstate
);
18153 if (PyErr_Occurred()) SWIG_fail
;
18155 Py_INCREF(Py_None
); resultobj
= Py_None
;
18162 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18163 PyObject
*resultobj
;
18164 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18165 wxPoint
*arg2
= 0 ;
18167 PyObject
* obj0
= 0 ;
18168 PyObject
* obj1
= 0 ;
18169 char *kwnames
[] = {
18170 (char *) "self",(char *) "pt", NULL
18173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
18174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18178 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18182 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
18184 wxPyEndAllowThreads(__tstate
);
18185 if (PyErr_Occurred()) SWIG_fail
;
18187 Py_INCREF(Py_None
); resultobj
= Py_None
;
18194 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18195 PyObject
*resultobj
;
18196 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18197 wxPoint
*arg2
= 0 ;
18199 PyObject
* obj0
= 0 ;
18200 PyObject
* obj1
= 0 ;
18201 char *kwnames
[] = {
18202 (char *) "self",(char *) "pt", NULL
18205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
18206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18210 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18214 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
18216 wxPyEndAllowThreads(__tstate
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18219 Py_INCREF(Py_None
); resultobj
= Py_None
;
18226 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18227 PyObject
*resultobj
;
18228 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18229 wxPoint
*arg2
= 0 ;
18231 PyObject
* obj0
= 0 ;
18232 PyObject
* obj1
= 0 ;
18233 char *kwnames
[] = {
18234 (char *) "self",(char *) "pt", NULL
18237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
18238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18242 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18246 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
18248 wxPyEndAllowThreads(__tstate
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18251 Py_INCREF(Py_None
); resultobj
= Py_None
;
18258 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18259 PyObject
*resultobj
;
18260 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18261 wxPoint
*arg2
= 0 ;
18263 PyObject
* obj0
= 0 ;
18264 PyObject
* obj1
= 0 ;
18265 char *kwnames
[] = {
18266 (char *) "self",(char *) "pt", NULL
18269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
18270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18274 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18278 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
18280 wxPyEndAllowThreads(__tstate
);
18281 if (PyErr_Occurred()) SWIG_fail
;
18283 Py_INCREF(Py_None
); resultobj
= Py_None
;
18290 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18291 PyObject
*resultobj
;
18292 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18294 PyObject
* obj0
= 0 ;
18295 PyObject
* obj1
= 0 ;
18296 char *kwnames
[] = {
18297 (char *) "self",(char *) "id", NULL
18300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18303 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
18304 if (PyErr_Occurred()) SWIG_fail
;
18306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18307 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18309 wxPyEndAllowThreads(__tstate
);
18310 if (PyErr_Occurred()) SWIG_fail
;
18312 Py_INCREF(Py_None
); resultobj
= Py_None
;
18319 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18320 PyObject
*resultobj
;
18321 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18324 PyObject
* obj0
= 0 ;
18325 PyObject
* obj1
= 0 ;
18326 char *kwnames
[] = {
18327 (char *) "self",(char *) "size", NULL
18330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18335 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18339 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18341 wxPyEndAllowThreads(__tstate
);
18342 if (PyErr_Occurred()) SWIG_fail
;
18344 Py_INCREF(Py_None
); resultobj
= Py_None
;
18351 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18352 PyObject
*resultobj
;
18353 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18354 wxPrintData
*arg2
= 0 ;
18355 PyObject
* obj0
= 0 ;
18356 PyObject
* obj1
= 0 ;
18357 char *kwnames
[] = {
18358 (char *) "self",(char *) "printData", NULL
18361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
18362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18364 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
18365 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18367 if (arg2
== NULL
) {
18368 PyErr_SetString(PyExc_TypeError
,"null reference");
18372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18373 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
18375 wxPyEndAllowThreads(__tstate
);
18376 if (PyErr_Occurred()) SWIG_fail
;
18378 Py_INCREF(Py_None
); resultobj
= Py_None
;
18385 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
18387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18388 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
18390 return Py_BuildValue((char *)"");
18392 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18393 PyObject
*resultobj
;
18394 wxWindow
*arg1
= (wxWindow
*) 0 ;
18395 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
18396 wxPageSetupDialog
*result
;
18397 PyObject
* obj0
= 0 ;
18398 PyObject
* obj1
= 0 ;
18399 char *kwnames
[] = {
18400 (char *) "parent",(char *) "data", NULL
18403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
18404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18407 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
18408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18412 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
18414 wxPyEndAllowThreads(__tstate
);
18415 if (PyErr_Occurred()) SWIG_fail
;
18417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
18424 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18425 PyObject
*resultobj
;
18426 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
18427 wxPageSetupDialogData
*result
;
18428 PyObject
* obj0
= 0 ;
18429 char *kwnames
[] = {
18430 (char *) "self", NULL
18433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
18434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
18435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18439 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
18440 result
= (wxPageSetupDialogData
*) &_result_ref
;
18443 wxPyEndAllowThreads(__tstate
);
18444 if (PyErr_Occurred()) SWIG_fail
;
18446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
18453 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18454 PyObject
*resultobj
;
18455 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
18457 PyObject
* obj0
= 0 ;
18458 char *kwnames
[] = {
18459 (char *) "self", NULL
18462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
18463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
18464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18467 result
= (int)(arg1
)->ShowModal();
18469 wxPyEndAllowThreads(__tstate
);
18470 if (PyErr_Occurred()) SWIG_fail
;
18472 resultobj
= SWIG_FromInt((int)result
);
18479 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
18481 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18482 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
18484 return Py_BuildValue((char *)"");
18486 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
18487 PyObject
*resultobj
;
18488 wxPrintDialogData
*result
;
18490 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
18492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18493 result
= (wxPrintDialogData
*)new wxPrintDialogData();
18495 wxPyEndAllowThreads(__tstate
);
18496 if (PyErr_Occurred()) SWIG_fail
;
18498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
18505 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
18506 PyObject
*resultobj
;
18507 wxPrintData
*arg1
= 0 ;
18508 wxPrintDialogData
*result
;
18509 PyObject
* obj0
= 0 ;
18511 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
18512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18513 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18515 if (arg1
== NULL
) {
18516 PyErr_SetString(PyExc_TypeError
,"null reference");
18520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18521 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
18523 wxPyEndAllowThreads(__tstate
);
18524 if (PyErr_Occurred()) SWIG_fail
;
18526 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
18533 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
18538 argc
= PyObject_Length(args
);
18539 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
18540 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18543 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
18549 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
18557 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
18561 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
18566 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18567 PyObject
*resultobj
;
18568 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18569 PyObject
* obj0
= 0 ;
18570 char *kwnames
[] = {
18571 (char *) "self", NULL
18574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
18575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18581 wxPyEndAllowThreads(__tstate
);
18582 if (PyErr_Occurred()) SWIG_fail
;
18584 Py_INCREF(Py_None
); resultobj
= Py_None
;
18591 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18592 PyObject
*resultobj
;
18593 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18595 PyObject
* obj0
= 0 ;
18596 char *kwnames
[] = {
18597 (char *) "self", NULL
18600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
18601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18605 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
18607 wxPyEndAllowThreads(__tstate
);
18608 if (PyErr_Occurred()) SWIG_fail
;
18610 resultobj
= SWIG_FromInt((int)result
);
18617 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18618 PyObject
*resultobj
;
18619 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18621 PyObject
* obj0
= 0 ;
18622 char *kwnames
[] = {
18623 (char *) "self", NULL
18626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
18627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18631 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
18633 wxPyEndAllowThreads(__tstate
);
18634 if (PyErr_Occurred()) SWIG_fail
;
18636 resultobj
= SWIG_FromInt((int)result
);
18643 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18644 PyObject
*resultobj
;
18645 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18647 PyObject
* obj0
= 0 ;
18648 char *kwnames
[] = {
18649 (char *) "self", NULL
18652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
18653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18657 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
18659 wxPyEndAllowThreads(__tstate
);
18660 if (PyErr_Occurred()) SWIG_fail
;
18662 resultobj
= SWIG_FromInt((int)result
);
18669 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18670 PyObject
*resultobj
;
18671 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18673 PyObject
* obj0
= 0 ;
18674 char *kwnames
[] = {
18675 (char *) "self", NULL
18678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
18679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18683 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
18685 wxPyEndAllowThreads(__tstate
);
18686 if (PyErr_Occurred()) SWIG_fail
;
18688 resultobj
= SWIG_FromInt((int)result
);
18695 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18696 PyObject
*resultobj
;
18697 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18699 PyObject
* obj0
= 0 ;
18700 char *kwnames
[] = {
18701 (char *) "self", NULL
18704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18709 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
18711 wxPyEndAllowThreads(__tstate
);
18712 if (PyErr_Occurred()) SWIG_fail
;
18714 resultobj
= SWIG_FromInt((int)result
);
18721 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18722 PyObject
*resultobj
;
18723 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18725 PyObject
* obj0
= 0 ;
18726 char *kwnames
[] = {
18727 (char *) "self", NULL
18730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
18731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18735 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
18737 wxPyEndAllowThreads(__tstate
);
18738 if (PyErr_Occurred()) SWIG_fail
;
18741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18749 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18750 PyObject
*resultobj
;
18751 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18753 PyObject
* obj0
= 0 ;
18754 char *kwnames
[] = {
18755 (char *) "self", NULL
18758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
18759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18763 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
18765 wxPyEndAllowThreads(__tstate
);
18766 if (PyErr_Occurred()) SWIG_fail
;
18769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18777 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18778 PyObject
*resultobj
;
18779 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18781 PyObject
* obj0
= 0 ;
18782 char *kwnames
[] = {
18783 (char *) "self", NULL
18786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
18787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18791 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
18793 wxPyEndAllowThreads(__tstate
);
18794 if (PyErr_Occurred()) SWIG_fail
;
18797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18805 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18806 PyObject
*resultobj
;
18807 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18809 PyObject
* obj0
= 0 ;
18810 char *kwnames
[] = {
18811 (char *) "self", NULL
18814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
18815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18819 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
18821 wxPyEndAllowThreads(__tstate
);
18822 if (PyErr_Occurred()) SWIG_fail
;
18825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18833 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18834 PyObject
*resultobj
;
18835 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18837 PyObject
* obj0
= 0 ;
18838 char *kwnames
[] = {
18839 (char *) "self", NULL
18842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
18843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18847 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
18849 wxPyEndAllowThreads(__tstate
);
18850 if (PyErr_Occurred()) SWIG_fail
;
18853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18861 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18862 PyObject
*resultobj
;
18863 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18865 PyObject
* obj0
= 0 ;
18866 PyObject
* obj1
= 0 ;
18867 char *kwnames
[] = {
18868 (char *) "self",(char *) "v", NULL
18871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
18872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18874 arg2
= (int) SWIG_AsInt(obj1
);
18875 if (PyErr_Occurred()) SWIG_fail
;
18877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18878 (arg1
)->SetFromPage(arg2
);
18880 wxPyEndAllowThreads(__tstate
);
18881 if (PyErr_Occurred()) SWIG_fail
;
18883 Py_INCREF(Py_None
); resultobj
= Py_None
;
18890 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18891 PyObject
*resultobj
;
18892 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18894 PyObject
* obj0
= 0 ;
18895 PyObject
* obj1
= 0 ;
18896 char *kwnames
[] = {
18897 (char *) "self",(char *) "v", NULL
18900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
18901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18903 arg2
= (int) SWIG_AsInt(obj1
);
18904 if (PyErr_Occurred()) SWIG_fail
;
18906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18907 (arg1
)->SetToPage(arg2
);
18909 wxPyEndAllowThreads(__tstate
);
18910 if (PyErr_Occurred()) SWIG_fail
;
18912 Py_INCREF(Py_None
); resultobj
= Py_None
;
18919 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18920 PyObject
*resultobj
;
18921 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18923 PyObject
* obj0
= 0 ;
18924 PyObject
* obj1
= 0 ;
18925 char *kwnames
[] = {
18926 (char *) "self",(char *) "v", NULL
18929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
18930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18932 arg2
= (int) SWIG_AsInt(obj1
);
18933 if (PyErr_Occurred()) SWIG_fail
;
18935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18936 (arg1
)->SetMinPage(arg2
);
18938 wxPyEndAllowThreads(__tstate
);
18939 if (PyErr_Occurred()) SWIG_fail
;
18941 Py_INCREF(Py_None
); resultobj
= Py_None
;
18948 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18949 PyObject
*resultobj
;
18950 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18952 PyObject
* obj0
= 0 ;
18953 PyObject
* obj1
= 0 ;
18954 char *kwnames
[] = {
18955 (char *) "self",(char *) "v", NULL
18958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
18959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18961 arg2
= (int) SWIG_AsInt(obj1
);
18962 if (PyErr_Occurred()) SWIG_fail
;
18964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18965 (arg1
)->SetMaxPage(arg2
);
18967 wxPyEndAllowThreads(__tstate
);
18968 if (PyErr_Occurred()) SWIG_fail
;
18970 Py_INCREF(Py_None
); resultobj
= Py_None
;
18977 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18978 PyObject
*resultobj
;
18979 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18981 PyObject
* obj0
= 0 ;
18982 PyObject
* obj1
= 0 ;
18983 char *kwnames
[] = {
18984 (char *) "self",(char *) "v", NULL
18987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18990 arg2
= (int) SWIG_AsInt(obj1
);
18991 if (PyErr_Occurred()) SWIG_fail
;
18993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18994 (arg1
)->SetNoCopies(arg2
);
18996 wxPyEndAllowThreads(__tstate
);
18997 if (PyErr_Occurred()) SWIG_fail
;
18999 Py_INCREF(Py_None
); resultobj
= Py_None
;
19006 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19007 PyObject
*resultobj
;
19008 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19010 PyObject
* obj0
= 0 ;
19011 PyObject
* obj1
= 0 ;
19012 char *kwnames
[] = {
19013 (char *) "self",(char *) "flag", NULL
19016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
19017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19019 arg2
= (bool) SWIG_AsBool(obj1
);
19020 if (PyErr_Occurred()) SWIG_fail
;
19022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19023 (arg1
)->SetAllPages(arg2
);
19025 wxPyEndAllowThreads(__tstate
);
19026 if (PyErr_Occurred()) SWIG_fail
;
19028 Py_INCREF(Py_None
); resultobj
= Py_None
;
19035 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19036 PyObject
*resultobj
;
19037 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19039 PyObject
* obj0
= 0 ;
19040 PyObject
* obj1
= 0 ;
19041 char *kwnames
[] = {
19042 (char *) "self",(char *) "flag", NULL
19045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
19046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19048 arg2
= (bool) SWIG_AsBool(obj1
);
19049 if (PyErr_Occurred()) SWIG_fail
;
19051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19052 (arg1
)->SetSelection(arg2
);
19054 wxPyEndAllowThreads(__tstate
);
19055 if (PyErr_Occurred()) SWIG_fail
;
19057 Py_INCREF(Py_None
); resultobj
= Py_None
;
19064 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19065 PyObject
*resultobj
;
19066 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19068 PyObject
* obj0
= 0 ;
19069 PyObject
* obj1
= 0 ;
19070 char *kwnames
[] = {
19071 (char *) "self",(char *) "flag", NULL
19074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
19075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19077 arg2
= (bool) SWIG_AsBool(obj1
);
19078 if (PyErr_Occurred()) SWIG_fail
;
19080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19081 (arg1
)->SetCollate(arg2
);
19083 wxPyEndAllowThreads(__tstate
);
19084 if (PyErr_Occurred()) SWIG_fail
;
19086 Py_INCREF(Py_None
); resultobj
= Py_None
;
19093 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19094 PyObject
*resultobj
;
19095 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19097 PyObject
* obj0
= 0 ;
19098 PyObject
* obj1
= 0 ;
19099 char *kwnames
[] = {
19100 (char *) "self",(char *) "flag", NULL
19103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
19104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19106 arg2
= (bool) SWIG_AsBool(obj1
);
19107 if (PyErr_Occurred()) SWIG_fail
;
19109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19110 (arg1
)->SetPrintToFile(arg2
);
19112 wxPyEndAllowThreads(__tstate
);
19113 if (PyErr_Occurred()) SWIG_fail
;
19115 Py_INCREF(Py_None
); resultobj
= Py_None
;
19122 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19123 PyObject
*resultobj
;
19124 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19126 PyObject
* obj0
= 0 ;
19127 PyObject
* obj1
= 0 ;
19128 char *kwnames
[] = {
19129 (char *) "self",(char *) "flag", NULL
19132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19135 arg2
= (bool) SWIG_AsBool(obj1
);
19136 if (PyErr_Occurred()) SWIG_fail
;
19138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19139 (arg1
)->SetSetupDialog(arg2
);
19141 wxPyEndAllowThreads(__tstate
);
19142 if (PyErr_Occurred()) SWIG_fail
;
19144 Py_INCREF(Py_None
); resultobj
= Py_None
;
19151 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19152 PyObject
*resultobj
;
19153 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19155 PyObject
* obj0
= 0 ;
19156 PyObject
* obj1
= 0 ;
19157 char *kwnames
[] = {
19158 (char *) "self",(char *) "flag", NULL
19161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
19162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19164 arg2
= (bool) SWIG_AsBool(obj1
);
19165 if (PyErr_Occurred()) SWIG_fail
;
19167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19168 (arg1
)->EnablePrintToFile(arg2
);
19170 wxPyEndAllowThreads(__tstate
);
19171 if (PyErr_Occurred()) SWIG_fail
;
19173 Py_INCREF(Py_None
); resultobj
= Py_None
;
19180 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19181 PyObject
*resultobj
;
19182 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19184 PyObject
* obj0
= 0 ;
19185 PyObject
* obj1
= 0 ;
19186 char *kwnames
[] = {
19187 (char *) "self",(char *) "flag", NULL
19190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
19191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19193 arg2
= (bool) SWIG_AsBool(obj1
);
19194 if (PyErr_Occurred()) SWIG_fail
;
19196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19197 (arg1
)->EnableSelection(arg2
);
19199 wxPyEndAllowThreads(__tstate
);
19200 if (PyErr_Occurred()) SWIG_fail
;
19202 Py_INCREF(Py_None
); resultobj
= Py_None
;
19209 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19210 PyObject
*resultobj
;
19211 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19213 PyObject
* obj0
= 0 ;
19214 PyObject
* obj1
= 0 ;
19215 char *kwnames
[] = {
19216 (char *) "self",(char *) "flag", NULL
19219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
19220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19222 arg2
= (bool) SWIG_AsBool(obj1
);
19223 if (PyErr_Occurred()) SWIG_fail
;
19225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19226 (arg1
)->EnablePageNumbers(arg2
);
19228 wxPyEndAllowThreads(__tstate
);
19229 if (PyErr_Occurred()) SWIG_fail
;
19231 Py_INCREF(Py_None
); resultobj
= Py_None
;
19238 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19239 PyObject
*resultobj
;
19240 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19242 PyObject
* obj0
= 0 ;
19243 PyObject
* obj1
= 0 ;
19244 char *kwnames
[] = {
19245 (char *) "self",(char *) "flag", NULL
19248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19251 arg2
= (bool) SWIG_AsBool(obj1
);
19252 if (PyErr_Occurred()) SWIG_fail
;
19254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19255 (arg1
)->EnableHelp(arg2
);
19257 wxPyEndAllowThreads(__tstate
);
19258 if (PyErr_Occurred()) SWIG_fail
;
19260 Py_INCREF(Py_None
); resultobj
= Py_None
;
19267 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19268 PyObject
*resultobj
;
19269 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19271 PyObject
* obj0
= 0 ;
19272 char *kwnames
[] = {
19273 (char *) "self", NULL
19276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
19277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19281 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
19283 wxPyEndAllowThreads(__tstate
);
19284 if (PyErr_Occurred()) SWIG_fail
;
19287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19295 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19296 PyObject
*resultobj
;
19297 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19299 PyObject
* obj0
= 0 ;
19300 char *kwnames
[] = {
19301 (char *) "self", NULL
19304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
19305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19309 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
19311 wxPyEndAllowThreads(__tstate
);
19312 if (PyErr_Occurred()) SWIG_fail
;
19315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19323 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19324 PyObject
*resultobj
;
19325 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19327 PyObject
* obj0
= 0 ;
19328 char *kwnames
[] = {
19329 (char *) "self", NULL
19332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
19333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19337 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
19339 wxPyEndAllowThreads(__tstate
);
19340 if (PyErr_Occurred()) SWIG_fail
;
19343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19351 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19352 PyObject
*resultobj
;
19353 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19355 PyObject
* obj0
= 0 ;
19356 char *kwnames
[] = {
19357 (char *) "self", NULL
19360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19365 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
19367 wxPyEndAllowThreads(__tstate
);
19368 if (PyErr_Occurred()) SWIG_fail
;
19371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19379 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19380 PyObject
*resultobj
;
19381 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19383 PyObject
* obj0
= 0 ;
19384 char *kwnames
[] = {
19385 (char *) "self", NULL
19388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19393 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
19395 wxPyEndAllowThreads(__tstate
);
19396 if (PyErr_Occurred()) SWIG_fail
;
19399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19407 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19408 PyObject
*resultobj
;
19409 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19410 wxPrintData
*result
;
19411 PyObject
* obj0
= 0 ;
19412 char *kwnames
[] = {
19413 (char *) "self", NULL
19416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19422 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19423 result
= (wxPrintData
*) &_result_ref
;
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
19436 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19437 PyObject
*resultobj
;
19438 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19439 wxPrintData
*arg2
= 0 ;
19440 PyObject
* obj0
= 0 ;
19441 PyObject
* obj1
= 0 ;
19442 char *kwnames
[] = {
19443 (char *) "self",(char *) "printData", NULL
19446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
19447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19449 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
19450 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19452 if (arg2
== NULL
) {
19453 PyErr_SetString(PyExc_TypeError
,"null reference");
19457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19458 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
19460 wxPyEndAllowThreads(__tstate
);
19461 if (PyErr_Occurred()) SWIG_fail
;
19463 Py_INCREF(Py_None
); resultobj
= Py_None
;
19470 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
19472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19473 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
19475 return Py_BuildValue((char *)"");
19477 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19478 PyObject
*resultobj
;
19479 wxWindow
*arg1
= (wxWindow
*) 0 ;
19480 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
19481 wxPrintDialog
*result
;
19482 PyObject
* obj0
= 0 ;
19483 PyObject
* obj1
= 0 ;
19484 char *kwnames
[] = {
19485 (char *) "parent",(char *) "data", NULL
19488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19492 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
19493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19497 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
19499 wxPyEndAllowThreads(__tstate
);
19500 if (PyErr_Occurred()) SWIG_fail
;
19502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
19509 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19510 PyObject
*resultobj
;
19511 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19512 wxPrintDialogData
*result
;
19513 PyObject
* obj0
= 0 ;
19514 char *kwnames
[] = {
19515 (char *) "self", NULL
19518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
19519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
19520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19524 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
19525 result
= (wxPrintDialogData
*) &_result_ref
;
19528 wxPyEndAllowThreads(__tstate
);
19529 if (PyErr_Occurred()) SWIG_fail
;
19531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
19538 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19539 PyObject
*resultobj
;
19540 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19542 PyObject
* obj0
= 0 ;
19543 char *kwnames
[] = {
19544 (char *) "self", NULL
19547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
19548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
19549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19552 result
= (wxDC
*)(arg1
)->GetPrintDC();
19554 wxPyEndAllowThreads(__tstate
);
19555 if (PyErr_Occurred()) SWIG_fail
;
19558 resultobj
= wxPyMake_wxObject(result
);
19566 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19567 PyObject
*resultobj
;
19568 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19570 PyObject
* obj0
= 0 ;
19571 char *kwnames
[] = {
19572 (char *) "self", NULL
19575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
19576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
19577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19580 result
= (int)(arg1
)->ShowModal();
19582 wxPyEndAllowThreads(__tstate
);
19583 if (PyErr_Occurred()) SWIG_fail
;
19585 resultobj
= SWIG_FromInt((int)result
);
19592 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
19594 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19595 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
19597 return Py_BuildValue((char *)"");
19599 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19600 PyObject
*resultobj
;
19601 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
19603 PyObject
* obj0
= 0 ;
19604 char *kwnames
[] = {
19605 (char *) "data", NULL
19608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
19610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19615 result
= (wxPrinter
*)new wxPrinter(arg1
);
19617 wxPyEndAllowThreads(__tstate
);
19618 if (PyErr_Occurred()) SWIG_fail
;
19620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
19627 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19628 PyObject
*resultobj
;
19629 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19630 PyObject
* obj0
= 0 ;
19631 char *kwnames
[] = {
19632 (char *) "self", NULL
19635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
19636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19642 wxPyEndAllowThreads(__tstate
);
19643 if (PyErr_Occurred()) SWIG_fail
;
19645 Py_INCREF(Py_None
); resultobj
= Py_None
;
19652 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19653 PyObject
*resultobj
;
19654 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19655 wxWindow
*arg2
= (wxWindow
*) 0 ;
19656 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19657 PyObject
* obj0
= 0 ;
19658 PyObject
* obj1
= 0 ;
19659 PyObject
* obj2
= 0 ;
19660 char *kwnames
[] = {
19661 (char *) "self",(char *) "parent",(char *) "printout", NULL
19664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19669 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
19670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19673 (arg1
)->CreateAbortWindow(arg2
,arg3
);
19675 wxPyEndAllowThreads(__tstate
);
19676 if (PyErr_Occurred()) SWIG_fail
;
19678 Py_INCREF(Py_None
); resultobj
= Py_None
;
19685 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19686 PyObject
*resultobj
;
19687 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19688 wxPrintDialogData
*result
;
19689 PyObject
* obj0
= 0 ;
19690 char *kwnames
[] = {
19691 (char *) "self", NULL
19694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
19695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19700 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
19701 result
= (wxPrintDialogData
*) &_result_ref
;
19704 wxPyEndAllowThreads(__tstate
);
19705 if (PyErr_Occurred()) SWIG_fail
;
19707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
19714 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19715 PyObject
*resultobj
;
19716 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19717 wxWindow
*arg2
= (wxWindow
*) 0 ;
19718 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19719 int arg4
= (int) True
;
19721 PyObject
* obj0
= 0 ;
19722 PyObject
* obj1
= 0 ;
19723 PyObject
* obj2
= 0 ;
19724 PyObject
* obj3
= 0 ;
19725 char *kwnames
[] = {
19726 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
19729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19732 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19734 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
19735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19737 arg4
= (int) SWIG_AsInt(obj3
);
19738 if (PyErr_Occurred()) SWIG_fail
;
19741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19742 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
19744 wxPyEndAllowThreads(__tstate
);
19745 if (PyErr_Occurred()) SWIG_fail
;
19748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19756 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19757 PyObject
*resultobj
;
19758 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19759 wxWindow
*arg2
= (wxWindow
*) 0 ;
19761 PyObject
* obj0
= 0 ;
19762 PyObject
* obj1
= 0 ;
19763 char *kwnames
[] = {
19764 (char *) "self",(char *) "parent", NULL
19767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19770 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19774 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
19776 wxPyEndAllowThreads(__tstate
);
19777 if (PyErr_Occurred()) SWIG_fail
;
19780 resultobj
= wxPyMake_wxObject(result
);
19788 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19789 PyObject
*resultobj
;
19790 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19791 wxWindow
*arg2
= (wxWindow
*) 0 ;
19792 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19793 wxString
*arg4
= 0 ;
19794 bool temp4
= False
;
19795 PyObject
* obj0
= 0 ;
19796 PyObject
* obj1
= 0 ;
19797 PyObject
* obj2
= 0 ;
19798 PyObject
* obj3
= 0 ;
19799 char *kwnames
[] = {
19800 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
19803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19806 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19808 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
19809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19811 arg4
= wxString_in_helper(obj3
);
19812 if (arg4
== NULL
) SWIG_fail
;
19816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19817 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
19819 wxPyEndAllowThreads(__tstate
);
19820 if (PyErr_Occurred()) SWIG_fail
;
19822 Py_INCREF(Py_None
); resultobj
= Py_None
;
19837 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19838 PyObject
*resultobj
;
19839 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19840 wxWindow
*arg2
= (wxWindow
*) 0 ;
19842 PyObject
* obj0
= 0 ;
19843 PyObject
* obj1
= 0 ;
19844 char *kwnames
[] = {
19845 (char *) "self",(char *) "parent", NULL
19848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
19849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19851 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19855 result
= (bool)(arg1
)->Setup(arg2
);
19857 wxPyEndAllowThreads(__tstate
);
19858 if (PyErr_Occurred()) SWIG_fail
;
19861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19869 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19870 PyObject
*resultobj
;
19871 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19873 PyObject
* obj0
= 0 ;
19874 char *kwnames
[] = {
19875 (char *) "self", NULL
19878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
19879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19883 result
= (bool)(arg1
)->GetAbort();
19885 wxPyEndAllowThreads(__tstate
);
19886 if (PyErr_Occurred()) SWIG_fail
;
19889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19897 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19898 PyObject
*resultobj
;
19900 char *kwnames
[] = {
19904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
19906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19907 result
= (int)wxPrinter::GetLastError();
19909 wxPyEndAllowThreads(__tstate
);
19910 if (PyErr_Occurred()) SWIG_fail
;
19912 resultobj
= SWIG_FromInt((int)result
);
19919 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
19921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19922 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
19924 return Py_BuildValue((char *)"");
19926 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19927 PyObject
*resultobj
;
19928 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
19929 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
19930 wxPyPrintout
*result
;
19931 bool temp1
= False
;
19932 PyObject
* obj0
= 0 ;
19933 char *kwnames
[] = {
19934 (char *) "title", NULL
19937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
19940 arg1
= wxString_in_helper(obj0
);
19941 if (arg1
== NULL
) SWIG_fail
;
19946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19947 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
19949 wxPyEndAllowThreads(__tstate
);
19950 if (PyErr_Occurred()) SWIG_fail
;
19953 resultobj
= wxPyMake_wxObject(result
);
19969 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19970 PyObject
*resultobj
;
19971 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
19972 PyObject
*arg2
= (PyObject
*) 0 ;
19973 PyObject
*arg3
= (PyObject
*) 0 ;
19974 PyObject
* obj0
= 0 ;
19975 PyObject
* obj1
= 0 ;
19976 PyObject
* obj2
= 0 ;
19977 char *kwnames
[] = {
19978 (char *) "self",(char *) "self",(char *) "_class", NULL
19981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
19983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19988 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19990 wxPyEndAllowThreads(__tstate
);
19991 if (PyErr_Occurred()) SWIG_fail
;
19993 Py_INCREF(Py_None
); resultobj
= Py_None
;
20000 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20001 PyObject
*resultobj
;
20002 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20004 PyObject
* obj0
= 0 ;
20005 char *kwnames
[] = {
20006 (char *) "self", NULL
20009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
20010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20014 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
20016 wxPyEndAllowThreads(__tstate
);
20017 if (PyErr_Occurred()) SWIG_fail
;
20021 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20023 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20032 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20033 PyObject
*resultobj
;
20034 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20036 PyObject
* obj0
= 0 ;
20037 char *kwnames
[] = {
20038 (char *) "self", NULL
20041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
20042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20046 result
= (wxDC
*)(arg1
)->GetDC();
20048 wxPyEndAllowThreads(__tstate
);
20049 if (PyErr_Occurred()) SWIG_fail
;
20052 resultobj
= wxPyMake_wxObject(result
);
20060 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20061 PyObject
*resultobj
;
20062 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20063 wxDC
*arg2
= (wxDC
*) 0 ;
20064 PyObject
* obj0
= 0 ;
20065 PyObject
* obj1
= 0 ;
20066 char *kwnames
[] = {
20067 (char *) "self",(char *) "dc", NULL
20070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
20071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20073 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
20074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20077 (arg1
)->SetDC(arg2
);
20079 wxPyEndAllowThreads(__tstate
);
20080 if (PyErr_Occurred()) SWIG_fail
;
20082 Py_INCREF(Py_None
); resultobj
= Py_None
;
20089 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20090 PyObject
*resultobj
;
20091 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20094 PyObject
* obj0
= 0 ;
20095 PyObject
* obj1
= 0 ;
20096 PyObject
* obj2
= 0 ;
20097 char *kwnames
[] = {
20098 (char *) "self",(char *) "w",(char *) "h", NULL
20101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20104 arg2
= (int) SWIG_AsInt(obj1
);
20105 if (PyErr_Occurred()) SWIG_fail
;
20106 arg3
= (int) SWIG_AsInt(obj2
);
20107 if (PyErr_Occurred()) SWIG_fail
;
20109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20110 (arg1
)->SetPageSizePixels(arg2
,arg3
);
20112 wxPyEndAllowThreads(__tstate
);
20113 if (PyErr_Occurred()) SWIG_fail
;
20115 Py_INCREF(Py_None
); resultobj
= Py_None
;
20122 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20123 PyObject
*resultobj
;
20124 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20125 int *arg2
= (int *) 0 ;
20126 int *arg3
= (int *) 0 ;
20129 PyObject
* obj0
= 0 ;
20130 char *kwnames
[] = {
20131 (char *) "self", NULL
20136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
20137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20141 (arg1
)->GetPageSizePixels(arg2
,arg3
);
20143 wxPyEndAllowThreads(__tstate
);
20144 if (PyErr_Occurred()) SWIG_fail
;
20146 Py_INCREF(Py_None
); resultobj
= Py_None
;
20148 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20149 resultobj
= t_output_helper(resultobj
,o
);
20152 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20153 resultobj
= t_output_helper(resultobj
,o
);
20161 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20162 PyObject
*resultobj
;
20163 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20166 PyObject
* obj0
= 0 ;
20167 PyObject
* obj1
= 0 ;
20168 PyObject
* obj2
= 0 ;
20169 char *kwnames
[] = {
20170 (char *) "self",(char *) "w",(char *) "h", NULL
20173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20176 arg2
= (int) SWIG_AsInt(obj1
);
20177 if (PyErr_Occurred()) SWIG_fail
;
20178 arg3
= (int) SWIG_AsInt(obj2
);
20179 if (PyErr_Occurred()) SWIG_fail
;
20181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20182 (arg1
)->SetPageSizeMM(arg2
,arg3
);
20184 wxPyEndAllowThreads(__tstate
);
20185 if (PyErr_Occurred()) SWIG_fail
;
20187 Py_INCREF(Py_None
); resultobj
= Py_None
;
20194 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20195 PyObject
*resultobj
;
20196 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20197 int *arg2
= (int *) 0 ;
20198 int *arg3
= (int *) 0 ;
20201 PyObject
* obj0
= 0 ;
20202 char *kwnames
[] = {
20203 (char *) "self", NULL
20208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
20209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20213 (arg1
)->GetPageSizeMM(arg2
,arg3
);
20215 wxPyEndAllowThreads(__tstate
);
20216 if (PyErr_Occurred()) SWIG_fail
;
20218 Py_INCREF(Py_None
); resultobj
= Py_None
;
20220 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20221 resultobj
= t_output_helper(resultobj
,o
);
20224 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20225 resultobj
= t_output_helper(resultobj
,o
);
20233 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20234 PyObject
*resultobj
;
20235 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20238 PyObject
* obj0
= 0 ;
20239 PyObject
* obj1
= 0 ;
20240 PyObject
* obj2
= 0 ;
20241 char *kwnames
[] = {
20242 (char *) "self",(char *) "x",(char *) "y", NULL
20245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20248 arg2
= (int) SWIG_AsInt(obj1
);
20249 if (PyErr_Occurred()) SWIG_fail
;
20250 arg3
= (int) SWIG_AsInt(obj2
);
20251 if (PyErr_Occurred()) SWIG_fail
;
20253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20254 (arg1
)->SetPPIScreen(arg2
,arg3
);
20256 wxPyEndAllowThreads(__tstate
);
20257 if (PyErr_Occurred()) SWIG_fail
;
20259 Py_INCREF(Py_None
); resultobj
= Py_None
;
20266 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20267 PyObject
*resultobj
;
20268 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20269 int *arg2
= (int *) 0 ;
20270 int *arg3
= (int *) 0 ;
20273 PyObject
* obj0
= 0 ;
20274 char *kwnames
[] = {
20275 (char *) "self", NULL
20280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
20281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20285 (arg1
)->GetPPIScreen(arg2
,arg3
);
20287 wxPyEndAllowThreads(__tstate
);
20288 if (PyErr_Occurred()) SWIG_fail
;
20290 Py_INCREF(Py_None
); resultobj
= Py_None
;
20292 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20293 resultobj
= t_output_helper(resultobj
,o
);
20296 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20297 resultobj
= t_output_helper(resultobj
,o
);
20305 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20306 PyObject
*resultobj
;
20307 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20310 PyObject
* obj0
= 0 ;
20311 PyObject
* obj1
= 0 ;
20312 PyObject
* obj2
= 0 ;
20313 char *kwnames
[] = {
20314 (char *) "self",(char *) "x",(char *) "y", NULL
20317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20320 arg2
= (int) SWIG_AsInt(obj1
);
20321 if (PyErr_Occurred()) SWIG_fail
;
20322 arg3
= (int) SWIG_AsInt(obj2
);
20323 if (PyErr_Occurred()) SWIG_fail
;
20325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20326 (arg1
)->SetPPIPrinter(arg2
,arg3
);
20328 wxPyEndAllowThreads(__tstate
);
20329 if (PyErr_Occurred()) SWIG_fail
;
20331 Py_INCREF(Py_None
); resultobj
= Py_None
;
20338 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20339 PyObject
*resultobj
;
20340 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20341 int *arg2
= (int *) 0 ;
20342 int *arg3
= (int *) 0 ;
20345 PyObject
* obj0
= 0 ;
20346 char *kwnames
[] = {
20347 (char *) "self", NULL
20352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",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
)->GetPPIPrinter(arg2
,arg3
);
20359 wxPyEndAllowThreads(__tstate
);
20360 if (PyErr_Occurred()) SWIG_fail
;
20362 Py_INCREF(Py_None
); resultobj
= Py_None
;
20364 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20365 resultobj
= t_output_helper(resultobj
,o
);
20368 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20369 resultobj
= t_output_helper(resultobj
,o
);
20377 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20378 PyObject
*resultobj
;
20379 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20381 PyObject
* obj0
= 0 ;
20382 char *kwnames
[] = {
20383 (char *) "self", NULL
20386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
20387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20391 result
= (bool)(arg1
)->IsPreview();
20393 wxPyEndAllowThreads(__tstate
);
20394 if (PyErr_Occurred()) SWIG_fail
;
20397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20405 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20406 PyObject
*resultobj
;
20407 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20409 PyObject
* obj0
= 0 ;
20410 PyObject
* obj1
= 0 ;
20411 char *kwnames
[] = {
20412 (char *) "self",(char *) "p", NULL
20415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
20416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20418 arg2
= (bool) SWIG_AsBool(obj1
);
20419 if (PyErr_Occurred()) SWIG_fail
;
20421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20422 (arg1
)->SetIsPreview(arg2
);
20424 wxPyEndAllowThreads(__tstate
);
20425 if (PyErr_Occurred()) SWIG_fail
;
20427 Py_INCREF(Py_None
); resultobj
= Py_None
;
20434 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20435 PyObject
*resultobj
;
20436 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20440 PyObject
* obj0
= 0 ;
20441 PyObject
* obj1
= 0 ;
20442 PyObject
* obj2
= 0 ;
20443 char *kwnames
[] = {
20444 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
20447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20450 arg2
= (int) SWIG_AsInt(obj1
);
20451 if (PyErr_Occurred()) SWIG_fail
;
20452 arg3
= (int) SWIG_AsInt(obj2
);
20453 if (PyErr_Occurred()) SWIG_fail
;
20455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20456 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
20458 wxPyEndAllowThreads(__tstate
);
20459 if (PyErr_Occurred()) SWIG_fail
;
20462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20470 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20471 PyObject
*resultobj
;
20472 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20473 PyObject
* obj0
= 0 ;
20474 char *kwnames
[] = {
20475 (char *) "self", NULL
20478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
20479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20483 (arg1
)->base_OnEndDocument();
20485 wxPyEndAllowThreads(__tstate
);
20486 if (PyErr_Occurred()) SWIG_fail
;
20488 Py_INCREF(Py_None
); resultobj
= Py_None
;
20495 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20496 PyObject
*resultobj
;
20497 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20498 PyObject
* obj0
= 0 ;
20499 char *kwnames
[] = {
20500 (char *) "self", NULL
20503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
20504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20508 (arg1
)->base_OnBeginPrinting();
20510 wxPyEndAllowThreads(__tstate
);
20511 if (PyErr_Occurred()) SWIG_fail
;
20513 Py_INCREF(Py_None
); resultobj
= Py_None
;
20520 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20521 PyObject
*resultobj
;
20522 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20523 PyObject
* obj0
= 0 ;
20524 char *kwnames
[] = {
20525 (char *) "self", NULL
20528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
20529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20533 (arg1
)->base_OnEndPrinting();
20535 wxPyEndAllowThreads(__tstate
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20538 Py_INCREF(Py_None
); resultobj
= Py_None
;
20545 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20546 PyObject
*resultobj
;
20547 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20548 PyObject
* obj0
= 0 ;
20549 char *kwnames
[] = {
20550 (char *) "self", NULL
20553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
20554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20558 (arg1
)->base_OnPreparePrinting();
20560 wxPyEndAllowThreads(__tstate
);
20561 if (PyErr_Occurred()) SWIG_fail
;
20563 Py_INCREF(Py_None
); resultobj
= Py_None
;
20570 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20571 PyObject
*resultobj
;
20572 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20575 PyObject
* obj0
= 0 ;
20576 PyObject
* obj1
= 0 ;
20577 char *kwnames
[] = {
20578 (char *) "self",(char *) "page", NULL
20581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20584 arg2
= (int) SWIG_AsInt(obj1
);
20585 if (PyErr_Occurred()) SWIG_fail
;
20587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20588 result
= (bool)(arg1
)->base_HasPage(arg2
);
20590 wxPyEndAllowThreads(__tstate
);
20591 if (PyErr_Occurred()) SWIG_fail
;
20594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20602 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20603 PyObject
*resultobj
;
20604 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20605 int *arg2
= (int *) 0 ;
20606 int *arg3
= (int *) 0 ;
20607 int *arg4
= (int *) 0 ;
20608 int *arg5
= (int *) 0 ;
20613 PyObject
* obj0
= 0 ;
20614 char *kwnames
[] = {
20615 (char *) "self", NULL
20622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
20623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20627 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
20629 wxPyEndAllowThreads(__tstate
);
20630 if (PyErr_Occurred()) SWIG_fail
;
20632 Py_INCREF(Py_None
); resultobj
= Py_None
;
20634 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20635 resultobj
= t_output_helper(resultobj
,o
);
20638 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20639 resultobj
= t_output_helper(resultobj
,o
);
20642 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
20643 resultobj
= t_output_helper(resultobj
,o
);
20646 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
20647 resultobj
= t_output_helper(resultobj
,o
);
20655 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
20657 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20658 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
20660 return Py_BuildValue((char *)"");
20662 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20663 PyObject
*resultobj
;
20664 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20665 wxWindow
*arg2
= (wxWindow
*) 0 ;
20666 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20667 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20668 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20669 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20670 long arg5
= (long) 0 ;
20671 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
20672 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20673 wxPreviewCanvas
*result
;
20676 bool temp6
= False
;
20677 PyObject
* obj0
= 0 ;
20678 PyObject
* obj1
= 0 ;
20679 PyObject
* obj2
= 0 ;
20680 PyObject
* obj3
= 0 ;
20681 PyObject
* obj4
= 0 ;
20682 PyObject
* obj5
= 0 ;
20683 char *kwnames
[] = {
20684 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
20689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20695 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20701 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20705 arg5
= (long) SWIG_AsLong(obj4
);
20706 if (PyErr_Occurred()) SWIG_fail
;
20710 arg6
= wxString_in_helper(obj5
);
20711 if (arg6
== NULL
) SWIG_fail
;
20716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20717 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20719 wxPyEndAllowThreads(__tstate
);
20720 if (PyErr_Occurred()) SWIG_fail
;
20722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
20737 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
20739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20740 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
20742 return Py_BuildValue((char *)"");
20744 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20745 PyObject
*resultobj
;
20746 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20747 wxFrame
*arg2
= (wxFrame
*) 0 ;
20748 wxString
*arg3
= 0 ;
20749 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20750 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20751 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20752 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20753 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20754 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20755 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20756 wxPreviewFrame
*result
;
20757 bool temp3
= False
;
20760 bool temp7
= False
;
20761 PyObject
* obj0
= 0 ;
20762 PyObject
* obj1
= 0 ;
20763 PyObject
* obj2
= 0 ;
20764 PyObject
* obj3
= 0 ;
20765 PyObject
* obj4
= 0 ;
20766 PyObject
* obj5
= 0 ;
20767 PyObject
* obj6
= 0 ;
20768 char *kwnames
[] = {
20769 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
20774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20775 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
20776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20778 arg3
= wxString_in_helper(obj2
);
20779 if (arg3
== NULL
) SWIG_fail
;
20785 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20791 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20795 arg6
= (long) SWIG_AsLong(obj5
);
20796 if (PyErr_Occurred()) SWIG_fail
;
20800 arg7
= wxString_in_helper(obj6
);
20801 if (arg7
== NULL
) SWIG_fail
;
20806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20807 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20809 wxPyEndAllowThreads(__tstate
);
20810 if (PyErr_Occurred()) SWIG_fail
;
20812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
20835 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20836 PyObject
*resultobj
;
20837 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20838 PyObject
* obj0
= 0 ;
20839 char *kwnames
[] = {
20840 (char *) "self", NULL
20843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
20844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
20845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20848 (arg1
)->Initialize();
20850 wxPyEndAllowThreads(__tstate
);
20851 if (PyErr_Occurred()) SWIG_fail
;
20853 Py_INCREF(Py_None
); resultobj
= Py_None
;
20860 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20861 PyObject
*resultobj
;
20862 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20863 PyObject
* obj0
= 0 ;
20864 char *kwnames
[] = {
20865 (char *) "self", NULL
20868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
20869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
20870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20873 (arg1
)->CreateControlBar();
20875 wxPyEndAllowThreads(__tstate
);
20876 if (PyErr_Occurred()) SWIG_fail
;
20878 Py_INCREF(Py_None
); resultobj
= Py_None
;
20885 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20886 PyObject
*resultobj
;
20887 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20888 PyObject
* obj0
= 0 ;
20889 char *kwnames
[] = {
20890 (char *) "self", NULL
20893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
20894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
20895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20898 (arg1
)->CreateCanvas();
20900 wxPyEndAllowThreads(__tstate
);
20901 if (PyErr_Occurred()) SWIG_fail
;
20903 Py_INCREF(Py_None
); resultobj
= Py_None
;
20910 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20911 PyObject
*resultobj
;
20912 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20913 wxPreviewControlBar
*result
;
20914 PyObject
* obj0
= 0 ;
20915 char *kwnames
[] = {
20916 (char *) "self", NULL
20919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
20920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
20921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20924 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
20926 wxPyEndAllowThreads(__tstate
);
20927 if (PyErr_Occurred()) SWIG_fail
;
20929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
20936 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
20938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20939 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
20941 return Py_BuildValue((char *)"");
20943 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20944 PyObject
*resultobj
;
20945 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20947 wxWindow
*arg3
= (wxWindow
*) 0 ;
20948 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20949 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20950 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20951 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20952 long arg6
= (long) wxTAB_TRAVERSAL
;
20953 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
20954 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20955 wxPreviewControlBar
*result
;
20958 bool temp7
= False
;
20959 PyObject
* obj0
= 0 ;
20960 PyObject
* obj1
= 0 ;
20961 PyObject
* obj2
= 0 ;
20962 PyObject
* obj3
= 0 ;
20963 PyObject
* obj4
= 0 ;
20964 PyObject
* obj5
= 0 ;
20965 PyObject
* obj6
= 0 ;
20966 char *kwnames
[] = {
20967 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
20972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20973 arg2
= (long) SWIG_AsLong(obj1
);
20974 if (PyErr_Occurred()) SWIG_fail
;
20975 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
20976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20980 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20986 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20990 arg6
= (long) SWIG_AsLong(obj5
);
20991 if (PyErr_Occurred()) SWIG_fail
;
20995 arg7
= wxString_in_helper(obj6
);
20996 if (arg7
== NULL
) SWIG_fail
;
21001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21002 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21004 wxPyEndAllowThreads(__tstate
);
21005 if (PyErr_Occurred()) SWIG_fail
;
21007 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
21022 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21023 PyObject
*resultobj
;
21024 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21026 PyObject
* obj0
= 0 ;
21027 char *kwnames
[] = {
21028 (char *) "self", NULL
21031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
21032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21036 result
= (int)(arg1
)->GetZoomControl();
21038 wxPyEndAllowThreads(__tstate
);
21039 if (PyErr_Occurred()) SWIG_fail
;
21041 resultobj
= SWIG_FromInt((int)result
);
21048 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21049 PyObject
*resultobj
;
21050 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21052 PyObject
* obj0
= 0 ;
21053 PyObject
* obj1
= 0 ;
21054 char *kwnames
[] = {
21055 (char *) "self",(char *) "zoom", NULL
21058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
21059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21061 arg2
= (int) SWIG_AsInt(obj1
);
21062 if (PyErr_Occurred()) SWIG_fail
;
21064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21065 (arg1
)->SetZoomControl(arg2
);
21067 wxPyEndAllowThreads(__tstate
);
21068 if (PyErr_Occurred()) SWIG_fail
;
21070 Py_INCREF(Py_None
); resultobj
= Py_None
;
21077 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21078 PyObject
*resultobj
;
21079 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21080 wxPrintPreview
*result
;
21081 PyObject
* obj0
= 0 ;
21082 char *kwnames
[] = {
21083 (char *) "self", NULL
21086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
21087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21091 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
21093 wxPyEndAllowThreads(__tstate
);
21094 if (PyErr_Occurred()) SWIG_fail
;
21096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
21103 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21104 PyObject
*resultobj
;
21105 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21106 PyObject
* obj0
= 0 ;
21107 char *kwnames
[] = {
21108 (char *) "self", NULL
21111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
21112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21118 wxPyEndAllowThreads(__tstate
);
21119 if (PyErr_Occurred()) SWIG_fail
;
21121 Py_INCREF(Py_None
); resultobj
= Py_None
;
21128 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21129 PyObject
*resultobj
;
21130 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21131 PyObject
* obj0
= 0 ;
21132 char *kwnames
[] = {
21133 (char *) "self", NULL
21136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
21137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21141 (arg1
)->OnPrevious();
21143 wxPyEndAllowThreads(__tstate
);
21144 if (PyErr_Occurred()) SWIG_fail
;
21146 Py_INCREF(Py_None
); resultobj
= Py_None
;
21153 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21154 PyObject
*resultobj
;
21155 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21156 PyObject
* obj0
= 0 ;
21157 char *kwnames
[] = {
21158 (char *) "self", NULL
21161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
21162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21168 wxPyEndAllowThreads(__tstate
);
21169 if (PyErr_Occurred()) SWIG_fail
;
21171 Py_INCREF(Py_None
); resultobj
= Py_None
;
21178 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21179 PyObject
*resultobj
;
21180 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21181 PyObject
* obj0
= 0 ;
21182 char *kwnames
[] = {
21183 (char *) "self", NULL
21186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
21187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21193 wxPyEndAllowThreads(__tstate
);
21194 if (PyErr_Occurred()) SWIG_fail
;
21196 Py_INCREF(Py_None
); resultobj
= Py_None
;
21203 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21204 PyObject
*resultobj
;
21205 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21206 PyObject
* obj0
= 0 ;
21207 char *kwnames
[] = {
21208 (char *) "self", NULL
21211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
21212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21218 wxPyEndAllowThreads(__tstate
);
21219 if (PyErr_Occurred()) SWIG_fail
;
21221 Py_INCREF(Py_None
); resultobj
= Py_None
;
21228 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
21230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21231 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
21233 return Py_BuildValue((char *)"");
21235 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
21236 PyObject
*resultobj
;
21237 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21238 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21239 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
21240 wxPrintPreview
*result
;
21241 PyObject
* obj0
= 0 ;
21242 PyObject
* obj1
= 0 ;
21243 PyObject
* obj2
= 0 ;
21245 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
21246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21248 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
21249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21251 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
21252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21256 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
21258 wxPyEndAllowThreads(__tstate
);
21259 if (PyErr_Occurred()) SWIG_fail
;
21261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
21268 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
21269 PyObject
*resultobj
;
21270 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21271 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21272 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
21273 wxPrintPreview
*result
;
21274 PyObject
* obj0
= 0 ;
21275 PyObject
* obj1
= 0 ;
21276 PyObject
* obj2
= 0 ;
21278 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
21279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21281 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
21282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21283 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
21284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21287 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
21289 wxPyEndAllowThreads(__tstate
);
21290 if (PyErr_Occurred()) SWIG_fail
;
21292 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
21299 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
21304 argc
= PyObject_Length(args
);
21305 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
21306 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21308 if ((argc
>= 2) && (argc
<= 3)) {
21312 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
21322 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
21331 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
21335 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
21343 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
21352 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
21362 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
21372 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
21380 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
21386 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
21391 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21392 PyObject
*resultobj
;
21393 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21396 PyObject
* obj0
= 0 ;
21397 PyObject
* obj1
= 0 ;
21398 char *kwnames
[] = {
21399 (char *) "self",(char *) "pageNum", NULL
21402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21405 arg2
= (int) SWIG_AsInt(obj1
);
21406 if (PyErr_Occurred()) SWIG_fail
;
21408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21409 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
21411 wxPyEndAllowThreads(__tstate
);
21412 if (PyErr_Occurred()) SWIG_fail
;
21415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21423 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21424 PyObject
*resultobj
;
21425 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21427 PyObject
* obj0
= 0 ;
21428 char *kwnames
[] = {
21429 (char *) "self", NULL
21432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
21433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21437 result
= (int)(arg1
)->GetCurrentPage();
21439 wxPyEndAllowThreads(__tstate
);
21440 if (PyErr_Occurred()) SWIG_fail
;
21442 resultobj
= SWIG_FromInt((int)result
);
21449 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21450 PyObject
*resultobj
;
21451 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21452 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21453 PyObject
* obj0
= 0 ;
21454 PyObject
* obj1
= 0 ;
21455 char *kwnames
[] = {
21456 (char *) "self",(char *) "printout", NULL
21459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
21460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
21463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21466 (arg1
)->SetPrintout(arg2
);
21468 wxPyEndAllowThreads(__tstate
);
21469 if (PyErr_Occurred()) SWIG_fail
;
21471 Py_INCREF(Py_None
); resultobj
= Py_None
;
21478 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21479 PyObject
*resultobj
;
21480 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21481 wxPyPrintout
*result
;
21482 PyObject
* obj0
= 0 ;
21483 char *kwnames
[] = {
21484 (char *) "self", NULL
21487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
21488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21492 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
21494 wxPyEndAllowThreads(__tstate
);
21495 if (PyErr_Occurred()) SWIG_fail
;
21498 resultobj
= wxPyMake_wxObject(result
);
21506 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21507 PyObject
*resultobj
;
21508 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21509 wxPyPrintout
*result
;
21510 PyObject
* obj0
= 0 ;
21511 char *kwnames
[] = {
21512 (char *) "self", NULL
21515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
21516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21520 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
21522 wxPyEndAllowThreads(__tstate
);
21523 if (PyErr_Occurred()) SWIG_fail
;
21526 resultobj
= wxPyMake_wxObject(result
);
21534 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21535 PyObject
*resultobj
;
21536 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21537 wxFrame
*arg2
= (wxFrame
*) 0 ;
21538 PyObject
* obj0
= 0 ;
21539 PyObject
* obj1
= 0 ;
21540 char *kwnames
[] = {
21541 (char *) "self",(char *) "frame", NULL
21544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
21545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21547 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
21548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21551 (arg1
)->SetFrame(arg2
);
21553 wxPyEndAllowThreads(__tstate
);
21554 if (PyErr_Occurred()) SWIG_fail
;
21556 Py_INCREF(Py_None
); resultobj
= Py_None
;
21563 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21564 PyObject
*resultobj
;
21565 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21566 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21567 PyObject
* obj0
= 0 ;
21568 PyObject
* obj1
= 0 ;
21569 char *kwnames
[] = {
21570 (char *) "self",(char *) "canvas", NULL
21573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
21574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21576 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
21577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21580 (arg1
)->SetCanvas(arg2
);
21582 wxPyEndAllowThreads(__tstate
);
21583 if (PyErr_Occurred()) SWIG_fail
;
21585 Py_INCREF(Py_None
); resultobj
= Py_None
;
21592 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21593 PyObject
*resultobj
;
21594 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21596 PyObject
* obj0
= 0 ;
21597 char *kwnames
[] = {
21598 (char *) "self", NULL
21601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
21602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21606 result
= (wxFrame
*)(arg1
)->GetFrame();
21608 wxPyEndAllowThreads(__tstate
);
21609 if (PyErr_Occurred()) SWIG_fail
;
21612 resultobj
= wxPyMake_wxObject(result
);
21620 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21621 PyObject
*resultobj
;
21622 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21623 wxPreviewCanvas
*result
;
21624 PyObject
* obj0
= 0 ;
21625 char *kwnames
[] = {
21626 (char *) "self", NULL
21629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
21630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21634 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
21636 wxPyEndAllowThreads(__tstate
);
21637 if (PyErr_Occurred()) SWIG_fail
;
21639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
21646 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21647 PyObject
*resultobj
;
21648 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21649 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21652 PyObject
* obj0
= 0 ;
21653 PyObject
* obj1
= 0 ;
21654 PyObject
* obj2
= 0 ;
21655 char *kwnames
[] = {
21656 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21662 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
21663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21664 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
21665 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21667 if (arg3
== NULL
) {
21668 PyErr_SetString(PyExc_TypeError
,"null reference");
21672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21673 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
21675 wxPyEndAllowThreads(__tstate
);
21676 if (PyErr_Occurred()) SWIG_fail
;
21679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21687 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21688 PyObject
*resultobj
;
21689 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21690 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21693 PyObject
* obj0
= 0 ;
21694 PyObject
* obj1
= 0 ;
21695 PyObject
* obj2
= 0 ;
21696 char *kwnames
[] = {
21697 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21703 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
21704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21705 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
21706 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21708 if (arg3
== NULL
) {
21709 PyErr_SetString(PyExc_TypeError
,"null reference");
21713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21714 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
21716 wxPyEndAllowThreads(__tstate
);
21717 if (PyErr_Occurred()) SWIG_fail
;
21720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21728 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21729 PyObject
*resultobj
;
21730 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21733 PyObject
* obj0
= 0 ;
21734 PyObject
* obj1
= 0 ;
21735 char *kwnames
[] = {
21736 (char *) "self",(char *) "pageNum", NULL
21739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21742 arg2
= (int) SWIG_AsInt(obj1
);
21743 if (PyErr_Occurred()) SWIG_fail
;
21745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21746 result
= (bool)(arg1
)->RenderPage(arg2
);
21748 wxPyEndAllowThreads(__tstate
);
21749 if (PyErr_Occurred()) SWIG_fail
;
21752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21760 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21761 PyObject
*resultobj
;
21762 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21763 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21764 PyObject
* obj0
= 0 ;
21765 PyObject
* obj1
= 0 ;
21766 char *kwnames
[] = {
21767 (char *) "self",(char *) "canvas", NULL
21770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
21771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21773 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
21774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21777 (arg1
)->AdjustScrollbars(arg2
);
21779 wxPyEndAllowThreads(__tstate
);
21780 if (PyErr_Occurred()) SWIG_fail
;
21782 Py_INCREF(Py_None
); resultobj
= Py_None
;
21789 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21790 PyObject
*resultobj
;
21791 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21792 wxPrintDialogData
*result
;
21793 PyObject
* obj0
= 0 ;
21794 char *kwnames
[] = {
21795 (char *) "self", NULL
21798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21804 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21805 result
= (wxPrintDialogData
*) &_result_ref
;
21808 wxPyEndAllowThreads(__tstate
);
21809 if (PyErr_Occurred()) SWIG_fail
;
21811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21818 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21819 PyObject
*resultobj
;
21820 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21822 PyObject
* obj0
= 0 ;
21823 PyObject
* obj1
= 0 ;
21824 char *kwnames
[] = {
21825 (char *) "self",(char *) "percent", NULL
21828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
21829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21831 arg2
= (int) SWIG_AsInt(obj1
);
21832 if (PyErr_Occurred()) SWIG_fail
;
21834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21835 (arg1
)->SetZoom(arg2
);
21837 wxPyEndAllowThreads(__tstate
);
21838 if (PyErr_Occurred()) SWIG_fail
;
21840 Py_INCREF(Py_None
); resultobj
= Py_None
;
21847 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21848 PyObject
*resultobj
;
21849 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21851 PyObject
* obj0
= 0 ;
21852 char *kwnames
[] = {
21853 (char *) "self", NULL
21856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
21857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21861 result
= (int)(arg1
)->GetZoom();
21863 wxPyEndAllowThreads(__tstate
);
21864 if (PyErr_Occurred()) SWIG_fail
;
21866 resultobj
= SWIG_FromInt((int)result
);
21873 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21874 PyObject
*resultobj
;
21875 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21877 PyObject
* obj0
= 0 ;
21878 char *kwnames
[] = {
21879 (char *) "self", NULL
21882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
21883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21887 result
= (int)(arg1
)->GetMaxPage();
21889 wxPyEndAllowThreads(__tstate
);
21890 if (PyErr_Occurred()) SWIG_fail
;
21892 resultobj
= SWIG_FromInt((int)result
);
21899 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21900 PyObject
*resultobj
;
21901 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21903 PyObject
* obj0
= 0 ;
21904 char *kwnames
[] = {
21905 (char *) "self", NULL
21908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
21909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21913 result
= (int)(arg1
)->GetMinPage();
21915 wxPyEndAllowThreads(__tstate
);
21916 if (PyErr_Occurred()) SWIG_fail
;
21918 resultobj
= SWIG_FromInt((int)result
);
21925 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21926 PyObject
*resultobj
;
21927 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21929 PyObject
* obj0
= 0 ;
21930 char *kwnames
[] = {
21931 (char *) "self", NULL
21934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
21935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21939 result
= (bool)(arg1
)->Ok();
21941 wxPyEndAllowThreads(__tstate
);
21942 if (PyErr_Occurred()) SWIG_fail
;
21945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21953 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21954 PyObject
*resultobj
;
21955 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21957 PyObject
* obj0
= 0 ;
21958 PyObject
* obj1
= 0 ;
21959 char *kwnames
[] = {
21960 (char *) "self",(char *) "ok", NULL
21963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
21964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21966 arg2
= (bool) SWIG_AsBool(obj1
);
21967 if (PyErr_Occurred()) SWIG_fail
;
21969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21970 (arg1
)->SetOk(arg2
);
21972 wxPyEndAllowThreads(__tstate
);
21973 if (PyErr_Occurred()) SWIG_fail
;
21975 Py_INCREF(Py_None
); resultobj
= Py_None
;
21982 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21983 PyObject
*resultobj
;
21984 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21987 PyObject
* obj0
= 0 ;
21988 PyObject
* obj1
= 0 ;
21989 char *kwnames
[] = {
21990 (char *) "self",(char *) "interactive", NULL
21993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
21994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21996 arg2
= (bool) SWIG_AsBool(obj1
);
21997 if (PyErr_Occurred()) SWIG_fail
;
21999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22000 result
= (bool)(arg1
)->Print(arg2
);
22002 wxPyEndAllowThreads(__tstate
);
22003 if (PyErr_Occurred()) SWIG_fail
;
22006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22014 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22015 PyObject
*resultobj
;
22016 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22017 PyObject
* obj0
= 0 ;
22018 char *kwnames
[] = {
22019 (char *) "self", NULL
22022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
22023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22027 (arg1
)->DetermineScaling();
22029 wxPyEndAllowThreads(__tstate
);
22030 if (PyErr_Occurred()) SWIG_fail
;
22032 Py_INCREF(Py_None
); resultobj
= Py_None
;
22039 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
22041 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22042 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
22044 return Py_BuildValue((char *)"");
22046 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
22047 PyObject
*resultobj
;
22048 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22049 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22050 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
22051 wxPyPrintPreview
*result
;
22052 PyObject
* obj0
= 0 ;
22053 PyObject
* obj1
= 0 ;
22054 PyObject
* obj2
= 0 ;
22056 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22059 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22062 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
22063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22067 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
22069 wxPyEndAllowThreads(__tstate
);
22070 if (PyErr_Occurred()) SWIG_fail
;
22072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
22079 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
22080 PyObject
*resultobj
;
22081 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22082 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22083 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
22084 wxPyPrintPreview
*result
;
22085 PyObject
* obj0
= 0 ;
22086 PyObject
* obj1
= 0 ;
22087 PyObject
* obj2
= 0 ;
22089 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22092 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22094 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
22095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22098 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
22100 wxPyEndAllowThreads(__tstate
);
22101 if (PyErr_Occurred()) SWIG_fail
;
22103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
22110 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
22115 argc
= PyObject_Length(args
);
22116 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
22117 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22119 if ((argc
>= 2) && (argc
<= 3)) {
22123 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22133 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22142 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
22146 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
22154 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
22163 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22173 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22183 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22191 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
22197 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
22202 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22203 PyObject
*resultobj
;
22204 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22205 PyObject
*arg2
= (PyObject
*) 0 ;
22206 PyObject
*arg3
= (PyObject
*) 0 ;
22207 PyObject
* obj0
= 0 ;
22208 PyObject
* obj1
= 0 ;
22209 PyObject
* obj2
= 0 ;
22210 char *kwnames
[] = {
22211 (char *) "self",(char *) "self",(char *) "_class", NULL
22214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22221 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22223 wxPyEndAllowThreads(__tstate
);
22224 if (PyErr_Occurred()) SWIG_fail
;
22226 Py_INCREF(Py_None
); resultobj
= Py_None
;
22233 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22234 PyObject
*resultobj
;
22235 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22238 PyObject
* obj0
= 0 ;
22239 PyObject
* obj1
= 0 ;
22240 char *kwnames
[] = {
22241 (char *) "self",(char *) "pageNum", NULL
22244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22247 arg2
= (int) SWIG_AsInt(obj1
);
22248 if (PyErr_Occurred()) SWIG_fail
;
22250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22251 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
22253 wxPyEndAllowThreads(__tstate
);
22254 if (PyErr_Occurred()) SWIG_fail
;
22257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22265 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22266 PyObject
*resultobj
;
22267 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22268 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22271 PyObject
* obj0
= 0 ;
22272 PyObject
* obj1
= 0 ;
22273 PyObject
* obj2
= 0 ;
22274 char *kwnames
[] = {
22275 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22281 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22283 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
22284 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22286 if (arg3
== NULL
) {
22287 PyErr_SetString(PyExc_TypeError
,"null reference");
22291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22292 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
22294 wxPyEndAllowThreads(__tstate
);
22295 if (PyErr_Occurred()) SWIG_fail
;
22298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22306 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22307 PyObject
*resultobj
;
22308 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22309 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22312 PyObject
* obj0
= 0 ;
22313 PyObject
* obj1
= 0 ;
22314 PyObject
* obj2
= 0 ;
22315 char *kwnames
[] = {
22316 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22322 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22324 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
22325 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22327 if (arg3
== NULL
) {
22328 PyErr_SetString(PyExc_TypeError
,"null reference");
22332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22333 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
22335 wxPyEndAllowThreads(__tstate
);
22336 if (PyErr_Occurred()) SWIG_fail
;
22339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22347 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22348 PyObject
*resultobj
;
22349 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22352 PyObject
* obj0
= 0 ;
22353 PyObject
* obj1
= 0 ;
22354 char *kwnames
[] = {
22355 (char *) "self",(char *) "pageNum", NULL
22358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22361 arg2
= (int) SWIG_AsInt(obj1
);
22362 if (PyErr_Occurred()) SWIG_fail
;
22364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22365 result
= (bool)(arg1
)->base_RenderPage(arg2
);
22367 wxPyEndAllowThreads(__tstate
);
22368 if (PyErr_Occurred()) SWIG_fail
;
22371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22379 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22380 PyObject
*resultobj
;
22381 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22383 PyObject
* obj0
= 0 ;
22384 PyObject
* obj1
= 0 ;
22385 char *kwnames
[] = {
22386 (char *) "self",(char *) "percent", NULL
22389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
22390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22392 arg2
= (int) SWIG_AsInt(obj1
);
22393 if (PyErr_Occurred()) SWIG_fail
;
22395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22396 (arg1
)->base_SetZoom(arg2
);
22398 wxPyEndAllowThreads(__tstate
);
22399 if (PyErr_Occurred()) SWIG_fail
;
22401 Py_INCREF(Py_None
); resultobj
= Py_None
;
22408 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22409 PyObject
*resultobj
;
22410 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22413 PyObject
* obj0
= 0 ;
22414 PyObject
* obj1
= 0 ;
22415 char *kwnames
[] = {
22416 (char *) "self",(char *) "interactive", NULL
22419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
22420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22422 arg2
= (bool) SWIG_AsBool(obj1
);
22423 if (PyErr_Occurred()) SWIG_fail
;
22425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22426 result
= (bool)(arg1
)->base_Print(arg2
);
22428 wxPyEndAllowThreads(__tstate
);
22429 if (PyErr_Occurred()) SWIG_fail
;
22432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22440 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22441 PyObject
*resultobj
;
22442 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22443 PyObject
* obj0
= 0 ;
22444 char *kwnames
[] = {
22445 (char *) "self", NULL
22448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
22449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22453 (arg1
)->base_DetermineScaling();
22455 wxPyEndAllowThreads(__tstate
);
22456 if (PyErr_Occurred()) SWIG_fail
;
22458 Py_INCREF(Py_None
); resultobj
= Py_None
;
22465 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
22467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22468 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
22470 return Py_BuildValue((char *)"");
22472 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22473 PyObject
*resultobj
;
22474 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22475 wxFrame
*arg2
= (wxFrame
*) 0 ;
22476 wxString
*arg3
= 0 ;
22477 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22478 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22479 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22480 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22481 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22482 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22483 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22484 wxPyPreviewFrame
*result
;
22485 bool temp3
= False
;
22488 bool temp7
= False
;
22489 PyObject
* obj0
= 0 ;
22490 PyObject
* obj1
= 0 ;
22491 PyObject
* obj2
= 0 ;
22492 PyObject
* obj3
= 0 ;
22493 PyObject
* obj4
= 0 ;
22494 PyObject
* obj5
= 0 ;
22495 PyObject
* obj6
= 0 ;
22496 char *kwnames
[] = {
22497 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22506 arg3
= wxString_in_helper(obj2
);
22507 if (arg3
== NULL
) SWIG_fail
;
22513 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22519 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22523 arg6
= (long) SWIG_AsLong(obj5
);
22524 if (PyErr_Occurred()) SWIG_fail
;
22528 arg7
= wxString_in_helper(obj6
);
22529 if (arg7
== NULL
) SWIG_fail
;
22534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22535 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22537 wxPyEndAllowThreads(__tstate
);
22538 if (PyErr_Occurred()) SWIG_fail
;
22540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
22563 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22564 PyObject
*resultobj
;
22565 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22566 PyObject
*arg2
= (PyObject
*) 0 ;
22567 PyObject
*arg3
= (PyObject
*) 0 ;
22568 PyObject
* obj0
= 0 ;
22569 PyObject
* obj1
= 0 ;
22570 PyObject
* obj2
= 0 ;
22571 char *kwnames
[] = {
22572 (char *) "self",(char *) "self",(char *) "_class", NULL
22575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22582 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22584 wxPyEndAllowThreads(__tstate
);
22585 if (PyErr_Occurred()) SWIG_fail
;
22587 Py_INCREF(Py_None
); resultobj
= Py_None
;
22594 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22595 PyObject
*resultobj
;
22596 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22597 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22598 PyObject
* obj0
= 0 ;
22599 PyObject
* obj1
= 0 ;
22600 char *kwnames
[] = {
22601 (char *) "self",(char *) "canvas", NULL
22604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
22605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22607 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22611 (arg1
)->SetPreviewCanvas(arg2
);
22613 wxPyEndAllowThreads(__tstate
);
22614 if (PyErr_Occurred()) SWIG_fail
;
22616 Py_INCREF(Py_None
); resultobj
= Py_None
;
22623 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22624 PyObject
*resultobj
;
22625 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22626 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
22627 PyObject
* obj0
= 0 ;
22628 PyObject
* obj1
= 0 ;
22629 char *kwnames
[] = {
22630 (char *) "self",(char *) "bar", NULL
22633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
22634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
22637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22640 (arg1
)->SetControlBar(arg2
);
22642 wxPyEndAllowThreads(__tstate
);
22643 if (PyErr_Occurred()) SWIG_fail
;
22645 Py_INCREF(Py_None
); resultobj
= Py_None
;
22652 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22653 PyObject
*resultobj
;
22654 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22655 PyObject
* obj0
= 0 ;
22656 char *kwnames
[] = {
22657 (char *) "self", NULL
22660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
22661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22665 (arg1
)->base_Initialize();
22667 wxPyEndAllowThreads(__tstate
);
22668 if (PyErr_Occurred()) SWIG_fail
;
22670 Py_INCREF(Py_None
); resultobj
= Py_None
;
22677 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22678 PyObject
*resultobj
;
22679 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22680 PyObject
* obj0
= 0 ;
22681 char *kwnames
[] = {
22682 (char *) "self", NULL
22685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22690 (arg1
)->base_CreateCanvas();
22692 wxPyEndAllowThreads(__tstate
);
22693 if (PyErr_Occurred()) SWIG_fail
;
22695 Py_INCREF(Py_None
); resultobj
= Py_None
;
22702 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22703 PyObject
*resultobj
;
22704 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22705 PyObject
* obj0
= 0 ;
22706 char *kwnames
[] = {
22707 (char *) "self", NULL
22710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22715 (arg1
)->base_CreateControlBar();
22717 wxPyEndAllowThreads(__tstate
);
22718 if (PyErr_Occurred()) SWIG_fail
;
22720 Py_INCREF(Py_None
); resultobj
= Py_None
;
22727 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
22729 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22730 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
22732 return Py_BuildValue((char *)"");
22734 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22735 PyObject
*resultobj
;
22736 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22738 wxWindow
*arg3
= (wxWindow
*) 0 ;
22739 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22740 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22741 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22742 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22743 long arg6
= (long) 0 ;
22744 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22745 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22746 wxPyPreviewControlBar
*result
;
22749 bool temp7
= False
;
22750 PyObject
* obj0
= 0 ;
22751 PyObject
* obj1
= 0 ;
22752 PyObject
* obj2
= 0 ;
22753 PyObject
* obj3
= 0 ;
22754 PyObject
* obj4
= 0 ;
22755 PyObject
* obj5
= 0 ;
22756 PyObject
* obj6
= 0 ;
22757 char *kwnames
[] = {
22758 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22764 arg2
= (long) SWIG_AsLong(obj1
);
22765 if (PyErr_Occurred()) SWIG_fail
;
22766 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
22767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22771 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22777 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22781 arg6
= (long) SWIG_AsLong(obj5
);
22782 if (PyErr_Occurred()) SWIG_fail
;
22786 arg7
= wxString_in_helper(obj6
);
22787 if (arg7
== NULL
) SWIG_fail
;
22792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22793 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22795 wxPyEndAllowThreads(__tstate
);
22796 if (PyErr_Occurred()) SWIG_fail
;
22798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
22813 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22814 PyObject
*resultobj
;
22815 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22816 PyObject
*arg2
= (PyObject
*) 0 ;
22817 PyObject
*arg3
= (PyObject
*) 0 ;
22818 PyObject
* obj0
= 0 ;
22819 PyObject
* obj1
= 0 ;
22820 PyObject
* obj2
= 0 ;
22821 char *kwnames
[] = {
22822 (char *) "self",(char *) "self",(char *) "_class", NULL
22825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
22827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22832 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22834 wxPyEndAllowThreads(__tstate
);
22835 if (PyErr_Occurred()) SWIG_fail
;
22837 Py_INCREF(Py_None
); resultobj
= Py_None
;
22844 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22845 PyObject
*resultobj
;
22846 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22847 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
22848 PyObject
* obj0
= 0 ;
22849 PyObject
* obj1
= 0 ;
22850 char *kwnames
[] = {
22851 (char *) "self",(char *) "preview", NULL
22854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
22856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22857 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
22858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22861 (arg1
)->SetPrintPreview(arg2
);
22863 wxPyEndAllowThreads(__tstate
);
22864 if (PyErr_Occurred()) SWIG_fail
;
22866 Py_INCREF(Py_None
); resultobj
= Py_None
;
22873 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22874 PyObject
*resultobj
;
22875 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22876 PyObject
* obj0
= 0 ;
22877 char *kwnames
[] = {
22878 (char *) "self", NULL
22881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
22882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
22883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22886 (arg1
)->base_CreateButtons();
22888 wxPyEndAllowThreads(__tstate
);
22889 if (PyErr_Occurred()) SWIG_fail
;
22891 Py_INCREF(Py_None
); resultobj
= Py_None
;
22898 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22899 PyObject
*resultobj
;
22900 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22902 PyObject
* obj0
= 0 ;
22903 PyObject
* obj1
= 0 ;
22904 char *kwnames
[] = {
22905 (char *) "self",(char *) "zoom", NULL
22908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
22910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22911 arg2
= (int) SWIG_AsInt(obj1
);
22912 if (PyErr_Occurred()) SWIG_fail
;
22914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22915 (arg1
)->base_SetZoomControl(arg2
);
22917 wxPyEndAllowThreads(__tstate
);
22918 if (PyErr_Occurred()) SWIG_fail
;
22920 Py_INCREF(Py_None
); resultobj
= Py_None
;
22927 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
22929 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22930 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
22932 return Py_BuildValue((char *)"");
22934 static PyMethodDef SwigMethods
[] = {
22935 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22936 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22937 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22938 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22939 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
22940 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22941 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22942 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22943 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22944 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22945 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22946 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22947 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22948 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22949 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22950 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22951 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22952 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22953 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22954 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
22955 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
22956 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22957 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22958 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22959 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22960 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22961 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22962 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
22963 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22964 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22965 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22966 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22967 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22968 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22969 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22970 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22971 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22972 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22973 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22974 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22975 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22976 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
22977 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22978 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22979 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22980 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22981 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22982 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22983 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22984 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22985 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22986 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22987 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22988 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22989 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22990 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22991 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22992 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22993 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22994 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22995 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22996 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22997 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22998 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
22999 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
23000 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23001 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23002 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23003 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23004 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23005 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23006 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23007 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23008 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23009 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23010 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23011 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
23012 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23013 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23014 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23015 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
23016 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23017 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23018 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23019 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
23020 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23021 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23022 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23023 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23024 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
23025 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23026 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23027 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23028 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23029 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23030 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23031 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23032 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23033 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23034 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23035 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23036 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23037 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23038 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23039 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
23040 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23041 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23042 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23043 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23044 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23045 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23046 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23047 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23048 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23049 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23050 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23051 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23052 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23053 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23054 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23055 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23056 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23057 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23058 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23059 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23060 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23061 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23062 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23063 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23064 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23065 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23066 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
23067 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23068 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23069 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23070 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23071 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23072 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23073 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
23074 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23075 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23076 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23077 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23078 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23079 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23080 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23081 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23082 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23083 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23084 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23085 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23086 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23087 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23088 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23089 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23090 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23091 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23092 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23093 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23094 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23095 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23096 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
23097 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23098 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23099 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23100 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23101 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23102 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23103 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23104 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
23105 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23106 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23107 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23108 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23109 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23110 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23111 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23112 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23113 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23114 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23115 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23116 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
23117 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23118 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23119 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23120 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23121 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23122 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
23123 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23124 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23125 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23126 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23127 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23128 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23129 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23130 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23131 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
23132 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23133 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23134 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23135 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23136 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23137 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
23138 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23139 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23140 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
23141 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23142 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23143 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
23144 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23145 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23146 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23147 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
23148 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23149 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23150 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23151 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23152 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23153 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23154 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23155 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23156 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23157 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23158 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23159 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23160 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23161 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23162 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23163 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23164 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23165 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
23166 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23167 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23168 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23169 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23170 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23171 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23172 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23173 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23174 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23175 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23176 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23177 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23178 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23179 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23180 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23181 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23182 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23183 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23184 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23185 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23186 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23187 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23188 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23189 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23190 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23191 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
23192 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23193 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23194 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23195 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23196 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23197 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23198 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
23199 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23200 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23201 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
23202 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23203 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
23204 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23205 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23206 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23207 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23208 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23209 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23210 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23211 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23212 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
23213 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23214 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23215 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
23216 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23217 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23218 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23219 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23220 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23221 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23222 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
23223 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23224 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23225 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23226 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23227 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23228 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23229 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23230 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23231 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23232 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23233 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23234 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23235 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23236 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23237 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23238 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23239 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23240 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
23241 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23242 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23243 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23244 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
23245 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23246 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23247 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23248 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23249 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
23250 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23251 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23252 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23253 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
23254 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23255 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23256 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23257 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23258 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23259 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23260 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23261 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23262 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23263 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23264 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23265 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23266 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23267 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23268 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23269 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
23270 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23271 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23272 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
23273 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23274 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
23275 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23276 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23277 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23278 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
23279 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23280 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23281 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23282 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23283 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23284 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23285 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23286 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23287 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
23288 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23289 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23290 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23291 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23292 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23293 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23294 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23295 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23296 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
23297 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23298 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23299 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23300 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23301 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23302 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
23303 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23304 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23305 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23306 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23307 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23308 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23309 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23310 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23311 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23312 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23313 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23314 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
23315 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23316 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23317 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23318 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23319 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23320 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23321 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
23322 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23323 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23324 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23325 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
23326 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23327 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23328 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23329 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23330 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23331 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23332 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23333 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23334 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23335 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23336 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23337 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23338 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23339 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23340 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23341 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23342 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23343 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23344 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23345 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23346 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
23347 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23348 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23349 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23350 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23351 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23352 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23353 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23354 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23355 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23356 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23357 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23358 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23359 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23360 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23361 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23362 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23363 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23364 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23365 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23366 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23367 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
23368 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23369 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23370 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23371 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23372 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23373 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23374 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23375 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23376 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23377 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23378 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23379 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23380 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23381 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23382 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23383 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23384 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23385 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23386 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23387 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23388 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23389 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23390 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23391 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23392 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23393 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23394 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23395 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23396 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23397 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23398 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23399 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23400 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23401 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23402 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23403 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23404 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23405 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23406 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23407 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23408 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23409 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23410 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23411 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23412 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23413 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
23414 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23415 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23416 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23417 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23418 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23419 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23420 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23421 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23422 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23423 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23424 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23425 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23426 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23427 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23428 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23429 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23430 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23431 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23432 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23433 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23434 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23435 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23436 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23437 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23438 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23439 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23440 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23441 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23442 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23443 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23444 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23445 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
23446 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23447 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23448 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23449 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
23450 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
23451 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23452 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23453 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23454 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23455 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23456 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23457 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23458 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23459 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23460 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23461 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23462 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23463 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23464 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23465 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23466 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23467 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23468 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23469 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23470 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23471 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23472 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23473 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23474 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23475 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23476 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23477 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23478 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23479 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23480 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23481 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23482 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23483 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
23484 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23485 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23486 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23487 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23488 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
23489 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23490 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23491 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23492 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23493 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23494 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23495 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23496 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23497 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23498 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23499 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
23500 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23501 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23502 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23503 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23504 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23505 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23506 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23507 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23508 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23509 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23510 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23511 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23512 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23513 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23514 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23515 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23516 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23517 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23518 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23519 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23520 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23521 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23522 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
23523 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23524 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
23525 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23526 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23527 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23528 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23529 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23530 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
23531 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23532 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23533 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23534 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23535 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23536 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23537 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23538 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23539 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23540 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
23541 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
23542 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23543 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23544 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23545 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23546 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23547 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23548 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23549 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23550 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23551 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23552 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23553 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23554 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23555 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23556 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23557 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23558 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23559 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23560 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23561 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23562 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23563 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23564 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
23565 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
23566 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23567 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23568 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23569 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23570 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23571 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23572 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23573 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23574 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
23575 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23576 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23577 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23578 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23579 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23580 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23581 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23582 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
23583 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23584 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23585 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23586 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23587 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
23588 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
23589 { NULL
, NULL
, 0, NULL
}
23593 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
23595 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
23596 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23598 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
23599 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
23601 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
23602 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
23604 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
23605 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
23607 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
23608 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
23610 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
23611 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
23613 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
23614 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
23616 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
23617 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23619 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
23620 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
23622 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
23623 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
23625 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
23626 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
23628 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
23629 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
23631 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
23632 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
23634 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
23635 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
23637 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
23638 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
23640 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
23641 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
23643 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
23644 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
23646 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
23647 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
23649 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
23650 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
23652 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
23653 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
23655 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
23656 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
23658 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
23659 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
23661 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
23662 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
23664 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
23665 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
23667 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
23668 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
23670 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
23671 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
23673 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
23674 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
23676 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
23677 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
23679 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
23680 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
23682 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
23683 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
23685 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
23686 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
23688 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
23689 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
23691 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
23692 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
23694 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
23695 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
23697 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
23698 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
23700 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
23701 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
23703 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
23704 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
23706 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
23707 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
23709 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
23710 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
23712 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
23713 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
23715 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
23716 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
23718 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
23719 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
23721 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
23722 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23724 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
23725 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
23727 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
23728 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
23730 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
23731 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
23733 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
23734 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
23736 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
23737 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
23739 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
23740 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
23742 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
23743 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
23745 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
23746 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
23748 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
23749 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
23751 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
23752 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
23754 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
23755 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
23757 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
23758 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
23760 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
23761 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
23763 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
23764 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
23766 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
23767 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
23769 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
23770 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
23772 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
23773 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
23775 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
23776 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
23778 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
23779 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
23781 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
23782 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
23784 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
23785 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
23787 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
23788 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
23790 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
23791 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
23793 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
23794 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
23796 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
23797 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
23799 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
23800 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
23802 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
23803 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
23805 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
23806 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
23808 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
23809 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
23811 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
23812 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
23814 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
23815 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23817 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
23818 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
23820 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
23821 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
23823 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
23824 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
23826 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
23827 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
23829 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
23830 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
23832 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
23833 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23835 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
23836 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
23838 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
23839 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
23841 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
23842 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
23844 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
23845 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
23847 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
23848 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
23850 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
23851 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
23853 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
23854 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
23856 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
23857 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
23859 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
23860 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
23862 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
23863 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
23865 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
23866 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
23868 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
23869 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
23871 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
23872 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23874 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
23875 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
23877 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
23878 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
23880 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
23881 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
23883 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
23884 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
23886 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
23887 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23889 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
23890 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
23892 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
23893 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
23895 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
23896 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
23898 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
23899 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
23901 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
23902 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
23904 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
23905 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
23907 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
23908 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23910 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
23911 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
23913 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
23914 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
23916 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
23917 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
23919 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
23920 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
23922 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
23923 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
23925 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
23926 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
23928 static void *_p_wxSizerTo_p_wxObject(void *x
) {
23929 return (void *)((wxObject
*) ((wxSizer
*) x
));
23931 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
23932 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
23934 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
23935 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
23937 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
23938 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
23940 static void *_p_wxEventTo_p_wxObject(void *x
) {
23941 return (void *)((wxObject
*) ((wxEvent
*) x
));
23943 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
23944 return (void *)((wxObject
*) ((wxFontData
*) x
));
23946 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
23947 return (void *)((wxObject
*) ((wxPrintData
*) x
));
23949 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
23950 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
23952 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
23953 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
23955 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
23956 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
23958 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
23959 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
23961 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
23962 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
23964 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
23965 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
23967 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
23968 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
23970 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
23971 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
23973 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
23974 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
23976 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
23977 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
23979 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
23980 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
23982 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
23983 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
23985 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
23986 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
23988 static void *_p_wxControlTo_p_wxObject(void *x
) {
23989 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
23991 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
23992 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
23994 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
23995 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23997 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
23998 return (void *)((wxObject
*) ((wxFSFile
*) x
));
24000 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
24001 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
24003 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
24004 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
24006 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
24007 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
24009 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
24010 return (void *)((wxObject
*) ((wxColourData
*) x
));
24012 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
24013 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
24015 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
24016 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
24018 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
24019 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
24021 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
24022 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
24024 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
24025 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
24027 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
24028 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24030 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
24031 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24033 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
24034 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
24036 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
24037 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
24039 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
24040 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
24042 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
24043 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
24045 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
24046 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
24048 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
24049 return (void *)((wxObject
*) ((wxPrinter
*) x
));
24051 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
24052 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
24054 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
24055 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
24057 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
24058 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
24060 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
24061 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
24063 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
24064 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
24066 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
24067 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
24069 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
24070 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
24072 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
24073 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
24075 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
24076 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
24078 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
24079 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
24081 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
24082 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
24084 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
24085 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
24087 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
24088 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
24090 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
24091 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
24093 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
24094 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
24096 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
24097 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
24099 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
24100 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
24102 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
24103 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
24105 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
24106 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
24108 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
24109 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
24111 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
24112 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
24114 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
24115 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
24117 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
24118 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
24120 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
24121 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24123 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
24124 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24126 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
24127 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
24129 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
24130 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
24132 static void *_p_wxImageTo_p_wxObject(void *x
) {
24133 return (void *)((wxObject
*) ((wxImage
*) x
));
24135 static void *_p_wxFrameTo_p_wxObject(void *x
) {
24136 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
24138 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
24139 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
24141 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
24142 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
24144 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
24145 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
24147 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
24148 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
24150 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
24151 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
24153 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
24154 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
24156 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
24157 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
24159 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
24160 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
24162 static void *_p_wxWindowTo_p_wxObject(void *x
) {
24163 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
24165 static void *_p_wxMenuTo_p_wxObject(void *x
) {
24166 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
24168 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
24169 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
24171 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
24172 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
24174 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
24175 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
24177 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
24178 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
24180 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
24181 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
24183 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
24184 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
24186 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
24187 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24189 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
24190 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
24192 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
24193 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24195 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
24196 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
24198 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
24199 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24201 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
24202 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
24204 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
24205 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
24207 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
24208 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
24210 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
24211 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
24213 static void *_p_wxPanelTo_p_wxObject(void *x
) {
24214 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
24216 static void *_p_wxDialogTo_p_wxObject(void *x
) {
24217 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
24219 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
24220 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
24222 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
24223 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
24225 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
24226 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
24228 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
24229 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
24231 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
24232 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
24234 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
24235 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
24237 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
24238 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
24240 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
24241 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
24243 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
24244 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
24246 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
24247 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
24249 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
24250 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
24252 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
24253 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
24255 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
24256 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
24258 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
24259 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
24261 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
24262 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
24264 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
24265 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24267 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
24268 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
24270 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
24271 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
24273 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
24274 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
24276 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
24277 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
24279 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
24280 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
24282 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
24283 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
24285 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
24286 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
24288 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
24289 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
24291 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
24292 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24294 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
24295 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24297 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
24298 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24300 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
24301 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24303 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
24304 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
24306 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
24307 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
24309 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
24310 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
24312 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
24313 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
24315 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
24316 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
24318 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
24319 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
24321 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
24322 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
24324 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
24325 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
24327 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
24328 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
24330 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
24331 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
24333 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
24334 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
24336 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
24337 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
24339 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
24340 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
24342 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
24343 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
24345 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
24346 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
24348 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
24349 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24351 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
24352 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24354 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
24355 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
24357 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
24358 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
24360 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
24361 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
24363 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
24364 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24366 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
24367 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
24369 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
24370 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
24372 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
24373 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
24375 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
24376 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
24378 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
24379 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
24381 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
24382 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
24384 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
24385 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
24387 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
24388 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
24390 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
24391 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24393 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
24394 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24396 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
24397 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
24399 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
24400 return (void *)((wxWindow
*) ((wxPanel
*) x
));
24402 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
24403 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
24405 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
24406 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
24408 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
24409 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24411 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
24412 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
24414 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
24415 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24417 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
24418 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
24420 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
24421 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24423 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
24424 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
24426 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
24427 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
24429 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
24430 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
24432 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
24433 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
24435 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
24436 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
24438 static void *_p_wxControlTo_p_wxWindow(void *x
) {
24439 return (void *)((wxWindow
*) ((wxControl
*) x
));
24441 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
24442 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
24444 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
24445 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24447 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
24448 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
24450 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
24451 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
24453 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
24454 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
24456 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
24457 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24459 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
24460 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24462 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
24463 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24465 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
24466 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
24468 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
24469 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24471 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
24472 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
24474 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
24475 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
24477 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
24478 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
24480 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
24481 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
24483 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
24484 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
24486 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
24487 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
24489 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
24490 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
24492 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
24493 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
24495 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
24496 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24498 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
24499 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
24501 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
24502 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
24504 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
24505 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
24507 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
24508 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
24510 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
24511 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
24513 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
24514 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
24516 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
24517 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
24519 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
24520 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24522 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
24523 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24525 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
24526 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
24528 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
24529 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
24531 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
24532 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
24534 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
24535 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
24537 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
24538 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24540 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
24541 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24543 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
24544 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24546 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
24547 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
24549 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
24550 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24552 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
24553 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
24555 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
24556 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24558 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
24559 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
24561 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
24562 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
24564 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
24565 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
24567 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
24568 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
24570 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
24571 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
24573 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
24574 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
24576 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
24577 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
24579 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
24580 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
24582 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
24583 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
24585 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
24586 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
24588 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
24589 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
24591 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
24592 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24594 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}};
24595 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}};
24596 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}};
24597 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}};
24598 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}};
24599 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}};
24600 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}};
24601 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}};
24602 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}};
24603 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}};
24604 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}};
24605 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}};
24606 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}};
24607 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}};
24608 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}};
24609 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}};
24610 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}};
24611 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}};
24612 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}};
24613 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}};
24614 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}};
24615 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}};
24616 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}};
24617 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}};
24618 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}};
24619 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}};
24620 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}};
24621 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}};
24622 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}};
24623 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}};
24624 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}};
24625 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}};
24626 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}};
24627 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}};
24628 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}};
24629 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}};
24630 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}};
24631 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}};
24632 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}};
24633 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}};
24634 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}};
24635 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}};
24636 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}};
24637 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}};
24638 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}};
24639 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}};
24640 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}};
24641 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}};
24642 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}};
24643 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}};
24644 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}};
24645 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}};
24646 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}};
24647 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}};
24648 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}};
24649 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}};
24650 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}};
24651 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}};
24652 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}};
24653 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}};
24654 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}};
24655 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}};
24656 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}};
24657 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}};
24658 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}};
24659 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}};
24660 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}};
24661 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}};
24662 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}};
24663 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}};
24664 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}};
24665 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}};
24666 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}};
24667 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}};
24668 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}};
24669 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}};
24670 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}};
24671 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}};
24672 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}};
24673 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}};
24674 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}};
24675 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}};
24676 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}};
24677 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}};
24679 static swig_type_info
*swig_types_initial
[] = {
24680 _swigt__p_wxQueryLayoutInfoEvent
,
24681 _swigt__p_wxPreviewFrame
,
24682 _swigt__p_wxPyPreviewFrame
,
24683 _swigt__p_wxPyPanel
,
24685 _swigt__p_wxPrintData
,
24686 _swigt__p_wxFontData
,
24688 _swigt__p_wxTaskBarIcon
,
24689 _swigt__p_wxIconBundle
,
24690 _swigt__p_wxLayoutAlgorithm
,
24691 _swigt__p_wxFindDialogEvent
,
24692 _swigt__p_wxPreviewCanvas
,
24694 _swigt__p_wxSplitterEvent
,
24695 _swigt__p_wxRegion
,
24696 _swigt__p_wxFindReplaceData
,
24701 _swigt__p_wxMDIChildFrame
,
24702 _swigt__p_wxColourData
,
24703 _swigt__p_wxNotifyEvent
,
24704 _swigt__p_wxPyWindow
,
24705 _swigt__p_wxSplashScreen
,
24706 _swigt__p_wxFindReplaceDialog
,
24707 _swigt__p_wxProgressDialog
,
24708 _swigt__p_wxMessageDialog
,
24709 _swigt__p_wxTextEntryDialog
,
24710 _swigt__p_wxSingleChoiceDialog
,
24711 _swigt__p_wxMultiChoiceDialog
,
24712 _swigt__p_wxFileDialog
,
24713 _swigt__p_wxPrinter
,
24714 _swigt__p_wxArrayInt
,
24715 _swigt__p_wxEvtHandler
,
24716 _swigt__p_wxCalculateLayoutEvent
,
24717 _swigt__p_wxPyHtmlListBox
,
24718 _swigt__p_wxPyVListBox
,
24721 _swigt__p_wxMiniFrame
,
24723 _swigt__p_wxPyPrintout
,
24724 _swigt__p_wxTaskBarIconEvent
,
24725 _swigt__p_wxScrollWinEvent
,
24726 _swigt__p_wxStatusBar
,
24727 _swigt__p_wxMDIParentFrame
,
24729 _swigt__p_wxObject
,
24730 _swigt__p_wxOutputStream
,
24731 _swigt__p_unsigned_long
,
24732 _swigt__p_wxMDIClientWindow
,
24733 _swigt__p_wxTipWindow
,
24734 _swigt__p_wxPyPopupTransientWindow
,
24735 _swigt__p_wxSashLayoutWindow
,
24736 _swigt__p_wxSplitterWindow
,
24737 _swigt__p_wxPyVScrolledWindow
,
24738 _swigt__p_wxPopupWindow
,
24739 _swigt__p_wxSashWindow
,
24740 _swigt__p_wxTopLevelWindow
,
24741 _swigt__p_wxWindow
,
24742 _swigt__p_wxScrolledWindow
,
24743 _swigt__p_wxSplashScreenWindow
,
24744 _swigt__p_wxMenuBar
,
24745 _swigt__p_wxPrintPreview
,
24746 _swigt__p_wxSashEvent
,
24747 _swigt__p_wxString
,
24748 _swigt__p_wxPyPrintPreview
,
24749 _swigt__p_wxFontDialog
,
24750 _swigt__p_wxDirDialog
,
24751 _swigt__p_wxColourDialog
,
24752 _swigt__p_wxDialog
,
24754 _swigt__p_wxPageSetupDialog
,
24755 _swigt__p_wxPrintDialog
,
24756 _swigt__p_wxBitmap
,
24757 _swigt__p_wxCommandEvent
,
24758 _swigt__p_wxPreviewControlBar
,
24759 _swigt__p_wxPyPreviewControlBar
,
24760 _swigt__p_wxColour
,
24761 _swigt__p_wxToolBar
,
24762 _swigt__p_wxPageSetupDialogData
,
24763 _swigt__p_wxPrintDialogData
,
24768 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
24770 static swig_const_info swig_const_table
[] = {
24771 {0, 0, 0, 0.0, 0, 0}};
24780 SWIGEXPORT(void) SWIG_init(void) {
24781 static PyObject
*SWIG_globals
= 0;
24782 static int typeinit
= 0;
24785 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
24786 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
24787 d
= PyModule_GetDict(m
);
24790 for (i
= 0; swig_types_initial
[i
]; i
++) {
24791 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
24795 SWIG_InstallConstants(d
,swig_const_table
);
24797 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
24798 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
24799 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
24800 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
24801 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
24802 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
24803 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
24804 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
24805 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
24806 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
24807 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
24808 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
24809 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
24810 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
24811 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
24812 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
24813 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
24814 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
24815 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
24816 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
24817 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
24818 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
24819 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
24820 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
24821 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
24822 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
24823 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
24824 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
24825 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
24826 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
24827 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
24828 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
24829 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
24830 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
24831 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
24832 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
24833 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
24834 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
24835 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
24836 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
24837 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
24838 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
24839 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
24840 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
24841 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
24842 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
24843 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
24844 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
24845 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
24846 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
24847 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
24848 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
24849 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
24850 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
24851 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
24852 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
24853 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
24854 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
24855 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
24856 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
24857 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
24858 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
24859 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
24860 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
24861 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
24862 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
24863 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
24864 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
24866 // Map renamed classes back to their common name for OOR
24867 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
24868 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
24869 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
24871 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
24872 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
24873 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
24874 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
24875 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
24876 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
24877 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
24878 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
24879 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
24880 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
24881 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
24882 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
24883 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
24884 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
24885 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
24886 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
24887 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
24888 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
24889 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
24890 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
24891 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
24892 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
24893 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
24894 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
24895 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
24896 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
24897 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
24898 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
24899 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
24900 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
24901 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
24902 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
24903 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
24904 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
24905 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
24906 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
24907 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
24908 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
24909 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
24910 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
24911 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
24912 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
24913 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
24914 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
24915 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
24916 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
24917 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
24918 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
24919 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
24920 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
24921 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
24922 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
24923 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
24924 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
24925 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
24926 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
24927 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
24928 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
24929 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
24930 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
24932 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");