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_wxSashLayoutWindow swig_types[54]
264 #define SWIGTYPE_p_wxSplitterWindow swig_types[55]
265 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[56]
266 #define SWIGTYPE_p_wxPyPopupTransientWindow 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 wxPyPopupTransientWindow
: public wxPopupTransientWindow
534 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
535 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
536 : wxPopupTransientWindow(parent
, style
) {}
538 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
539 DEC_PYCALLBACK__(OnDismiss
);
540 DEC_PYCALLBACK_BOOL_(CanDismiss
);
545 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
546 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
547 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
550 #include <wx/tipwin.h>
552 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
553 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
556 #include <wx/tipwin.h>
559 #include <wx/vscroll.h>
562 class wxPyVScrolledWindow
: public wxVScrolledWindow
564 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
566 wxPyVScrolledWindow() : wxVScrolledWindow() {}
568 wxPyVScrolledWindow(wxWindow
*parent
,
569 wxWindowID id
= wxID_ANY
,
570 const wxPoint
& pos
= wxDefaultPosition
,
571 const wxSize
& size
= wxDefaultSize
,
573 const wxString
& name
= wxPyPanelNameStr
)
574 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
577 // Overridable virtuals
579 // this function must be overridden in the derived class and it should
580 // return the height of the given line in pixels
581 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
584 // this function doesn't have to be overridden but it may be useful to do
585 // it if calculating the lines heights is a relatively expensive operation
586 // as it gives the user code a possibility to calculate several of them at
589 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
590 // shouldn't rely on the latter being called for all lines in the interval
591 // specified here. It is also possible that OnGetLineHeight() will be
592 // called for the lines outside of this interval, so this is really just a
593 // hint, not a promise.
595 // finally note that lineMin is inclusive, while lineMax is exclusive, as
597 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
600 // when the number of lines changes, we try to estimate the total height
601 // of all lines which is a rather expensive operation in terms of lines
602 // access, so if the user code may estimate the average height
603 // better/faster than we do, it should override this function to implement
606 // this function should return the best guess for the total height it may
608 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
611 // Also expose some other interesting protected methods
614 // find the index of the line we need to show at the top of the window such
615 // that the last (fully or partially) visible line is the given one
616 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
617 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
619 // get the total height of the lines between lineMin (inclusive) and
620 // lineMax (exclusive)
621 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
622 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
628 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
630 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
631 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
632 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
635 SWIGSTATICINLINE(unsigned long)
636 SWIG_AsUnsignedLong(PyObject
* obj
)
638 if (PyLong_Check(obj
)) {
639 return PyLong_AsUnsignedLong(obj
);
641 long i
= PyInt_AsLong(obj
);
642 if ( !PyErr_Occurred() && (i
< 0)) {
643 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
650 SWIGSTATICINLINE(int)
651 SWIG_CheckUnsignedLong(PyObject
* obj
)
653 SWIG_AsUnsignedLong(obj
);
654 if (PyErr_Occurred()) {
663 SWIGSTATICINLINE(PyObject
* )
664 SWIG_FromUnsignedLong(unsigned long value
)
666 return (value
> LONG_MAX
) ?
667 PyLong_FromUnsignedLong(value
)
668 : PyInt_FromLong(swig_numeric_cast(long,value
));
672 #include <wx/vlbox.h>
674 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
676 class wxPyVListBox
: public wxVListBox
678 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
680 wxPyVListBox() : wxVListBox() {}
682 wxPyVListBox(wxWindow
*parent
,
683 wxWindowID id
= wxID_ANY
,
684 const wxPoint
& pos
= wxDefaultPosition
,
685 const wxSize
& size
= wxDefaultSize
,
687 const wxString
& name
= wxPyVListBoxNameStr
)
688 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
691 // Overridable virtuals
693 // the derived class must implement this function to actually draw the item
694 // with the given index on the provided DC
695 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
696 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
699 // the derived class must implement this method to return the height of the
701 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
702 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
705 // this method may be used to draw separators between the lines; note that
706 // the rectangle may be modified, typically to deflate it a bit before
707 // passing to OnDrawItem()
709 // the base class version doesn't do anything
710 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
711 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
714 // this method is used to draw the items background and, maybe, a border
717 // the base class version implements a reasonable default behaviour which
718 // consists in drawing the selected item with the standard background
719 // colour and drawing a border around the item if it is either selected or
721 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
722 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
728 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
730 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
731 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
732 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
733 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
737 #include <wx/htmllbox.h>
740 class wxPyHtmlListBox
: public wxHtmlListBox
742 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
744 wxPyHtmlListBox() : wxHtmlListBox() {}
746 wxPyHtmlListBox(wxWindow
*parent
,
747 wxWindowID id
= wxID_ANY
,
748 const wxPoint
& pos
= wxDefaultPosition
,
749 const wxSize
& size
= wxDefaultSize
,
751 const wxString
& name
= wxPyVListBoxNameStr
)
752 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
755 // Overridable virtuals
757 // this method must be implemented in the derived class and should return
758 // the body (i.e. without <html>) of the HTML for the given item
759 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
761 // this function may be overridden to decorate HTML returned by OnGetItem()
762 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
765 // // this method allows to customize the selection appearance: it may be used
766 // // to specify the colour of the text which normally has the given colour
767 // // colFg when it is inside the selection
769 // // by default, the original colour is not used at all and all text has the
770 // // same (default for this system) colour inside selection
771 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
773 // // this is the same as GetSelectedTextColour() but allows to customize the
774 // // background colour -- this is even more rarely used as you can change it
775 // // globally using SetSelectionBackground()
776 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
783 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
785 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
786 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
793 // implement dummy classes and such for wxMac
795 class wxTaskBarIcon
: public wxEvtHandler
798 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
802 class wxTaskBarIconEvent
: public wxEvent
805 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
806 { wxPyRaiseNotImplemented(); }
807 virtual wxEvent
* Clone() const { return NULL
; }
811 wxEVT_TASKBAR_MOVE
= 0,
812 wxEVT_TASKBAR_LEFT_DOWN
= 0,
813 wxEVT_TASKBAR_LEFT_UP
= 0,
814 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
815 wxEVT_TASKBAR_RIGHT_UP
= 0,
816 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
817 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
821 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
822 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
823 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
824 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
825 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
826 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
827 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
829 self
->GetFilenames(arr
);
830 return wxArrayString2PyList_helper(arr
);
832 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
835 return wxArrayString2PyList_helper(arr
);
837 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
838 return wxArrayInt2PyList_helper(self
->GetSelections());
840 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
841 return new wxSingleChoiceDialog(parent
, message
, caption
,
842 choices
, choices_array
, NULL
, style
, pos
);
847 // C++ version of Python aware wxWindow
848 class wxPyWindow
: public wxWindow
850 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
852 wxPyWindow() : wxWindow() {}
853 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
854 const wxPoint
& pos
= wxDefaultPosition
,
855 const wxSize
& size
= wxDefaultSize
,
857 const wxString
& name
= wxPyPanelNameStr
)
858 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
861 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
862 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
863 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
864 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
866 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
867 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
868 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
870 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
871 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
873 DEC_PYCALLBACK__(InitDialog
);
874 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
875 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
876 DEC_PYCALLBACK_BOOL_(Validate
);
878 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
879 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
880 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
882 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
883 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
885 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
890 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
892 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
893 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
894 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
895 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
897 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
898 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
899 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
901 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
902 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
904 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
905 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
906 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
907 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
909 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
910 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
911 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
913 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
914 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
916 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, ShouldInheritColours
);
918 // C++ version of Python aware wxPanel
919 class wxPyPanel
: public wxPanel
921 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
923 wxPyPanel() : wxPanel() {}
924 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
925 const wxPoint
& pos
= wxDefaultPosition
,
926 const wxSize
& size
= wxDefaultSize
,
928 const wxString
& name
= wxPyPanelNameStr
)
929 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
932 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
933 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
934 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
935 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
937 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
938 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
939 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
941 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
942 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
944 DEC_PYCALLBACK__(InitDialog
);
945 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
946 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
947 DEC_PYCALLBACK_BOOL_(Validate
);
949 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
950 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
951 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
953 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
954 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
956 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
961 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
963 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
964 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
965 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
966 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
968 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
969 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
970 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
972 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
973 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
975 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
976 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
977 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
978 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
980 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
981 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
982 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
984 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
985 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
987 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, ShouldInheritColours
);
990 #include "wx/wxPython/printfw.h"
993 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
994 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
998 // Since this one would be tough and ugly to do with the Macros...
999 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1000 bool hadErr
= False
;
1003 bool blocked
= wxPyBeginBlockThreads();
1004 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1005 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1006 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1009 val
= PyTuple_GetItem(result
, 0);
1010 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1013 val
= PyTuple_GetItem(result
, 1);
1014 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1017 val
= PyTuple_GetItem(result
, 2);
1018 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1021 val
= PyTuple_GetItem(result
, 3);
1022 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1029 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1034 wxPyEndBlockThreads(blocked
);
1036 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1039 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1040 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1044 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1045 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1046 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1047 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1048 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1049 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1050 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1056 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1057 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1058 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1061 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1062 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1065 bool blocked = wxPyBeginBlockThreads(); \
1066 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1067 PyObject* win = wxPyMake_wxObject(a); \
1068 PyObject* dc = wxPyMake_wxObject(&b); \
1069 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1073 wxPyEndBlockThreads(blocked); \
1075 rval = PCLASS::CBNAME(a, b); \
1078 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1079 return PCLASS::CBNAME(a, b); \
1085 class wxPyPrintPreview
: public wxPrintPreview
1087 DECLARE_CLASS(wxPyPrintPreview
)
1089 wxPyPrintPreview(wxPyPrintout
* printout
,
1090 wxPyPrintout
* printoutForPrinting
,
1091 wxPrintDialogData
* data
=NULL
)
1092 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1094 wxPyPrintPreview(wxPyPrintout
* printout
,
1095 wxPyPrintout
* printoutForPrinting
,
1096 wxPrintData
* data
=NULL
)
1097 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1100 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1101 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1102 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1103 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1104 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1105 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1106 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1111 // Stupid renamed classes... Fix this in 2.5...
1112 #if defined(__WXMSW__)
1113 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1114 #elif defined(__WXMAC__)
1115 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1117 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1120 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1121 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1122 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1123 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1124 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1125 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1126 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1129 class wxPyPreviewFrame
: public wxPreviewFrame
1131 DECLARE_CLASS(wxPyPreviewFrame
);
1133 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1134 const wxString
& title
,
1135 const wxPoint
& pos
= wxDefaultPosition
,
1136 const wxSize
& size
= wxDefaultSize
,
1137 long style
= wxDEFAULT_FRAME_STYLE
,
1138 const wxString
& name
= wxPyFrameNameStr
)
1139 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1142 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1143 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1145 DEC_PYCALLBACK_VOID_(Initialize
);
1146 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1147 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1152 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1154 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1155 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1156 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1159 class wxPyPreviewControlBar
: public wxPreviewControlBar
1161 DECLARE_CLASS(wxPyPreviewControlBar
);
1163 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1166 const wxPoint
& pos
= wxDefaultPosition
,
1167 const wxSize
& size
= wxDefaultSize
,
1169 const wxString
& name
= wxPyPanelNameStr
)
1170 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1173 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1175 DEC_PYCALLBACK_VOID_(CreateButtons
);
1176 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1181 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1182 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1183 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1188 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1189 PyObject
*resultobj
;
1190 wxWindow
*arg1
= (wxWindow
*) 0 ;
1191 int arg2
= (int) (int)-1 ;
1192 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1193 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1194 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1195 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1196 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1197 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1198 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1202 bool temp6
= False
;
1203 PyObject
* obj0
= 0 ;
1204 PyObject
* obj1
= 0 ;
1205 PyObject
* obj2
= 0 ;
1206 PyObject
* obj3
= 0 ;
1207 PyObject
* obj4
= 0 ;
1208 PyObject
* obj5
= 0 ;
1210 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1217 arg2
= (int const) SWIG_AsInt(obj1
);
1218 if (PyErr_Occurred()) SWIG_fail
;
1223 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1229 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1233 arg5
= (long) SWIG_AsLong(obj4
);
1234 if (PyErr_Occurred()) SWIG_fail
;
1238 arg6
= wxString_in_helper(obj5
);
1239 if (arg6
== NULL
) SWIG_fail
;
1244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1245 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1247 wxPyEndAllowThreads(__tstate
);
1248 if (PyErr_Occurred()) SWIG_fail
;
1250 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1265 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1266 PyObject
*resultobj
;
1272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1275 result
= (wxPanel
*)new wxPanel();
1277 wxPyEndAllowThreads(__tstate
);
1278 if (PyErr_Occurred()) SWIG_fail
;
1280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1287 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1288 PyObject
*resultobj
;
1289 wxPanel
*arg1
= (wxPanel
*) 0 ;
1290 wxWindow
*arg2
= (wxWindow
*) 0 ;
1292 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1293 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1294 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1295 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1296 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1297 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1298 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1302 bool temp7
= False
;
1303 PyObject
* obj0
= 0 ;
1304 PyObject
* obj1
= 0 ;
1305 PyObject
* obj2
= 0 ;
1306 PyObject
* obj3
= 0 ;
1307 PyObject
* obj4
= 0 ;
1308 PyObject
* obj5
= 0 ;
1309 PyObject
* obj6
= 0 ;
1311 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1317 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1319 arg3
= (int const) SWIG_AsInt(obj2
);
1320 if (PyErr_Occurred()) SWIG_fail
;
1324 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1330 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1334 arg6
= (long) SWIG_AsLong(obj5
);
1335 if (PyErr_Occurred()) SWIG_fail
;
1339 arg7
= wxString_in_helper(obj6
);
1340 if (arg7
== NULL
) SWIG_fail
;
1345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1346 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1348 wxPyEndAllowThreads(__tstate
);
1349 if (PyErr_Occurred()) SWIG_fail
;
1352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1368 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1369 PyObject
*resultobj
;
1370 wxPanel
*arg1
= (wxPanel
*) 0 ;
1371 PyObject
* obj0
= 0 ;
1373 (char *) "self", NULL
1376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1381 (arg1
)->InitDialog();
1383 wxPyEndAllowThreads(__tstate
);
1384 if (PyErr_Occurred()) SWIG_fail
;
1386 Py_INCREF(Py_None
); resultobj
= Py_None
;
1393 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1395 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1396 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1398 return Py_BuildValue((char *)"");
1400 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1401 PyObject
*resultobj
;
1402 wxWindow
*arg1
= (wxWindow
*) 0 ;
1403 int arg2
= (int) (int)-1 ;
1404 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1405 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1406 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1407 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1408 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1409 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1410 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1411 wxScrolledWindow
*result
;
1414 bool temp6
= False
;
1415 PyObject
* obj0
= 0 ;
1416 PyObject
* obj1
= 0 ;
1417 PyObject
* obj2
= 0 ;
1418 PyObject
* obj3
= 0 ;
1419 PyObject
* obj4
= 0 ;
1420 PyObject
* obj5
= 0 ;
1422 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1429 arg2
= (int const) SWIG_AsInt(obj1
);
1430 if (PyErr_Occurred()) SWIG_fail
;
1435 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1441 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1445 arg5
= (long) SWIG_AsLong(obj4
);
1446 if (PyErr_Occurred()) SWIG_fail
;
1450 arg6
= wxString_in_helper(obj5
);
1451 if (arg6
== NULL
) SWIG_fail
;
1456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1457 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1459 wxPyEndAllowThreads(__tstate
);
1460 if (PyErr_Occurred()) SWIG_fail
;
1462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1477 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1478 PyObject
*resultobj
;
1479 wxScrolledWindow
*result
;
1484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1487 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1489 wxPyEndAllowThreads(__tstate
);
1490 if (PyErr_Occurred()) SWIG_fail
;
1492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1499 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1500 PyObject
*resultobj
;
1501 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1502 wxWindow
*arg2
= (wxWindow
*) 0 ;
1503 int arg3
= (int) (int)-1 ;
1504 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1505 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1506 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1507 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1508 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1509 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1510 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1514 bool temp7
= False
;
1515 PyObject
* obj0
= 0 ;
1516 PyObject
* obj1
= 0 ;
1517 PyObject
* obj2
= 0 ;
1518 PyObject
* obj3
= 0 ;
1519 PyObject
* obj4
= 0 ;
1520 PyObject
* obj5
= 0 ;
1521 PyObject
* obj6
= 0 ;
1523 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1532 arg3
= (int const) SWIG_AsInt(obj2
);
1533 if (PyErr_Occurred()) SWIG_fail
;
1538 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1544 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1548 arg6
= (long) SWIG_AsLong(obj5
);
1549 if (PyErr_Occurred()) SWIG_fail
;
1553 arg7
= wxString_in_helper(obj6
);
1554 if (arg7
== NULL
) SWIG_fail
;
1559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1560 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1562 wxPyEndAllowThreads(__tstate
);
1563 if (PyErr_Occurred()) SWIG_fail
;
1566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1582 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1583 PyObject
*resultobj
;
1584 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1589 int arg6
= (int) 0 ;
1590 int arg7
= (int) 0 ;
1591 bool arg8
= (bool) False
;
1592 PyObject
* obj0
= 0 ;
1593 PyObject
* obj1
= 0 ;
1594 PyObject
* obj2
= 0 ;
1595 PyObject
* obj3
= 0 ;
1596 PyObject
* obj4
= 0 ;
1597 PyObject
* obj5
= 0 ;
1598 PyObject
* obj6
= 0 ;
1599 PyObject
* obj7
= 0 ;
1601 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1607 arg2
= (int) SWIG_AsInt(obj1
);
1608 if (PyErr_Occurred()) SWIG_fail
;
1609 arg3
= (int) SWIG_AsInt(obj2
);
1610 if (PyErr_Occurred()) SWIG_fail
;
1611 arg4
= (int) SWIG_AsInt(obj3
);
1612 if (PyErr_Occurred()) SWIG_fail
;
1613 arg5
= (int) SWIG_AsInt(obj4
);
1614 if (PyErr_Occurred()) SWIG_fail
;
1616 arg6
= (int) SWIG_AsInt(obj5
);
1617 if (PyErr_Occurred()) SWIG_fail
;
1620 arg7
= (int) SWIG_AsInt(obj6
);
1621 if (PyErr_Occurred()) SWIG_fail
;
1624 arg8
= (bool) SWIG_AsBool(obj7
);
1625 if (PyErr_Occurred()) SWIG_fail
;
1628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1629 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1631 wxPyEndAllowThreads(__tstate
);
1632 if (PyErr_Occurred()) SWIG_fail
;
1634 Py_INCREF(Py_None
); resultobj
= Py_None
;
1641 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1642 PyObject
*resultobj
;
1643 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1646 PyObject
* obj0
= 0 ;
1647 PyObject
* obj1
= 0 ;
1648 PyObject
* obj2
= 0 ;
1650 (char *) "self",(char *) "x",(char *) "y", NULL
1653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1656 arg2
= (int) SWIG_AsInt(obj1
);
1657 if (PyErr_Occurred()) SWIG_fail
;
1658 arg3
= (int) SWIG_AsInt(obj2
);
1659 if (PyErr_Occurred()) SWIG_fail
;
1661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1662 (arg1
)->Scroll(arg2
,arg3
);
1664 wxPyEndAllowThreads(__tstate
);
1665 if (PyErr_Occurred()) SWIG_fail
;
1667 Py_INCREF(Py_None
); resultobj
= Py_None
;
1674 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1675 PyObject
*resultobj
;
1676 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1679 PyObject
* obj0
= 0 ;
1680 PyObject
* obj1
= 0 ;
1682 (char *) "self",(char *) "orient", NULL
1685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1688 arg2
= (int) SWIG_AsInt(obj1
);
1689 if (PyErr_Occurred()) SWIG_fail
;
1691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1692 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1694 wxPyEndAllowThreads(__tstate
);
1695 if (PyErr_Occurred()) SWIG_fail
;
1697 resultobj
= SWIG_FromInt((int)result
);
1704 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1705 PyObject
*resultobj
;
1706 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1709 PyObject
* obj0
= 0 ;
1710 PyObject
* obj1
= 0 ;
1711 PyObject
* obj2
= 0 ;
1713 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1719 arg2
= (int) SWIG_AsInt(obj1
);
1720 if (PyErr_Occurred()) SWIG_fail
;
1721 arg3
= (int) SWIG_AsInt(obj2
);
1722 if (PyErr_Occurred()) SWIG_fail
;
1724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1725 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1727 wxPyEndAllowThreads(__tstate
);
1728 if (PyErr_Occurred()) SWIG_fail
;
1730 Py_INCREF(Py_None
); resultobj
= Py_None
;
1737 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
*resultobj
;
1739 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1742 PyObject
* obj0
= 0 ;
1743 PyObject
* obj1
= 0 ;
1744 PyObject
* obj2
= 0 ;
1746 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1752 arg2
= (int) SWIG_AsInt(obj1
);
1753 if (PyErr_Occurred()) SWIG_fail
;
1754 arg3
= (int) SWIG_AsInt(obj2
);
1755 if (PyErr_Occurred()) SWIG_fail
;
1757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1758 (arg1
)->SetScrollRate(arg2
,arg3
);
1760 wxPyEndAllowThreads(__tstate
);
1761 if (PyErr_Occurred()) SWIG_fail
;
1763 Py_INCREF(Py_None
); resultobj
= Py_None
;
1770 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1771 PyObject
*resultobj
;
1772 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1773 int *arg2
= (int *) 0 ;
1774 int *arg3
= (int *) 0 ;
1777 PyObject
* obj0
= 0 ;
1779 (char *) "self", NULL
1784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1789 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1791 wxPyEndAllowThreads(__tstate
);
1792 if (PyErr_Occurred()) SWIG_fail
;
1794 Py_INCREF(Py_None
); resultobj
= Py_None
;
1796 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1797 resultobj
= t_output_helper(resultobj
,o
);
1800 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1801 resultobj
= t_output_helper(resultobj
,o
);
1809 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1810 PyObject
*resultobj
;
1811 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1814 PyObject
* obj0
= 0 ;
1815 PyObject
* obj1
= 0 ;
1816 PyObject
* obj2
= 0 ;
1818 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1824 arg2
= (bool) SWIG_AsBool(obj1
);
1825 if (PyErr_Occurred()) SWIG_fail
;
1826 arg3
= (bool) SWIG_AsBool(obj2
);
1827 if (PyErr_Occurred()) SWIG_fail
;
1829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1830 (arg1
)->EnableScrolling(arg2
,arg3
);
1832 wxPyEndAllowThreads(__tstate
);
1833 if (PyErr_Occurred()) SWIG_fail
;
1835 Py_INCREF(Py_None
); resultobj
= Py_None
;
1842 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1843 PyObject
*resultobj
;
1844 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1845 int *arg2
= (int *) 0 ;
1846 int *arg3
= (int *) 0 ;
1849 PyObject
* obj0
= 0 ;
1851 (char *) "self", NULL
1856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1861 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1863 wxPyEndAllowThreads(__tstate
);
1864 if (PyErr_Occurred()) SWIG_fail
;
1866 Py_INCREF(Py_None
); resultobj
= Py_None
;
1868 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1869 resultobj
= t_output_helper(resultobj
,o
);
1872 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1873 resultobj
= t_output_helper(resultobj
,o
);
1881 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1882 PyObject
*resultobj
;
1883 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1886 PyObject
* obj0
= 0 ;
1887 PyObject
* obj1
= 0 ;
1888 PyObject
* obj2
= 0 ;
1890 (char *) "self",(char *) "xs",(char *) "ys", NULL
1893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1896 arg2
= (double) SWIG_AsDouble(obj1
);
1897 if (PyErr_Occurred()) SWIG_fail
;
1898 arg3
= (double) SWIG_AsDouble(obj2
);
1899 if (PyErr_Occurred()) SWIG_fail
;
1901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1902 (arg1
)->SetScale(arg2
,arg3
);
1904 wxPyEndAllowThreads(__tstate
);
1905 if (PyErr_Occurred()) SWIG_fail
;
1907 Py_INCREF(Py_None
); resultobj
= Py_None
;
1914 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1915 PyObject
*resultobj
;
1916 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1918 PyObject
* obj0
= 0 ;
1920 (char *) "self", NULL
1923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
1924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1928 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
1930 wxPyEndAllowThreads(__tstate
);
1931 if (PyErr_Occurred()) SWIG_fail
;
1933 resultobj
= SWIG_FromDouble((double)result
);
1940 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1941 PyObject
*resultobj
;
1942 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1944 PyObject
* obj0
= 0 ;
1946 (char *) "self", NULL
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
1950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1954 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
1956 wxPyEndAllowThreads(__tstate
);
1957 if (PyErr_Occurred()) SWIG_fail
;
1959 resultobj
= SWIG_FromDouble((double)result
);
1966 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
1967 PyObject
*resultobj
;
1968 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1972 PyObject
* obj0
= 0 ;
1973 PyObject
* obj1
= 0 ;
1975 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
1976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1980 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1984 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
1986 wxPyEndAllowThreads(__tstate
);
1987 if (PyErr_Occurred()) SWIG_fail
;
1990 wxPoint
* resultptr
;
1991 resultptr
= new wxPoint((wxPoint
&) result
);
1992 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2000 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2001 PyObject
*resultobj
;
2002 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2005 int *arg4
= (int *) 0 ;
2006 int *arg5
= (int *) 0 ;
2009 PyObject
* obj0
= 0 ;
2010 PyObject
* obj1
= 0 ;
2011 PyObject
* obj2
= 0 ;
2015 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2018 arg2
= (int) SWIG_AsInt(obj1
);
2019 if (PyErr_Occurred()) SWIG_fail
;
2020 arg3
= (int) SWIG_AsInt(obj2
);
2021 if (PyErr_Occurred()) SWIG_fail
;
2023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2024 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2026 wxPyEndAllowThreads(__tstate
);
2027 if (PyErr_Occurred()) SWIG_fail
;
2029 Py_INCREF(Py_None
); resultobj
= Py_None
;
2031 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2032 resultobj
= t_output_helper(resultobj
,o
);
2035 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2036 resultobj
= t_output_helper(resultobj
,o
);
2044 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2049 argc
= PyObject_Length(args
);
2050 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2051 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2057 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2066 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2069 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2077 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2085 _v
= SWIG_CheckInt(argv
[1]);
2087 _v
= SWIG_CheckInt(argv
[2]);
2089 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2095 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2100 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2101 PyObject
*resultobj
;
2102 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2106 PyObject
* obj0
= 0 ;
2107 PyObject
* obj1
= 0 ;
2109 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2114 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2118 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2120 wxPyEndAllowThreads(__tstate
);
2121 if (PyErr_Occurred()) SWIG_fail
;
2124 wxPoint
* resultptr
;
2125 resultptr
= new wxPoint((wxPoint
&) result
);
2126 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2134 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2135 PyObject
*resultobj
;
2136 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2139 int *arg4
= (int *) 0 ;
2140 int *arg5
= (int *) 0 ;
2143 PyObject
* obj0
= 0 ;
2144 PyObject
* obj1
= 0 ;
2145 PyObject
* obj2
= 0 ;
2149 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2152 arg2
= (int) SWIG_AsInt(obj1
);
2153 if (PyErr_Occurred()) SWIG_fail
;
2154 arg3
= (int) SWIG_AsInt(obj2
);
2155 if (PyErr_Occurred()) SWIG_fail
;
2157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2158 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2160 wxPyEndAllowThreads(__tstate
);
2161 if (PyErr_Occurred()) SWIG_fail
;
2163 Py_INCREF(Py_None
); resultobj
= Py_None
;
2165 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2166 resultobj
= t_output_helper(resultobj
,o
);
2169 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2170 resultobj
= t_output_helper(resultobj
,o
);
2178 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2183 argc
= PyObject_Length(args
);
2184 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2185 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2191 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2200 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2203 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2211 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2219 _v
= SWIG_CheckInt(argv
[1]);
2221 _v
= SWIG_CheckInt(argv
[2]);
2223 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2229 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2234 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2235 PyObject
*resultobj
;
2236 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2237 PyObject
* obj0
= 0 ;
2239 (char *) "self", NULL
2242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2247 (arg1
)->AdjustScrollbars();
2249 wxPyEndAllowThreads(__tstate
);
2250 if (PyErr_Occurred()) SWIG_fail
;
2252 Py_INCREF(Py_None
); resultobj
= Py_None
;
2259 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2260 PyObject
*resultobj
;
2261 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2262 wxScrollWinEvent
*arg2
= 0 ;
2264 PyObject
* obj0
= 0 ;
2265 PyObject
* obj1
= 0 ;
2267 (char *) "self",(char *) "event", NULL
2270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2274 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2277 PyErr_SetString(PyExc_TypeError
,"null reference");
2281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2282 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2284 wxPyEndAllowThreads(__tstate
);
2285 if (PyErr_Occurred()) SWIG_fail
;
2287 resultobj
= SWIG_FromInt((int)result
);
2294 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2295 PyObject
*resultobj
;
2296 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2297 wxWindow
*arg2
= (wxWindow
*) 0 ;
2298 PyObject
* obj0
= 0 ;
2299 PyObject
* obj1
= 0 ;
2301 (char *) "self",(char *) "target", NULL
2304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2311 (arg1
)->SetTargetWindow(arg2
);
2313 wxPyEndAllowThreads(__tstate
);
2314 if (PyErr_Occurred()) SWIG_fail
;
2316 Py_INCREF(Py_None
); resultobj
= Py_None
;
2323 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2324 PyObject
*resultobj
;
2325 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2327 PyObject
* obj0
= 0 ;
2329 (char *) "self", NULL
2332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2337 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2339 wxPyEndAllowThreads(__tstate
);
2340 if (PyErr_Occurred()) SWIG_fail
;
2343 resultobj
= wxPyMake_wxObject(result
);
2351 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2352 PyObject
*resultobj
;
2353 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2356 PyObject
* obj0
= 0 ;
2357 PyObject
* obj1
= 0 ;
2359 (char *) "self",(char *) "rect", NULL
2362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2367 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2371 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2373 wxPyEndAllowThreads(__tstate
);
2374 if (PyErr_Occurred()) SWIG_fail
;
2376 Py_INCREF(Py_None
); resultobj
= Py_None
;
2383 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2384 PyObject
*resultobj
;
2385 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2387 PyObject
* obj0
= 0 ;
2389 (char *) "self", NULL
2392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2397 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2399 wxPyEndAllowThreads(__tstate
);
2400 if (PyErr_Occurred()) SWIG_fail
;
2404 resultptr
= new wxRect((wxRect
&) result
);
2405 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
2413 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2415 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2416 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2418 return Py_BuildValue((char *)"");
2420 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2421 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2426 static PyObject
*_wrap_FrameNameStr_get() {
2431 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2433 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2440 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2441 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2446 static PyObject
*_wrap_DialogNameStr_get() {
2451 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2453 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2460 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2461 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2466 static PyObject
*_wrap_StatusLineNameStr_get() {
2471 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2473 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2480 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2481 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2486 static PyObject
*_wrap_ToolBarNameStr_get() {
2491 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2493 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2500 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2501 PyObject
*resultobj
;
2502 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2503 bool arg2
= (bool) True
;
2504 PyObject
* obj0
= 0 ;
2505 PyObject
* obj1
= 0 ;
2507 (char *) "self",(char *) "maximize", NULL
2510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2514 arg2
= (bool) SWIG_AsBool(obj1
);
2515 if (PyErr_Occurred()) SWIG_fail
;
2518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2519 (arg1
)->Maximize(arg2
);
2521 wxPyEndAllowThreads(__tstate
);
2522 if (PyErr_Occurred()) SWIG_fail
;
2524 Py_INCREF(Py_None
); resultobj
= Py_None
;
2531 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2532 PyObject
*resultobj
;
2533 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2534 PyObject
* obj0
= 0 ;
2536 (char *) "self", NULL
2539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2546 wxPyEndAllowThreads(__tstate
);
2547 if (PyErr_Occurred()) SWIG_fail
;
2549 Py_INCREF(Py_None
); resultobj
= Py_None
;
2556 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2557 PyObject
*resultobj
;
2558 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2559 bool arg2
= (bool) True
;
2560 PyObject
* obj0
= 0 ;
2561 PyObject
* obj1
= 0 ;
2563 (char *) "self",(char *) "iconize", NULL
2566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2570 arg2
= (bool) SWIG_AsBool(obj1
);
2571 if (PyErr_Occurred()) SWIG_fail
;
2574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2575 (arg1
)->Iconize(arg2
);
2577 wxPyEndAllowThreads(__tstate
);
2578 if (PyErr_Occurred()) SWIG_fail
;
2580 Py_INCREF(Py_None
); resultobj
= Py_None
;
2587 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2588 PyObject
*resultobj
;
2589 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2591 PyObject
* obj0
= 0 ;
2593 (char *) "self", NULL
2596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2601 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2603 wxPyEndAllowThreads(__tstate
);
2604 if (PyErr_Occurred()) SWIG_fail
;
2607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2615 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2616 PyObject
*resultobj
;
2617 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2619 PyObject
* obj0
= 0 ;
2621 (char *) "self", NULL
2624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2629 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2631 wxPyEndAllowThreads(__tstate
);
2632 if (PyErr_Occurred()) SWIG_fail
;
2635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2643 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2644 PyObject
*resultobj
;
2645 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2647 PyObject
* obj0
= 0 ;
2649 (char *) "self", NULL
2652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2657 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2659 wxPyEndAllowThreads(__tstate
);
2660 if (PyErr_Occurred()) SWIG_fail
;
2664 resultptr
= new wxIcon((wxIcon
&) result
);
2665 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2673 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2674 PyObject
*resultobj
;
2675 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2677 PyObject
* obj0
= 0 ;
2678 PyObject
* obj1
= 0 ;
2680 (char *) "self",(char *) "icon", NULL
2683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2686 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2687 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2690 PyErr_SetString(PyExc_TypeError
,"null reference");
2694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2695 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2697 wxPyEndAllowThreads(__tstate
);
2698 if (PyErr_Occurred()) SWIG_fail
;
2700 Py_INCREF(Py_None
); resultobj
= Py_None
;
2707 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2708 PyObject
*resultobj
;
2709 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2710 wxIconBundle
*arg2
= 0 ;
2711 PyObject
* obj0
= 0 ;
2712 PyObject
* obj1
= 0 ;
2714 (char *) "self",(char *) "icons", NULL
2717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2721 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2724 PyErr_SetString(PyExc_TypeError
,"null reference");
2728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2729 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2731 wxPyEndAllowThreads(__tstate
);
2732 if (PyErr_Occurred()) SWIG_fail
;
2734 Py_INCREF(Py_None
); resultobj
= Py_None
;
2741 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2742 PyObject
*resultobj
;
2743 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2745 long arg3
= (long) wxFULLSCREEN_ALL
;
2747 PyObject
* obj0
= 0 ;
2748 PyObject
* obj1
= 0 ;
2749 PyObject
* obj2
= 0 ;
2751 (char *) "self",(char *) "show",(char *) "style", NULL
2754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2757 arg2
= (bool) SWIG_AsBool(obj1
);
2758 if (PyErr_Occurred()) SWIG_fail
;
2760 arg3
= (long) SWIG_AsLong(obj2
);
2761 if (PyErr_Occurred()) SWIG_fail
;
2764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2765 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2767 wxPyEndAllowThreads(__tstate
);
2768 if (PyErr_Occurred()) SWIG_fail
;
2771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2779 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2780 PyObject
*resultobj
;
2781 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2783 PyObject
* obj0
= 0 ;
2785 (char *) "self", NULL
2788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2793 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2795 wxPyEndAllowThreads(__tstate
);
2796 if (PyErr_Occurred()) SWIG_fail
;
2799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2807 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2808 PyObject
*resultobj
;
2809 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2810 wxString
*arg2
= 0 ;
2811 bool temp2
= False
;
2812 PyObject
* obj0
= 0 ;
2813 PyObject
* obj1
= 0 ;
2815 (char *) "self",(char *) "title", NULL
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2822 arg2
= wxString_in_helper(obj1
);
2823 if (arg2
== NULL
) SWIG_fail
;
2827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2828 (arg1
)->SetTitle((wxString
const &)*arg2
);
2830 wxPyEndAllowThreads(__tstate
);
2831 if (PyErr_Occurred()) SWIG_fail
;
2833 Py_INCREF(Py_None
); resultobj
= Py_None
;
2848 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2849 PyObject
*resultobj
;
2850 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2852 PyObject
* obj0
= 0 ;
2854 (char *) "self", NULL
2857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2862 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2864 wxPyEndAllowThreads(__tstate
);
2865 if (PyErr_Occurred()) SWIG_fail
;
2869 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2871 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2880 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2881 PyObject
*resultobj
;
2882 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2883 wxRegion
*arg2
= 0 ;
2885 PyObject
* obj0
= 0 ;
2886 PyObject
* obj1
= 0 ;
2888 (char *) "self",(char *) "region", NULL
2891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2894 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
2895 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2898 PyErr_SetString(PyExc_TypeError
,"null reference");
2902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2903 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2905 wxPyEndAllowThreads(__tstate
);
2906 if (PyErr_Occurred()) SWIG_fail
;
2909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2917 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2919 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2920 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
2922 return Py_BuildValue((char *)"");
2924 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2925 PyObject
*resultobj
;
2926 wxWindow
*arg1
= (wxWindow
*) 0 ;
2928 wxString
*arg3
= 0 ;
2929 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2930 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2931 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2932 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2933 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
2934 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
2935 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2937 bool temp3
= False
;
2940 bool temp7
= False
;
2941 PyObject
* obj0
= 0 ;
2942 PyObject
* obj1
= 0 ;
2943 PyObject
* obj2
= 0 ;
2944 PyObject
* obj3
= 0 ;
2945 PyObject
* obj4
= 0 ;
2946 PyObject
* obj5
= 0 ;
2947 PyObject
* obj6
= 0 ;
2949 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2955 arg2
= (int const) SWIG_AsInt(obj1
);
2956 if (PyErr_Occurred()) SWIG_fail
;
2958 arg3
= wxString_in_helper(obj2
);
2959 if (arg3
== NULL
) SWIG_fail
;
2965 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2971 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2975 arg6
= (long) SWIG_AsLong(obj5
);
2976 if (PyErr_Occurred()) SWIG_fail
;
2980 arg7
= wxString_in_helper(obj6
);
2981 if (arg7
== NULL
) SWIG_fail
;
2986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2987 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2989 wxPyEndAllowThreads(__tstate
);
2990 if (PyErr_Occurred()) SWIG_fail
;
2993 resultobj
= wxPyMake_wxObject(result
);
3017 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3018 PyObject
*resultobj
;
3024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3027 result
= (wxFrame
*)new wxFrame();
3029 wxPyEndAllowThreads(__tstate
);
3030 if (PyErr_Occurred()) SWIG_fail
;
3033 resultobj
= wxPyMake_wxObject(result
);
3041 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3042 PyObject
*resultobj
;
3043 wxFrame
*arg1
= (wxFrame
*) 0 ;
3044 wxWindow
*arg2
= (wxWindow
*) 0 ;
3046 wxString
*arg4
= 0 ;
3047 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3048 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3049 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3050 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3051 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3052 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3053 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3055 bool temp4
= False
;
3058 bool temp8
= False
;
3059 PyObject
* obj0
= 0 ;
3060 PyObject
* obj1
= 0 ;
3061 PyObject
* obj2
= 0 ;
3062 PyObject
* obj3
= 0 ;
3063 PyObject
* obj4
= 0 ;
3064 PyObject
* obj5
= 0 ;
3065 PyObject
* obj6
= 0 ;
3066 PyObject
* obj7
= 0 ;
3068 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3074 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3076 arg3
= (int const) SWIG_AsInt(obj2
);
3077 if (PyErr_Occurred()) SWIG_fail
;
3079 arg4
= wxString_in_helper(obj3
);
3080 if (arg4
== NULL
) SWIG_fail
;
3086 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3092 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3096 arg7
= (long) SWIG_AsLong(obj6
);
3097 if (PyErr_Occurred()) SWIG_fail
;
3101 arg8
= wxString_in_helper(obj7
);
3102 if (arg8
== NULL
) SWIG_fail
;
3107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3108 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3110 wxPyEndAllowThreads(__tstate
);
3111 if (PyErr_Occurred()) SWIG_fail
;
3114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3138 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3139 PyObject
*resultobj
;
3140 wxFrame
*arg1
= (wxFrame
*) 0 ;
3142 PyObject
* obj0
= 0 ;
3144 (char *) "self", NULL
3147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3152 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3154 wxPyEndAllowThreads(__tstate
);
3155 if (PyErr_Occurred()) SWIG_fail
;
3158 wxPoint
* resultptr
;
3159 resultptr
= new wxPoint((wxPoint
&) result
);
3160 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3168 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3169 PyObject
*resultobj
;
3170 wxFrame
*arg1
= (wxFrame
*) 0 ;
3171 PyObject
* obj0
= 0 ;
3173 (char *) "self", NULL
3176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3181 (arg1
)->SendSizeEvent();
3183 wxPyEndAllowThreads(__tstate
);
3184 if (PyErr_Occurred()) SWIG_fail
;
3186 Py_INCREF(Py_None
); resultobj
= Py_None
;
3193 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3194 PyObject
*resultobj
;
3195 wxFrame
*arg1
= (wxFrame
*) 0 ;
3196 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3197 PyObject
* obj0
= 0 ;
3198 PyObject
* obj1
= 0 ;
3200 (char *) "self",(char *) "menubar", NULL
3203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3206 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3210 (arg1
)->SetMenuBar(arg2
);
3212 wxPyEndAllowThreads(__tstate
);
3213 if (PyErr_Occurred()) SWIG_fail
;
3215 Py_INCREF(Py_None
); resultobj
= Py_None
;
3222 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3223 PyObject
*resultobj
;
3224 wxFrame
*arg1
= (wxFrame
*) 0 ;
3226 PyObject
* obj0
= 0 ;
3228 (char *) "self", NULL
3231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3236 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3238 wxPyEndAllowThreads(__tstate
);
3239 if (PyErr_Occurred()) SWIG_fail
;
3242 resultobj
= wxPyMake_wxObject(result
);
3250 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3251 PyObject
*resultobj
;
3252 wxFrame
*arg1
= (wxFrame
*) 0 ;
3255 PyObject
* obj0
= 0 ;
3256 PyObject
* obj1
= 0 ;
3258 (char *) "self",(char *) "winid", NULL
3261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3264 arg2
= (int) SWIG_AsInt(obj1
);
3265 if (PyErr_Occurred()) SWIG_fail
;
3267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3268 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3270 wxPyEndAllowThreads(__tstate
);
3271 if (PyErr_Occurred()) SWIG_fail
;
3274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3282 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3283 PyObject
*resultobj
;
3284 wxFrame
*arg1
= (wxFrame
*) 0 ;
3285 int arg2
= (int) 1 ;
3286 long arg3
= (long) wxST_SIZEGRIP
;
3287 int arg4
= (int) 0 ;
3288 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3289 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3290 wxStatusBar
*result
;
3291 bool temp5
= False
;
3292 PyObject
* obj0
= 0 ;
3293 PyObject
* obj1
= 0 ;
3294 PyObject
* obj2
= 0 ;
3295 PyObject
* obj3
= 0 ;
3296 PyObject
* obj4
= 0 ;
3298 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3305 arg2
= (int) SWIG_AsInt(obj1
);
3306 if (PyErr_Occurred()) SWIG_fail
;
3309 arg3
= (long) SWIG_AsLong(obj2
);
3310 if (PyErr_Occurred()) SWIG_fail
;
3313 arg4
= (int) SWIG_AsInt(obj3
);
3314 if (PyErr_Occurred()) SWIG_fail
;
3318 arg5
= wxString_in_helper(obj4
);
3319 if (arg5
== NULL
) SWIG_fail
;
3324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3325 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3327 wxPyEndAllowThreads(__tstate
);
3328 if (PyErr_Occurred()) SWIG_fail
;
3331 resultobj
= wxPyMake_wxObject(result
);
3347 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3348 PyObject
*resultobj
;
3349 wxFrame
*arg1
= (wxFrame
*) 0 ;
3350 wxStatusBar
*result
;
3351 PyObject
* obj0
= 0 ;
3353 (char *) "self", NULL
3356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3361 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3363 wxPyEndAllowThreads(__tstate
);
3364 if (PyErr_Occurred()) SWIG_fail
;
3367 resultobj
= wxPyMake_wxObject(result
);
3375 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3376 PyObject
*resultobj
;
3377 wxFrame
*arg1
= (wxFrame
*) 0 ;
3378 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3379 PyObject
* obj0
= 0 ;
3380 PyObject
* obj1
= 0 ;
3382 (char *) "self",(char *) "statBar", NULL
3385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3388 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3392 (arg1
)->SetStatusBar(arg2
);
3394 wxPyEndAllowThreads(__tstate
);
3395 if (PyErr_Occurred()) SWIG_fail
;
3397 Py_INCREF(Py_None
); resultobj
= Py_None
;
3404 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3405 PyObject
*resultobj
;
3406 wxFrame
*arg1
= (wxFrame
*) 0 ;
3407 wxString
*arg2
= 0 ;
3408 int arg3
= (int) 0 ;
3409 bool temp2
= False
;
3410 PyObject
* obj0
= 0 ;
3411 PyObject
* obj1
= 0 ;
3412 PyObject
* obj2
= 0 ;
3414 (char *) "self",(char *) "text",(char *) "number", NULL
3417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3421 arg2
= wxString_in_helper(obj1
);
3422 if (arg2
== NULL
) SWIG_fail
;
3426 arg3
= (int) SWIG_AsInt(obj2
);
3427 if (PyErr_Occurred()) SWIG_fail
;
3430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3431 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3433 wxPyEndAllowThreads(__tstate
);
3434 if (PyErr_Occurred()) SWIG_fail
;
3436 Py_INCREF(Py_None
); resultobj
= Py_None
;
3451 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
*resultobj
;
3453 wxFrame
*arg1
= (wxFrame
*) 0 ;
3455 int *arg3
= (int *) 0 ;
3456 PyObject
* obj0
= 0 ;
3457 PyObject
* obj1
= 0 ;
3459 (char *) "self",(char *) "widths", NULL
3462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3466 arg2
= PyList_Size(obj1
);
3467 arg3
= int_LIST_helper(obj1
);
3468 if (arg3
== NULL
) SWIG_fail
;
3471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3472 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3474 wxPyEndAllowThreads(__tstate
);
3475 if (PyErr_Occurred()) SWIG_fail
;
3477 Py_INCREF(Py_None
); resultobj
= Py_None
;
3479 if (arg3
) delete [] arg3
;
3484 if (arg3
) delete [] arg3
;
3490 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3491 PyObject
*resultobj
;
3492 wxFrame
*arg1
= (wxFrame
*) 0 ;
3493 wxString
*arg2
= 0 ;
3494 int arg3
= (int) 0 ;
3495 bool temp2
= False
;
3496 PyObject
* obj0
= 0 ;
3497 PyObject
* obj1
= 0 ;
3498 PyObject
* obj2
= 0 ;
3500 (char *) "self",(char *) "text",(char *) "number", NULL
3503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3507 arg2
= wxString_in_helper(obj1
);
3508 if (arg2
== NULL
) SWIG_fail
;
3512 arg3
= (int) SWIG_AsInt(obj2
);
3513 if (PyErr_Occurred()) SWIG_fail
;
3516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3517 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3519 wxPyEndAllowThreads(__tstate
);
3520 if (PyErr_Occurred()) SWIG_fail
;
3522 Py_INCREF(Py_None
); resultobj
= Py_None
;
3537 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3538 PyObject
*resultobj
;
3539 wxFrame
*arg1
= (wxFrame
*) 0 ;
3540 int arg2
= (int) 0 ;
3541 PyObject
* obj0
= 0 ;
3542 PyObject
* obj1
= 0 ;
3544 (char *) "self",(char *) "number", NULL
3547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3551 arg2
= (int) SWIG_AsInt(obj1
);
3552 if (PyErr_Occurred()) SWIG_fail
;
3555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3556 (arg1
)->PopStatusText(arg2
);
3558 wxPyEndAllowThreads(__tstate
);
3559 if (PyErr_Occurred()) SWIG_fail
;
3561 Py_INCREF(Py_None
); resultobj
= Py_None
;
3568 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3569 PyObject
*resultobj
;
3570 wxFrame
*arg1
= (wxFrame
*) 0 ;
3572 PyObject
* obj0
= 0 ;
3573 PyObject
* obj1
= 0 ;
3575 (char *) "self",(char *) "n", NULL
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3581 arg2
= (int) SWIG_AsInt(obj1
);
3582 if (PyErr_Occurred()) SWIG_fail
;
3584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3585 (arg1
)->SetStatusBarPane(arg2
);
3587 wxPyEndAllowThreads(__tstate
);
3588 if (PyErr_Occurred()) SWIG_fail
;
3590 Py_INCREF(Py_None
); resultobj
= Py_None
;
3597 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3598 PyObject
*resultobj
;
3599 wxFrame
*arg1
= (wxFrame
*) 0 ;
3601 PyObject
* obj0
= 0 ;
3603 (char *) "self", NULL
3606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3611 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3613 wxPyEndAllowThreads(__tstate
);
3614 if (PyErr_Occurred()) SWIG_fail
;
3616 resultobj
= SWIG_FromInt((int)result
);
3623 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3624 PyObject
*resultobj
;
3625 wxFrame
*arg1
= (wxFrame
*) 0 ;
3626 long arg2
= (long) -1 ;
3627 int arg3
= (int) -1 ;
3628 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3629 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3631 bool temp4
= False
;
3632 PyObject
* obj0
= 0 ;
3633 PyObject
* obj1
= 0 ;
3634 PyObject
* obj2
= 0 ;
3635 PyObject
* obj3
= 0 ;
3637 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3644 arg2
= (long) SWIG_AsLong(obj1
);
3645 if (PyErr_Occurred()) SWIG_fail
;
3648 arg3
= (int) SWIG_AsInt(obj2
);
3649 if (PyErr_Occurred()) SWIG_fail
;
3653 arg4
= wxString_in_helper(obj3
);
3654 if (arg4
== NULL
) SWIG_fail
;
3659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3660 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3662 wxPyEndAllowThreads(__tstate
);
3663 if (PyErr_Occurred()) SWIG_fail
;
3666 resultobj
= wxPyMake_wxObject(result
);
3682 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
*resultobj
;
3684 wxFrame
*arg1
= (wxFrame
*) 0 ;
3686 PyObject
* obj0
= 0 ;
3688 (char *) "self", NULL
3691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3696 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3698 wxPyEndAllowThreads(__tstate
);
3699 if (PyErr_Occurred()) SWIG_fail
;
3702 resultobj
= wxPyMake_wxObject(result
);
3710 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3711 PyObject
*resultobj
;
3712 wxFrame
*arg1
= (wxFrame
*) 0 ;
3713 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3714 PyObject
* obj0
= 0 ;
3715 PyObject
* obj1
= 0 ;
3717 (char *) "self",(char *) "toolbar", NULL
3720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3723 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
3724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3727 (arg1
)->SetToolBar(arg2
);
3729 wxPyEndAllowThreads(__tstate
);
3730 if (PyErr_Occurred()) SWIG_fail
;
3732 Py_INCREF(Py_None
); resultobj
= Py_None
;
3739 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3740 PyObject
*resultobj
;
3741 wxFrame
*arg1
= (wxFrame
*) 0 ;
3742 wxString
*arg2
= 0 ;
3744 bool temp2
= False
;
3745 PyObject
* obj0
= 0 ;
3746 PyObject
* obj1
= 0 ;
3747 PyObject
* obj2
= 0 ;
3749 (char *) "self",(char *) "text",(char *) "show", NULL
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3756 arg2
= wxString_in_helper(obj1
);
3757 if (arg2
== NULL
) SWIG_fail
;
3760 arg3
= (bool) SWIG_AsBool(obj2
);
3761 if (PyErr_Occurred()) SWIG_fail
;
3763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3764 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3766 wxPyEndAllowThreads(__tstate
);
3767 if (PyErr_Occurred()) SWIG_fail
;
3769 Py_INCREF(Py_None
); resultobj
= Py_None
;
3784 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3785 PyObject
*resultobj
;
3786 wxFrame
*arg1
= (wxFrame
*) 0 ;
3787 wxMenu
*arg2
= (wxMenu
*) NULL
;
3788 PyObject
* obj0
= 0 ;
3789 PyObject
* obj1
= 0 ;
3791 (char *) "self",(char *) "menu", NULL
3794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
3799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3803 (arg1
)->DoMenuUpdates(arg2
);
3805 wxPyEndAllowThreads(__tstate
);
3806 if (PyErr_Occurred()) SWIG_fail
;
3808 Py_INCREF(Py_None
); resultobj
= Py_None
;
3815 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3818 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3820 return Py_BuildValue((char *)"");
3822 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3823 PyObject
*resultobj
;
3824 wxWindow
*arg1
= (wxWindow
*) 0 ;
3826 wxString
*arg3
= 0 ;
3827 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3828 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3829 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3830 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3831 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3832 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3833 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3835 bool temp3
= False
;
3838 bool temp7
= False
;
3839 PyObject
* obj0
= 0 ;
3840 PyObject
* obj1
= 0 ;
3841 PyObject
* obj2
= 0 ;
3842 PyObject
* obj3
= 0 ;
3843 PyObject
* obj4
= 0 ;
3844 PyObject
* obj5
= 0 ;
3845 PyObject
* obj6
= 0 ;
3847 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3853 arg2
= (int const) SWIG_AsInt(obj1
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3856 arg3
= wxString_in_helper(obj2
);
3857 if (arg3
== NULL
) SWIG_fail
;
3863 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3869 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3873 arg6
= (long) SWIG_AsLong(obj5
);
3874 if (PyErr_Occurred()) SWIG_fail
;
3878 arg7
= wxString_in_helper(obj6
);
3879 if (arg7
== NULL
) SWIG_fail
;
3884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3885 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3887 wxPyEndAllowThreads(__tstate
);
3888 if (PyErr_Occurred()) SWIG_fail
;
3890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
3913 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3914 PyObject
*resultobj
;
3920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
3922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3923 result
= (wxDialog
*)new wxDialog();
3925 wxPyEndAllowThreads(__tstate
);
3926 if (PyErr_Occurred()) SWIG_fail
;
3928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
3935 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3936 PyObject
*resultobj
;
3937 wxDialog
*arg1
= (wxDialog
*) 0 ;
3938 wxWindow
*arg2
= (wxWindow
*) 0 ;
3940 wxString
*arg4
= 0 ;
3941 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3942 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3943 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3944 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3945 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
3946 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
3947 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3949 bool temp4
= False
;
3952 bool temp8
= False
;
3953 PyObject
* obj0
= 0 ;
3954 PyObject
* obj1
= 0 ;
3955 PyObject
* obj2
= 0 ;
3956 PyObject
* obj3
= 0 ;
3957 PyObject
* obj4
= 0 ;
3958 PyObject
* obj5
= 0 ;
3959 PyObject
* obj6
= 0 ;
3960 PyObject
* obj7
= 0 ;
3962 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
3967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3968 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3970 arg3
= (int const) SWIG_AsInt(obj2
);
3971 if (PyErr_Occurred()) SWIG_fail
;
3973 arg4
= wxString_in_helper(obj3
);
3974 if (arg4
== NULL
) SWIG_fail
;
3980 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3986 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3990 arg7
= (long) SWIG_AsLong(obj6
);
3991 if (PyErr_Occurred()) SWIG_fail
;
3995 arg8
= wxString_in_helper(obj7
);
3996 if (arg8
== NULL
) SWIG_fail
;
4001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4002 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4004 wxPyEndAllowThreads(__tstate
);
4005 if (PyErr_Occurred()) SWIG_fail
;
4008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4032 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
*resultobj
;
4034 wxDialog
*arg1
= (wxDialog
*) 0 ;
4036 PyObject
* obj0
= 0 ;
4037 PyObject
* obj1
= 0 ;
4039 (char *) "self",(char *) "returnCode", NULL
4042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4045 arg2
= (int) SWIG_AsInt(obj1
);
4046 if (PyErr_Occurred()) SWIG_fail
;
4048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4049 (arg1
)->SetReturnCode(arg2
);
4051 wxPyEndAllowThreads(__tstate
);
4052 if (PyErr_Occurred()) SWIG_fail
;
4054 Py_INCREF(Py_None
); resultobj
= Py_None
;
4061 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4062 PyObject
*resultobj
;
4063 wxDialog
*arg1
= (wxDialog
*) 0 ;
4065 PyObject
* obj0
= 0 ;
4067 (char *) "self", NULL
4070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4075 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4077 wxPyEndAllowThreads(__tstate
);
4078 if (PyErr_Occurred()) SWIG_fail
;
4080 resultobj
= SWIG_FromInt((int)result
);
4087 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4088 PyObject
*resultobj
;
4089 wxDialog
*arg1
= (wxDialog
*) 0 ;
4090 wxString
*arg2
= 0 ;
4092 bool temp2
= False
;
4093 PyObject
* obj0
= 0 ;
4094 PyObject
* obj1
= 0 ;
4096 (char *) "self",(char *) "message", NULL
4099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4103 arg2
= wxString_in_helper(obj1
);
4104 if (arg2
== NULL
) SWIG_fail
;
4108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4109 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4111 wxPyEndAllowThreads(__tstate
);
4112 if (PyErr_Occurred()) SWIG_fail
;
4115 resultobj
= wxPyMake_wxSizer(result
);
4131 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4132 PyObject
*resultobj
;
4133 wxDialog
*arg1
= (wxDialog
*) 0 ;
4136 PyObject
* obj0
= 0 ;
4137 PyObject
* obj1
= 0 ;
4139 (char *) "self",(char *) "flags", NULL
4142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4145 arg2
= (long) SWIG_AsLong(obj1
);
4146 if (PyErr_Occurred()) SWIG_fail
;
4148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4151 wxPyEndAllowThreads(__tstate
);
4152 if (PyErr_Occurred()) SWIG_fail
;
4155 resultobj
= wxPyMake_wxSizer(result
);
4163 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4164 PyObject
*resultobj
;
4165 wxDialog
*arg1
= (wxDialog
*) 0 ;
4167 PyObject
* obj0
= 0 ;
4169 (char *) "self", NULL
4172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4177 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4179 wxPyEndAllowThreads(__tstate
);
4180 if (PyErr_Occurred()) SWIG_fail
;
4183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4191 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4192 PyObject
*resultobj
;
4193 wxDialog
*arg1
= (wxDialog
*) 0 ;
4195 PyObject
* obj0
= 0 ;
4197 (char *) "self", NULL
4200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4205 result
= (int)(arg1
)->ShowModal();
4207 wxPyEndAllowThreads(__tstate
);
4208 if (PyErr_Occurred()) SWIG_fail
;
4210 resultobj
= SWIG_FromInt((int)result
);
4217 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4218 PyObject
*resultobj
;
4219 wxDialog
*arg1
= (wxDialog
*) 0 ;
4221 PyObject
* obj0
= 0 ;
4222 PyObject
* obj1
= 0 ;
4224 (char *) "self",(char *) "retCode", NULL
4227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4230 arg2
= (int) SWIG_AsInt(obj1
);
4231 if (PyErr_Occurred()) SWIG_fail
;
4233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4234 (arg1
)->EndModal(arg2
);
4236 wxPyEndAllowThreads(__tstate
);
4237 if (PyErr_Occurred()) SWIG_fail
;
4239 Py_INCREF(Py_None
); resultobj
= Py_None
;
4246 static PyObject
*_wrap_Dialog_IsModalShowing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4247 PyObject
*resultobj
;
4248 wxDialog
*arg1
= (wxDialog
*) 0 ;
4250 PyObject
* obj0
= 0 ;
4252 (char *) "self", NULL
4255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModalShowing",kwnames
,&obj0
)) goto fail
;
4256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4260 result
= (bool)wxDialog_IsModalShowing(arg1
);
4262 wxPyEndAllowThreads(__tstate
);
4263 if (PyErr_Occurred()) SWIG_fail
;
4266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4274 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4276 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4277 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4279 return Py_BuildValue((char *)"");
4281 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4282 PyObject
*resultobj
;
4283 wxWindow
*arg1
= (wxWindow
*) 0 ;
4285 wxString
*arg3
= 0 ;
4286 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4287 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4288 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4289 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4290 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4291 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4292 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4293 wxMiniFrame
*result
;
4294 bool temp3
= False
;
4297 bool temp7
= False
;
4298 PyObject
* obj0
= 0 ;
4299 PyObject
* obj1
= 0 ;
4300 PyObject
* obj2
= 0 ;
4301 PyObject
* obj3
= 0 ;
4302 PyObject
* obj4
= 0 ;
4303 PyObject
* obj5
= 0 ;
4304 PyObject
* obj6
= 0 ;
4306 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4312 arg2
= (int const) SWIG_AsInt(obj1
);
4313 if (PyErr_Occurred()) SWIG_fail
;
4315 arg3
= wxString_in_helper(obj2
);
4316 if (arg3
== NULL
) SWIG_fail
;
4322 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4328 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4332 arg6
= (long) SWIG_AsLong(obj5
);
4333 if (PyErr_Occurred()) SWIG_fail
;
4337 arg7
= wxString_in_helper(obj6
);
4338 if (arg7
== NULL
) SWIG_fail
;
4343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4344 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4346 wxPyEndAllowThreads(__tstate
);
4347 if (PyErr_Occurred()) SWIG_fail
;
4349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4372 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4373 PyObject
*resultobj
;
4374 wxMiniFrame
*result
;
4379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4382 result
= (wxMiniFrame
*)new wxMiniFrame();
4384 wxPyEndAllowThreads(__tstate
);
4385 if (PyErr_Occurred()) SWIG_fail
;
4387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4394 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4395 PyObject
*resultobj
;
4396 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4397 wxWindow
*arg2
= (wxWindow
*) 0 ;
4399 wxString
*arg4
= 0 ;
4400 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4401 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4402 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4403 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4404 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4405 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4406 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4408 bool temp4
= False
;
4411 bool temp8
= False
;
4412 PyObject
* obj0
= 0 ;
4413 PyObject
* obj1
= 0 ;
4414 PyObject
* obj2
= 0 ;
4415 PyObject
* obj3
= 0 ;
4416 PyObject
* obj4
= 0 ;
4417 PyObject
* obj5
= 0 ;
4418 PyObject
* obj6
= 0 ;
4419 PyObject
* obj7
= 0 ;
4421 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4427 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4429 arg3
= (int const) SWIG_AsInt(obj2
);
4430 if (PyErr_Occurred()) SWIG_fail
;
4432 arg4
= wxString_in_helper(obj3
);
4433 if (arg4
== NULL
) SWIG_fail
;
4439 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4445 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4449 arg7
= (long) SWIG_AsLong(obj6
);
4450 if (PyErr_Occurred()) SWIG_fail
;
4454 arg8
= wxString_in_helper(obj7
);
4455 if (arg8
== NULL
) SWIG_fail
;
4460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4461 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4463 wxPyEndAllowThreads(__tstate
);
4464 if (PyErr_Occurred()) SWIG_fail
;
4467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4491 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4494 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4496 return Py_BuildValue((char *)"");
4498 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4499 PyObject
*resultobj
;
4500 wxBitmap
*arg1
= 0 ;
4501 wxWindow
*arg2
= (wxWindow
*) 0 ;
4503 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4504 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4505 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4506 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4507 long arg6
= (long) wxNO_BORDER
;
4508 wxSplashScreenWindow
*result
;
4511 PyObject
* obj0
= 0 ;
4512 PyObject
* obj1
= 0 ;
4513 PyObject
* obj2
= 0 ;
4514 PyObject
* obj3
= 0 ;
4515 PyObject
* obj4
= 0 ;
4516 PyObject
* obj5
= 0 ;
4518 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4523 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4526 PyErr_SetString(PyExc_TypeError
,"null reference");
4529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4531 arg3
= (int) SWIG_AsInt(obj2
);
4532 if (PyErr_Occurred()) SWIG_fail
;
4536 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4542 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4546 arg6
= (long) SWIG_AsLong(obj5
);
4547 if (PyErr_Occurred()) SWIG_fail
;
4550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4551 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4553 wxPyEndAllowThreads(__tstate
);
4554 if (PyErr_Occurred()) SWIG_fail
;
4556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4563 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4564 PyObject
*resultobj
;
4565 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4566 wxBitmap
*arg2
= 0 ;
4567 PyObject
* obj0
= 0 ;
4568 PyObject
* obj1
= 0 ;
4570 (char *) "self",(char *) "bitmap", NULL
4573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4576 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4577 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4580 PyErr_SetString(PyExc_TypeError
,"null reference");
4584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4585 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4587 wxPyEndAllowThreads(__tstate
);
4588 if (PyErr_Occurred()) SWIG_fail
;
4590 Py_INCREF(Py_None
); resultobj
= Py_None
;
4597 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4598 PyObject
*resultobj
;
4599 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4601 PyObject
* obj0
= 0 ;
4603 (char *) "self", NULL
4606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4612 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4613 result
= (wxBitmap
*) &_result_ref
;
4616 wxPyEndAllowThreads(__tstate
);
4617 if (PyErr_Occurred()) SWIG_fail
;
4620 wxBitmap
* resultptr
= new wxBitmap(*result
);
4621 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4629 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4632 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4634 return Py_BuildValue((char *)"");
4636 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
*resultobj
;
4638 wxBitmap
*arg1
= 0 ;
4641 wxWindow
*arg4
= (wxWindow
*) 0 ;
4643 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4644 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4645 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4646 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4647 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4648 wxSplashScreen
*result
;
4651 PyObject
* obj0
= 0 ;
4652 PyObject
* obj1
= 0 ;
4653 PyObject
* obj2
= 0 ;
4654 PyObject
* obj3
= 0 ;
4655 PyObject
* obj4
= 0 ;
4656 PyObject
* obj5
= 0 ;
4657 PyObject
* obj6
= 0 ;
4658 PyObject
* obj7
= 0 ;
4660 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4665 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4668 PyErr_SetString(PyExc_TypeError
,"null reference");
4671 arg2
= (long) SWIG_AsLong(obj1
);
4672 if (PyErr_Occurred()) SWIG_fail
;
4673 arg3
= (int) SWIG_AsInt(obj2
);
4674 if (PyErr_Occurred()) SWIG_fail
;
4675 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4677 arg5
= (int) SWIG_AsInt(obj4
);
4678 if (PyErr_Occurred()) SWIG_fail
;
4682 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4688 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4692 arg8
= (long) SWIG_AsLong(obj7
);
4693 if (PyErr_Occurred()) SWIG_fail
;
4696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4697 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4699 wxPyEndAllowThreads(__tstate
);
4700 if (PyErr_Occurred()) SWIG_fail
;
4702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
4709 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4710 PyObject
*resultobj
;
4711 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4713 PyObject
* obj0
= 0 ;
4715 (char *) "self", NULL
4718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4723 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4725 wxPyEndAllowThreads(__tstate
);
4726 if (PyErr_Occurred()) SWIG_fail
;
4728 resultobj
= SWIG_FromLong((long)result
);
4735 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4736 PyObject
*resultobj
;
4737 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4738 wxSplashScreenWindow
*result
;
4739 PyObject
* obj0
= 0 ;
4741 (char *) "self", NULL
4744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4749 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4751 wxPyEndAllowThreads(__tstate
);
4752 if (PyErr_Occurred()) SWIG_fail
;
4754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
4761 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4762 PyObject
*resultobj
;
4763 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4765 PyObject
* obj0
= 0 ;
4767 (char *) "self", NULL
4770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4775 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4777 wxPyEndAllowThreads(__tstate
);
4778 if (PyErr_Occurred()) SWIG_fail
;
4780 resultobj
= SWIG_FromInt((int)result
);
4787 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4790 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4792 return Py_BuildValue((char *)"");
4794 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4795 PyObject
*resultobj
;
4796 wxWindow
*arg1
= (wxWindow
*) 0 ;
4797 int arg2
= (int) -1 ;
4798 long arg3
= (long) wxST_SIZEGRIP
;
4799 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4800 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4801 wxStatusBar
*result
;
4802 bool temp4
= False
;
4803 PyObject
* obj0
= 0 ;
4804 PyObject
* obj1
= 0 ;
4805 PyObject
* obj2
= 0 ;
4806 PyObject
* obj3
= 0 ;
4808 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4815 arg2
= (int) SWIG_AsInt(obj1
);
4816 if (PyErr_Occurred()) SWIG_fail
;
4819 arg3
= (long) SWIG_AsLong(obj2
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4824 arg4
= wxString_in_helper(obj3
);
4825 if (arg4
== NULL
) SWIG_fail
;
4830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4831 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4833 wxPyEndAllowThreads(__tstate
);
4834 if (PyErr_Occurred()) SWIG_fail
;
4837 resultobj
= wxPyMake_wxObject(result
);
4853 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4854 PyObject
*resultobj
;
4855 wxStatusBar
*result
;
4860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4863 result
= (wxStatusBar
*)new wxStatusBar();
4865 wxPyEndAllowThreads(__tstate
);
4866 if (PyErr_Occurred()) SWIG_fail
;
4869 resultobj
= wxPyMake_wxObject(result
);
4877 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4878 PyObject
*resultobj
;
4879 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4880 wxWindow
*arg2
= (wxWindow
*) 0 ;
4882 long arg4
= (long) wxST_SIZEGRIP
;
4883 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4884 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4886 bool temp5
= False
;
4887 PyObject
* obj0
= 0 ;
4888 PyObject
* obj1
= 0 ;
4889 PyObject
* obj2
= 0 ;
4890 PyObject
* obj3
= 0 ;
4891 PyObject
* obj4
= 0 ;
4893 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4899 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4901 arg3
= (int) SWIG_AsInt(obj2
);
4902 if (PyErr_Occurred()) SWIG_fail
;
4904 arg4
= (long) SWIG_AsLong(obj3
);
4905 if (PyErr_Occurred()) SWIG_fail
;
4909 arg5
= wxString_in_helper(obj4
);
4910 if (arg5
== NULL
) SWIG_fail
;
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4916 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4918 wxPyEndAllowThreads(__tstate
);
4919 if (PyErr_Occurred()) SWIG_fail
;
4922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4938 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4939 PyObject
*resultobj
;
4940 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4941 int arg2
= (int) 1 ;
4942 PyObject
* obj0
= 0 ;
4943 PyObject
* obj1
= 0 ;
4945 (char *) "self",(char *) "number", NULL
4948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
4949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4952 arg2
= (int) SWIG_AsInt(obj1
);
4953 if (PyErr_Occurred()) SWIG_fail
;
4956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4957 (arg1
)->SetFieldsCount(arg2
);
4959 wxPyEndAllowThreads(__tstate
);
4960 if (PyErr_Occurred()) SWIG_fail
;
4962 Py_INCREF(Py_None
); resultobj
= Py_None
;
4969 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4970 PyObject
*resultobj
;
4971 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4973 PyObject
* obj0
= 0 ;
4975 (char *) "self", NULL
4978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
4979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4983 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
4985 wxPyEndAllowThreads(__tstate
);
4986 if (PyErr_Occurred()) SWIG_fail
;
4988 resultobj
= SWIG_FromInt((int)result
);
4995 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4996 PyObject
*resultobj
;
4997 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4998 wxString
*arg2
= 0 ;
4999 int arg3
= (int) 0 ;
5000 bool temp2
= False
;
5001 PyObject
* obj0
= 0 ;
5002 PyObject
* obj1
= 0 ;
5003 PyObject
* obj2
= 0 ;
5005 (char *) "self",(char *) "text",(char *) "number", NULL
5008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5012 arg2
= wxString_in_helper(obj1
);
5013 if (arg2
== NULL
) SWIG_fail
;
5017 arg3
= (int) SWIG_AsInt(obj2
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5022 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5024 wxPyEndAllowThreads(__tstate
);
5025 if (PyErr_Occurred()) SWIG_fail
;
5027 Py_INCREF(Py_None
); resultobj
= Py_None
;
5042 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5043 PyObject
*resultobj
;
5044 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5045 int arg2
= (int) 0 ;
5047 PyObject
* obj0
= 0 ;
5048 PyObject
* obj1
= 0 ;
5050 (char *) "self",(char *) "number", NULL
5053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5057 arg2
= (int) SWIG_AsInt(obj1
);
5058 if (PyErr_Occurred()) SWIG_fail
;
5061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5062 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5064 wxPyEndAllowThreads(__tstate
);
5065 if (PyErr_Occurred()) SWIG_fail
;
5069 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5071 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5080 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5081 PyObject
*resultobj
;
5082 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5083 wxString
*arg2
= 0 ;
5084 int arg3
= (int) 0 ;
5085 bool temp2
= False
;
5086 PyObject
* obj0
= 0 ;
5087 PyObject
* obj1
= 0 ;
5088 PyObject
* obj2
= 0 ;
5090 (char *) "self",(char *) "text",(char *) "number", NULL
5093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5097 arg2
= wxString_in_helper(obj1
);
5098 if (arg2
== NULL
) SWIG_fail
;
5102 arg3
= (int) SWIG_AsInt(obj2
);
5103 if (PyErr_Occurred()) SWIG_fail
;
5106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5107 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5109 wxPyEndAllowThreads(__tstate
);
5110 if (PyErr_Occurred()) SWIG_fail
;
5112 Py_INCREF(Py_None
); resultobj
= Py_None
;
5127 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5128 PyObject
*resultobj
;
5129 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5130 int arg2
= (int) 0 ;
5131 PyObject
* obj0
= 0 ;
5132 PyObject
* obj1
= 0 ;
5134 (char *) "self",(char *) "number", NULL
5137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5141 arg2
= (int) SWIG_AsInt(obj1
);
5142 if (PyErr_Occurred()) SWIG_fail
;
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 (arg1
)->PopStatusText(arg2
);
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) SWIG_fail
;
5151 Py_INCREF(Py_None
); resultobj
= Py_None
;
5158 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
*resultobj
;
5160 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5162 int *arg3
= (int *) 0 ;
5163 PyObject
* obj0
= 0 ;
5164 PyObject
* obj1
= 0 ;
5166 (char *) "self",(char *) "widths", NULL
5169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5173 arg2
= PyList_Size(obj1
);
5174 arg3
= int_LIST_helper(obj1
);
5175 if (arg3
== NULL
) SWIG_fail
;
5178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5179 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5181 wxPyEndAllowThreads(__tstate
);
5182 if (PyErr_Occurred()) SWIG_fail
;
5184 Py_INCREF(Py_None
); resultobj
= Py_None
;
5186 if (arg3
) delete [] arg3
;
5191 if (arg3
) delete [] arg3
;
5197 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5198 PyObject
*resultobj
;
5199 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5202 PyObject
* obj0
= 0 ;
5203 PyObject
* obj1
= 0 ;
5205 (char *) "self",(char *) "i", NULL
5208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5211 arg2
= (int) SWIG_AsInt(obj1
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5215 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5217 wxPyEndAllowThreads(__tstate
);
5218 if (PyErr_Occurred()) SWIG_fail
;
5222 resultptr
= new wxRect((wxRect
&) result
);
5223 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5231 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5232 PyObject
*resultobj
;
5233 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5235 PyObject
* obj0
= 0 ;
5236 PyObject
* obj1
= 0 ;
5238 (char *) "self",(char *) "height", NULL
5241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5244 arg2
= (int) SWIG_AsInt(obj1
);
5245 if (PyErr_Occurred()) SWIG_fail
;
5247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5248 (arg1
)->SetMinHeight(arg2
);
5250 wxPyEndAllowThreads(__tstate
);
5251 if (PyErr_Occurred()) SWIG_fail
;
5253 Py_INCREF(Py_None
); resultobj
= Py_None
;
5260 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5261 PyObject
*resultobj
;
5262 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5264 PyObject
* obj0
= 0 ;
5266 (char *) "self", NULL
5269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5274 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5276 wxPyEndAllowThreads(__tstate
);
5277 if (PyErr_Occurred()) SWIG_fail
;
5279 resultobj
= SWIG_FromInt((int)result
);
5286 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5287 PyObject
*resultobj
;
5288 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5290 PyObject
* obj0
= 0 ;
5292 (char *) "self", NULL
5295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5300 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5302 wxPyEndAllowThreads(__tstate
);
5303 if (PyErr_Occurred()) SWIG_fail
;
5305 resultobj
= SWIG_FromInt((int)result
);
5312 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5314 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5315 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5317 return Py_BuildValue((char *)"");
5319 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5320 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5325 static PyObject
*_wrap_SplitterNameStr_get() {
5330 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5332 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5339 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5340 PyObject
*resultobj
;
5341 wxWindow
*arg1
= (wxWindow
*) 0 ;
5343 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5344 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5345 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5346 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5347 long arg5
= (long) wxSP_3D
;
5348 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5349 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5350 wxSplitterWindow
*result
;
5353 bool temp6
= False
;
5354 PyObject
* obj0
= 0 ;
5355 PyObject
* obj1
= 0 ;
5356 PyObject
* obj2
= 0 ;
5357 PyObject
* obj3
= 0 ;
5358 PyObject
* obj4
= 0 ;
5359 PyObject
* obj5
= 0 ;
5361 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5367 arg2
= (int) SWIG_AsInt(obj1
);
5368 if (PyErr_Occurred()) SWIG_fail
;
5372 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5378 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5382 arg5
= (long) SWIG_AsLong(obj4
);
5383 if (PyErr_Occurred()) SWIG_fail
;
5387 arg6
= wxString_in_helper(obj5
);
5388 if (arg6
== NULL
) SWIG_fail
;
5393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5394 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5396 wxPyEndAllowThreads(__tstate
);
5397 if (PyErr_Occurred()) SWIG_fail
;
5399 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5414 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5415 PyObject
*resultobj
;
5416 wxSplitterWindow
*result
;
5421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5424 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5426 wxPyEndAllowThreads(__tstate
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5436 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
*resultobj
;
5438 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5439 wxWindow
*arg2
= (wxWindow
*) 0 ;
5441 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5442 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5443 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5444 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5445 long arg6
= (long) wxSP_3D
;
5446 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5447 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5451 bool temp7
= False
;
5452 PyObject
* obj0
= 0 ;
5453 PyObject
* obj1
= 0 ;
5454 PyObject
* obj2
= 0 ;
5455 PyObject
* obj3
= 0 ;
5456 PyObject
* obj4
= 0 ;
5457 PyObject
* obj5
= 0 ;
5458 PyObject
* obj6
= 0 ;
5460 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5466 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5468 arg3
= (int) SWIG_AsInt(obj2
);
5469 if (PyErr_Occurred()) SWIG_fail
;
5473 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5479 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5483 arg6
= (long) SWIG_AsLong(obj5
);
5484 if (PyErr_Occurred()) SWIG_fail
;
5488 arg7
= wxString_in_helper(obj6
);
5489 if (arg7
== NULL
) SWIG_fail
;
5494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5495 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5497 wxPyEndAllowThreads(__tstate
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5517 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5518 PyObject
*resultobj
;
5519 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5521 PyObject
* obj0
= 0 ;
5523 (char *) "self", NULL
5526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5531 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5533 wxPyEndAllowThreads(__tstate
);
5534 if (PyErr_Occurred()) SWIG_fail
;
5537 resultobj
= wxPyMake_wxObject(result
);
5545 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5546 PyObject
*resultobj
;
5547 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5549 PyObject
* obj0
= 0 ;
5551 (char *) "self", NULL
5554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5559 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5561 wxPyEndAllowThreads(__tstate
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5565 resultobj
= wxPyMake_wxObject(result
);
5573 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5574 PyObject
*resultobj
;
5575 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5577 PyObject
* obj0
= 0 ;
5578 PyObject
* obj1
= 0 ;
5580 (char *) "self",(char *) "mode", NULL
5583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5586 arg2
= (int) SWIG_AsInt(obj1
);
5587 if (PyErr_Occurred()) SWIG_fail
;
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 (arg1
)->SetSplitMode(arg2
);
5592 wxPyEndAllowThreads(__tstate
);
5593 if (PyErr_Occurred()) SWIG_fail
;
5595 Py_INCREF(Py_None
); resultobj
= Py_None
;
5602 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5603 PyObject
*resultobj
;
5604 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5606 PyObject
* obj0
= 0 ;
5608 (char *) "self", NULL
5611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5618 wxPyEndAllowThreads(__tstate
);
5619 if (PyErr_Occurred()) SWIG_fail
;
5621 resultobj
= SWIG_FromInt((int)result
);
5628 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5629 PyObject
*resultobj
;
5630 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5631 wxWindow
*arg2
= (wxWindow
*) 0 ;
5632 PyObject
* obj0
= 0 ;
5633 PyObject
* obj1
= 0 ;
5635 (char *) "self",(char *) "window", NULL
5638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5645 (arg1
)->Initialize(arg2
);
5647 wxPyEndAllowThreads(__tstate
);
5648 if (PyErr_Occurred()) SWIG_fail
;
5650 Py_INCREF(Py_None
); resultobj
= Py_None
;
5657 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5658 PyObject
*resultobj
;
5659 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5660 wxWindow
*arg2
= (wxWindow
*) 0 ;
5661 wxWindow
*arg3
= (wxWindow
*) 0 ;
5662 int arg4
= (int) 0 ;
5664 PyObject
* obj0
= 0 ;
5665 PyObject
* obj1
= 0 ;
5666 PyObject
* obj2
= 0 ;
5667 PyObject
* obj3
= 0 ;
5669 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5675 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5677 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5680 arg4
= (int) SWIG_AsInt(obj3
);
5681 if (PyErr_Occurred()) SWIG_fail
;
5684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5685 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5687 wxPyEndAllowThreads(__tstate
);
5688 if (PyErr_Occurred()) SWIG_fail
;
5691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5699 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5700 PyObject
*resultobj
;
5701 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5702 wxWindow
*arg2
= (wxWindow
*) 0 ;
5703 wxWindow
*arg3
= (wxWindow
*) 0 ;
5704 int arg4
= (int) 0 ;
5706 PyObject
* obj0
= 0 ;
5707 PyObject
* obj1
= 0 ;
5708 PyObject
* obj2
= 0 ;
5709 PyObject
* obj3
= 0 ;
5711 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5717 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5719 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5722 arg4
= (int) SWIG_AsInt(obj3
);
5723 if (PyErr_Occurred()) SWIG_fail
;
5726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5727 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5741 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5742 PyObject
*resultobj
;
5743 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5744 wxWindow
*arg2
= (wxWindow
*) NULL
;
5746 PyObject
* obj0
= 0 ;
5747 PyObject
* obj1
= 0 ;
5749 (char *) "self",(char *) "toRemove", NULL
5752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5756 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5761 result
= (bool)(arg1
)->Unsplit(arg2
);
5763 wxPyEndAllowThreads(__tstate
);
5764 if (PyErr_Occurred()) SWIG_fail
;
5767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5775 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5776 PyObject
*resultobj
;
5777 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5778 wxWindow
*arg2
= (wxWindow
*) 0 ;
5779 wxWindow
*arg3
= (wxWindow
*) 0 ;
5781 PyObject
* obj0
= 0 ;
5782 PyObject
* obj1
= 0 ;
5783 PyObject
* obj2
= 0 ;
5785 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5793 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5797 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5811 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5812 PyObject
*resultobj
;
5813 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5815 PyObject
* obj0
= 0 ;
5817 (char *) "self", NULL
5820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5825 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5827 wxPyEndAllowThreads(__tstate
);
5828 if (PyErr_Occurred()) SWIG_fail
;
5831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5839 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5840 PyObject
*resultobj
;
5841 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5843 PyObject
* obj0
= 0 ;
5844 PyObject
* obj1
= 0 ;
5846 (char *) "self",(char *) "width", NULL
5849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5852 arg2
= (int) SWIG_AsInt(obj1
);
5853 if (PyErr_Occurred()) SWIG_fail
;
5855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5856 (arg1
)->SetSashSize(arg2
);
5858 wxPyEndAllowThreads(__tstate
);
5859 if (PyErr_Occurred()) SWIG_fail
;
5861 Py_INCREF(Py_None
); resultobj
= Py_None
;
5868 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5869 PyObject
*resultobj
;
5870 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5872 PyObject
* obj0
= 0 ;
5873 PyObject
* obj1
= 0 ;
5875 (char *) "self",(char *) "width", NULL
5878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5881 arg2
= (int) SWIG_AsInt(obj1
);
5882 if (PyErr_Occurred()) SWIG_fail
;
5884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5885 (arg1
)->SetBorderSize(arg2
);
5887 wxPyEndAllowThreads(__tstate
);
5888 if (PyErr_Occurred()) SWIG_fail
;
5890 Py_INCREF(Py_None
); resultobj
= Py_None
;
5897 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5898 PyObject
*resultobj
;
5899 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5901 PyObject
* obj0
= 0 ;
5903 (char *) "self", NULL
5906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
5907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5911 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5916 resultobj
= SWIG_FromInt((int)result
);
5923 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5924 PyObject
*resultobj
;
5925 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5927 PyObject
* obj0
= 0 ;
5929 (char *) "self", NULL
5932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
5933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5937 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
5939 wxPyEndAllowThreads(__tstate
);
5940 if (PyErr_Occurred()) SWIG_fail
;
5942 resultobj
= SWIG_FromInt((int)result
);
5949 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5950 PyObject
*resultobj
;
5951 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5953 bool arg3
= (bool) True
;
5954 PyObject
* obj0
= 0 ;
5955 PyObject
* obj1
= 0 ;
5956 PyObject
* obj2
= 0 ;
5958 (char *) "self",(char *) "position",(char *) "redraw", NULL
5961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5964 arg2
= (int) SWIG_AsInt(obj1
);
5965 if (PyErr_Occurred()) SWIG_fail
;
5967 arg3
= (bool) SWIG_AsBool(obj2
);
5968 if (PyErr_Occurred()) SWIG_fail
;
5971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5972 (arg1
)->SetSashPosition(arg2
,arg3
);
5974 wxPyEndAllowThreads(__tstate
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5977 Py_INCREF(Py_None
); resultobj
= Py_None
;
5984 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
*resultobj
;
5986 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5988 PyObject
* obj0
= 0 ;
5990 (char *) "self", NULL
5993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5998 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6000 wxPyEndAllowThreads(__tstate
);
6001 if (PyErr_Occurred()) SWIG_fail
;
6003 resultobj
= SWIG_FromInt((int)result
);
6010 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6011 PyObject
*resultobj
;
6012 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6014 PyObject
* obj0
= 0 ;
6015 PyObject
* obj1
= 0 ;
6017 (char *) "self",(char *) "min", NULL
6020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6023 arg2
= (int) SWIG_AsInt(obj1
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 (arg1
)->SetMinimumPaneSize(arg2
);
6029 wxPyEndAllowThreads(__tstate
);
6030 if (PyErr_Occurred()) SWIG_fail
;
6032 Py_INCREF(Py_None
); resultobj
= Py_None
;
6039 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6040 PyObject
*resultobj
;
6041 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6043 PyObject
* obj0
= 0 ;
6045 (char *) "self", NULL
6048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6053 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6055 wxPyEndAllowThreads(__tstate
);
6056 if (PyErr_Occurred()) SWIG_fail
;
6058 resultobj
= SWIG_FromInt((int)result
);
6065 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
*resultobj
;
6067 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6070 int arg4
= (int) 5 ;
6072 PyObject
* obj0
= 0 ;
6073 PyObject
* obj1
= 0 ;
6074 PyObject
* obj2
= 0 ;
6075 PyObject
* obj3
= 0 ;
6077 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6083 arg2
= (int) SWIG_AsInt(obj1
);
6084 if (PyErr_Occurred()) SWIG_fail
;
6085 arg3
= (int) SWIG_AsInt(obj2
);
6086 if (PyErr_Occurred()) SWIG_fail
;
6088 arg4
= (int) SWIG_AsInt(obj3
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6093 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6095 wxPyEndAllowThreads(__tstate
);
6096 if (PyErr_Occurred()) SWIG_fail
;
6099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6107 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6108 PyObject
*resultobj
;
6109 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6110 PyObject
* obj0
= 0 ;
6112 (char *) "self", NULL
6115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6120 (arg1
)->SizeWindows();
6122 wxPyEndAllowThreads(__tstate
);
6123 if (PyErr_Occurred()) SWIG_fail
;
6125 Py_INCREF(Py_None
); resultobj
= Py_None
;
6132 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
*resultobj
;
6134 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6136 PyObject
* obj0
= 0 ;
6137 PyObject
* obj1
= 0 ;
6139 (char *) "self",(char *) "needUpdating", NULL
6142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6145 arg2
= (bool) SWIG_AsBool(obj1
);
6146 if (PyErr_Occurred()) SWIG_fail
;
6148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6149 (arg1
)->SetNeedUpdating(arg2
);
6151 wxPyEndAllowThreads(__tstate
);
6152 if (PyErr_Occurred()) SWIG_fail
;
6154 Py_INCREF(Py_None
); resultobj
= Py_None
;
6161 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6162 PyObject
*resultobj
;
6163 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6165 PyObject
* obj0
= 0 ;
6167 (char *) "self", NULL
6170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6175 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6177 wxPyEndAllowThreads(__tstate
);
6178 if (PyErr_Occurred()) SWIG_fail
;
6181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6189 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6192 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6194 return Py_BuildValue((char *)"");
6196 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6197 PyObject
*resultobj
;
6198 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6199 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6200 wxSplitterEvent
*result
;
6201 PyObject
* obj0
= 0 ;
6202 PyObject
* obj1
= 0 ;
6204 (char *) "type",(char *) "splitter", NULL
6207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6209 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6213 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6218 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6220 wxPyEndAllowThreads(__tstate
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6230 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6231 PyObject
*resultobj
;
6232 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6234 PyObject
* obj0
= 0 ;
6235 PyObject
* obj1
= 0 ;
6237 (char *) "self",(char *) "pos", NULL
6240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6243 arg2
= (int) SWIG_AsInt(obj1
);
6244 if (PyErr_Occurred()) SWIG_fail
;
6246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6247 (arg1
)->SetSashPosition(arg2
);
6249 wxPyEndAllowThreads(__tstate
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6252 Py_INCREF(Py_None
); resultobj
= Py_None
;
6259 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6260 PyObject
*resultobj
;
6261 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6263 PyObject
* obj0
= 0 ;
6265 (char *) "self", NULL
6268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6273 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6275 wxPyEndAllowThreads(__tstate
);
6276 if (PyErr_Occurred()) SWIG_fail
;
6278 resultobj
= SWIG_FromInt((int)result
);
6285 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6286 PyObject
*resultobj
;
6287 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6289 PyObject
* obj0
= 0 ;
6291 (char *) "self", NULL
6294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6299 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6301 wxPyEndAllowThreads(__tstate
);
6302 if (PyErr_Occurred()) SWIG_fail
;
6305 resultobj
= wxPyMake_wxObject(result
);
6313 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6314 PyObject
*resultobj
;
6315 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6317 PyObject
* obj0
= 0 ;
6319 (char *) "self", NULL
6322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6327 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6329 wxPyEndAllowThreads(__tstate
);
6330 if (PyErr_Occurred()) SWIG_fail
;
6332 resultobj
= SWIG_FromInt((int)result
);
6339 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6340 PyObject
*resultobj
;
6341 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6343 PyObject
* obj0
= 0 ;
6345 (char *) "self", NULL
6348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6353 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6355 wxPyEndAllowThreads(__tstate
);
6356 if (PyErr_Occurred()) SWIG_fail
;
6358 resultobj
= SWIG_FromInt((int)result
);
6365 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6367 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6368 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6370 return Py_BuildValue((char *)"");
6372 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6373 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6378 static PyObject
*_wrap_SashNameStr_get() {
6383 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6385 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6392 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6393 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6398 static PyObject
*_wrap_SashLayoutNameStr_get() {
6403 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6405 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6412 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6413 PyObject
*resultobj
;
6414 wxWindow
*arg1
= (wxWindow
*) 0 ;
6416 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6417 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6418 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6419 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6420 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6421 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6422 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6423 wxSashWindow
*result
;
6426 bool temp6
= False
;
6427 PyObject
* obj0
= 0 ;
6428 PyObject
* obj1
= 0 ;
6429 PyObject
* obj2
= 0 ;
6430 PyObject
* obj3
= 0 ;
6431 PyObject
* obj4
= 0 ;
6432 PyObject
* obj5
= 0 ;
6434 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6440 arg2
= (int) SWIG_AsInt(obj1
);
6441 if (PyErr_Occurred()) SWIG_fail
;
6445 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6451 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6455 arg5
= (long) SWIG_AsLong(obj4
);
6456 if (PyErr_Occurred()) SWIG_fail
;
6460 arg6
= wxString_in_helper(obj5
);
6461 if (arg6
== NULL
) SWIG_fail
;
6466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6467 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6469 wxPyEndAllowThreads(__tstate
);
6470 if (PyErr_Occurred()) SWIG_fail
;
6472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6487 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6488 PyObject
*resultobj
;
6489 wxSashWindow
*result
;
6494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6497 result
= (wxSashWindow
*)new wxSashWindow();
6499 wxPyEndAllowThreads(__tstate
);
6500 if (PyErr_Occurred()) SWIG_fail
;
6502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6509 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6510 PyObject
*resultobj
;
6511 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6512 wxWindow
*arg2
= (wxWindow
*) 0 ;
6514 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6515 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6516 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6517 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6518 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6519 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6520 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6524 bool temp7
= False
;
6525 PyObject
* obj0
= 0 ;
6526 PyObject
* obj1
= 0 ;
6527 PyObject
* obj2
= 0 ;
6528 PyObject
* obj3
= 0 ;
6529 PyObject
* obj4
= 0 ;
6530 PyObject
* obj5
= 0 ;
6531 PyObject
* obj6
= 0 ;
6533 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6539 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6541 arg3
= (int) SWIG_AsInt(obj2
);
6542 if (PyErr_Occurred()) SWIG_fail
;
6546 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6552 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6556 arg6
= (long) SWIG_AsLong(obj5
);
6557 if (PyErr_Occurred()) SWIG_fail
;
6561 arg7
= wxString_in_helper(obj6
);
6562 if (arg7
== NULL
) SWIG_fail
;
6567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6568 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6570 wxPyEndAllowThreads(__tstate
);
6571 if (PyErr_Occurred()) SWIG_fail
;
6574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6590 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6591 PyObject
*resultobj
;
6592 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6595 PyObject
* obj0
= 0 ;
6596 PyObject
* obj1
= 0 ;
6597 PyObject
* obj2
= 0 ;
6599 (char *) "self",(char *) "edge",(char *) "sash", NULL
6602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6605 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6606 if (PyErr_Occurred()) SWIG_fail
;
6607 arg3
= (bool) SWIG_AsBool(obj2
);
6608 if (PyErr_Occurred()) SWIG_fail
;
6610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6611 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6613 wxPyEndAllowThreads(__tstate
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6616 Py_INCREF(Py_None
); resultobj
= Py_None
;
6623 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6624 PyObject
*resultobj
;
6625 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6628 PyObject
* obj0
= 0 ;
6629 PyObject
* obj1
= 0 ;
6631 (char *) "self",(char *) "edge", NULL
6634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6637 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6638 if (PyErr_Occurred()) SWIG_fail
;
6640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6641 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6643 wxPyEndAllowThreads(__tstate
);
6644 if (PyErr_Occurred()) SWIG_fail
;
6647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6655 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6656 PyObject
*resultobj
;
6657 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6660 PyObject
* obj0
= 0 ;
6661 PyObject
* obj1
= 0 ;
6662 PyObject
* obj2
= 0 ;
6664 (char *) "self",(char *) "edge",(char *) "border", NULL
6667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6670 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6671 if (PyErr_Occurred()) SWIG_fail
;
6672 arg3
= (bool) SWIG_AsBool(obj2
);
6673 if (PyErr_Occurred()) SWIG_fail
;
6675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6676 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6678 wxPyEndAllowThreads(__tstate
);
6679 if (PyErr_Occurred()) SWIG_fail
;
6681 Py_INCREF(Py_None
); resultobj
= Py_None
;
6688 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6689 PyObject
*resultobj
;
6690 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6693 PyObject
* obj0
= 0 ;
6694 PyObject
* obj1
= 0 ;
6696 (char *) "self",(char *) "edge", NULL
6699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
6700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6702 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6703 if (PyErr_Occurred()) SWIG_fail
;
6705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6706 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
6708 wxPyEndAllowThreads(__tstate
);
6709 if (PyErr_Occurred()) SWIG_fail
;
6712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6720 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6721 PyObject
*resultobj
;
6722 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6725 PyObject
* obj0
= 0 ;
6726 PyObject
* obj1
= 0 ;
6728 (char *) "self",(char *) "edge", NULL
6731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
6732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6734 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6735 if (PyErr_Occurred()) SWIG_fail
;
6737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6738 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
6740 wxPyEndAllowThreads(__tstate
);
6741 if (PyErr_Occurred()) SWIG_fail
;
6743 resultobj
= SWIG_FromInt((int)result
);
6750 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6751 PyObject
*resultobj
;
6752 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6754 PyObject
* obj0
= 0 ;
6755 PyObject
* obj1
= 0 ;
6757 (char *) "self",(char *) "width", NULL
6760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6763 arg2
= (int) SWIG_AsInt(obj1
);
6764 if (PyErr_Occurred()) SWIG_fail
;
6766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6767 (arg1
)->SetDefaultBorderSize(arg2
);
6769 wxPyEndAllowThreads(__tstate
);
6770 if (PyErr_Occurred()) SWIG_fail
;
6772 Py_INCREF(Py_None
); resultobj
= Py_None
;
6779 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
*resultobj
;
6781 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6783 PyObject
* obj0
= 0 ;
6785 (char *) "self", NULL
6788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
6789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6793 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
6795 wxPyEndAllowThreads(__tstate
);
6796 if (PyErr_Occurred()) SWIG_fail
;
6798 resultobj
= SWIG_FromInt((int)result
);
6805 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6806 PyObject
*resultobj
;
6807 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6809 PyObject
* obj0
= 0 ;
6810 PyObject
* obj1
= 0 ;
6812 (char *) "self",(char *) "width", NULL
6815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6818 arg2
= (int) SWIG_AsInt(obj1
);
6819 if (PyErr_Occurred()) SWIG_fail
;
6821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6822 (arg1
)->SetExtraBorderSize(arg2
);
6824 wxPyEndAllowThreads(__tstate
);
6825 if (PyErr_Occurred()) SWIG_fail
;
6827 Py_INCREF(Py_None
); resultobj
= Py_None
;
6834 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6835 PyObject
*resultobj
;
6836 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6838 PyObject
* obj0
= 0 ;
6840 (char *) "self", NULL
6843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
6844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6848 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
6850 wxPyEndAllowThreads(__tstate
);
6851 if (PyErr_Occurred()) SWIG_fail
;
6853 resultobj
= SWIG_FromInt((int)result
);
6860 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6861 PyObject
*resultobj
;
6862 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6864 PyObject
* obj0
= 0 ;
6865 PyObject
* obj1
= 0 ;
6867 (char *) "self",(char *) "min", NULL
6870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6873 arg2
= (int) SWIG_AsInt(obj1
);
6874 if (PyErr_Occurred()) SWIG_fail
;
6876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6877 (arg1
)->SetMinimumSizeX(arg2
);
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6882 Py_INCREF(Py_None
); resultobj
= Py_None
;
6889 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6890 PyObject
*resultobj
;
6891 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6893 PyObject
* obj0
= 0 ;
6894 PyObject
* obj1
= 0 ;
6896 (char *) "self",(char *) "min", NULL
6899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
6900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6902 arg2
= (int) SWIG_AsInt(obj1
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6906 (arg1
)->SetMinimumSizeY(arg2
);
6908 wxPyEndAllowThreads(__tstate
);
6909 if (PyErr_Occurred()) SWIG_fail
;
6911 Py_INCREF(Py_None
); resultobj
= Py_None
;
6918 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6919 PyObject
*resultobj
;
6920 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6922 PyObject
* obj0
= 0 ;
6924 (char *) "self", NULL
6927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
6928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6932 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
6934 wxPyEndAllowThreads(__tstate
);
6935 if (PyErr_Occurred()) SWIG_fail
;
6937 resultobj
= SWIG_FromInt((int)result
);
6944 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6945 PyObject
*resultobj
;
6946 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6948 PyObject
* obj0
= 0 ;
6950 (char *) "self", NULL
6953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
6954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6958 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
6960 wxPyEndAllowThreads(__tstate
);
6961 if (PyErr_Occurred()) SWIG_fail
;
6963 resultobj
= SWIG_FromInt((int)result
);
6970 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
*resultobj
;
6972 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6974 PyObject
* obj0
= 0 ;
6975 PyObject
* obj1
= 0 ;
6977 (char *) "self",(char *) "max", NULL
6980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6983 arg2
= (int) SWIG_AsInt(obj1
);
6984 if (PyErr_Occurred()) SWIG_fail
;
6986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6987 (arg1
)->SetMaximumSizeX(arg2
);
6989 wxPyEndAllowThreads(__tstate
);
6990 if (PyErr_Occurred()) SWIG_fail
;
6992 Py_INCREF(Py_None
); resultobj
= Py_None
;
6999 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7000 PyObject
*resultobj
;
7001 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7003 PyObject
* obj0
= 0 ;
7004 PyObject
* obj1
= 0 ;
7006 (char *) "self",(char *) "max", NULL
7009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7012 arg2
= (int) SWIG_AsInt(obj1
);
7013 if (PyErr_Occurred()) SWIG_fail
;
7015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7016 (arg1
)->SetMaximumSizeY(arg2
);
7018 wxPyEndAllowThreads(__tstate
);
7019 if (PyErr_Occurred()) SWIG_fail
;
7021 Py_INCREF(Py_None
); resultobj
= Py_None
;
7028 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7029 PyObject
*resultobj
;
7030 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7032 PyObject
* obj0
= 0 ;
7034 (char *) "self", NULL
7037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7042 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7047 resultobj
= SWIG_FromInt((int)result
);
7054 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7055 PyObject
*resultobj
;
7056 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7058 PyObject
* obj0
= 0 ;
7060 (char *) "self", NULL
7063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7068 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7070 wxPyEndAllowThreads(__tstate
);
7071 if (PyErr_Occurred()) SWIG_fail
;
7073 resultobj
= SWIG_FromInt((int)result
);
7080 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7081 PyObject
*resultobj
;
7082 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7085 int arg4
= (int) 2 ;
7087 PyObject
* obj0
= 0 ;
7088 PyObject
* obj1
= 0 ;
7089 PyObject
* obj2
= 0 ;
7090 PyObject
* obj3
= 0 ;
7092 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7098 arg2
= (int) SWIG_AsInt(obj1
);
7099 if (PyErr_Occurred()) SWIG_fail
;
7100 arg3
= (int) SWIG_AsInt(obj2
);
7101 if (PyErr_Occurred()) SWIG_fail
;
7103 arg4
= (int) SWIG_AsInt(obj3
);
7104 if (PyErr_Occurred()) SWIG_fail
;
7107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7108 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7110 wxPyEndAllowThreads(__tstate
);
7111 if (PyErr_Occurred()) SWIG_fail
;
7113 resultobj
= SWIG_FromInt((int)result
);
7120 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7121 PyObject
*resultobj
;
7122 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7123 PyObject
* obj0
= 0 ;
7125 (char *) "self", NULL
7128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7133 (arg1
)->SizeWindows();
7135 wxPyEndAllowThreads(__tstate
);
7136 if (PyErr_Occurred()) SWIG_fail
;
7138 Py_INCREF(Py_None
); resultobj
= Py_None
;
7145 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7148 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7150 return Py_BuildValue((char *)"");
7152 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7153 PyObject
*resultobj
;
7154 int arg1
= (int) 0 ;
7155 int arg2
= (int) wxSASH_NONE
;
7156 wxSashEvent
*result
;
7157 PyObject
* obj0
= 0 ;
7158 PyObject
* obj1
= 0 ;
7160 (char *) "id",(char *) "edge", NULL
7163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7165 arg1
= (int) SWIG_AsInt(obj0
);
7166 if (PyErr_Occurred()) SWIG_fail
;
7169 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7170 if (PyErr_Occurred()) SWIG_fail
;
7173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7174 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7176 wxPyEndAllowThreads(__tstate
);
7177 if (PyErr_Occurred()) SWIG_fail
;
7179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7186 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7187 PyObject
*resultobj
;
7188 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7190 PyObject
* obj0
= 0 ;
7191 PyObject
* obj1
= 0 ;
7193 (char *) "self",(char *) "edge", NULL
7196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7199 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7200 if (PyErr_Occurred()) SWIG_fail
;
7202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7203 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7205 wxPyEndAllowThreads(__tstate
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7208 Py_INCREF(Py_None
); resultobj
= Py_None
;
7215 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7216 PyObject
*resultobj
;
7217 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7219 PyObject
* obj0
= 0 ;
7221 (char *) "self", NULL
7224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7229 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7231 wxPyEndAllowThreads(__tstate
);
7232 if (PyErr_Occurred()) SWIG_fail
;
7234 resultobj
= SWIG_FromInt((int)result
);
7241 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7242 PyObject
*resultobj
;
7243 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7246 PyObject
* obj0
= 0 ;
7247 PyObject
* obj1
= 0 ;
7249 (char *) "self",(char *) "rect", NULL
7252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7257 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7266 Py_INCREF(Py_None
); resultobj
= Py_None
;
7273 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7274 PyObject
*resultobj
;
7275 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7277 PyObject
* obj0
= 0 ;
7279 (char *) "self", NULL
7282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7287 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7289 wxPyEndAllowThreads(__tstate
);
7290 if (PyErr_Occurred()) SWIG_fail
;
7294 resultptr
= new wxRect((wxRect
&) result
);
7295 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7303 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7304 PyObject
*resultobj
;
7305 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7307 PyObject
* obj0
= 0 ;
7308 PyObject
* obj1
= 0 ;
7310 (char *) "self",(char *) "status", NULL
7313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7316 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7317 if (PyErr_Occurred()) SWIG_fail
;
7319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7320 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7322 wxPyEndAllowThreads(__tstate
);
7323 if (PyErr_Occurred()) SWIG_fail
;
7325 Py_INCREF(Py_None
); resultobj
= Py_None
;
7332 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7333 PyObject
*resultobj
;
7334 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7336 PyObject
* obj0
= 0 ;
7338 (char *) "self", NULL
7341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7348 wxPyEndAllowThreads(__tstate
);
7349 if (PyErr_Occurred()) SWIG_fail
;
7351 resultobj
= SWIG_FromInt((int)result
);
7358 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7360 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7361 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7363 return Py_BuildValue((char *)"");
7365 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7366 PyObject
*resultobj
;
7367 int arg1
= (int) 0 ;
7368 wxQueryLayoutInfoEvent
*result
;
7369 PyObject
* obj0
= 0 ;
7374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7376 arg1
= (int) SWIG_AsInt(obj0
);
7377 if (PyErr_Occurred()) SWIG_fail
;
7380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7381 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7383 wxPyEndAllowThreads(__tstate
);
7384 if (PyErr_Occurred()) SWIG_fail
;
7386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7393 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7394 PyObject
*resultobj
;
7395 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7397 PyObject
* obj0
= 0 ;
7398 PyObject
* obj1
= 0 ;
7400 (char *) "self",(char *) "length", NULL
7403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7406 arg2
= (int) SWIG_AsInt(obj1
);
7407 if (PyErr_Occurred()) SWIG_fail
;
7409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7410 (arg1
)->SetRequestedLength(arg2
);
7412 wxPyEndAllowThreads(__tstate
);
7413 if (PyErr_Occurred()) SWIG_fail
;
7415 Py_INCREF(Py_None
); resultobj
= Py_None
;
7422 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7423 PyObject
*resultobj
;
7424 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7426 PyObject
* obj0
= 0 ;
7428 (char *) "self", NULL
7431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7436 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7438 wxPyEndAllowThreads(__tstate
);
7439 if (PyErr_Occurred()) SWIG_fail
;
7441 resultobj
= SWIG_FromInt((int)result
);
7448 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7449 PyObject
*resultobj
;
7450 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7452 PyObject
* obj0
= 0 ;
7453 PyObject
* obj1
= 0 ;
7455 (char *) "self",(char *) "flags", NULL
7458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7461 arg2
= (int) SWIG_AsInt(obj1
);
7462 if (PyErr_Occurred()) SWIG_fail
;
7464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7465 (arg1
)->SetFlags(arg2
);
7467 wxPyEndAllowThreads(__tstate
);
7468 if (PyErr_Occurred()) SWIG_fail
;
7470 Py_INCREF(Py_None
); resultobj
= Py_None
;
7477 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7478 PyObject
*resultobj
;
7479 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7481 PyObject
* obj0
= 0 ;
7483 (char *) "self", NULL
7486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7491 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7493 wxPyEndAllowThreads(__tstate
);
7494 if (PyErr_Occurred()) SWIG_fail
;
7496 resultobj
= SWIG_FromInt((int)result
);
7503 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7504 PyObject
*resultobj
;
7505 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7508 PyObject
* obj0
= 0 ;
7509 PyObject
* obj1
= 0 ;
7511 (char *) "self",(char *) "size", NULL
7514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7519 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7523 (arg1
)->SetSize((wxSize
const &)*arg2
);
7525 wxPyEndAllowThreads(__tstate
);
7526 if (PyErr_Occurred()) SWIG_fail
;
7528 Py_INCREF(Py_None
); resultobj
= Py_None
;
7535 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7536 PyObject
*resultobj
;
7537 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7539 PyObject
* obj0
= 0 ;
7541 (char *) "self", NULL
7544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7549 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7551 wxPyEndAllowThreads(__tstate
);
7552 if (PyErr_Occurred()) SWIG_fail
;
7556 resultptr
= new wxSize((wxSize
&) result
);
7557 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7565 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7566 PyObject
*resultobj
;
7567 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7569 PyObject
* obj0
= 0 ;
7570 PyObject
* obj1
= 0 ;
7572 (char *) "self",(char *) "orient", NULL
7575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7578 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
7579 if (PyErr_Occurred()) SWIG_fail
;
7581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7582 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7584 wxPyEndAllowThreads(__tstate
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7587 Py_INCREF(Py_None
); resultobj
= Py_None
;
7594 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
*resultobj
;
7596 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7598 PyObject
* obj0
= 0 ;
7600 (char *) "self", NULL
7603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7608 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7610 wxPyEndAllowThreads(__tstate
);
7611 if (PyErr_Occurred()) SWIG_fail
;
7613 resultobj
= SWIG_FromInt((int)result
);
7620 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7621 PyObject
*resultobj
;
7622 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7624 PyObject
* obj0
= 0 ;
7625 PyObject
* obj1
= 0 ;
7627 (char *) "self",(char *) "align", NULL
7630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7633 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
7634 if (PyErr_Occurred()) SWIG_fail
;
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7637 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7639 wxPyEndAllowThreads(__tstate
);
7640 if (PyErr_Occurred()) SWIG_fail
;
7642 Py_INCREF(Py_None
); resultobj
= Py_None
;
7649 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7650 PyObject
*resultobj
;
7651 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7653 PyObject
* obj0
= 0 ;
7655 (char *) "self", NULL
7658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7663 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7668 resultobj
= SWIG_FromInt((int)result
);
7675 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7678 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7680 return Py_BuildValue((char *)"");
7682 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7683 PyObject
*resultobj
;
7684 int arg1
= (int) 0 ;
7685 wxCalculateLayoutEvent
*result
;
7686 PyObject
* obj0
= 0 ;
7691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
7693 arg1
= (int) SWIG_AsInt(obj0
);
7694 if (PyErr_Occurred()) SWIG_fail
;
7697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7698 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
7700 wxPyEndAllowThreads(__tstate
);
7701 if (PyErr_Occurred()) SWIG_fail
;
7703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
7710 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7711 PyObject
*resultobj
;
7712 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7714 PyObject
* obj0
= 0 ;
7715 PyObject
* obj1
= 0 ;
7717 (char *) "self",(char *) "flags", NULL
7720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7723 arg2
= (int) SWIG_AsInt(obj1
);
7724 if (PyErr_Occurred()) SWIG_fail
;
7726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7727 (arg1
)->SetFlags(arg2
);
7729 wxPyEndAllowThreads(__tstate
);
7730 if (PyErr_Occurred()) SWIG_fail
;
7732 Py_INCREF(Py_None
); resultobj
= Py_None
;
7739 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7740 PyObject
*resultobj
;
7741 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7743 PyObject
* obj0
= 0 ;
7745 (char *) "self", NULL
7748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7753 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
7755 wxPyEndAllowThreads(__tstate
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7758 resultobj
= SWIG_FromInt((int)result
);
7765 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7766 PyObject
*resultobj
;
7767 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7770 PyObject
* obj0
= 0 ;
7771 PyObject
* obj1
= 0 ;
7773 (char *) "self",(char *) "rect", NULL
7776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7781 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7785 (arg1
)->SetRect((wxRect
const &)*arg2
);
7787 wxPyEndAllowThreads(__tstate
);
7788 if (PyErr_Occurred()) SWIG_fail
;
7790 Py_INCREF(Py_None
); resultobj
= Py_None
;
7797 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7798 PyObject
*resultobj
;
7799 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7801 PyObject
* obj0
= 0 ;
7803 (char *) "self", NULL
7806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
7807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7811 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
7813 wxPyEndAllowThreads(__tstate
);
7814 if (PyErr_Occurred()) SWIG_fail
;
7818 resultptr
= new wxRect((wxRect
&) result
);
7819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7827 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7829 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7830 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
7832 return Py_BuildValue((char *)"");
7834 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7835 PyObject
*resultobj
;
7836 wxWindow
*arg1
= (wxWindow
*) 0 ;
7838 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7839 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7840 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7841 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7842 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7843 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
7844 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7845 wxSashLayoutWindow
*result
;
7848 bool temp6
= False
;
7849 PyObject
* obj0
= 0 ;
7850 PyObject
* obj1
= 0 ;
7851 PyObject
* obj2
= 0 ;
7852 PyObject
* obj3
= 0 ;
7853 PyObject
* obj4
= 0 ;
7854 PyObject
* obj5
= 0 ;
7856 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7862 arg2
= (int) SWIG_AsInt(obj1
);
7863 if (PyErr_Occurred()) SWIG_fail
;
7867 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7873 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7877 arg5
= (long) SWIG_AsLong(obj4
);
7878 if (PyErr_Occurred()) SWIG_fail
;
7882 arg6
= wxString_in_helper(obj5
);
7883 if (arg6
== NULL
) SWIG_fail
;
7888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7889 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7891 wxPyEndAllowThreads(__tstate
);
7892 if (PyErr_Occurred()) SWIG_fail
;
7894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
7909 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7910 PyObject
*resultobj
;
7911 wxSashLayoutWindow
*result
;
7916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
7918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7919 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
7921 wxPyEndAllowThreads(__tstate
);
7922 if (PyErr_Occurred()) SWIG_fail
;
7924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
7931 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7932 PyObject
*resultobj
;
7933 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7934 wxWindow
*arg2
= (wxWindow
*) 0 ;
7936 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7937 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7938 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7939 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7940 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7941 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
7942 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7946 bool temp7
= False
;
7947 PyObject
* obj0
= 0 ;
7948 PyObject
* obj1
= 0 ;
7949 PyObject
* obj2
= 0 ;
7950 PyObject
* obj3
= 0 ;
7951 PyObject
* obj4
= 0 ;
7952 PyObject
* obj5
= 0 ;
7953 PyObject
* obj6
= 0 ;
7955 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
7960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7961 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7963 arg3
= (int) SWIG_AsInt(obj2
);
7964 if (PyErr_Occurred()) SWIG_fail
;
7968 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7974 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7978 arg6
= (long) SWIG_AsLong(obj5
);
7979 if (PyErr_Occurred()) SWIG_fail
;
7983 arg7
= wxString_in_helper(obj6
);
7984 if (arg7
== NULL
) SWIG_fail
;
7989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7990 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7992 wxPyEndAllowThreads(__tstate
);
7993 if (PyErr_Occurred()) SWIG_fail
;
7996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8012 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8013 PyObject
*resultobj
;
8014 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8016 PyObject
* obj0
= 0 ;
8018 (char *) "self", NULL
8021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 result
= (int)(arg1
)->GetAlignment();
8028 wxPyEndAllowThreads(__tstate
);
8029 if (PyErr_Occurred()) SWIG_fail
;
8031 resultobj
= SWIG_FromInt((int)result
);
8038 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8039 PyObject
*resultobj
;
8040 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8042 PyObject
* obj0
= 0 ;
8044 (char *) "self", NULL
8047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8052 result
= (int)(arg1
)->GetOrientation();
8054 wxPyEndAllowThreads(__tstate
);
8055 if (PyErr_Occurred()) SWIG_fail
;
8057 resultobj
= SWIG_FromInt((int)result
);
8064 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8065 PyObject
*resultobj
;
8066 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8068 PyObject
* obj0
= 0 ;
8069 PyObject
* obj1
= 0 ;
8071 (char *) "self",(char *) "alignment", NULL
8074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8077 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8078 if (PyErr_Occurred()) SWIG_fail
;
8080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8081 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8083 wxPyEndAllowThreads(__tstate
);
8084 if (PyErr_Occurred()) SWIG_fail
;
8086 Py_INCREF(Py_None
); resultobj
= Py_None
;
8093 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8094 PyObject
*resultobj
;
8095 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8098 PyObject
* obj0
= 0 ;
8099 PyObject
* obj1
= 0 ;
8101 (char *) "self",(char *) "size", NULL
8104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8109 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8113 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8115 wxPyEndAllowThreads(__tstate
);
8116 if (PyErr_Occurred()) SWIG_fail
;
8118 Py_INCREF(Py_None
); resultobj
= Py_None
;
8125 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8126 PyObject
*resultobj
;
8127 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8129 PyObject
* obj0
= 0 ;
8130 PyObject
* obj1
= 0 ;
8132 (char *) "self",(char *) "orientation", NULL
8135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8138 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8139 if (PyErr_Occurred()) SWIG_fail
;
8141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8142 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8144 wxPyEndAllowThreads(__tstate
);
8145 if (PyErr_Occurred()) SWIG_fail
;
8147 Py_INCREF(Py_None
); resultobj
= Py_None
;
8154 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8156 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8157 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8159 return Py_BuildValue((char *)"");
8161 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8162 PyObject
*resultobj
;
8163 wxLayoutAlgorithm
*result
;
8168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8171 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8173 wxPyEndAllowThreads(__tstate
);
8174 if (PyErr_Occurred()) SWIG_fail
;
8176 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8183 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8184 PyObject
*resultobj
;
8185 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8186 PyObject
* obj0
= 0 ;
8188 (char *) "self", NULL
8191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8198 wxPyEndAllowThreads(__tstate
);
8199 if (PyErr_Occurred()) SWIG_fail
;
8201 Py_INCREF(Py_None
); resultobj
= Py_None
;
8208 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8209 PyObject
*resultobj
;
8210 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8211 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8212 wxRect
*arg3
= (wxRect
*) NULL
;
8214 PyObject
* obj0
= 0 ;
8215 PyObject
* obj1
= 0 ;
8216 PyObject
* obj2
= 0 ;
8218 (char *) "self",(char *) "frame",(char *) "rect", NULL
8221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8224 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8227 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8232 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8234 wxPyEndAllowThreads(__tstate
);
8235 if (PyErr_Occurred()) SWIG_fail
;
8238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8246 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8247 PyObject
*resultobj
;
8248 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8249 wxFrame
*arg2
= (wxFrame
*) 0 ;
8250 wxWindow
*arg3
= (wxWindow
*) NULL
;
8252 PyObject
* obj0
= 0 ;
8253 PyObject
* obj1
= 0 ;
8254 PyObject
* obj2
= 0 ;
8256 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8262 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8265 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8270 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8272 wxPyEndAllowThreads(__tstate
);
8273 if (PyErr_Occurred()) SWIG_fail
;
8276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8284 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8285 PyObject
*resultobj
;
8286 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8287 wxWindow
*arg2
= (wxWindow
*) 0 ;
8288 wxWindow
*arg3
= (wxWindow
*) NULL
;
8290 PyObject
* obj0
= 0 ;
8291 PyObject
* obj1
= 0 ;
8292 PyObject
* obj2
= 0 ;
8294 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8300 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8303 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8308 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8310 wxPyEndAllowThreads(__tstate
);
8311 if (PyErr_Occurred()) SWIG_fail
;
8314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8322 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8325 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8327 return Py_BuildValue((char *)"");
8329 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8330 PyObject
*resultobj
;
8331 wxWindow
*arg1
= (wxWindow
*) 0 ;
8332 int arg2
= (int) wxBORDER_NONE
;
8333 wxPopupWindow
*result
;
8334 PyObject
* obj0
= 0 ;
8335 PyObject
* obj1
= 0 ;
8337 (char *) "parent",(char *) "flags", NULL
8340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8344 arg2
= (int) SWIG_AsInt(obj1
);
8345 if (PyErr_Occurred()) SWIG_fail
;
8348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8349 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8351 wxPyEndAllowThreads(__tstate
);
8352 if (PyErr_Occurred()) SWIG_fail
;
8354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8361 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8362 PyObject
*resultobj
;
8363 wxPopupWindow
*result
;
8368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8371 result
= (wxPopupWindow
*)new wxPopupWindow();
8373 wxPyEndAllowThreads(__tstate
);
8374 if (PyErr_Occurred()) SWIG_fail
;
8376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8383 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8384 PyObject
*resultobj
;
8385 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8386 wxWindow
*arg2
= (wxWindow
*) 0 ;
8387 int arg3
= (int) wxBORDER_NONE
;
8389 PyObject
* obj0
= 0 ;
8390 PyObject
* obj1
= 0 ;
8391 PyObject
* obj2
= 0 ;
8393 (char *) "self",(char *) "parent",(char *) "flags", NULL
8396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8399 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8402 arg3
= (int) SWIG_AsInt(obj2
);
8403 if (PyErr_Occurred()) SWIG_fail
;
8406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8407 result
= (bool)(arg1
)->Create(arg2
,arg3
);
8409 wxPyEndAllowThreads(__tstate
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8421 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8422 PyObject
*resultobj
;
8423 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8428 PyObject
* obj0
= 0 ;
8429 PyObject
* obj1
= 0 ;
8430 PyObject
* obj2
= 0 ;
8432 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8440 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8444 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8450 wxPyEndAllowThreads(__tstate
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8453 Py_INCREF(Py_None
); resultobj
= Py_None
;
8460 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8463 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8465 return Py_BuildValue((char *)"");
8467 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8468 PyObject
*resultobj
;
8469 wxWindow
*arg1
= (wxWindow
*) 0 ;
8470 int arg2
= (int) wxBORDER_NONE
;
8471 wxPyPopupTransientWindow
*result
;
8472 PyObject
* obj0
= 0 ;
8473 PyObject
* obj1
= 0 ;
8475 (char *) "parent",(char *) "style", NULL
8478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8482 arg2
= (int) SWIG_AsInt(obj1
);
8483 if (PyErr_Occurred()) SWIG_fail
;
8486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8487 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8489 wxPyEndAllowThreads(__tstate
);
8490 if (PyErr_Occurred()) SWIG_fail
;
8492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8499 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8500 PyObject
*resultobj
;
8501 wxPyPopupTransientWindow
*result
;
8506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8509 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8511 wxPyEndAllowThreads(__tstate
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8521 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8522 PyObject
*resultobj
;
8523 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8524 PyObject
*arg2
= (PyObject
*) 0 ;
8525 PyObject
*arg3
= (PyObject
*) 0 ;
8526 PyObject
* obj0
= 0 ;
8527 PyObject
* obj1
= 0 ;
8528 PyObject
* obj2
= 0 ;
8530 (char *) "self",(char *) "self",(char *) "_class", NULL
8533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8540 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8542 wxPyEndAllowThreads(__tstate
);
8543 if (PyErr_Occurred()) SWIG_fail
;
8545 Py_INCREF(Py_None
); resultobj
= Py_None
;
8552 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8553 PyObject
*resultobj
;
8554 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8555 wxWindow
*arg2
= (wxWindow
*) NULL
;
8556 PyObject
* obj0
= 0 ;
8557 PyObject
* obj1
= 0 ;
8559 (char *) "self",(char *) "focus", NULL
8562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
8563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8566 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8571 (arg1
)->Popup(arg2
);
8573 wxPyEndAllowThreads(__tstate
);
8574 if (PyErr_Occurred()) SWIG_fail
;
8576 Py_INCREF(Py_None
); resultobj
= Py_None
;
8583 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8584 PyObject
*resultobj
;
8585 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8586 PyObject
* obj0
= 0 ;
8588 (char *) "self", NULL
8591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
8592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8598 wxPyEndAllowThreads(__tstate
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8601 Py_INCREF(Py_None
); resultobj
= Py_None
;
8608 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8610 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8611 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8613 return Py_BuildValue((char *)"");
8615 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8616 PyObject
*resultobj
;
8617 wxWindow
*arg1
= (wxWindow
*) 0 ;
8618 wxString
*arg2
= 0 ;
8619 int arg3
= (int) 100 ;
8620 wxRect
*arg4
= (wxRect
*) NULL
;
8621 wxTipWindow
*result
;
8622 bool temp2
= False
;
8623 PyObject
* obj0
= 0 ;
8624 PyObject
* obj1
= 0 ;
8625 PyObject
* obj2
= 0 ;
8626 PyObject
* obj3
= 0 ;
8628 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8635 arg2
= wxString_in_helper(obj1
);
8636 if (arg2
== NULL
) SWIG_fail
;
8640 arg3
= (int) SWIG_AsInt(obj2
);
8641 if (PyErr_Occurred()) SWIG_fail
;
8644 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
8645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8649 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8651 wxPyEndAllowThreads(__tstate
);
8652 if (PyErr_Occurred()) SWIG_fail
;
8654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
8669 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8670 PyObject
*resultobj
;
8671 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8674 PyObject
* obj0
= 0 ;
8675 PyObject
* obj1
= 0 ;
8677 (char *) "self",(char *) "rectBound", NULL
8680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8685 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8689 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
8691 wxPyEndAllowThreads(__tstate
);
8692 if (PyErr_Occurred()) SWIG_fail
;
8694 Py_INCREF(Py_None
); resultobj
= Py_None
;
8701 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8702 PyObject
*resultobj
;
8703 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8704 PyObject
* obj0
= 0 ;
8706 (char *) "self", NULL
8709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
8710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8716 wxPyEndAllowThreads(__tstate
);
8717 if (PyErr_Occurred()) SWIG_fail
;
8719 Py_INCREF(Py_None
); resultobj
= Py_None
;
8726 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8729 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
8731 return Py_BuildValue((char *)"");
8733 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8734 PyObject
*resultobj
;
8735 wxWindow
*arg1
= (wxWindow
*) 0 ;
8736 int arg2
= (int) wxID_ANY
;
8737 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8738 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8739 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8740 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8741 long arg5
= (long) 0 ;
8742 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8743 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8744 wxPyVScrolledWindow
*result
;
8747 bool temp6
= False
;
8748 PyObject
* obj0
= 0 ;
8749 PyObject
* obj1
= 0 ;
8750 PyObject
* obj2
= 0 ;
8751 PyObject
* obj3
= 0 ;
8752 PyObject
* obj4
= 0 ;
8753 PyObject
* obj5
= 0 ;
8755 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8762 arg2
= (int) SWIG_AsInt(obj1
);
8763 if (PyErr_Occurred()) SWIG_fail
;
8768 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8774 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8778 arg5
= (long) SWIG_AsLong(obj4
);
8779 if (PyErr_Occurred()) SWIG_fail
;
8783 arg6
= wxString_in_helper(obj5
);
8784 if (arg6
== NULL
) SWIG_fail
;
8789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8790 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8792 wxPyEndAllowThreads(__tstate
);
8793 if (PyErr_Occurred()) SWIG_fail
;
8795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8810 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8811 PyObject
*resultobj
;
8812 wxPyVScrolledWindow
*result
;
8817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
8819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8820 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
8822 wxPyEndAllowThreads(__tstate
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8832 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8833 PyObject
*resultobj
;
8834 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8835 PyObject
*arg2
= (PyObject
*) 0 ;
8836 PyObject
*arg3
= (PyObject
*) 0 ;
8837 PyObject
* obj0
= 0 ;
8838 PyObject
* obj1
= 0 ;
8839 PyObject
* obj2
= 0 ;
8841 (char *) "self",(char *) "self",(char *) "_class", NULL
8844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8851 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8853 wxPyEndAllowThreads(__tstate
);
8854 if (PyErr_Occurred()) SWIG_fail
;
8856 Py_INCREF(Py_None
); resultobj
= Py_None
;
8863 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8864 PyObject
*resultobj
;
8865 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8866 wxWindow
*arg2
= (wxWindow
*) 0 ;
8867 int arg3
= (int) wxID_ANY
;
8868 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8869 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8870 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8871 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8872 long arg6
= (long) 0 ;
8873 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
8874 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8878 bool temp7
= False
;
8879 PyObject
* obj0
= 0 ;
8880 PyObject
* obj1
= 0 ;
8881 PyObject
* obj2
= 0 ;
8882 PyObject
* obj3
= 0 ;
8883 PyObject
* obj4
= 0 ;
8884 PyObject
* obj5
= 0 ;
8885 PyObject
* obj6
= 0 ;
8887 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8893 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8896 arg3
= (int) SWIG_AsInt(obj2
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8902 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8908 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8912 arg6
= (long) SWIG_AsLong(obj5
);
8913 if (PyErr_Occurred()) SWIG_fail
;
8917 arg7
= wxString_in_helper(obj6
);
8918 if (arg7
== NULL
) SWIG_fail
;
8923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8924 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8926 wxPyEndAllowThreads(__tstate
);
8927 if (PyErr_Occurred()) SWIG_fail
;
8930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8946 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8947 PyObject
*resultobj
;
8948 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8950 PyObject
* obj0
= 0 ;
8951 PyObject
* obj1
= 0 ;
8953 (char *) "self",(char *) "count", NULL
8956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8959 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8960 if (PyErr_Occurred()) SWIG_fail
;
8962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8963 (arg1
)->SetLineCount(arg2
);
8965 wxPyEndAllowThreads(__tstate
);
8966 if (PyErr_Occurred()) SWIG_fail
;
8968 Py_INCREF(Py_None
); resultobj
= Py_None
;
8975 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8976 PyObject
*resultobj
;
8977 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8980 PyObject
* obj0
= 0 ;
8981 PyObject
* obj1
= 0 ;
8983 (char *) "self",(char *) "line", NULL
8986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8989 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8990 if (PyErr_Occurred()) SWIG_fail
;
8992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8993 result
= (bool)(arg1
)->ScrollToLine(arg2
);
8995 wxPyEndAllowThreads(__tstate
);
8996 if (PyErr_Occurred()) SWIG_fail
;
8999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9007 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9008 PyObject
*resultobj
;
9009 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9012 PyObject
* obj0
= 0 ;
9013 PyObject
* obj1
= 0 ;
9015 (char *) "self",(char *) "lines", NULL
9018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9021 arg2
= (int) SWIG_AsInt(obj1
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9025 result
= (bool)(arg1
)->ScrollLines(arg2
);
9027 wxPyEndAllowThreads(__tstate
);
9028 if (PyErr_Occurred()) SWIG_fail
;
9031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9039 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9040 PyObject
*resultobj
;
9041 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9044 PyObject
* obj0
= 0 ;
9045 PyObject
* obj1
= 0 ;
9047 (char *) "self",(char *) "pages", NULL
9050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9053 arg2
= (int) SWIG_AsInt(obj1
);
9054 if (PyErr_Occurred()) SWIG_fail
;
9056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9057 result
= (bool)(arg1
)->ScrollPages(arg2
);
9059 wxPyEndAllowThreads(__tstate
);
9060 if (PyErr_Occurred()) SWIG_fail
;
9063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9071 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9072 PyObject
*resultobj
;
9073 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9075 PyObject
* obj0
= 0 ;
9076 PyObject
* obj1
= 0 ;
9078 (char *) "self",(char *) "line", NULL
9081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9084 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9088 (arg1
)->RefreshLine(arg2
);
9090 wxPyEndAllowThreads(__tstate
);
9091 if (PyErr_Occurred()) SWIG_fail
;
9093 Py_INCREF(Py_None
); resultobj
= Py_None
;
9100 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9101 PyObject
*resultobj
;
9102 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9105 PyObject
* obj0
= 0 ;
9106 PyObject
* obj1
= 0 ;
9107 PyObject
* obj2
= 0 ;
9109 (char *) "self",(char *) "from",(char *) "to", NULL
9112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9115 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9117 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9118 if (PyErr_Occurred()) SWIG_fail
;
9120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9121 (arg1
)->RefreshLines(arg2
,arg3
);
9123 wxPyEndAllowThreads(__tstate
);
9124 if (PyErr_Occurred()) SWIG_fail
;
9126 Py_INCREF(Py_None
); resultobj
= Py_None
;
9133 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9134 PyObject
*resultobj
;
9135 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9139 PyObject
* obj0
= 0 ;
9140 PyObject
* obj1
= 0 ;
9141 PyObject
* obj2
= 0 ;
9143 (char *) "self",(char *) "x",(char *) "y", NULL
9146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9149 arg2
= (int) SWIG_AsInt(obj1
);
9150 if (PyErr_Occurred()) SWIG_fail
;
9151 arg3
= (int) SWIG_AsInt(obj2
);
9152 if (PyErr_Occurred()) SWIG_fail
;
9154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9155 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9157 wxPyEndAllowThreads(__tstate
);
9158 if (PyErr_Occurred()) SWIG_fail
;
9160 resultobj
= SWIG_FromInt((int)result
);
9167 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9168 PyObject
*resultobj
;
9169 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9173 PyObject
* obj0
= 0 ;
9174 PyObject
* obj1
= 0 ;
9176 (char *) "self",(char *) "pt", NULL
9179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9184 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9188 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9190 wxPyEndAllowThreads(__tstate
);
9191 if (PyErr_Occurred()) SWIG_fail
;
9193 resultobj
= SWIG_FromInt((int)result
);
9200 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9201 PyObject
*resultobj
;
9202 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9203 PyObject
* obj0
= 0 ;
9205 (char *) "self", NULL
9208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9213 (arg1
)->RefreshAll();
9215 wxPyEndAllowThreads(__tstate
);
9216 if (PyErr_Occurred()) SWIG_fail
;
9218 Py_INCREF(Py_None
); resultobj
= Py_None
;
9225 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9226 PyObject
*resultobj
;
9227 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9229 PyObject
* obj0
= 0 ;
9231 (char *) "self", NULL
9234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9239 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9241 wxPyEndAllowThreads(__tstate
);
9242 if (PyErr_Occurred()) SWIG_fail
;
9244 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9251 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9252 PyObject
*resultobj
;
9253 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9255 PyObject
* obj0
= 0 ;
9257 (char *) "self", NULL
9260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9265 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9267 wxPyEndAllowThreads(__tstate
);
9268 if (PyErr_Occurred()) SWIG_fail
;
9270 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9277 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9278 PyObject
*resultobj
;
9279 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9281 PyObject
* obj0
= 0 ;
9283 (char *) "self", NULL
9286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9291 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9293 wxPyEndAllowThreads(__tstate
);
9294 if (PyErr_Occurred()) SWIG_fail
;
9296 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9303 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9304 PyObject
*resultobj
;
9305 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9308 PyObject
* obj0
= 0 ;
9309 PyObject
* obj1
= 0 ;
9311 (char *) "self",(char *) "line", NULL
9314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9317 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9318 if (PyErr_Occurred()) SWIG_fail
;
9320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9321 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9323 wxPyEndAllowThreads(__tstate
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9335 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9337 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9338 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9340 return Py_BuildValue((char *)"");
9342 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9343 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9348 static PyObject
*_wrap_VListBoxNameStr_get() {
9353 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9355 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9362 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9363 PyObject
*resultobj
;
9364 wxWindow
*arg1
= (wxWindow
*) 0 ;
9365 int arg2
= (int) wxID_ANY
;
9366 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9367 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9368 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9369 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9370 long arg5
= (long) 0 ;
9371 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9372 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9373 wxPyVListBox
*result
;
9376 bool temp6
= False
;
9377 PyObject
* obj0
= 0 ;
9378 PyObject
* obj1
= 0 ;
9379 PyObject
* obj2
= 0 ;
9380 PyObject
* obj3
= 0 ;
9381 PyObject
* obj4
= 0 ;
9382 PyObject
* obj5
= 0 ;
9384 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9391 arg2
= (int) SWIG_AsInt(obj1
);
9392 if (PyErr_Occurred()) SWIG_fail
;
9397 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9403 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9407 arg5
= (long) SWIG_AsLong(obj4
);
9408 if (PyErr_Occurred()) SWIG_fail
;
9412 arg6
= wxString_in_helper(obj5
);
9413 if (arg6
== NULL
) SWIG_fail
;
9418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9419 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9421 wxPyEndAllowThreads(__tstate
);
9422 if (PyErr_Occurred()) SWIG_fail
;
9424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9439 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9440 PyObject
*resultobj
;
9441 wxPyVListBox
*result
;
9446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9449 result
= (wxPyVListBox
*)new wxPyVListBox();
9451 wxPyEndAllowThreads(__tstate
);
9452 if (PyErr_Occurred()) SWIG_fail
;
9454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9461 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9462 PyObject
*resultobj
;
9463 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9464 PyObject
*arg2
= (PyObject
*) 0 ;
9465 PyObject
*arg3
= (PyObject
*) 0 ;
9466 PyObject
* obj0
= 0 ;
9467 PyObject
* obj1
= 0 ;
9468 PyObject
* obj2
= 0 ;
9470 (char *) "self",(char *) "self",(char *) "_class", NULL
9473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9480 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9482 wxPyEndAllowThreads(__tstate
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9485 Py_INCREF(Py_None
); resultobj
= Py_None
;
9492 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9493 PyObject
*resultobj
;
9494 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9495 wxWindow
*arg2
= (wxWindow
*) 0 ;
9496 int arg3
= (int) wxID_ANY
;
9497 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9498 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9499 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9500 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9501 long arg6
= (long) 0 ;
9502 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9503 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9507 bool temp7
= False
;
9508 PyObject
* obj0
= 0 ;
9509 PyObject
* obj1
= 0 ;
9510 PyObject
* obj2
= 0 ;
9511 PyObject
* obj3
= 0 ;
9512 PyObject
* obj4
= 0 ;
9513 PyObject
* obj5
= 0 ;
9514 PyObject
* obj6
= 0 ;
9516 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9525 arg3
= (int) SWIG_AsInt(obj2
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9531 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9537 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9541 arg6
= (long) SWIG_AsLong(obj5
);
9542 if (PyErr_Occurred()) SWIG_fail
;
9546 arg7
= wxString_in_helper(obj6
);
9547 if (arg7
== NULL
) SWIG_fail
;
9552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9553 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9555 wxPyEndAllowThreads(__tstate
);
9556 if (PyErr_Occurred()) SWIG_fail
;
9559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9575 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, 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_GetItemCount",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
)->GetItemCount();
9591 wxPyEndAllowThreads(__tstate
);
9592 if (PyErr_Occurred()) SWIG_fail
;
9594 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9601 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9602 PyObject
*resultobj
;
9603 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9605 PyObject
* obj0
= 0 ;
9607 (char *) "self", NULL
9610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9615 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9617 wxPyEndAllowThreads(__tstate
);
9618 if (PyErr_Occurred()) SWIG_fail
;
9621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9629 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9630 PyObject
*resultobj
;
9631 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9633 PyObject
* obj0
= 0 ;
9635 (char *) "self", NULL
9638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9643 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9645 wxPyEndAllowThreads(__tstate
);
9646 if (PyErr_Occurred()) SWIG_fail
;
9648 resultobj
= SWIG_FromInt((int)result
);
9655 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9656 PyObject
*resultobj
;
9657 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9660 PyObject
* obj0
= 0 ;
9661 PyObject
* obj1
= 0 ;
9663 (char *) "self",(char *) "item", NULL
9666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9669 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9673 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9675 wxPyEndAllowThreads(__tstate
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9687 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9688 PyObject
*resultobj
;
9689 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9692 PyObject
* obj0
= 0 ;
9693 PyObject
* obj1
= 0 ;
9695 (char *) "self",(char *) "item", NULL
9698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9701 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9705 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
9707 wxPyEndAllowThreads(__tstate
);
9708 if (PyErr_Occurred()) SWIG_fail
;
9711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9719 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9720 PyObject
*resultobj
;
9721 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9723 PyObject
* obj0
= 0 ;
9725 (char *) "self", NULL
9728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
9729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9733 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
9735 wxPyEndAllowThreads(__tstate
);
9736 if (PyErr_Occurred()) SWIG_fail
;
9738 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9745 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9746 PyObject
*resultobj
;
9747 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9748 unsigned long *arg2
= 0 ;
9750 PyObject
* obj0
= 0 ;
9751 PyObject
* obj1
= 0 ;
9753 (char *) "self",(char *) "cookie", NULL
9756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9760 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9763 PyErr_SetString(PyExc_TypeError
,"null reference");
9767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9768 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
9770 wxPyEndAllowThreads(__tstate
);
9771 if (PyErr_Occurred()) SWIG_fail
;
9773 resultobj
= SWIG_FromInt((int)result
);
9780 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9781 PyObject
*resultobj
;
9782 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9783 unsigned long *arg2
= 0 ;
9785 PyObject
* obj0
= 0 ;
9786 PyObject
* obj1
= 0 ;
9788 (char *) "self",(char *) "cookie", NULL
9791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9794 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9795 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9798 PyErr_SetString(PyExc_TypeError
,"null reference");
9802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9803 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
9805 wxPyEndAllowThreads(__tstate
);
9806 if (PyErr_Occurred()) SWIG_fail
;
9808 resultobj
= SWIG_FromInt((int)result
);
9815 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
*resultobj
;
9817 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9819 PyObject
* obj0
= 0 ;
9821 (char *) "self", NULL
9824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
9825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9829 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
9831 wxPyEndAllowThreads(__tstate
);
9832 if (PyErr_Occurred()) SWIG_fail
;
9835 wxPoint
* resultptr
;
9836 resultptr
= new wxPoint((wxPoint
&) result
);
9837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9845 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9846 PyObject
*resultobj
;
9847 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9849 PyObject
* obj0
= 0 ;
9851 (char *) "self", NULL
9854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
9855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9860 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
9861 result
= (wxColour
*) &_result_ref
;
9864 wxPyEndAllowThreads(__tstate
);
9865 if (PyErr_Occurred()) SWIG_fail
;
9867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9874 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9875 PyObject
*resultobj
;
9876 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9878 PyObject
* obj0
= 0 ;
9879 PyObject
* obj1
= 0 ;
9881 (char *) "self",(char *) "count", NULL
9884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9887 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9888 if (PyErr_Occurred()) SWIG_fail
;
9890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9891 (arg1
)->SetItemCount(arg2
);
9893 wxPyEndAllowThreads(__tstate
);
9894 if (PyErr_Occurred()) SWIG_fail
;
9896 Py_INCREF(Py_None
); resultobj
= Py_None
;
9903 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9904 PyObject
*resultobj
;
9905 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9906 PyObject
* obj0
= 0 ;
9908 (char *) "self", NULL
9911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
9912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9918 wxPyEndAllowThreads(__tstate
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9921 Py_INCREF(Py_None
); resultobj
= Py_None
;
9928 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9929 PyObject
*resultobj
;
9930 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9932 PyObject
* obj0
= 0 ;
9933 PyObject
* obj1
= 0 ;
9935 (char *) "self",(char *) "selection", NULL
9938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9941 arg2
= (int) SWIG_AsInt(obj1
);
9942 if (PyErr_Occurred()) SWIG_fail
;
9944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9945 (arg1
)->SetSelection(arg2
);
9947 wxPyEndAllowThreads(__tstate
);
9948 if (PyErr_Occurred()) SWIG_fail
;
9950 Py_INCREF(Py_None
); resultobj
= Py_None
;
9957 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9958 PyObject
*resultobj
;
9959 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9961 bool arg3
= (bool) True
;
9963 PyObject
* obj0
= 0 ;
9964 PyObject
* obj1
= 0 ;
9965 PyObject
* obj2
= 0 ;
9967 (char *) "self",(char *) "item",(char *) "select", NULL
9970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9973 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9976 arg3
= (bool) SWIG_AsBool(obj2
);
9977 if (PyErr_Occurred()) SWIG_fail
;
9980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9981 result
= (bool)(arg1
)->Select(arg2
,arg3
);
9983 wxPyEndAllowThreads(__tstate
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9995 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9996 PyObject
*resultobj
;
9997 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10001 PyObject
* obj0
= 0 ;
10002 PyObject
* obj1
= 0 ;
10003 PyObject
* obj2
= 0 ;
10004 char *kwnames
[] = {
10005 (char *) "self",(char *) "from",(char *) "to", NULL
10008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10011 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10012 if (PyErr_Occurred()) SWIG_fail
;
10013 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10014 if (PyErr_Occurred()) SWIG_fail
;
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10017 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10019 wxPyEndAllowThreads(__tstate
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10031 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10032 PyObject
*resultobj
;
10033 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10035 PyObject
* obj0
= 0 ;
10036 PyObject
* obj1
= 0 ;
10037 char *kwnames
[] = {
10038 (char *) "self",(char *) "item", NULL
10041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10044 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10045 if (PyErr_Occurred()) SWIG_fail
;
10047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10048 (arg1
)->Toggle(arg2
);
10050 wxPyEndAllowThreads(__tstate
);
10051 if (PyErr_Occurred()) SWIG_fail
;
10053 Py_INCREF(Py_None
); resultobj
= Py_None
;
10060 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10061 PyObject
*resultobj
;
10062 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10064 PyObject
* obj0
= 0 ;
10065 char *kwnames
[] = {
10066 (char *) "self", NULL
10069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10074 result
= (bool)(arg1
)->SelectAll();
10076 wxPyEndAllowThreads(__tstate
);
10077 if (PyErr_Occurred()) SWIG_fail
;
10080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10088 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10089 PyObject
*resultobj
;
10090 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10092 PyObject
* obj0
= 0 ;
10093 char *kwnames
[] = {
10094 (char *) "self", NULL
10097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10102 result
= (bool)(arg1
)->DeselectAll();
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10116 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10117 PyObject
*resultobj
;
10118 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10119 wxPoint
*arg2
= 0 ;
10121 PyObject
* obj0
= 0 ;
10122 PyObject
* obj1
= 0 ;
10123 char *kwnames
[] = {
10124 (char *) "self",(char *) "pt", NULL
10127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10132 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10136 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10138 wxPyEndAllowThreads(__tstate
);
10139 if (PyErr_Occurred()) SWIG_fail
;
10141 Py_INCREF(Py_None
); resultobj
= Py_None
;
10148 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10149 PyObject
*resultobj
;
10150 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10153 PyObject
* obj0
= 0 ;
10154 PyObject
* obj1
= 0 ;
10155 PyObject
* obj2
= 0 ;
10156 char *kwnames
[] = {
10157 (char *) "self",(char *) "x",(char *) "y", NULL
10160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10163 arg2
= (int) SWIG_AsInt(obj1
);
10164 if (PyErr_Occurred()) SWIG_fail
;
10165 arg3
= (int) SWIG_AsInt(obj2
);
10166 if (PyErr_Occurred()) SWIG_fail
;
10168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10169 (arg1
)->SetMargins(arg2
,arg3
);
10171 wxPyEndAllowThreads(__tstate
);
10172 if (PyErr_Occurred()) SWIG_fail
;
10174 Py_INCREF(Py_None
); resultobj
= Py_None
;
10181 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10182 PyObject
*resultobj
;
10183 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10184 wxColour
*arg2
= 0 ;
10186 PyObject
* obj0
= 0 ;
10187 PyObject
* obj1
= 0 ;
10188 char *kwnames
[] = {
10189 (char *) "self",(char *) "col", NULL
10192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10197 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10201 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10206 Py_INCREF(Py_None
); resultobj
= Py_None
;
10213 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10216 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10218 return Py_BuildValue((char *)"");
10220 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10221 PyObject
*resultobj
;
10222 wxWindow
*arg1
= (wxWindow
*) 0 ;
10223 int arg2
= (int) wxID_ANY
;
10224 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10225 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10226 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10227 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10228 long arg5
= (long) 0 ;
10229 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10230 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10231 wxPyHtmlListBox
*result
;
10234 bool temp6
= False
;
10235 PyObject
* obj0
= 0 ;
10236 PyObject
* obj1
= 0 ;
10237 PyObject
* obj2
= 0 ;
10238 PyObject
* obj3
= 0 ;
10239 PyObject
* obj4
= 0 ;
10240 PyObject
* obj5
= 0 ;
10241 char *kwnames
[] = {
10242 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10249 arg2
= (int) SWIG_AsInt(obj1
);
10250 if (PyErr_Occurred()) SWIG_fail
;
10255 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10261 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10265 arg5
= (long) SWIG_AsLong(obj4
);
10266 if (PyErr_Occurred()) SWIG_fail
;
10270 arg6
= wxString_in_helper(obj5
);
10271 if (arg6
== NULL
) SWIG_fail
;
10276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10277 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10279 wxPyEndAllowThreads(__tstate
);
10280 if (PyErr_Occurred()) SWIG_fail
;
10282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10297 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10298 PyObject
*resultobj
;
10299 wxPyHtmlListBox
*result
;
10300 char *kwnames
[] = {
10304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10307 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10309 wxPyEndAllowThreads(__tstate
);
10310 if (PyErr_Occurred()) SWIG_fail
;
10312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10319 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10320 PyObject
*resultobj
;
10321 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10322 PyObject
*arg2
= (PyObject
*) 0 ;
10323 PyObject
*arg3
= (PyObject
*) 0 ;
10324 PyObject
* obj0
= 0 ;
10325 PyObject
* obj1
= 0 ;
10326 PyObject
* obj2
= 0 ;
10327 char *kwnames
[] = {
10328 (char *) "self",(char *) "self",(char *) "_class", NULL
10331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10338 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10340 wxPyEndAllowThreads(__tstate
);
10341 if (PyErr_Occurred()) SWIG_fail
;
10343 Py_INCREF(Py_None
); resultobj
= Py_None
;
10350 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
;
10352 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10353 wxWindow
*arg2
= (wxWindow
*) 0 ;
10354 int arg3
= (int) wxID_ANY
;
10355 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10356 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10357 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10358 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10359 long arg6
= (long) 0 ;
10360 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10361 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10365 bool temp7
= False
;
10366 PyObject
* obj0
= 0 ;
10367 PyObject
* obj1
= 0 ;
10368 PyObject
* obj2
= 0 ;
10369 PyObject
* obj3
= 0 ;
10370 PyObject
* obj4
= 0 ;
10371 PyObject
* obj5
= 0 ;
10372 PyObject
* obj6
= 0 ;
10373 char *kwnames
[] = {
10374 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10380 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10383 arg3
= (int) SWIG_AsInt(obj2
);
10384 if (PyErr_Occurred()) SWIG_fail
;
10389 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10395 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10399 arg6
= (long) SWIG_AsLong(obj5
);
10400 if (PyErr_Occurred()) SWIG_fail
;
10404 arg7
= wxString_in_helper(obj6
);
10405 if (arg7
== NULL
) SWIG_fail
;
10410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10411 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10413 wxPyEndAllowThreads(__tstate
);
10414 if (PyErr_Occurred()) SWIG_fail
;
10417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10433 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10434 PyObject
*resultobj
;
10435 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10436 PyObject
* obj0
= 0 ;
10437 char *kwnames
[] = {
10438 (char *) "self", NULL
10441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10446 (arg1
)->RefreshAll();
10448 wxPyEndAllowThreads(__tstate
);
10449 if (PyErr_Occurred()) SWIG_fail
;
10451 Py_INCREF(Py_None
); resultobj
= Py_None
;
10458 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10459 PyObject
*resultobj
;
10460 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10462 PyObject
* obj0
= 0 ;
10463 PyObject
* obj1
= 0 ;
10464 char *kwnames
[] = {
10465 (char *) "self",(char *) "count", NULL
10468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10471 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10472 if (PyErr_Occurred()) SWIG_fail
;
10474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10475 (arg1
)->SetItemCount(arg2
);
10477 wxPyEndAllowThreads(__tstate
);
10478 if (PyErr_Occurred()) SWIG_fail
;
10480 Py_INCREF(Py_None
); resultobj
= Py_None
;
10487 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10489 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10490 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10492 return Py_BuildValue((char *)"");
10494 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10495 PyObject
*resultobj
;
10496 wxTaskBarIcon
*result
;
10497 char *kwnames
[] = {
10501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10504 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10506 wxPyEndAllowThreads(__tstate
);
10507 if (PyErr_Occurred()) SWIG_fail
;
10509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10516 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10517 PyObject
*resultobj
;
10518 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10519 PyObject
* obj0
= 0 ;
10520 char *kwnames
[] = {
10521 (char *) "self", NULL
10524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10531 wxPyEndAllowThreads(__tstate
);
10532 if (PyErr_Occurred()) SWIG_fail
;
10534 Py_INCREF(Py_None
); resultobj
= Py_None
;
10541 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10542 PyObject
*resultobj
;
10543 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10545 PyObject
* obj0
= 0 ;
10546 char *kwnames
[] = {
10547 (char *) "self", NULL
10550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
10551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10555 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
10557 wxPyEndAllowThreads(__tstate
);
10558 if (PyErr_Occurred()) SWIG_fail
;
10561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10569 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10570 PyObject
*resultobj
;
10571 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10573 PyObject
* obj0
= 0 ;
10574 char *kwnames
[] = {
10575 (char *) "self", NULL
10578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
10579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10583 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
10585 wxPyEndAllowThreads(__tstate
);
10586 if (PyErr_Occurred()) SWIG_fail
;
10589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10597 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10598 PyObject
*resultobj
;
10599 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10601 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10602 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10604 bool temp3
= False
;
10605 PyObject
* obj0
= 0 ;
10606 PyObject
* obj1
= 0 ;
10607 PyObject
* obj2
= 0 ;
10608 char *kwnames
[] = {
10609 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
10616 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10618 if (arg2
== NULL
) {
10619 PyErr_SetString(PyExc_TypeError
,"null reference");
10624 arg3
= wxString_in_helper(obj2
);
10625 if (arg3
== NULL
) SWIG_fail
;
10630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10631 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
10633 wxPyEndAllowThreads(__tstate
);
10634 if (PyErr_Occurred()) SWIG_fail
;
10637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10653 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10654 PyObject
*resultobj
;
10655 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10657 PyObject
* obj0
= 0 ;
10658 char *kwnames
[] = {
10659 (char *) "self", NULL
10662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
10663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10667 result
= (bool)(arg1
)->RemoveIcon();
10669 wxPyEndAllowThreads(__tstate
);
10670 if (PyErr_Occurred()) SWIG_fail
;
10673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10681 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10682 PyObject
*resultobj
;
10683 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10684 wxMenu
*arg2
= (wxMenu
*) 0 ;
10686 PyObject
* obj0
= 0 ;
10687 PyObject
* obj1
= 0 ;
10688 char *kwnames
[] = {
10689 (char *) "self",(char *) "menu", NULL
10692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
10693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10695 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
10696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10699 result
= (bool)(arg1
)->PopupMenu(arg2
);
10701 wxPyEndAllowThreads(__tstate
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10713 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
10715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10716 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
10718 return Py_BuildValue((char *)"");
10720 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10721 PyObject
*resultobj
;
10723 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
10724 wxTaskBarIconEvent
*result
;
10725 PyObject
* obj0
= 0 ;
10726 PyObject
* obj1
= 0 ;
10727 char *kwnames
[] = {
10728 (char *) "evtType",(char *) "tbIcon", NULL
10731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10732 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10733 if (PyErr_Occurred()) SWIG_fail
;
10734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
10735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10738 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
10740 wxPyEndAllowThreads(__tstate
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
10750 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10752 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10753 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
10755 return Py_BuildValue((char *)"");
10757 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
10758 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
10763 static PyObject
*_wrap_FileSelectorPromptStr_get() {
10768 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10770 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10777 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
10778 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
10783 static PyObject
*_wrap_DirSelectorPromptStr_get() {
10788 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10790 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10797 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
10798 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
10803 static PyObject
*_wrap_DirDialogNameStr_get() {
10808 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10810 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10817 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
10818 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
10823 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
10828 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10830 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10837 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
10838 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
10843 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
10848 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10850 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10857 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
10858 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
10863 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
10868 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10870 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10877 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10878 PyObject
*resultobj
;
10879 wxColourData
*result
;
10880 char *kwnames
[] = {
10884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
10886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10887 result
= (wxColourData
*)new wxColourData();
10889 wxPyEndAllowThreads(__tstate
);
10890 if (PyErr_Occurred()) SWIG_fail
;
10892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
10899 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10900 PyObject
*resultobj
;
10901 wxColourData
*arg1
= (wxColourData
*) 0 ;
10902 PyObject
* obj0
= 0 ;
10903 char *kwnames
[] = {
10904 (char *) "self", NULL
10907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
10908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10914 wxPyEndAllowThreads(__tstate
);
10915 if (PyErr_Occurred()) SWIG_fail
;
10917 Py_INCREF(Py_None
); resultobj
= Py_None
;
10924 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10925 PyObject
*resultobj
;
10926 wxColourData
*arg1
= (wxColourData
*) 0 ;
10928 PyObject
* obj0
= 0 ;
10929 char *kwnames
[] = {
10930 (char *) "self", NULL
10933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
10934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10938 result
= (bool)(arg1
)->GetChooseFull();
10940 wxPyEndAllowThreads(__tstate
);
10941 if (PyErr_Occurred()) SWIG_fail
;
10944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10952 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10953 PyObject
*resultobj
;
10954 wxColourData
*arg1
= (wxColourData
*) 0 ;
10956 PyObject
* obj0
= 0 ;
10957 char *kwnames
[] = {
10958 (char *) "self", NULL
10961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
10962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10966 result
= (arg1
)->GetColour();
10968 wxPyEndAllowThreads(__tstate
);
10969 if (PyErr_Occurred()) SWIG_fail
;
10972 wxColour
* resultptr
;
10973 resultptr
= new wxColour((wxColour
&) result
);
10974 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10982 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10983 PyObject
*resultobj
;
10984 wxColourData
*arg1
= (wxColourData
*) 0 ;
10987 PyObject
* obj0
= 0 ;
10988 PyObject
* obj1
= 0 ;
10989 char *kwnames
[] = {
10990 (char *) "self",(char *) "i", NULL
10993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10996 arg2
= (int) SWIG_AsInt(obj1
);
10997 if (PyErr_Occurred()) SWIG_fail
;
10999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11000 result
= (arg1
)->GetCustomColour(arg2
);
11002 wxPyEndAllowThreads(__tstate
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11006 wxColour
* resultptr
;
11007 resultptr
= new wxColour((wxColour
&) result
);
11008 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11016 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11017 PyObject
*resultobj
;
11018 wxColourData
*arg1
= (wxColourData
*) 0 ;
11020 PyObject
* obj0
= 0 ;
11021 PyObject
* obj1
= 0 ;
11022 char *kwnames
[] = {
11023 (char *) "self",(char *) "flag", NULL
11026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11029 arg2
= (int) SWIG_AsInt(obj1
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11033 (arg1
)->SetChooseFull(arg2
);
11035 wxPyEndAllowThreads(__tstate
);
11036 if (PyErr_Occurred()) SWIG_fail
;
11038 Py_INCREF(Py_None
); resultobj
= Py_None
;
11045 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11046 PyObject
*resultobj
;
11047 wxColourData
*arg1
= (wxColourData
*) 0 ;
11048 wxColour
*arg2
= 0 ;
11050 PyObject
* obj0
= 0 ;
11051 PyObject
* obj1
= 0 ;
11052 char *kwnames
[] = {
11053 (char *) "self",(char *) "colour", NULL
11056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11061 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11065 (arg1
)->SetColour((wxColour
const &)*arg2
);
11067 wxPyEndAllowThreads(__tstate
);
11068 if (PyErr_Occurred()) SWIG_fail
;
11070 Py_INCREF(Py_None
); resultobj
= Py_None
;
11077 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11078 PyObject
*resultobj
;
11079 wxColourData
*arg1
= (wxColourData
*) 0 ;
11081 wxColour
*arg3
= 0 ;
11083 PyObject
* obj0
= 0 ;
11084 PyObject
* obj1
= 0 ;
11085 PyObject
* obj2
= 0 ;
11086 char *kwnames
[] = {
11087 (char *) "self",(char *) "i",(char *) "colour", NULL
11090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11093 arg2
= (int) SWIG_AsInt(obj1
);
11094 if (PyErr_Occurred()) SWIG_fail
;
11097 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11101 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11103 wxPyEndAllowThreads(__tstate
);
11104 if (PyErr_Occurred()) SWIG_fail
;
11106 Py_INCREF(Py_None
); resultobj
= Py_None
;
11113 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
11115 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11116 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11118 return Py_BuildValue((char *)"");
11120 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11121 PyObject
*resultobj
;
11122 wxWindow
*arg1
= (wxWindow
*) 0 ;
11123 wxColourData
*arg2
= (wxColourData
*) NULL
;
11124 wxColourDialog
*result
;
11125 PyObject
* obj0
= 0 ;
11126 PyObject
* obj1
= 0 ;
11127 char *kwnames
[] = {
11128 (char *) "parent",(char *) "data", NULL
11131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11135 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11140 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11142 wxPyEndAllowThreads(__tstate
);
11143 if (PyErr_Occurred()) SWIG_fail
;
11145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11152 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11153 PyObject
*resultobj
;
11154 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11155 wxColourData
*result
;
11156 PyObject
* obj0
= 0 ;
11157 char *kwnames
[] = {
11158 (char *) "self", NULL
11161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11167 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11168 result
= (wxColourData
*) &_result_ref
;
11171 wxPyEndAllowThreads(__tstate
);
11172 if (PyErr_Occurred()) SWIG_fail
;
11174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11181 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11184 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11186 return Py_BuildValue((char *)"");
11188 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11189 PyObject
*resultobj
;
11190 wxWindow
*arg1
= (wxWindow
*) 0 ;
11191 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11192 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11193 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11194 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11195 long arg4
= (long) 0 ;
11196 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11197 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11198 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11199 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11200 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11201 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11202 wxDirDialog
*result
;
11203 bool temp2
= False
;
11204 bool temp3
= False
;
11207 bool temp7
= False
;
11208 PyObject
* obj0
= 0 ;
11209 PyObject
* obj1
= 0 ;
11210 PyObject
* obj2
= 0 ;
11211 PyObject
* obj3
= 0 ;
11212 PyObject
* obj4
= 0 ;
11213 PyObject
* obj5
= 0 ;
11214 PyObject
* obj6
= 0 ;
11215 char *kwnames
[] = {
11216 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11224 arg2
= wxString_in_helper(obj1
);
11225 if (arg2
== NULL
) SWIG_fail
;
11231 arg3
= wxString_in_helper(obj2
);
11232 if (arg3
== NULL
) SWIG_fail
;
11237 arg4
= (long) SWIG_AsLong(obj3
);
11238 if (PyErr_Occurred()) SWIG_fail
;
11243 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11249 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11254 arg7
= wxString_in_helper(obj6
);
11255 if (arg7
== NULL
) SWIG_fail
;
11260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11261 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11263 wxPyEndAllowThreads(__tstate
);
11264 if (PyErr_Occurred()) SWIG_fail
;
11266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11297 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11298 PyObject
*resultobj
;
11299 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11301 PyObject
* obj0
= 0 ;
11302 char *kwnames
[] = {
11303 (char *) "self", NULL
11306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11311 result
= (arg1
)->GetPath();
11313 wxPyEndAllowThreads(__tstate
);
11314 if (PyErr_Occurred()) SWIG_fail
;
11318 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11320 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11329 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11330 PyObject
*resultobj
;
11331 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11333 PyObject
* obj0
= 0 ;
11334 char *kwnames
[] = {
11335 (char *) "self", NULL
11338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11343 result
= (arg1
)->GetMessage();
11345 wxPyEndAllowThreads(__tstate
);
11346 if (PyErr_Occurred()) SWIG_fail
;
11350 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11352 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11361 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11362 PyObject
*resultobj
;
11363 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11365 PyObject
* obj0
= 0 ;
11366 char *kwnames
[] = {
11367 (char *) "self", NULL
11370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11375 result
= (long)(arg1
)->GetStyle();
11377 wxPyEndAllowThreads(__tstate
);
11378 if (PyErr_Occurred()) SWIG_fail
;
11380 resultobj
= SWIG_FromLong((long)result
);
11387 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11388 PyObject
*resultobj
;
11389 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11390 wxString
*arg2
= 0 ;
11391 bool temp2
= False
;
11392 PyObject
* obj0
= 0 ;
11393 PyObject
* obj1
= 0 ;
11394 char *kwnames
[] = {
11395 (char *) "self",(char *) "message", NULL
11398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11402 arg2
= wxString_in_helper(obj1
);
11403 if (arg2
== NULL
) SWIG_fail
;
11407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11408 (arg1
)->SetMessage((wxString
const &)*arg2
);
11410 wxPyEndAllowThreads(__tstate
);
11411 if (PyErr_Occurred()) SWIG_fail
;
11413 Py_INCREF(Py_None
); resultobj
= Py_None
;
11428 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11429 PyObject
*resultobj
;
11430 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11431 wxString
*arg2
= 0 ;
11432 bool temp2
= False
;
11433 PyObject
* obj0
= 0 ;
11434 PyObject
* obj1
= 0 ;
11435 char *kwnames
[] = {
11436 (char *) "self",(char *) "path", NULL
11439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11443 arg2
= wxString_in_helper(obj1
);
11444 if (arg2
== NULL
) SWIG_fail
;
11448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11449 (arg1
)->SetPath((wxString
const &)*arg2
);
11451 wxPyEndAllowThreads(__tstate
);
11452 if (PyErr_Occurred()) SWIG_fail
;
11454 Py_INCREF(Py_None
); resultobj
= Py_None
;
11469 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11472 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11474 return Py_BuildValue((char *)"");
11476 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11477 PyObject
*resultobj
;
11478 wxWindow
*arg1
= (wxWindow
*) 0 ;
11479 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11480 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11481 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11482 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11483 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11484 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11485 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11486 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11487 long arg6
= (long) 0 ;
11488 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11489 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11490 wxFileDialog
*result
;
11491 bool temp2
= False
;
11492 bool temp3
= False
;
11493 bool temp4
= False
;
11494 bool temp5
= False
;
11496 PyObject
* obj0
= 0 ;
11497 PyObject
* obj1
= 0 ;
11498 PyObject
* obj2
= 0 ;
11499 PyObject
* obj3
= 0 ;
11500 PyObject
* obj4
= 0 ;
11501 PyObject
* obj5
= 0 ;
11502 PyObject
* obj6
= 0 ;
11503 char *kwnames
[] = {
11504 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11512 arg2
= wxString_in_helper(obj1
);
11513 if (arg2
== NULL
) SWIG_fail
;
11519 arg3
= wxString_in_helper(obj2
);
11520 if (arg3
== NULL
) SWIG_fail
;
11526 arg4
= wxString_in_helper(obj3
);
11527 if (arg4
== NULL
) SWIG_fail
;
11533 arg5
= wxString_in_helper(obj4
);
11534 if (arg5
== NULL
) SWIG_fail
;
11539 arg6
= (long) SWIG_AsLong(obj5
);
11540 if (PyErr_Occurred()) SWIG_fail
;
11545 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11550 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11552 wxPyEndAllowThreads(__tstate
);
11553 if (PyErr_Occurred()) SWIG_fail
;
11555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11594 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11595 PyObject
*resultobj
;
11596 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11597 wxString
*arg2
= 0 ;
11598 bool temp2
= False
;
11599 PyObject
* obj0
= 0 ;
11600 PyObject
* obj1
= 0 ;
11601 char *kwnames
[] = {
11602 (char *) "self",(char *) "message", NULL
11605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11609 arg2
= wxString_in_helper(obj1
);
11610 if (arg2
== NULL
) SWIG_fail
;
11614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11615 (arg1
)->SetMessage((wxString
const &)*arg2
);
11617 wxPyEndAllowThreads(__tstate
);
11618 if (PyErr_Occurred()) SWIG_fail
;
11620 Py_INCREF(Py_None
); resultobj
= Py_None
;
11635 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11636 PyObject
*resultobj
;
11637 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11638 wxString
*arg2
= 0 ;
11639 bool temp2
= False
;
11640 PyObject
* obj0
= 0 ;
11641 PyObject
* obj1
= 0 ;
11642 char *kwnames
[] = {
11643 (char *) "self",(char *) "path", NULL
11646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11650 arg2
= wxString_in_helper(obj1
);
11651 if (arg2
== NULL
) SWIG_fail
;
11655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11656 (arg1
)->SetPath((wxString
const &)*arg2
);
11658 wxPyEndAllowThreads(__tstate
);
11659 if (PyErr_Occurred()) SWIG_fail
;
11661 Py_INCREF(Py_None
); resultobj
= Py_None
;
11676 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11677 PyObject
*resultobj
;
11678 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11679 wxString
*arg2
= 0 ;
11680 bool temp2
= False
;
11681 PyObject
* obj0
= 0 ;
11682 PyObject
* obj1
= 0 ;
11683 char *kwnames
[] = {
11684 (char *) "self",(char *) "dir", NULL
11687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
11688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11691 arg2
= wxString_in_helper(obj1
);
11692 if (arg2
== NULL
) SWIG_fail
;
11696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11697 (arg1
)->SetDirectory((wxString
const &)*arg2
);
11699 wxPyEndAllowThreads(__tstate
);
11700 if (PyErr_Occurred()) SWIG_fail
;
11702 Py_INCREF(Py_None
); resultobj
= Py_None
;
11717 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11718 PyObject
*resultobj
;
11719 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11720 wxString
*arg2
= 0 ;
11721 bool temp2
= False
;
11722 PyObject
* obj0
= 0 ;
11723 PyObject
* obj1
= 0 ;
11724 char *kwnames
[] = {
11725 (char *) "self",(char *) "name", NULL
11728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11732 arg2
= wxString_in_helper(obj1
);
11733 if (arg2
== NULL
) SWIG_fail
;
11737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11738 (arg1
)->SetFilename((wxString
const &)*arg2
);
11740 wxPyEndAllowThreads(__tstate
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11743 Py_INCREF(Py_None
); resultobj
= Py_None
;
11758 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11759 PyObject
*resultobj
;
11760 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11761 wxString
*arg2
= 0 ;
11762 bool temp2
= False
;
11763 PyObject
* obj0
= 0 ;
11764 PyObject
* obj1
= 0 ;
11765 char *kwnames
[] = {
11766 (char *) "self",(char *) "wildCard", NULL
11769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
11770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11773 arg2
= wxString_in_helper(obj1
);
11774 if (arg2
== NULL
) SWIG_fail
;
11778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11779 (arg1
)->SetWildcard((wxString
const &)*arg2
);
11781 wxPyEndAllowThreads(__tstate
);
11782 if (PyErr_Occurred()) SWIG_fail
;
11784 Py_INCREF(Py_None
); resultobj
= Py_None
;
11799 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11800 PyObject
*resultobj
;
11801 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11803 PyObject
* obj0
= 0 ;
11804 PyObject
* obj1
= 0 ;
11805 char *kwnames
[] = {
11806 (char *) "self",(char *) "style", NULL
11809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11812 arg2
= (long) SWIG_AsLong(obj1
);
11813 if (PyErr_Occurred()) SWIG_fail
;
11815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11816 (arg1
)->SetStyle(arg2
);
11818 wxPyEndAllowThreads(__tstate
);
11819 if (PyErr_Occurred()) SWIG_fail
;
11821 Py_INCREF(Py_None
); resultobj
= Py_None
;
11828 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11829 PyObject
*resultobj
;
11830 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11832 PyObject
* obj0
= 0 ;
11833 PyObject
* obj1
= 0 ;
11834 char *kwnames
[] = {
11835 (char *) "self",(char *) "filterIndex", NULL
11838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
11839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11841 arg2
= (int) SWIG_AsInt(obj1
);
11842 if (PyErr_Occurred()) SWIG_fail
;
11844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11845 (arg1
)->SetFilterIndex(arg2
);
11847 wxPyEndAllowThreads(__tstate
);
11848 if (PyErr_Occurred()) SWIG_fail
;
11850 Py_INCREF(Py_None
); resultobj
= Py_None
;
11857 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11858 PyObject
*resultobj
;
11859 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11861 PyObject
* obj0
= 0 ;
11862 char *kwnames
[] = {
11863 (char *) "self", NULL
11866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11871 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
11873 wxPyEndAllowThreads(__tstate
);
11874 if (PyErr_Occurred()) SWIG_fail
;
11878 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11880 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11889 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11890 PyObject
*resultobj
;
11891 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11893 PyObject
* obj0
= 0 ;
11894 char *kwnames
[] = {
11895 (char *) "self", NULL
11898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11903 result
= ((wxFileDialog
const *)arg1
)->GetPath();
11905 wxPyEndAllowThreads(__tstate
);
11906 if (PyErr_Occurred()) SWIG_fail
;
11910 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11912 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11921 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11922 PyObject
*resultobj
;
11923 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11925 PyObject
* obj0
= 0 ;
11926 char *kwnames
[] = {
11927 (char *) "self", NULL
11930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
11931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11935 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
11937 wxPyEndAllowThreads(__tstate
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11942 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11944 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11953 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11954 PyObject
*resultobj
;
11955 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11957 PyObject
* obj0
= 0 ;
11958 char *kwnames
[] = {
11959 (char *) "self", NULL
11962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
11963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11967 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
11969 wxPyEndAllowThreads(__tstate
);
11970 if (PyErr_Occurred()) SWIG_fail
;
11974 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11976 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11985 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11986 PyObject
*resultobj
;
11987 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11989 PyObject
* obj0
= 0 ;
11990 char *kwnames
[] = {
11991 (char *) "self", NULL
11994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
11995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11999 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12001 wxPyEndAllowThreads(__tstate
);
12002 if (PyErr_Occurred()) SWIG_fail
;
12006 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12008 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12017 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12018 PyObject
*resultobj
;
12019 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12021 PyObject
* obj0
= 0 ;
12022 char *kwnames
[] = {
12023 (char *) "self", NULL
12026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12031 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12033 wxPyEndAllowThreads(__tstate
);
12034 if (PyErr_Occurred()) SWIG_fail
;
12036 resultobj
= SWIG_FromLong((long)result
);
12043 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12044 PyObject
*resultobj
;
12045 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12047 PyObject
* obj0
= 0 ;
12048 char *kwnames
[] = {
12049 (char *) "self", NULL
12052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12057 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12059 wxPyEndAllowThreads(__tstate
);
12060 if (PyErr_Occurred()) SWIG_fail
;
12062 resultobj
= SWIG_FromInt((int)result
);
12069 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12070 PyObject
*resultobj
;
12071 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12073 PyObject
* obj0
= 0 ;
12074 char *kwnames
[] = {
12075 (char *) "self", NULL
12078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12083 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12085 wxPyEndAllowThreads(__tstate
);
12086 if (PyErr_Occurred()) SWIG_fail
;
12088 resultobj
= result
;
12095 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12096 PyObject
*resultobj
;
12097 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12099 PyObject
* obj0
= 0 ;
12100 char *kwnames
[] = {
12101 (char *) "self", NULL
12104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12109 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12111 wxPyEndAllowThreads(__tstate
);
12112 if (PyErr_Occurred()) SWIG_fail
;
12114 resultobj
= result
;
12121 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12124 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12126 return Py_BuildValue((char *)"");
12128 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12129 PyObject
*resultobj
;
12130 wxWindow
*arg1
= (wxWindow
*) 0 ;
12131 wxString
*arg2
= 0 ;
12132 wxString
*arg3
= 0 ;
12133 int arg4
= (int) 0 ;
12134 wxString
*arg5
= (wxString
*) 0 ;
12135 long arg6
= (long) wxCHOICEDLG_STYLE
;
12136 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12137 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12138 wxMultiChoiceDialog
*result
;
12139 bool temp2
= False
;
12140 bool temp3
= False
;
12142 PyObject
* obj0
= 0 ;
12143 PyObject
* obj1
= 0 ;
12144 PyObject
* obj2
= 0 ;
12145 PyObject
* obj3
= 0 ;
12146 PyObject
* obj4
= 0 ;
12147 PyObject
* obj5
= 0 ;
12148 char *kwnames
[] = {
12149 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12156 arg2
= wxString_in_helper(obj1
);
12157 if (arg2
== NULL
) SWIG_fail
;
12161 arg3
= wxString_in_helper(obj2
);
12162 if (arg3
== NULL
) SWIG_fail
;
12167 arg4
= PyList_Size(obj3
);
12168 arg5
= wxString_LIST_helper(obj3
);
12169 if (arg5
== NULL
) SWIG_fail
;
12173 arg6
= (long) SWIG_AsLong(obj4
);
12174 if (PyErr_Occurred()) SWIG_fail
;
12179 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12184 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12186 wxPyEndAllowThreads(__tstate
);
12187 if (PyErr_Occurred()) SWIG_fail
;
12189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12199 if (arg5
) delete [] arg5
;
12212 if (arg5
) delete [] arg5
;
12218 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12219 PyObject
*resultobj
;
12220 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12221 wxArrayInt
*arg2
= 0 ;
12222 bool temp2
= False
;
12223 PyObject
* obj0
= 0 ;
12224 PyObject
* obj1
= 0 ;
12225 char *kwnames
[] = {
12226 (char *) "self",(char *) "selections", NULL
12229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12233 if (! PySequence_Check(obj1
)) {
12234 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12237 arg2
= new wxArrayInt
;
12239 int i
, len
=PySequence_Length(obj1
);
12240 for (i
=0; i
<len
; i
++) {
12241 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12242 PyObject
* number
= PyNumber_Int(item
);
12243 arg2
->Add(PyInt_AS_LONG(number
));
12249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12250 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12252 wxPyEndAllowThreads(__tstate
);
12253 if (PyErr_Occurred()) SWIG_fail
;
12255 Py_INCREF(Py_None
); resultobj
= Py_None
;
12257 if (temp2
) delete arg2
;
12262 if (temp2
) delete arg2
;
12268 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12269 PyObject
*resultobj
;
12270 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12272 PyObject
* obj0
= 0 ;
12273 char *kwnames
[] = {
12274 (char *) "self", NULL
12277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12282 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12284 wxPyEndAllowThreads(__tstate
);
12285 if (PyErr_Occurred()) SWIG_fail
;
12287 resultobj
= result
;
12294 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12296 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12297 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12299 return Py_BuildValue((char *)"");
12301 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12302 PyObject
*resultobj
;
12303 wxWindow
*arg1
= (wxWindow
*) 0 ;
12304 wxString
*arg2
= 0 ;
12305 wxString
*arg3
= 0 ;
12307 wxString
*arg5
= (wxString
*) 0 ;
12308 long arg6
= (long) wxCHOICEDLG_STYLE
;
12309 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12310 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12311 wxSingleChoiceDialog
*result
;
12312 bool temp2
= False
;
12313 bool temp3
= False
;
12315 PyObject
* obj0
= 0 ;
12316 PyObject
* obj1
= 0 ;
12317 PyObject
* obj2
= 0 ;
12318 PyObject
* obj3
= 0 ;
12319 PyObject
* obj4
= 0 ;
12320 PyObject
* obj5
= 0 ;
12321 char *kwnames
[] = {
12322 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12329 arg2
= wxString_in_helper(obj1
);
12330 if (arg2
== NULL
) SWIG_fail
;
12334 arg3
= wxString_in_helper(obj2
);
12335 if (arg3
== NULL
) SWIG_fail
;
12339 arg4
= PyList_Size(obj3
);
12340 arg5
= wxString_LIST_helper(obj3
);
12341 if (arg5
== NULL
) SWIG_fail
;
12344 arg6
= (long) SWIG_AsLong(obj4
);
12345 if (PyErr_Occurred()) SWIG_fail
;
12350 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12355 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12357 wxPyEndAllowThreads(__tstate
);
12358 if (PyErr_Occurred()) SWIG_fail
;
12360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12370 if (arg5
) delete [] arg5
;
12383 if (arg5
) delete [] arg5
;
12389 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12390 PyObject
*resultobj
;
12391 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12393 PyObject
* obj0
= 0 ;
12394 char *kwnames
[] = {
12395 (char *) "self", NULL
12398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12403 result
= (int)(arg1
)->GetSelection();
12405 wxPyEndAllowThreads(__tstate
);
12406 if (PyErr_Occurred()) SWIG_fail
;
12408 resultobj
= SWIG_FromInt((int)result
);
12415 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12416 PyObject
*resultobj
;
12417 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12419 PyObject
* obj0
= 0 ;
12420 char *kwnames
[] = {
12421 (char *) "self", NULL
12424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12429 result
= (arg1
)->GetStringSelection();
12431 wxPyEndAllowThreads(__tstate
);
12432 if (PyErr_Occurred()) SWIG_fail
;
12436 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12438 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12447 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12448 PyObject
*resultobj
;
12449 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12451 PyObject
* obj0
= 0 ;
12452 PyObject
* obj1
= 0 ;
12453 char *kwnames
[] = {
12454 (char *) "self",(char *) "sel", NULL
12457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12460 arg2
= (int) SWIG_AsInt(obj1
);
12461 if (PyErr_Occurred()) SWIG_fail
;
12463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 (arg1
)->SetSelection(arg2
);
12466 wxPyEndAllowThreads(__tstate
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12469 Py_INCREF(Py_None
); resultobj
= Py_None
;
12476 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12478 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12479 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12481 return Py_BuildValue((char *)"");
12483 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12484 PyObject
*resultobj
;
12485 wxWindow
*arg1
= (wxWindow
*) 0 ;
12486 wxString
*arg2
= 0 ;
12487 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12488 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12489 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12490 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12491 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12492 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12493 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12494 wxTextEntryDialog
*result
;
12495 bool temp2
= False
;
12496 bool temp3
= False
;
12497 bool temp4
= False
;
12499 PyObject
* obj0
= 0 ;
12500 PyObject
* obj1
= 0 ;
12501 PyObject
* obj2
= 0 ;
12502 PyObject
* obj3
= 0 ;
12503 PyObject
* obj4
= 0 ;
12504 PyObject
* obj5
= 0 ;
12505 char *kwnames
[] = {
12506 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12513 arg2
= wxString_in_helper(obj1
);
12514 if (arg2
== NULL
) SWIG_fail
;
12519 arg3
= wxString_in_helper(obj2
);
12520 if (arg3
== NULL
) SWIG_fail
;
12526 arg4
= wxString_in_helper(obj3
);
12527 if (arg4
== NULL
) SWIG_fail
;
12532 arg5
= (long) SWIG_AsLong(obj4
);
12533 if (PyErr_Occurred()) SWIG_fail
;
12538 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12543 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12545 wxPyEndAllowThreads(__tstate
);
12546 if (PyErr_Occurred()) SWIG_fail
;
12548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12579 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12580 PyObject
*resultobj
;
12581 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12583 PyObject
* obj0
= 0 ;
12584 char *kwnames
[] = {
12585 (char *) "self", NULL
12588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12593 result
= (arg1
)->GetValue();
12595 wxPyEndAllowThreads(__tstate
);
12596 if (PyErr_Occurred()) SWIG_fail
;
12600 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12602 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12611 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12612 PyObject
*resultobj
;
12613 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12614 wxString
*arg2
= 0 ;
12615 bool temp2
= False
;
12616 PyObject
* obj0
= 0 ;
12617 PyObject
* obj1
= 0 ;
12618 char *kwnames
[] = {
12619 (char *) "self",(char *) "value", NULL
12622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12626 arg2
= wxString_in_helper(obj1
);
12627 if (arg2
== NULL
) SWIG_fail
;
12631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12632 (arg1
)->SetValue((wxString
const &)*arg2
);
12634 wxPyEndAllowThreads(__tstate
);
12635 if (PyErr_Occurred()) SWIG_fail
;
12637 Py_INCREF(Py_None
); resultobj
= Py_None
;
12652 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12654 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12655 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12657 return Py_BuildValue((char *)"");
12659 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12660 PyObject
*resultobj
;
12661 wxFontData
*result
;
12662 char *kwnames
[] = {
12666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
12668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12669 result
= (wxFontData
*)new wxFontData();
12671 wxPyEndAllowThreads(__tstate
);
12672 if (PyErr_Occurred()) SWIG_fail
;
12674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
12681 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12682 PyObject
*resultobj
;
12683 wxFontData
*arg1
= (wxFontData
*) 0 ;
12684 PyObject
* obj0
= 0 ;
12685 char *kwnames
[] = {
12686 (char *) "self", NULL
12689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
12690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12696 wxPyEndAllowThreads(__tstate
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12699 Py_INCREF(Py_None
); resultobj
= Py_None
;
12706 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12707 PyObject
*resultobj
;
12708 wxFontData
*arg1
= (wxFontData
*) 0 ;
12710 PyObject
* obj0
= 0 ;
12711 PyObject
* obj1
= 0 ;
12712 char *kwnames
[] = {
12713 (char *) "self",(char *) "enable", NULL
12716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
12717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12719 arg2
= (bool) SWIG_AsBool(obj1
);
12720 if (PyErr_Occurred()) SWIG_fail
;
12722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12723 (arg1
)->EnableEffects(arg2
);
12725 wxPyEndAllowThreads(__tstate
);
12726 if (PyErr_Occurred()) SWIG_fail
;
12728 Py_INCREF(Py_None
); resultobj
= Py_None
;
12735 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12736 PyObject
*resultobj
;
12737 wxFontData
*arg1
= (wxFontData
*) 0 ;
12739 PyObject
* obj0
= 0 ;
12740 char *kwnames
[] = {
12741 (char *) "self", NULL
12744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
12745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12749 result
= (bool)(arg1
)->GetAllowSymbols();
12751 wxPyEndAllowThreads(__tstate
);
12752 if (PyErr_Occurred()) SWIG_fail
;
12755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12763 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12764 PyObject
*resultobj
;
12765 wxFontData
*arg1
= (wxFontData
*) 0 ;
12767 PyObject
* obj0
= 0 ;
12768 char *kwnames
[] = {
12769 (char *) "self", NULL
12772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
12773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12777 result
= (arg1
)->GetColour();
12779 wxPyEndAllowThreads(__tstate
);
12780 if (PyErr_Occurred()) SWIG_fail
;
12783 wxColour
* resultptr
;
12784 resultptr
= new wxColour((wxColour
&) result
);
12785 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12793 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12794 PyObject
*resultobj
;
12795 wxFontData
*arg1
= (wxFontData
*) 0 ;
12797 PyObject
* obj0
= 0 ;
12798 char *kwnames
[] = {
12799 (char *) "self", NULL
12802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
12803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12807 result
= (arg1
)->GetChosenFont();
12809 wxPyEndAllowThreads(__tstate
);
12810 if (PyErr_Occurred()) SWIG_fail
;
12813 wxFont
* resultptr
;
12814 resultptr
= new wxFont((wxFont
&) result
);
12815 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12823 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12824 PyObject
*resultobj
;
12825 wxFontData
*arg1
= (wxFontData
*) 0 ;
12827 PyObject
* obj0
= 0 ;
12828 char *kwnames
[] = {
12829 (char *) "self", NULL
12832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
12833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12837 result
= (bool)(arg1
)->GetEnableEffects();
12839 wxPyEndAllowThreads(__tstate
);
12840 if (PyErr_Occurred()) SWIG_fail
;
12843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12851 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12852 PyObject
*resultobj
;
12853 wxFontData
*arg1
= (wxFontData
*) 0 ;
12855 PyObject
* obj0
= 0 ;
12856 char *kwnames
[] = {
12857 (char *) "self", NULL
12860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
12861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12865 result
= (arg1
)->GetInitialFont();
12867 wxPyEndAllowThreads(__tstate
);
12868 if (PyErr_Occurred()) SWIG_fail
;
12871 wxFont
* resultptr
;
12872 resultptr
= new wxFont((wxFont
&) result
);
12873 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12881 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12882 PyObject
*resultobj
;
12883 wxFontData
*arg1
= (wxFontData
*) 0 ;
12885 PyObject
* obj0
= 0 ;
12886 char *kwnames
[] = {
12887 (char *) "self", NULL
12890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
12891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12895 result
= (bool)(arg1
)->GetShowHelp();
12897 wxPyEndAllowThreads(__tstate
);
12898 if (PyErr_Occurred()) SWIG_fail
;
12901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12909 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12910 PyObject
*resultobj
;
12911 wxFontData
*arg1
= (wxFontData
*) 0 ;
12913 PyObject
* obj0
= 0 ;
12914 PyObject
* obj1
= 0 ;
12915 char *kwnames
[] = {
12916 (char *) "self",(char *) "allowSymbols", NULL
12919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
12920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12922 arg2
= (bool) SWIG_AsBool(obj1
);
12923 if (PyErr_Occurred()) SWIG_fail
;
12925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12926 (arg1
)->SetAllowSymbols(arg2
);
12928 wxPyEndAllowThreads(__tstate
);
12929 if (PyErr_Occurred()) SWIG_fail
;
12931 Py_INCREF(Py_None
); resultobj
= Py_None
;
12938 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12939 PyObject
*resultobj
;
12940 wxFontData
*arg1
= (wxFontData
*) 0 ;
12942 PyObject
* obj0
= 0 ;
12943 PyObject
* obj1
= 0 ;
12944 char *kwnames
[] = {
12945 (char *) "self",(char *) "font", NULL
12948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12951 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12952 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12954 if (arg2
== NULL
) {
12955 PyErr_SetString(PyExc_TypeError
,"null reference");
12959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12960 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
12962 wxPyEndAllowThreads(__tstate
);
12963 if (PyErr_Occurred()) SWIG_fail
;
12965 Py_INCREF(Py_None
); resultobj
= Py_None
;
12972 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12973 PyObject
*resultobj
;
12974 wxFontData
*arg1
= (wxFontData
*) 0 ;
12975 wxColour
*arg2
= 0 ;
12977 PyObject
* obj0
= 0 ;
12978 PyObject
* obj1
= 0 ;
12979 char *kwnames
[] = {
12980 (char *) "self",(char *) "colour", NULL
12983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12988 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12992 (arg1
)->SetColour((wxColour
const &)*arg2
);
12994 wxPyEndAllowThreads(__tstate
);
12995 if (PyErr_Occurred()) SWIG_fail
;
12997 Py_INCREF(Py_None
); resultobj
= Py_None
;
13004 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13005 PyObject
*resultobj
;
13006 wxFontData
*arg1
= (wxFontData
*) 0 ;
13008 PyObject
* obj0
= 0 ;
13009 PyObject
* obj1
= 0 ;
13010 char *kwnames
[] = {
13011 (char *) "self",(char *) "font", NULL
13014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13017 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13018 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13020 if (arg2
== NULL
) {
13021 PyErr_SetString(PyExc_TypeError
,"null reference");
13025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13026 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13028 wxPyEndAllowThreads(__tstate
);
13029 if (PyErr_Occurred()) SWIG_fail
;
13031 Py_INCREF(Py_None
); resultobj
= Py_None
;
13038 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13039 PyObject
*resultobj
;
13040 wxFontData
*arg1
= (wxFontData
*) 0 ;
13043 PyObject
* obj0
= 0 ;
13044 PyObject
* obj1
= 0 ;
13045 PyObject
* obj2
= 0 ;
13046 char *kwnames
[] = {
13047 (char *) "self",(char *) "min",(char *) "max", NULL
13050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13053 arg2
= (int) SWIG_AsInt(obj1
);
13054 if (PyErr_Occurred()) SWIG_fail
;
13055 arg3
= (int) SWIG_AsInt(obj2
);
13056 if (PyErr_Occurred()) SWIG_fail
;
13058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13059 (arg1
)->SetRange(arg2
,arg3
);
13061 wxPyEndAllowThreads(__tstate
);
13062 if (PyErr_Occurred()) SWIG_fail
;
13064 Py_INCREF(Py_None
); resultobj
= Py_None
;
13071 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13072 PyObject
*resultobj
;
13073 wxFontData
*arg1
= (wxFontData
*) 0 ;
13075 PyObject
* obj0
= 0 ;
13076 PyObject
* obj1
= 0 ;
13077 char *kwnames
[] = {
13078 (char *) "self",(char *) "showHelp", NULL
13081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13084 arg2
= (bool) SWIG_AsBool(obj1
);
13085 if (PyErr_Occurred()) SWIG_fail
;
13087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13088 (arg1
)->SetShowHelp(arg2
);
13090 wxPyEndAllowThreads(__tstate
);
13091 if (PyErr_Occurred()) SWIG_fail
;
13093 Py_INCREF(Py_None
); resultobj
= Py_None
;
13100 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
13102 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13103 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13105 return Py_BuildValue((char *)"");
13107 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13108 PyObject
*resultobj
;
13109 wxWindow
*arg1
= (wxWindow
*) 0 ;
13110 wxFontData
*arg2
= 0 ;
13111 wxFontDialog
*result
;
13112 PyObject
* obj0
= 0 ;
13113 PyObject
* obj1
= 0 ;
13114 char *kwnames
[] = {
13115 (char *) "parent",(char *) "data", NULL
13118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13121 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13122 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13124 if (arg2
== NULL
) {
13125 PyErr_SetString(PyExc_TypeError
,"null reference");
13129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13130 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13132 wxPyEndAllowThreads(__tstate
);
13133 if (PyErr_Occurred()) SWIG_fail
;
13135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13142 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13143 PyObject
*resultobj
;
13144 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13145 wxFontData
*result
;
13146 PyObject
* obj0
= 0 ;
13147 char *kwnames
[] = {
13148 (char *) "self", NULL
13151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13157 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13158 result
= (wxFontData
*) &_result_ref
;
13161 wxPyEndAllowThreads(__tstate
);
13162 if (PyErr_Occurred()) SWIG_fail
;
13164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13171 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13173 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13174 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13176 return Py_BuildValue((char *)"");
13178 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13179 PyObject
*resultobj
;
13180 wxWindow
*arg1
= (wxWindow
*) 0 ;
13181 wxString
*arg2
= 0 ;
13182 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13183 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13184 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13185 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13186 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13187 wxMessageDialog
*result
;
13188 bool temp2
= False
;
13189 bool temp3
= False
;
13191 PyObject
* obj0
= 0 ;
13192 PyObject
* obj1
= 0 ;
13193 PyObject
* obj2
= 0 ;
13194 PyObject
* obj3
= 0 ;
13195 PyObject
* obj4
= 0 ;
13196 char *kwnames
[] = {
13197 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13204 arg2
= wxString_in_helper(obj1
);
13205 if (arg2
== NULL
) SWIG_fail
;
13210 arg3
= wxString_in_helper(obj2
);
13211 if (arg3
== NULL
) SWIG_fail
;
13216 arg4
= (long) SWIG_AsLong(obj3
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13222 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13227 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13229 wxPyEndAllowThreads(__tstate
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13255 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13258 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13260 return Py_BuildValue((char *)"");
13262 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13263 PyObject
*resultobj
;
13264 wxString
*arg1
= 0 ;
13265 wxString
*arg2
= 0 ;
13266 int arg3
= (int) 100 ;
13267 wxWindow
*arg4
= (wxWindow
*) NULL
;
13268 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13269 wxProgressDialog
*result
;
13270 bool temp1
= False
;
13271 bool temp2
= False
;
13272 PyObject
* obj0
= 0 ;
13273 PyObject
* obj1
= 0 ;
13274 PyObject
* obj2
= 0 ;
13275 PyObject
* obj3
= 0 ;
13276 PyObject
* obj4
= 0 ;
13277 char *kwnames
[] = {
13278 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13283 arg1
= wxString_in_helper(obj0
);
13284 if (arg1
== NULL
) SWIG_fail
;
13288 arg2
= wxString_in_helper(obj1
);
13289 if (arg2
== NULL
) SWIG_fail
;
13293 arg3
= (int) SWIG_AsInt(obj2
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13297 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13301 arg5
= (int) SWIG_AsInt(obj4
);
13302 if (PyErr_Occurred()) SWIG_fail
;
13305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13306 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13308 wxPyEndAllowThreads(__tstate
);
13309 if (PyErr_Occurred()) SWIG_fail
;
13311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13334 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13335 PyObject
*resultobj
;
13336 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13338 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13339 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13341 bool temp3
= False
;
13342 PyObject
* obj0
= 0 ;
13343 PyObject
* obj1
= 0 ;
13344 PyObject
* obj2
= 0 ;
13345 char *kwnames
[] = {
13346 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13352 arg2
= (int) SWIG_AsInt(obj1
);
13353 if (PyErr_Occurred()) SWIG_fail
;
13356 arg3
= wxString_in_helper(obj2
);
13357 if (arg3
== NULL
) SWIG_fail
;
13362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13363 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13365 wxPyEndAllowThreads(__tstate
);
13366 if (PyErr_Occurred()) SWIG_fail
;
13369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13385 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13386 PyObject
*resultobj
;
13387 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13388 PyObject
* obj0
= 0 ;
13389 char *kwnames
[] = {
13390 (char *) "self", NULL
13393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13403 Py_INCREF(Py_None
); resultobj
= Py_None
;
13410 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13412 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13413 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13415 return Py_BuildValue((char *)"");
13417 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13418 PyObject
*resultobj
;
13419 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13420 int arg2
= (int) 0 ;
13421 wxFindDialogEvent
*result
;
13422 PyObject
* obj0
= 0 ;
13423 PyObject
* obj1
= 0 ;
13424 char *kwnames
[] = {
13425 (char *) "commandType",(char *) "id", NULL
13428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13430 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13434 arg2
= (int) SWIG_AsInt(obj1
);
13435 if (PyErr_Occurred()) SWIG_fail
;
13438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13439 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13441 wxPyEndAllowThreads(__tstate
);
13442 if (PyErr_Occurred()) SWIG_fail
;
13444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13451 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13452 PyObject
*resultobj
;
13453 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13455 PyObject
* obj0
= 0 ;
13456 char *kwnames
[] = {
13457 (char *) "self", NULL
13460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13465 result
= (int)(arg1
)->GetFlags();
13467 wxPyEndAllowThreads(__tstate
);
13468 if (PyErr_Occurred()) SWIG_fail
;
13470 resultobj
= SWIG_FromInt((int)result
);
13477 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13478 PyObject
*resultobj
;
13479 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13481 PyObject
* obj0
= 0 ;
13482 char *kwnames
[] = {
13483 (char *) "self", NULL
13486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 wxString
const &_result_ref
= (arg1
)->GetFindString();
13493 result
= (wxString
*) &_result_ref
;
13496 wxPyEndAllowThreads(__tstate
);
13497 if (PyErr_Occurred()) SWIG_fail
;
13501 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13503 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13512 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13513 PyObject
*resultobj
;
13514 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13516 PyObject
* obj0
= 0 ;
13517 char *kwnames
[] = {
13518 (char *) "self", NULL
13521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13527 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13528 result
= (wxString
*) &_result_ref
;
13531 wxPyEndAllowThreads(__tstate
);
13532 if (PyErr_Occurred()) SWIG_fail
;
13536 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13538 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13547 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13548 PyObject
*resultobj
;
13549 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13550 wxFindReplaceDialog
*result
;
13551 PyObject
* obj0
= 0 ;
13552 char *kwnames
[] = {
13553 (char *) "self", NULL
13556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13561 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13563 wxPyEndAllowThreads(__tstate
);
13564 if (PyErr_Occurred()) SWIG_fail
;
13566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13573 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13574 PyObject
*resultobj
;
13575 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13577 PyObject
* obj0
= 0 ;
13578 PyObject
* obj1
= 0 ;
13579 char *kwnames
[] = {
13580 (char *) "self",(char *) "flags", NULL
13583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13586 arg2
= (int) SWIG_AsInt(obj1
);
13587 if (PyErr_Occurred()) SWIG_fail
;
13589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13590 (arg1
)->SetFlags(arg2
);
13592 wxPyEndAllowThreads(__tstate
);
13593 if (PyErr_Occurred()) SWIG_fail
;
13595 Py_INCREF(Py_None
); resultobj
= Py_None
;
13602 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13603 PyObject
*resultobj
;
13604 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13605 wxString
*arg2
= 0 ;
13606 bool temp2
= False
;
13607 PyObject
* obj0
= 0 ;
13608 PyObject
* obj1
= 0 ;
13609 char *kwnames
[] = {
13610 (char *) "self",(char *) "str", NULL
13613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13617 arg2
= wxString_in_helper(obj1
);
13618 if (arg2
== NULL
) SWIG_fail
;
13622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13623 (arg1
)->SetFindString((wxString
const &)*arg2
);
13625 wxPyEndAllowThreads(__tstate
);
13626 if (PyErr_Occurred()) SWIG_fail
;
13628 Py_INCREF(Py_None
); resultobj
= Py_None
;
13643 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13644 PyObject
*resultobj
;
13645 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13646 wxString
*arg2
= 0 ;
13647 bool temp2
= False
;
13648 PyObject
* obj0
= 0 ;
13649 PyObject
* obj1
= 0 ;
13650 char *kwnames
[] = {
13651 (char *) "self",(char *) "str", NULL
13654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13658 arg2
= wxString_in_helper(obj1
);
13659 if (arg2
== NULL
) SWIG_fail
;
13663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13664 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13666 wxPyEndAllowThreads(__tstate
);
13667 if (PyErr_Occurred()) SWIG_fail
;
13669 Py_INCREF(Py_None
); resultobj
= Py_None
;
13684 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13686 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13687 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
13689 return Py_BuildValue((char *)"");
13691 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13692 PyObject
*resultobj
;
13693 int arg1
= (int) 0 ;
13694 wxFindReplaceData
*result
;
13695 PyObject
* obj0
= 0 ;
13696 char *kwnames
[] = {
13697 (char *) "flags", NULL
13700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13702 arg1
= (int) SWIG_AsInt(obj0
);
13703 if (PyErr_Occurred()) SWIG_fail
;
13706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13707 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
13709 wxPyEndAllowThreads(__tstate
);
13710 if (PyErr_Occurred()) SWIG_fail
;
13712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
13719 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13720 PyObject
*resultobj
;
13721 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13722 PyObject
* obj0
= 0 ;
13723 char *kwnames
[] = {
13724 (char *) "self", NULL
13727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13734 wxPyEndAllowThreads(__tstate
);
13735 if (PyErr_Occurred()) SWIG_fail
;
13737 Py_INCREF(Py_None
); resultobj
= Py_None
;
13744 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13745 PyObject
*resultobj
;
13746 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13748 PyObject
* obj0
= 0 ;
13749 char *kwnames
[] = {
13750 (char *) "self", NULL
13753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
13754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13759 wxString
const &_result_ref
= (arg1
)->GetFindString();
13760 result
= (wxString
*) &_result_ref
;
13763 wxPyEndAllowThreads(__tstate
);
13764 if (PyErr_Occurred()) SWIG_fail
;
13768 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13770 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13779 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13780 PyObject
*resultobj
;
13781 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13783 PyObject
* obj0
= 0 ;
13784 char *kwnames
[] = {
13785 (char *) "self", NULL
13788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13794 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13795 result
= (wxString
*) &_result_ref
;
13798 wxPyEndAllowThreads(__tstate
);
13799 if (PyErr_Occurred()) SWIG_fail
;
13803 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13805 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13814 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13815 PyObject
*resultobj
;
13816 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13818 PyObject
* obj0
= 0 ;
13819 char *kwnames
[] = {
13820 (char *) "self", NULL
13823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
13824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13828 result
= (int)(arg1
)->GetFlags();
13830 wxPyEndAllowThreads(__tstate
);
13831 if (PyErr_Occurred()) SWIG_fail
;
13833 resultobj
= SWIG_FromInt((int)result
);
13840 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13841 PyObject
*resultobj
;
13842 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13844 PyObject
* obj0
= 0 ;
13845 PyObject
* obj1
= 0 ;
13846 char *kwnames
[] = {
13847 (char *) "self",(char *) "flags", NULL
13850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13853 arg2
= (int) SWIG_AsInt(obj1
);
13854 if (PyErr_Occurred()) SWIG_fail
;
13856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13857 (arg1
)->SetFlags(arg2
);
13859 wxPyEndAllowThreads(__tstate
);
13860 if (PyErr_Occurred()) SWIG_fail
;
13862 Py_INCREF(Py_None
); resultobj
= Py_None
;
13869 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13870 PyObject
*resultobj
;
13871 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13872 wxString
*arg2
= 0 ;
13873 bool temp2
= False
;
13874 PyObject
* obj0
= 0 ;
13875 PyObject
* obj1
= 0 ;
13876 char *kwnames
[] = {
13877 (char *) "self",(char *) "str", NULL
13880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13884 arg2
= wxString_in_helper(obj1
);
13885 if (arg2
== NULL
) SWIG_fail
;
13889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13890 (arg1
)->SetFindString((wxString
const &)*arg2
);
13892 wxPyEndAllowThreads(__tstate
);
13893 if (PyErr_Occurred()) SWIG_fail
;
13895 Py_INCREF(Py_None
); resultobj
= Py_None
;
13910 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13911 PyObject
*resultobj
;
13912 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13913 wxString
*arg2
= 0 ;
13914 bool temp2
= False
;
13915 PyObject
* obj0
= 0 ;
13916 PyObject
* obj1
= 0 ;
13917 char *kwnames
[] = {
13918 (char *) "self",(char *) "str", NULL
13921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13925 arg2
= wxString_in_helper(obj1
);
13926 if (arg2
== NULL
) SWIG_fail
;
13930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13931 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13933 wxPyEndAllowThreads(__tstate
);
13934 if (PyErr_Occurred()) SWIG_fail
;
13936 Py_INCREF(Py_None
); resultobj
= Py_None
;
13951 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
13953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13954 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
13956 return Py_BuildValue((char *)"");
13958 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13959 PyObject
*resultobj
;
13960 wxWindow
*arg1
= (wxWindow
*) 0 ;
13961 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
13962 wxString
*arg3
= 0 ;
13963 int arg4
= (int) 0 ;
13964 wxFindReplaceDialog
*result
;
13965 bool temp3
= False
;
13966 PyObject
* obj0
= 0 ;
13967 PyObject
* obj1
= 0 ;
13968 PyObject
* obj2
= 0 ;
13969 PyObject
* obj3
= 0 ;
13970 char *kwnames
[] = {
13971 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13977 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
13978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13980 arg3
= wxString_in_helper(obj2
);
13981 if (arg3
== NULL
) SWIG_fail
;
13985 arg4
= (int) SWIG_AsInt(obj3
);
13986 if (PyErr_Occurred()) SWIG_fail
;
13989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13990 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13992 wxPyEndAllowThreads(__tstate
);
13993 if (PyErr_Occurred()) SWIG_fail
;
13995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14010 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14011 PyObject
*resultobj
;
14012 wxFindReplaceDialog
*result
;
14013 char *kwnames
[] = {
14017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14020 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14022 wxPyEndAllowThreads(__tstate
);
14023 if (PyErr_Occurred()) SWIG_fail
;
14025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14032 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14033 PyObject
*resultobj
;
14034 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14035 wxWindow
*arg2
= (wxWindow
*) 0 ;
14036 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14037 wxString
*arg4
= 0 ;
14038 int arg5
= (int) 0 ;
14040 bool temp4
= False
;
14041 PyObject
* obj0
= 0 ;
14042 PyObject
* obj1
= 0 ;
14043 PyObject
* obj2
= 0 ;
14044 PyObject
* obj3
= 0 ;
14045 PyObject
* obj4
= 0 ;
14046 char *kwnames
[] = {
14047 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14053 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14055 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14058 arg4
= wxString_in_helper(obj3
);
14059 if (arg4
== NULL
) SWIG_fail
;
14063 arg5
= (int) SWIG_AsInt(obj4
);
14064 if (PyErr_Occurred()) SWIG_fail
;
14067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14068 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14070 wxPyEndAllowThreads(__tstate
);
14071 if (PyErr_Occurred()) SWIG_fail
;
14074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14090 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14091 PyObject
*resultobj
;
14092 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14093 wxFindReplaceData
*result
;
14094 PyObject
* obj0
= 0 ;
14095 char *kwnames
[] = {
14096 (char *) "self", NULL
14099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14104 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14106 wxPyEndAllowThreads(__tstate
);
14107 if (PyErr_Occurred()) SWIG_fail
;
14109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14116 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14117 PyObject
*resultobj
;
14118 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14119 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14120 PyObject
* obj0
= 0 ;
14121 PyObject
* obj1
= 0 ;
14122 char *kwnames
[] = {
14123 (char *) "self",(char *) "data", NULL
14126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14129 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14133 (arg1
)->SetData(arg2
);
14135 wxPyEndAllowThreads(__tstate
);
14136 if (PyErr_Occurred()) SWIG_fail
;
14138 Py_INCREF(Py_None
); resultobj
= Py_None
;
14145 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14148 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14150 return Py_BuildValue((char *)"");
14152 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14153 PyObject
*resultobj
;
14154 wxWindow
*arg1
= (wxWindow
*) 0 ;
14156 wxString
*arg3
= 0 ;
14157 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14158 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14159 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14160 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14161 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14162 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14163 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14164 wxMDIParentFrame
*result
;
14165 bool temp3
= False
;
14168 bool temp7
= False
;
14169 PyObject
* obj0
= 0 ;
14170 PyObject
* obj1
= 0 ;
14171 PyObject
* obj2
= 0 ;
14172 PyObject
* obj3
= 0 ;
14173 PyObject
* obj4
= 0 ;
14174 PyObject
* obj5
= 0 ;
14175 PyObject
* obj6
= 0 ;
14176 char *kwnames
[] = {
14177 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14183 arg2
= (int const) SWIG_AsInt(obj1
);
14184 if (PyErr_Occurred()) SWIG_fail
;
14186 arg3
= wxString_in_helper(obj2
);
14187 if (arg3
== NULL
) SWIG_fail
;
14193 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14199 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14203 arg6
= (long) SWIG_AsLong(obj5
);
14204 if (PyErr_Occurred()) SWIG_fail
;
14208 arg7
= wxString_in_helper(obj6
);
14209 if (arg7
== NULL
) SWIG_fail
;
14214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14215 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14217 wxPyEndAllowThreads(__tstate
);
14218 if (PyErr_Occurred()) SWIG_fail
;
14220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14243 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14244 PyObject
*resultobj
;
14245 wxMDIParentFrame
*result
;
14246 char *kwnames
[] = {
14250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14253 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14255 wxPyEndAllowThreads(__tstate
);
14256 if (PyErr_Occurred()) SWIG_fail
;
14258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14265 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14266 PyObject
*resultobj
;
14267 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14268 wxWindow
*arg2
= (wxWindow
*) 0 ;
14270 wxString
*arg4
= 0 ;
14271 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14272 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14273 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14274 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14275 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14276 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14277 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14279 bool temp4
= False
;
14282 bool temp8
= False
;
14283 PyObject
* obj0
= 0 ;
14284 PyObject
* obj1
= 0 ;
14285 PyObject
* obj2
= 0 ;
14286 PyObject
* obj3
= 0 ;
14287 PyObject
* obj4
= 0 ;
14288 PyObject
* obj5
= 0 ;
14289 PyObject
* obj6
= 0 ;
14290 PyObject
* obj7
= 0 ;
14291 char *kwnames
[] = {
14292 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14298 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14300 arg3
= (int const) SWIG_AsInt(obj2
);
14301 if (PyErr_Occurred()) SWIG_fail
;
14303 arg4
= wxString_in_helper(obj3
);
14304 if (arg4
== NULL
) SWIG_fail
;
14310 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14316 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14320 arg7
= (long) SWIG_AsLong(obj6
);
14321 if (PyErr_Occurred()) SWIG_fail
;
14325 arg8
= wxString_in_helper(obj7
);
14326 if (arg8
== NULL
) SWIG_fail
;
14331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14332 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14334 wxPyEndAllowThreads(__tstate
);
14335 if (PyErr_Occurred()) SWIG_fail
;
14338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14362 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14363 PyObject
*resultobj
;
14364 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14365 PyObject
* obj0
= 0 ;
14366 char *kwnames
[] = {
14367 (char *) "self", NULL
14370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14375 (arg1
)->ActivateNext();
14377 wxPyEndAllowThreads(__tstate
);
14378 if (PyErr_Occurred()) SWIG_fail
;
14380 Py_INCREF(Py_None
); resultobj
= Py_None
;
14387 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14388 PyObject
*resultobj
;
14389 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14390 PyObject
* obj0
= 0 ;
14391 char *kwnames
[] = {
14392 (char *) "self", NULL
14395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14400 (arg1
)->ActivatePrevious();
14402 wxPyEndAllowThreads(__tstate
);
14403 if (PyErr_Occurred()) SWIG_fail
;
14405 Py_INCREF(Py_None
); resultobj
= Py_None
;
14412 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14413 PyObject
*resultobj
;
14414 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14415 PyObject
* obj0
= 0 ;
14416 char *kwnames
[] = {
14417 (char *) "self", NULL
14420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14425 (arg1
)->ArrangeIcons();
14427 wxPyEndAllowThreads(__tstate
);
14428 if (PyErr_Occurred()) SWIG_fail
;
14430 Py_INCREF(Py_None
); resultobj
= Py_None
;
14437 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14438 PyObject
*resultobj
;
14439 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14440 PyObject
* obj0
= 0 ;
14441 char *kwnames
[] = {
14442 (char *) "self", NULL
14445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14452 wxPyEndAllowThreads(__tstate
);
14453 if (PyErr_Occurred()) SWIG_fail
;
14455 Py_INCREF(Py_None
); resultobj
= Py_None
;
14462 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14463 PyObject
*resultobj
;
14464 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14465 wxMDIChildFrame
*result
;
14466 PyObject
* obj0
= 0 ;
14467 char *kwnames
[] = {
14468 (char *) "self", NULL
14471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14476 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14478 wxPyEndAllowThreads(__tstate
);
14479 if (PyErr_Occurred()) SWIG_fail
;
14482 resultobj
= wxPyMake_wxObject(result
);
14490 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14491 PyObject
*resultobj
;
14492 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14493 wxMDIClientWindow
*result
;
14494 PyObject
* obj0
= 0 ;
14495 char *kwnames
[] = {
14496 (char *) "self", NULL
14499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14504 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14506 wxPyEndAllowThreads(__tstate
);
14507 if (PyErr_Occurred()) SWIG_fail
;
14510 resultobj
= wxPyMake_wxObject(result
);
14518 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14519 PyObject
*resultobj
;
14520 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14522 PyObject
* obj0
= 0 ;
14523 char *kwnames
[] = {
14524 (char *) "self", NULL
14527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14532 result
= (wxWindow
*)(arg1
)->GetToolBar();
14534 wxPyEndAllowThreads(__tstate
);
14535 if (PyErr_Occurred()) SWIG_fail
;
14538 resultobj
= wxPyMake_wxObject(result
);
14546 static PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14547 PyObject
*resultobj
;
14548 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14550 PyObject
* obj0
= 0 ;
14551 char *kwnames
[] = {
14552 (char *) "self", NULL
14555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames
,&obj0
)) goto fail
;
14556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14560 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
14562 wxPyEndAllowThreads(__tstate
);
14563 if (PyErr_Occurred()) SWIG_fail
;
14566 resultobj
= wxPyMake_wxObject(result
);
14574 static PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14575 PyObject
*resultobj
;
14576 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14577 wxMenu
*arg2
= (wxMenu
*) 0 ;
14578 PyObject
* obj0
= 0 ;
14579 PyObject
* obj1
= 0 ;
14580 char *kwnames
[] = {
14581 (char *) "self",(char *) "menu", NULL
14584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
14585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
14588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14591 (arg1
)->SetWindowMenu(arg2
);
14593 wxPyEndAllowThreads(__tstate
);
14594 if (PyErr_Occurred()) SWIG_fail
;
14596 Py_INCREF(Py_None
); resultobj
= Py_None
;
14603 static PyObject
*_wrap_MDIParentFrame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14604 PyObject
*resultobj
;
14605 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14606 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
14607 PyObject
* obj0
= 0 ;
14608 PyObject
* obj1
= 0 ;
14609 char *kwnames
[] = {
14610 (char *) "self",(char *) "toolbar", NULL
14613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
14614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14616 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
14617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14620 (arg1
)->SetToolBar(arg2
);
14622 wxPyEndAllowThreads(__tstate
);
14623 if (PyErr_Occurred()) SWIG_fail
;
14625 Py_INCREF(Py_None
); resultobj
= Py_None
;
14632 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14633 PyObject
*resultobj
;
14634 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14635 PyObject
* obj0
= 0 ;
14636 char *kwnames
[] = {
14637 (char *) "self", NULL
14640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14647 wxPyEndAllowThreads(__tstate
);
14648 if (PyErr_Occurred()) SWIG_fail
;
14650 Py_INCREF(Py_None
); resultobj
= Py_None
;
14657 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14660 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14662 return Py_BuildValue((char *)"");
14664 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14665 PyObject
*resultobj
;
14666 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14668 wxString
*arg3
= 0 ;
14669 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14670 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14671 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14672 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14673 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14674 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14675 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14676 wxMDIChildFrame
*result
;
14677 bool temp3
= False
;
14680 bool temp7
= False
;
14681 PyObject
* obj0
= 0 ;
14682 PyObject
* obj1
= 0 ;
14683 PyObject
* obj2
= 0 ;
14684 PyObject
* obj3
= 0 ;
14685 PyObject
* obj4
= 0 ;
14686 PyObject
* obj5
= 0 ;
14687 PyObject
* obj6
= 0 ;
14688 char *kwnames
[] = {
14689 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14695 arg2
= (int const) SWIG_AsInt(obj1
);
14696 if (PyErr_Occurred()) SWIG_fail
;
14698 arg3
= wxString_in_helper(obj2
);
14699 if (arg3
== NULL
) SWIG_fail
;
14705 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14711 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14715 arg6
= (long) SWIG_AsLong(obj5
);
14716 if (PyErr_Occurred()) SWIG_fail
;
14720 arg7
= wxString_in_helper(obj6
);
14721 if (arg7
== NULL
) SWIG_fail
;
14726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14727 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14729 wxPyEndAllowThreads(__tstate
);
14730 if (PyErr_Occurred()) SWIG_fail
;
14733 resultobj
= wxPyMake_wxObject(result
);
14757 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14758 PyObject
*resultobj
;
14759 wxMDIChildFrame
*result
;
14760 char *kwnames
[] = {
14764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
14766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14767 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
14769 wxPyEndAllowThreads(__tstate
);
14770 if (PyErr_Occurred()) SWIG_fail
;
14773 resultobj
= wxPyMake_wxObject(result
);
14781 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14782 PyObject
*resultobj
;
14783 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14784 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14786 wxString
*arg4
= 0 ;
14787 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14788 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14789 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14790 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14791 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
14792 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14793 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14795 bool temp4
= False
;
14798 bool temp8
= False
;
14799 PyObject
* obj0
= 0 ;
14800 PyObject
* obj1
= 0 ;
14801 PyObject
* obj2
= 0 ;
14802 PyObject
* obj3
= 0 ;
14803 PyObject
* obj4
= 0 ;
14804 PyObject
* obj5
= 0 ;
14805 PyObject
* obj6
= 0 ;
14806 PyObject
* obj7
= 0 ;
14807 char *kwnames
[] = {
14808 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14814 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14816 arg3
= (int const) SWIG_AsInt(obj2
);
14817 if (PyErr_Occurred()) SWIG_fail
;
14819 arg4
= wxString_in_helper(obj3
);
14820 if (arg4
== NULL
) SWIG_fail
;
14826 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14832 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14836 arg7
= (long) SWIG_AsLong(obj6
);
14837 if (PyErr_Occurred()) SWIG_fail
;
14841 arg8
= wxString_in_helper(obj7
);
14842 if (arg8
== NULL
) SWIG_fail
;
14847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14848 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14850 wxPyEndAllowThreads(__tstate
);
14851 if (PyErr_Occurred()) SWIG_fail
;
14854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14878 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14879 PyObject
*resultobj
;
14880 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14881 PyObject
* obj0
= 0 ;
14882 char *kwnames
[] = {
14883 (char *) "self", NULL
14886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
14887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14891 (arg1
)->Activate();
14893 wxPyEndAllowThreads(__tstate
);
14894 if (PyErr_Occurred()) SWIG_fail
;
14896 Py_INCREF(Py_None
); resultobj
= Py_None
;
14903 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14904 PyObject
*resultobj
;
14905 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14907 PyObject
* obj0
= 0 ;
14908 PyObject
* obj1
= 0 ;
14909 char *kwnames
[] = {
14910 (char *) "self",(char *) "maximize", NULL
14913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
14914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14916 arg2
= (bool) SWIG_AsBool(obj1
);
14917 if (PyErr_Occurred()) SWIG_fail
;
14919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14920 (arg1
)->Maximize(arg2
);
14922 wxPyEndAllowThreads(__tstate
);
14923 if (PyErr_Occurred()) SWIG_fail
;
14925 Py_INCREF(Py_None
); resultobj
= Py_None
;
14932 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14933 PyObject
*resultobj
;
14934 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14935 PyObject
* obj0
= 0 ;
14936 char *kwnames
[] = {
14937 (char *) "self", NULL
14940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
14941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14947 wxPyEndAllowThreads(__tstate
);
14948 if (PyErr_Occurred()) SWIG_fail
;
14950 Py_INCREF(Py_None
); resultobj
= Py_None
;
14957 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14960 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
14962 return Py_BuildValue((char *)"");
14964 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14965 PyObject
*resultobj
;
14966 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14967 long arg2
= (long) 0 ;
14968 wxMDIClientWindow
*result
;
14969 PyObject
* obj0
= 0 ;
14970 PyObject
* obj1
= 0 ;
14971 char *kwnames
[] = {
14972 (char *) "parent",(char *) "style", NULL
14975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
14976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14979 arg2
= (long) SWIG_AsLong(obj1
);
14980 if (PyErr_Occurred()) SWIG_fail
;
14983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14984 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
14986 wxPyEndAllowThreads(__tstate
);
14987 if (PyErr_Occurred()) SWIG_fail
;
14990 resultobj
= wxPyMake_wxObject(result
);
14998 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14999 PyObject
*resultobj
;
15000 wxMDIClientWindow
*result
;
15001 char *kwnames
[] = {
15005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15008 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15010 wxPyEndAllowThreads(__tstate
);
15011 if (PyErr_Occurred()) SWIG_fail
;
15014 resultobj
= wxPyMake_wxObject(result
);
15022 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15023 PyObject
*resultobj
;
15024 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15025 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15026 long arg3
= (long) 0 ;
15028 PyObject
* obj0
= 0 ;
15029 PyObject
* obj1
= 0 ;
15030 PyObject
* obj2
= 0 ;
15031 char *kwnames
[] = {
15032 (char *) "self",(char *) "parent",(char *) "style", NULL
15035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15038 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15041 arg3
= (long) SWIG_AsLong(obj2
);
15042 if (PyErr_Occurred()) SWIG_fail
;
15045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15046 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15048 wxPyEndAllowThreads(__tstate
);
15049 if (PyErr_Occurred()) SWIG_fail
;
15052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15060 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15063 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15065 return Py_BuildValue((char *)"");
15067 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15068 PyObject
*resultobj
;
15069 wxWindow
*arg1
= (wxWindow
*) 0 ;
15071 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15072 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15073 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15074 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15075 long arg5
= (long) 0 ;
15076 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15077 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15078 wxPyWindow
*result
;
15081 bool temp6
= False
;
15082 PyObject
* obj0
= 0 ;
15083 PyObject
* obj1
= 0 ;
15084 PyObject
* obj2
= 0 ;
15085 PyObject
* obj3
= 0 ;
15086 PyObject
* obj4
= 0 ;
15087 PyObject
* obj5
= 0 ;
15088 char *kwnames
[] = {
15089 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15095 arg2
= (int const) SWIG_AsInt(obj1
);
15096 if (PyErr_Occurred()) SWIG_fail
;
15100 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15106 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15110 arg5
= (long) SWIG_AsLong(obj4
);
15111 if (PyErr_Occurred()) SWIG_fail
;
15115 arg6
= wxString_in_helper(obj5
);
15116 if (arg6
== NULL
) SWIG_fail
;
15121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15122 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15124 wxPyEndAllowThreads(__tstate
);
15125 if (PyErr_Occurred()) SWIG_fail
;
15127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15142 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15143 PyObject
*resultobj
;
15144 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15145 PyObject
*arg2
= (PyObject
*) 0 ;
15146 PyObject
*arg3
= (PyObject
*) 0 ;
15147 PyObject
* obj0
= 0 ;
15148 PyObject
* obj1
= 0 ;
15149 PyObject
* obj2
= 0 ;
15150 char *kwnames
[] = {
15151 (char *) "self",(char *) "self",(char *) "_class", NULL
15154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15161 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15163 wxPyEndAllowThreads(__tstate
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15166 Py_INCREF(Py_None
); resultobj
= Py_None
;
15173 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15174 PyObject
*resultobj
;
15175 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15180 PyObject
* obj0
= 0 ;
15181 PyObject
* obj1
= 0 ;
15182 PyObject
* obj2
= 0 ;
15183 PyObject
* obj3
= 0 ;
15184 PyObject
* obj4
= 0 ;
15185 char *kwnames
[] = {
15186 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15192 arg2
= (int) SWIG_AsInt(obj1
);
15193 if (PyErr_Occurred()) SWIG_fail
;
15194 arg3
= (int) SWIG_AsInt(obj2
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15196 arg4
= (int) SWIG_AsInt(obj3
);
15197 if (PyErr_Occurred()) SWIG_fail
;
15198 arg5
= (int) SWIG_AsInt(obj4
);
15199 if (PyErr_Occurred()) SWIG_fail
;
15201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15202 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15204 wxPyEndAllowThreads(__tstate
);
15205 if (PyErr_Occurred()) SWIG_fail
;
15207 Py_INCREF(Py_None
); resultobj
= Py_None
;
15214 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15215 PyObject
*resultobj
;
15216 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15221 int arg6
= (int) wxSIZE_AUTO
;
15222 PyObject
* obj0
= 0 ;
15223 PyObject
* obj1
= 0 ;
15224 PyObject
* obj2
= 0 ;
15225 PyObject
* obj3
= 0 ;
15226 PyObject
* obj4
= 0 ;
15227 PyObject
* obj5
= 0 ;
15228 char *kwnames
[] = {
15229 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15235 arg2
= (int) SWIG_AsInt(obj1
);
15236 if (PyErr_Occurred()) SWIG_fail
;
15237 arg3
= (int) SWIG_AsInt(obj2
);
15238 if (PyErr_Occurred()) SWIG_fail
;
15239 arg4
= (int) SWIG_AsInt(obj3
);
15240 if (PyErr_Occurred()) SWIG_fail
;
15241 arg5
= (int) SWIG_AsInt(obj4
);
15242 if (PyErr_Occurred()) SWIG_fail
;
15244 arg6
= (int) SWIG_AsInt(obj5
);
15245 if (PyErr_Occurred()) SWIG_fail
;
15248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15249 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15251 wxPyEndAllowThreads(__tstate
);
15252 if (PyErr_Occurred()) SWIG_fail
;
15254 Py_INCREF(Py_None
); resultobj
= Py_None
;
15261 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15262 PyObject
*resultobj
;
15263 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15266 PyObject
* obj0
= 0 ;
15267 PyObject
* obj1
= 0 ;
15268 PyObject
* obj2
= 0 ;
15269 char *kwnames
[] = {
15270 (char *) "self",(char *) "width",(char *) "height", NULL
15273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15276 arg2
= (int) SWIG_AsInt(obj1
);
15277 if (PyErr_Occurred()) SWIG_fail
;
15278 arg3
= (int) SWIG_AsInt(obj2
);
15279 if (PyErr_Occurred()) SWIG_fail
;
15281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15282 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15284 wxPyEndAllowThreads(__tstate
);
15285 if (PyErr_Occurred()) SWIG_fail
;
15287 Py_INCREF(Py_None
); resultobj
= Py_None
;
15294 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15295 PyObject
*resultobj
;
15296 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15299 PyObject
* obj0
= 0 ;
15300 PyObject
* obj1
= 0 ;
15301 PyObject
* obj2
= 0 ;
15302 char *kwnames
[] = {
15303 (char *) "self",(char *) "x",(char *) "y", NULL
15306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15309 arg2
= (int) SWIG_AsInt(obj1
);
15310 if (PyErr_Occurred()) SWIG_fail
;
15311 arg3
= (int) SWIG_AsInt(obj2
);
15312 if (PyErr_Occurred()) SWIG_fail
;
15314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15315 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15317 wxPyEndAllowThreads(__tstate
);
15318 if (PyErr_Occurred()) SWIG_fail
;
15320 Py_INCREF(Py_None
); resultobj
= Py_None
;
15327 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15328 PyObject
*resultobj
;
15329 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15330 int *arg2
= (int *) 0 ;
15331 int *arg3
= (int *) 0 ;
15334 PyObject
* obj0
= 0 ;
15335 char *kwnames
[] = {
15336 (char *) "self", NULL
15341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15346 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15348 wxPyEndAllowThreads(__tstate
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15351 Py_INCREF(Py_None
); resultobj
= Py_None
;
15353 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15354 resultobj
= t_output_helper(resultobj
,o
);
15357 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15358 resultobj
= t_output_helper(resultobj
,o
);
15366 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15367 PyObject
*resultobj
;
15368 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15369 int *arg2
= (int *) 0 ;
15370 int *arg3
= (int *) 0 ;
15373 PyObject
* obj0
= 0 ;
15374 char *kwnames
[] = {
15375 (char *) "self", NULL
15380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15385 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15387 wxPyEndAllowThreads(__tstate
);
15388 if (PyErr_Occurred()) SWIG_fail
;
15390 Py_INCREF(Py_None
); resultobj
= Py_None
;
15392 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15393 resultobj
= t_output_helper(resultobj
,o
);
15396 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15397 resultobj
= t_output_helper(resultobj
,o
);
15405 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15406 PyObject
*resultobj
;
15407 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15408 int *arg2
= (int *) 0 ;
15409 int *arg3
= (int *) 0 ;
15412 PyObject
* obj0
= 0 ;
15413 char *kwnames
[] = {
15414 (char *) "self", NULL
15419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15424 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15426 wxPyEndAllowThreads(__tstate
);
15427 if (PyErr_Occurred()) SWIG_fail
;
15429 Py_INCREF(Py_None
); resultobj
= Py_None
;
15431 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15432 resultobj
= t_output_helper(resultobj
,o
);
15435 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15436 resultobj
= t_output_helper(resultobj
,o
);
15444 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15445 PyObject
*resultobj
;
15446 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15448 PyObject
* obj0
= 0 ;
15449 char *kwnames
[] = {
15450 (char *) "self", NULL
15453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15458 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15460 wxPyEndAllowThreads(__tstate
);
15461 if (PyErr_Occurred()) SWIG_fail
;
15464 wxSize
* resultptr
;
15465 resultptr
= new wxSize((wxSize
&) result
);
15466 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15474 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15475 PyObject
*resultobj
;
15476 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15478 PyObject
* obj0
= 0 ;
15479 char *kwnames
[] = {
15480 (char *) "self", NULL
15483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15488 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15490 wxPyEndAllowThreads(__tstate
);
15491 if (PyErr_Occurred()) SWIG_fail
;
15494 wxSize
* resultptr
;
15495 resultptr
= new wxSize((wxSize
&) result
);
15496 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15504 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15505 PyObject
*resultobj
;
15506 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15507 PyObject
* obj0
= 0 ;
15508 char *kwnames
[] = {
15509 (char *) "self", NULL
15512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15517 (arg1
)->base_InitDialog();
15519 wxPyEndAllowThreads(__tstate
);
15520 if (PyErr_Occurred()) SWIG_fail
;
15522 Py_INCREF(Py_None
); resultobj
= Py_None
;
15529 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15530 PyObject
*resultobj
;
15531 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15533 PyObject
* obj0
= 0 ;
15534 char *kwnames
[] = {
15535 (char *) "self", NULL
15538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15543 result
= (bool)(arg1
)->base_TransferDataToWindow();
15545 wxPyEndAllowThreads(__tstate
);
15546 if (PyErr_Occurred()) SWIG_fail
;
15549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15557 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15558 PyObject
*resultobj
;
15559 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15561 PyObject
* obj0
= 0 ;
15562 char *kwnames
[] = {
15563 (char *) "self", NULL
15566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15571 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15573 wxPyEndAllowThreads(__tstate
);
15574 if (PyErr_Occurred()) SWIG_fail
;
15577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15585 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15586 PyObject
*resultobj
;
15587 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15589 PyObject
* obj0
= 0 ;
15590 char *kwnames
[] = {
15591 (char *) "self", NULL
15594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15599 result
= (bool)(arg1
)->base_Validate();
15601 wxPyEndAllowThreads(__tstate
);
15602 if (PyErr_Occurred()) SWIG_fail
;
15605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15613 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15614 PyObject
*resultobj
;
15615 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15617 PyObject
* obj0
= 0 ;
15618 char *kwnames
[] = {
15619 (char *) "self", NULL
15622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15627 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15629 wxPyEndAllowThreads(__tstate
);
15630 if (PyErr_Occurred()) SWIG_fail
;
15633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15641 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15642 PyObject
*resultobj
;
15643 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15645 PyObject
* obj0
= 0 ;
15646 char *kwnames
[] = {
15647 (char *) "self", NULL
15650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15655 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15657 wxPyEndAllowThreads(__tstate
);
15658 if (PyErr_Occurred()) SWIG_fail
;
15661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15669 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15670 PyObject
*resultobj
;
15671 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15673 PyObject
* obj0
= 0 ;
15674 char *kwnames
[] = {
15675 (char *) "self", NULL
15678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15683 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
15685 wxPyEndAllowThreads(__tstate
);
15686 if (PyErr_Occurred()) SWIG_fail
;
15689 wxSize
* resultptr
;
15690 resultptr
= new wxSize((wxSize
&) result
);
15691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15699 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15700 PyObject
*resultobj
;
15701 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15702 wxWindow
*arg2
= (wxWindow
*) 0 ;
15703 PyObject
* obj0
= 0 ;
15704 PyObject
* obj1
= 0 ;
15705 char *kwnames
[] = {
15706 (char *) "self",(char *) "child", NULL
15709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15712 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15716 (arg1
)->base_AddChild(arg2
);
15718 wxPyEndAllowThreads(__tstate
);
15719 if (PyErr_Occurred()) SWIG_fail
;
15721 Py_INCREF(Py_None
); resultobj
= Py_None
;
15728 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15729 PyObject
*resultobj
;
15730 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15731 wxWindow
*arg2
= (wxWindow
*) 0 ;
15732 PyObject
* obj0
= 0 ;
15733 PyObject
* obj1
= 0 ;
15734 char *kwnames
[] = {
15735 (char *) "self",(char *) "child", NULL
15738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15745 (arg1
)->base_RemoveChild(arg2
);
15747 wxPyEndAllowThreads(__tstate
);
15748 if (PyErr_Occurred()) SWIG_fail
;
15750 Py_INCREF(Py_None
); resultobj
= Py_None
;
15757 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15759 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15760 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
15762 return Py_BuildValue((char *)"");
15764 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15765 PyObject
*resultobj
;
15766 wxWindow
*arg1
= (wxWindow
*) 0 ;
15768 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15769 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15770 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15771 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15772 long arg5
= (long) 0 ;
15773 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15774 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15778 bool temp6
= False
;
15779 PyObject
* obj0
= 0 ;
15780 PyObject
* obj1
= 0 ;
15781 PyObject
* obj2
= 0 ;
15782 PyObject
* obj3
= 0 ;
15783 PyObject
* obj4
= 0 ;
15784 PyObject
* obj5
= 0 ;
15785 char *kwnames
[] = {
15786 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15792 arg2
= (int const) SWIG_AsInt(obj1
);
15793 if (PyErr_Occurred()) SWIG_fail
;
15797 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15803 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15807 arg5
= (long) SWIG_AsLong(obj4
);
15808 if (PyErr_Occurred()) SWIG_fail
;
15812 arg6
= wxString_in_helper(obj5
);
15813 if (arg6
== NULL
) SWIG_fail
;
15818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15819 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15821 wxPyEndAllowThreads(__tstate
);
15822 if (PyErr_Occurred()) SWIG_fail
;
15824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
15839 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15840 PyObject
*resultobj
;
15841 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15842 PyObject
*arg2
= (PyObject
*) 0 ;
15843 PyObject
*arg3
= (PyObject
*) 0 ;
15844 PyObject
* obj0
= 0 ;
15845 PyObject
* obj1
= 0 ;
15846 PyObject
* obj2
= 0 ;
15847 char *kwnames
[] = {
15848 (char *) "self",(char *) "self",(char *) "_class", NULL
15851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15858 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15860 wxPyEndAllowThreads(__tstate
);
15861 if (PyErr_Occurred()) SWIG_fail
;
15863 Py_INCREF(Py_None
); resultobj
= Py_None
;
15870 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15871 PyObject
*resultobj
;
15872 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15877 PyObject
* obj0
= 0 ;
15878 PyObject
* obj1
= 0 ;
15879 PyObject
* obj2
= 0 ;
15880 PyObject
* obj3
= 0 ;
15881 PyObject
* obj4
= 0 ;
15882 char *kwnames
[] = {
15883 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15889 arg2
= (int) SWIG_AsInt(obj1
);
15890 if (PyErr_Occurred()) SWIG_fail
;
15891 arg3
= (int) SWIG_AsInt(obj2
);
15892 if (PyErr_Occurred()) SWIG_fail
;
15893 arg4
= (int) SWIG_AsInt(obj3
);
15894 if (PyErr_Occurred()) SWIG_fail
;
15895 arg5
= (int) SWIG_AsInt(obj4
);
15896 if (PyErr_Occurred()) SWIG_fail
;
15898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15899 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15901 wxPyEndAllowThreads(__tstate
);
15902 if (PyErr_Occurred()) SWIG_fail
;
15904 Py_INCREF(Py_None
); resultobj
= Py_None
;
15911 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15912 PyObject
*resultobj
;
15913 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15918 int arg6
= (int) wxSIZE_AUTO
;
15919 PyObject
* obj0
= 0 ;
15920 PyObject
* obj1
= 0 ;
15921 PyObject
* obj2
= 0 ;
15922 PyObject
* obj3
= 0 ;
15923 PyObject
* obj4
= 0 ;
15924 PyObject
* obj5
= 0 ;
15925 char *kwnames
[] = {
15926 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15932 arg2
= (int) SWIG_AsInt(obj1
);
15933 if (PyErr_Occurred()) SWIG_fail
;
15934 arg3
= (int) SWIG_AsInt(obj2
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15936 arg4
= (int) SWIG_AsInt(obj3
);
15937 if (PyErr_Occurred()) SWIG_fail
;
15938 arg5
= (int) SWIG_AsInt(obj4
);
15939 if (PyErr_Occurred()) SWIG_fail
;
15941 arg6
= (int) SWIG_AsInt(obj5
);
15942 if (PyErr_Occurred()) SWIG_fail
;
15945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15946 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15948 wxPyEndAllowThreads(__tstate
);
15949 if (PyErr_Occurred()) SWIG_fail
;
15951 Py_INCREF(Py_None
); resultobj
= Py_None
;
15958 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15959 PyObject
*resultobj
;
15960 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15963 PyObject
* obj0
= 0 ;
15964 PyObject
* obj1
= 0 ;
15965 PyObject
* obj2
= 0 ;
15966 char *kwnames
[] = {
15967 (char *) "self",(char *) "width",(char *) "height", NULL
15970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15973 arg2
= (int) SWIG_AsInt(obj1
);
15974 if (PyErr_Occurred()) SWIG_fail
;
15975 arg3
= (int) SWIG_AsInt(obj2
);
15976 if (PyErr_Occurred()) SWIG_fail
;
15978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15979 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15981 wxPyEndAllowThreads(__tstate
);
15982 if (PyErr_Occurred()) SWIG_fail
;
15984 Py_INCREF(Py_None
); resultobj
= Py_None
;
15991 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15992 PyObject
*resultobj
;
15993 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15996 PyObject
* obj0
= 0 ;
15997 PyObject
* obj1
= 0 ;
15998 PyObject
* obj2
= 0 ;
15999 char *kwnames
[] = {
16000 (char *) "self",(char *) "x",(char *) "y", NULL
16003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16006 arg2
= (int) SWIG_AsInt(obj1
);
16007 if (PyErr_Occurred()) SWIG_fail
;
16008 arg3
= (int) SWIG_AsInt(obj2
);
16009 if (PyErr_Occurred()) SWIG_fail
;
16011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16012 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16014 wxPyEndAllowThreads(__tstate
);
16015 if (PyErr_Occurred()) SWIG_fail
;
16017 Py_INCREF(Py_None
); resultobj
= Py_None
;
16024 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16025 PyObject
*resultobj
;
16026 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16027 int *arg2
= (int *) 0 ;
16028 int *arg3
= (int *) 0 ;
16031 PyObject
* obj0
= 0 ;
16032 char *kwnames
[] = {
16033 (char *) "self", NULL
16038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16043 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16045 wxPyEndAllowThreads(__tstate
);
16046 if (PyErr_Occurred()) SWIG_fail
;
16048 Py_INCREF(Py_None
); resultobj
= Py_None
;
16050 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16051 resultobj
= t_output_helper(resultobj
,o
);
16054 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16055 resultobj
= t_output_helper(resultobj
,o
);
16063 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16064 PyObject
*resultobj
;
16065 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16066 int *arg2
= (int *) 0 ;
16067 int *arg3
= (int *) 0 ;
16070 PyObject
* obj0
= 0 ;
16071 char *kwnames
[] = {
16072 (char *) "self", NULL
16077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16082 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16084 wxPyEndAllowThreads(__tstate
);
16085 if (PyErr_Occurred()) SWIG_fail
;
16087 Py_INCREF(Py_None
); resultobj
= Py_None
;
16089 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16090 resultobj
= t_output_helper(resultobj
,o
);
16093 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16094 resultobj
= t_output_helper(resultobj
,o
);
16102 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16103 PyObject
*resultobj
;
16104 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16105 int *arg2
= (int *) 0 ;
16106 int *arg3
= (int *) 0 ;
16109 PyObject
* obj0
= 0 ;
16110 char *kwnames
[] = {
16111 (char *) "self", NULL
16116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16121 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16123 wxPyEndAllowThreads(__tstate
);
16124 if (PyErr_Occurred()) SWIG_fail
;
16126 Py_INCREF(Py_None
); resultobj
= Py_None
;
16128 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16129 resultobj
= t_output_helper(resultobj
,o
);
16132 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16133 resultobj
= t_output_helper(resultobj
,o
);
16141 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16142 PyObject
*resultobj
;
16143 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16145 PyObject
* obj0
= 0 ;
16146 char *kwnames
[] = {
16147 (char *) "self", NULL
16150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16155 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16157 wxPyEndAllowThreads(__tstate
);
16158 if (PyErr_Occurred()) SWIG_fail
;
16161 wxSize
* resultptr
;
16162 resultptr
= new wxSize((wxSize
&) result
);
16163 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16171 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16172 PyObject
*resultobj
;
16173 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16175 PyObject
* obj0
= 0 ;
16176 char *kwnames
[] = {
16177 (char *) "self", NULL
16180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16185 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16187 wxPyEndAllowThreads(__tstate
);
16188 if (PyErr_Occurred()) SWIG_fail
;
16191 wxSize
* resultptr
;
16192 resultptr
= new wxSize((wxSize
&) result
);
16193 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16201 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16202 PyObject
*resultobj
;
16203 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16204 PyObject
* obj0
= 0 ;
16205 char *kwnames
[] = {
16206 (char *) "self", NULL
16209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16214 (arg1
)->base_InitDialog();
16216 wxPyEndAllowThreads(__tstate
);
16217 if (PyErr_Occurred()) SWIG_fail
;
16219 Py_INCREF(Py_None
); resultobj
= Py_None
;
16226 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16227 PyObject
*resultobj
;
16228 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16230 PyObject
* obj0
= 0 ;
16231 char *kwnames
[] = {
16232 (char *) "self", NULL
16235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16240 result
= (bool)(arg1
)->base_TransferDataToWindow();
16242 wxPyEndAllowThreads(__tstate
);
16243 if (PyErr_Occurred()) SWIG_fail
;
16246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16254 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16255 PyObject
*resultobj
;
16256 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16258 PyObject
* obj0
= 0 ;
16259 char *kwnames
[] = {
16260 (char *) "self", NULL
16263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16268 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16270 wxPyEndAllowThreads(__tstate
);
16271 if (PyErr_Occurred()) SWIG_fail
;
16274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16282 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16283 PyObject
*resultobj
;
16284 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16286 PyObject
* obj0
= 0 ;
16287 char *kwnames
[] = {
16288 (char *) "self", NULL
16291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16296 result
= (bool)(arg1
)->base_Validate();
16298 wxPyEndAllowThreads(__tstate
);
16299 if (PyErr_Occurred()) SWIG_fail
;
16302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16310 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16311 PyObject
*resultobj
;
16312 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16314 PyObject
* obj0
= 0 ;
16315 char *kwnames
[] = {
16316 (char *) "self", NULL
16319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16324 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16326 wxPyEndAllowThreads(__tstate
);
16327 if (PyErr_Occurred()) SWIG_fail
;
16330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16338 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16339 PyObject
*resultobj
;
16340 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16342 PyObject
* obj0
= 0 ;
16343 char *kwnames
[] = {
16344 (char *) "self", NULL
16347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16352 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16354 wxPyEndAllowThreads(__tstate
);
16355 if (PyErr_Occurred()) SWIG_fail
;
16358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16366 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16367 PyObject
*resultobj
;
16368 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16370 PyObject
* obj0
= 0 ;
16371 char *kwnames
[] = {
16372 (char *) "self", NULL
16375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16380 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16382 wxPyEndAllowThreads(__tstate
);
16383 if (PyErr_Occurred()) SWIG_fail
;
16386 wxSize
* resultptr
;
16387 resultptr
= new wxSize((wxSize
&) result
);
16388 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16396 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16397 PyObject
*resultobj
;
16398 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16399 wxWindow
*arg2
= (wxWindow
*) 0 ;
16400 PyObject
* obj0
= 0 ;
16401 PyObject
* obj1
= 0 ;
16402 char *kwnames
[] = {
16403 (char *) "self",(char *) "child", NULL
16406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16409 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16413 (arg1
)->base_AddChild(arg2
);
16415 wxPyEndAllowThreads(__tstate
);
16416 if (PyErr_Occurred()) SWIG_fail
;
16418 Py_INCREF(Py_None
); resultobj
= Py_None
;
16425 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16426 PyObject
*resultobj
;
16427 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16428 wxWindow
*arg2
= (wxWindow
*) 0 ;
16429 PyObject
* obj0
= 0 ;
16430 PyObject
* obj1
= 0 ;
16431 char *kwnames
[] = {
16432 (char *) "self",(char *) "child", NULL
16435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16438 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16442 (arg1
)->base_RemoveChild(arg2
);
16444 wxPyEndAllowThreads(__tstate
);
16445 if (PyErr_Occurred()) SWIG_fail
;
16447 Py_INCREF(Py_None
); resultobj
= Py_None
;
16454 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
16456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16457 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
16459 return Py_BuildValue((char *)"");
16461 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
16462 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
16467 static PyObject
*_wrap_PrintoutTitleStr_get() {
16472 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
16474 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
16481 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
16482 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
16487 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
16492 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
16494 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
16501 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16502 PyObject
*resultobj
;
16503 wxPrintData
*result
;
16504 char *kwnames
[] = {
16508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
16510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16511 result
= (wxPrintData
*)new wxPrintData();
16513 wxPyEndAllowThreads(__tstate
);
16514 if (PyErr_Occurred()) SWIG_fail
;
16516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
16523 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16524 PyObject
*resultobj
;
16525 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16526 PyObject
* obj0
= 0 ;
16527 char *kwnames
[] = {
16528 (char *) "self", NULL
16531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
16532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16538 wxPyEndAllowThreads(__tstate
);
16539 if (PyErr_Occurred()) SWIG_fail
;
16541 Py_INCREF(Py_None
); resultobj
= Py_None
;
16548 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16549 PyObject
*resultobj
;
16550 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16552 PyObject
* obj0
= 0 ;
16553 char *kwnames
[] = {
16554 (char *) "self", NULL
16557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
16558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16562 result
= (int)(arg1
)->GetNoCopies();
16564 wxPyEndAllowThreads(__tstate
);
16565 if (PyErr_Occurred()) SWIG_fail
;
16567 resultobj
= SWIG_FromInt((int)result
);
16574 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16575 PyObject
*resultobj
;
16576 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16578 PyObject
* obj0
= 0 ;
16579 char *kwnames
[] = {
16580 (char *) "self", NULL
16583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
16584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16588 result
= (bool)(arg1
)->GetCollate();
16590 wxPyEndAllowThreads(__tstate
);
16591 if (PyErr_Occurred()) SWIG_fail
;
16594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16602 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16603 PyObject
*resultobj
;
16604 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16606 PyObject
* obj0
= 0 ;
16607 char *kwnames
[] = {
16608 (char *) "self", NULL
16611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
16612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16616 result
= (int)(arg1
)->GetOrientation();
16618 wxPyEndAllowThreads(__tstate
);
16619 if (PyErr_Occurred()) SWIG_fail
;
16621 resultobj
= SWIG_FromInt((int)result
);
16628 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16629 PyObject
*resultobj
;
16630 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16632 PyObject
* obj0
= 0 ;
16633 char *kwnames
[] = {
16634 (char *) "self", NULL
16637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
16638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16642 result
= (bool)(arg1
)->Ok();
16644 wxPyEndAllowThreads(__tstate
);
16645 if (PyErr_Occurred()) SWIG_fail
;
16648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16656 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16657 PyObject
*resultobj
;
16658 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16660 PyObject
* obj0
= 0 ;
16661 char *kwnames
[] = {
16662 (char *) "self", NULL
16665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
16666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16671 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
16672 result
= (wxString
*) &_result_ref
;
16675 wxPyEndAllowThreads(__tstate
);
16676 if (PyErr_Occurred()) SWIG_fail
;
16680 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16682 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16691 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16692 PyObject
*resultobj
;
16693 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16695 PyObject
* obj0
= 0 ;
16696 char *kwnames
[] = {
16697 (char *) "self", NULL
16700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
16701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16705 result
= (bool)(arg1
)->GetColour();
16707 wxPyEndAllowThreads(__tstate
);
16708 if (PyErr_Occurred()) SWIG_fail
;
16711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16719 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16720 PyObject
*resultobj
;
16721 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16723 PyObject
* obj0
= 0 ;
16724 char *kwnames
[] = {
16725 (char *) "self", NULL
16728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
16729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16733 result
= (int)(arg1
)->GetDuplex();
16735 wxPyEndAllowThreads(__tstate
);
16736 if (PyErr_Occurred()) SWIG_fail
;
16738 resultobj
= SWIG_FromInt((int)result
);
16745 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16746 PyObject
*resultobj
;
16747 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16749 PyObject
* obj0
= 0 ;
16750 char *kwnames
[] = {
16751 (char *) "self", NULL
16754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
16755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16759 result
= (int)(arg1
)->GetPaperId();
16761 wxPyEndAllowThreads(__tstate
);
16762 if (PyErr_Occurred()) SWIG_fail
;
16764 resultobj
= SWIG_FromInt((int)result
);
16771 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16772 PyObject
*resultobj
;
16773 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16775 PyObject
* obj0
= 0 ;
16776 char *kwnames
[] = {
16777 (char *) "self", NULL
16780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
16781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16786 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
16787 result
= (wxSize
*) &_result_ref
;
16790 wxPyEndAllowThreads(__tstate
);
16791 if (PyErr_Occurred()) SWIG_fail
;
16793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16800 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16801 PyObject
*resultobj
;
16802 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16804 PyObject
* obj0
= 0 ;
16805 char *kwnames
[] = {
16806 (char *) "self", NULL
16809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
16810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16814 result
= (int)(arg1
)->GetQuality();
16816 wxPyEndAllowThreads(__tstate
);
16817 if (PyErr_Occurred()) SWIG_fail
;
16819 resultobj
= SWIG_FromInt((int)result
);
16826 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16827 PyObject
*resultobj
;
16828 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16830 PyObject
* obj0
= 0 ;
16831 PyObject
* obj1
= 0 ;
16832 char *kwnames
[] = {
16833 (char *) "self",(char *) "v", NULL
16836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
16837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16839 arg2
= (int) SWIG_AsInt(obj1
);
16840 if (PyErr_Occurred()) SWIG_fail
;
16842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16843 (arg1
)->SetNoCopies(arg2
);
16845 wxPyEndAllowThreads(__tstate
);
16846 if (PyErr_Occurred()) SWIG_fail
;
16848 Py_INCREF(Py_None
); resultobj
= Py_None
;
16855 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16856 PyObject
*resultobj
;
16857 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16859 PyObject
* obj0
= 0 ;
16860 PyObject
* obj1
= 0 ;
16861 char *kwnames
[] = {
16862 (char *) "self",(char *) "flag", NULL
16865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
16866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16868 arg2
= (bool) SWIG_AsBool(obj1
);
16869 if (PyErr_Occurred()) SWIG_fail
;
16871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16872 (arg1
)->SetCollate(arg2
);
16874 wxPyEndAllowThreads(__tstate
);
16875 if (PyErr_Occurred()) SWIG_fail
;
16877 Py_INCREF(Py_None
); resultobj
= Py_None
;
16884 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16885 PyObject
*resultobj
;
16886 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16888 PyObject
* obj0
= 0 ;
16889 PyObject
* obj1
= 0 ;
16890 char *kwnames
[] = {
16891 (char *) "self",(char *) "orient", NULL
16894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16897 arg2
= (int) SWIG_AsInt(obj1
);
16898 if (PyErr_Occurred()) SWIG_fail
;
16900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16901 (arg1
)->SetOrientation(arg2
);
16903 wxPyEndAllowThreads(__tstate
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16906 Py_INCREF(Py_None
); resultobj
= Py_None
;
16913 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16914 PyObject
*resultobj
;
16915 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16916 wxString
*arg2
= 0 ;
16917 bool temp2
= False
;
16918 PyObject
* obj0
= 0 ;
16919 PyObject
* obj1
= 0 ;
16920 char *kwnames
[] = {
16921 (char *) "self",(char *) "name", NULL
16924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
16925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16928 arg2
= wxString_in_helper(obj1
);
16929 if (arg2
== NULL
) SWIG_fail
;
16933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16934 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
16936 wxPyEndAllowThreads(__tstate
);
16937 if (PyErr_Occurred()) SWIG_fail
;
16939 Py_INCREF(Py_None
); resultobj
= Py_None
;
16954 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16955 PyObject
*resultobj
;
16956 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16958 PyObject
* obj0
= 0 ;
16959 PyObject
* obj1
= 0 ;
16960 char *kwnames
[] = {
16961 (char *) "self",(char *) "colour", NULL
16964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16967 arg2
= (bool) SWIG_AsBool(obj1
);
16968 if (PyErr_Occurred()) SWIG_fail
;
16970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16971 (arg1
)->SetColour(arg2
);
16973 wxPyEndAllowThreads(__tstate
);
16974 if (PyErr_Occurred()) SWIG_fail
;
16976 Py_INCREF(Py_None
); resultobj
= Py_None
;
16983 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16984 PyObject
*resultobj
;
16985 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16987 PyObject
* obj0
= 0 ;
16988 PyObject
* obj1
= 0 ;
16989 char *kwnames
[] = {
16990 (char *) "self",(char *) "duplex", NULL
16993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
16994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16996 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
16997 if (PyErr_Occurred()) SWIG_fail
;
16999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17000 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
17002 wxPyEndAllowThreads(__tstate
);
17003 if (PyErr_Occurred()) SWIG_fail
;
17005 Py_INCREF(Py_None
); resultobj
= Py_None
;
17012 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17013 PyObject
*resultobj
;
17014 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17016 PyObject
* obj0
= 0 ;
17017 PyObject
* obj1
= 0 ;
17018 char *kwnames
[] = {
17019 (char *) "self",(char *) "sizeId", NULL
17022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
17023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17025 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
17026 if (PyErr_Occurred()) SWIG_fail
;
17028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17029 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
17031 wxPyEndAllowThreads(__tstate
);
17032 if (PyErr_Occurred()) SWIG_fail
;
17034 Py_INCREF(Py_None
); resultobj
= Py_None
;
17041 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17042 PyObject
*resultobj
;
17043 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17046 PyObject
* obj0
= 0 ;
17047 PyObject
* obj1
= 0 ;
17048 char *kwnames
[] = {
17049 (char *) "self",(char *) "sz", NULL
17052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17057 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17061 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
17063 wxPyEndAllowThreads(__tstate
);
17064 if (PyErr_Occurred()) SWIG_fail
;
17066 Py_INCREF(Py_None
); resultobj
= Py_None
;
17073 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17074 PyObject
*resultobj
;
17075 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17077 PyObject
* obj0
= 0 ;
17078 PyObject
* obj1
= 0 ;
17079 char *kwnames
[] = {
17080 (char *) "self",(char *) "quality", NULL
17083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
17084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17086 arg2
= (int) SWIG_AsInt(obj1
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17090 (arg1
)->SetQuality(arg2
);
17092 wxPyEndAllowThreads(__tstate
);
17093 if (PyErr_Occurred()) SWIG_fail
;
17095 Py_INCREF(Py_None
); resultobj
= Py_None
;
17102 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17103 PyObject
*resultobj
;
17104 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17106 PyObject
* obj0
= 0 ;
17107 char *kwnames
[] = {
17108 (char *) "self", NULL
17111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
17112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17117 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
17118 result
= (wxString
*) &_result_ref
;
17121 wxPyEndAllowThreads(__tstate
);
17122 if (PyErr_Occurred()) SWIG_fail
;
17126 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17128 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17137 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17138 PyObject
*resultobj
;
17139 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17141 PyObject
* obj0
= 0 ;
17142 char *kwnames
[] = {
17143 (char *) "self", NULL
17146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
17147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17152 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
17153 result
= (wxString
*) &_result_ref
;
17156 wxPyEndAllowThreads(__tstate
);
17157 if (PyErr_Occurred()) SWIG_fail
;
17161 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17163 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17172 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17173 PyObject
*resultobj
;
17174 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17176 PyObject
* obj0
= 0 ;
17177 char *kwnames
[] = {
17178 (char *) "self", NULL
17181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
17182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17187 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
17188 result
= (wxString
*) &_result_ref
;
17191 wxPyEndAllowThreads(__tstate
);
17192 if (PyErr_Occurred()) SWIG_fail
;
17196 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17198 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17207 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17208 PyObject
*resultobj
;
17209 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17211 PyObject
* obj0
= 0 ;
17212 char *kwnames
[] = {
17213 (char *) "self", NULL
17216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
17217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17222 wxString
const &_result_ref
= (arg1
)->GetFilename();
17223 result
= (wxString
*) &_result_ref
;
17226 wxPyEndAllowThreads(__tstate
);
17227 if (PyErr_Occurred()) SWIG_fail
;
17231 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17233 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17242 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17243 PyObject
*resultobj
;
17244 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17246 PyObject
* obj0
= 0 ;
17247 char *kwnames
[] = {
17248 (char *) "self", NULL
17251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
17252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17257 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
17258 result
= (wxString
*) &_result_ref
;
17261 wxPyEndAllowThreads(__tstate
);
17262 if (PyErr_Occurred()) SWIG_fail
;
17266 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17268 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17277 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17278 PyObject
*resultobj
;
17279 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17281 PyObject
* obj0
= 0 ;
17282 char *kwnames
[] = {
17283 (char *) "self", NULL
17286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
17287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17291 result
= (double)(arg1
)->GetPrinterScaleX();
17293 wxPyEndAllowThreads(__tstate
);
17294 if (PyErr_Occurred()) SWIG_fail
;
17296 resultobj
= SWIG_FromDouble((double)result
);
17303 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17304 PyObject
*resultobj
;
17305 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17307 PyObject
* obj0
= 0 ;
17308 char *kwnames
[] = {
17309 (char *) "self", NULL
17312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
17313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17317 result
= (double)(arg1
)->GetPrinterScaleY();
17319 wxPyEndAllowThreads(__tstate
);
17320 if (PyErr_Occurred()) SWIG_fail
;
17322 resultobj
= SWIG_FromDouble((double)result
);
17329 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17330 PyObject
*resultobj
;
17331 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17333 PyObject
* obj0
= 0 ;
17334 char *kwnames
[] = {
17335 (char *) "self", NULL
17338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
17339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17343 result
= (long)(arg1
)->GetPrinterTranslateX();
17345 wxPyEndAllowThreads(__tstate
);
17346 if (PyErr_Occurred()) SWIG_fail
;
17348 resultobj
= SWIG_FromLong((long)result
);
17355 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17356 PyObject
*resultobj
;
17357 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17359 PyObject
* obj0
= 0 ;
17360 char *kwnames
[] = {
17361 (char *) "self", NULL
17364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
17365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17369 result
= (long)(arg1
)->GetPrinterTranslateY();
17371 wxPyEndAllowThreads(__tstate
);
17372 if (PyErr_Occurred()) SWIG_fail
;
17374 resultobj
= SWIG_FromLong((long)result
);
17381 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17382 PyObject
*resultobj
;
17383 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17385 PyObject
* obj0
= 0 ;
17386 char *kwnames
[] = {
17387 (char *) "self", NULL
17390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
17391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17395 result
= (int)(arg1
)->GetPrintMode();
17397 wxPyEndAllowThreads(__tstate
);
17398 if (PyErr_Occurred()) SWIG_fail
;
17400 resultobj
= SWIG_FromInt((int)result
);
17407 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17408 PyObject
*resultobj
;
17409 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17410 wxString
*arg2
= 0 ;
17411 bool temp2
= False
;
17412 PyObject
* obj0
= 0 ;
17413 PyObject
* obj1
= 0 ;
17414 char *kwnames
[] = {
17415 (char *) "self",(char *) "command", NULL
17418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
17419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17422 arg2
= wxString_in_helper(obj1
);
17423 if (arg2
== NULL
) SWIG_fail
;
17427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17428 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
17430 wxPyEndAllowThreads(__tstate
);
17431 if (PyErr_Occurred()) SWIG_fail
;
17433 Py_INCREF(Py_None
); resultobj
= Py_None
;
17448 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17449 PyObject
*resultobj
;
17450 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17451 wxString
*arg2
= 0 ;
17452 bool temp2
= False
;
17453 PyObject
* obj0
= 0 ;
17454 PyObject
* obj1
= 0 ;
17455 char *kwnames
[] = {
17456 (char *) "self",(char *) "options", NULL
17459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
17460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17463 arg2
= wxString_in_helper(obj1
);
17464 if (arg2
== NULL
) SWIG_fail
;
17468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17469 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
17471 wxPyEndAllowThreads(__tstate
);
17472 if (PyErr_Occurred()) SWIG_fail
;
17474 Py_INCREF(Py_None
); resultobj
= Py_None
;
17489 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17490 PyObject
*resultobj
;
17491 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17492 wxString
*arg2
= 0 ;
17493 bool temp2
= False
;
17494 PyObject
* obj0
= 0 ;
17495 PyObject
* obj1
= 0 ;
17496 char *kwnames
[] = {
17497 (char *) "self",(char *) "command", NULL
17500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
17501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17504 arg2
= wxString_in_helper(obj1
);
17505 if (arg2
== NULL
) SWIG_fail
;
17509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17510 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
17512 wxPyEndAllowThreads(__tstate
);
17513 if (PyErr_Occurred()) SWIG_fail
;
17515 Py_INCREF(Py_None
); resultobj
= Py_None
;
17530 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17531 PyObject
*resultobj
;
17532 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17533 wxString
*arg2
= 0 ;
17534 bool temp2
= False
;
17535 PyObject
* obj0
= 0 ;
17536 PyObject
* obj1
= 0 ;
17537 char *kwnames
[] = {
17538 (char *) "self",(char *) "filename", NULL
17541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
17542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17545 arg2
= wxString_in_helper(obj1
);
17546 if (arg2
== NULL
) SWIG_fail
;
17550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17551 (arg1
)->SetFilename((wxString
const &)*arg2
);
17553 wxPyEndAllowThreads(__tstate
);
17554 if (PyErr_Occurred()) SWIG_fail
;
17556 Py_INCREF(Py_None
); resultobj
= Py_None
;
17571 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17572 PyObject
*resultobj
;
17573 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17574 wxString
*arg2
= 0 ;
17575 bool temp2
= False
;
17576 PyObject
* obj0
= 0 ;
17577 PyObject
* obj1
= 0 ;
17578 char *kwnames
[] = {
17579 (char *) "self",(char *) "path", NULL
17582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
17583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17586 arg2
= wxString_in_helper(obj1
);
17587 if (arg2
== NULL
) SWIG_fail
;
17591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17592 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
17594 wxPyEndAllowThreads(__tstate
);
17595 if (PyErr_Occurred()) SWIG_fail
;
17597 Py_INCREF(Py_None
); resultobj
= Py_None
;
17612 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17613 PyObject
*resultobj
;
17614 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17616 PyObject
* obj0
= 0 ;
17617 PyObject
* obj1
= 0 ;
17618 char *kwnames
[] = {
17619 (char *) "self",(char *) "x", NULL
17622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
17623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17625 arg2
= (double) SWIG_AsDouble(obj1
);
17626 if (PyErr_Occurred()) SWIG_fail
;
17628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17629 (arg1
)->SetPrinterScaleX(arg2
);
17631 wxPyEndAllowThreads(__tstate
);
17632 if (PyErr_Occurred()) SWIG_fail
;
17634 Py_INCREF(Py_None
); resultobj
= Py_None
;
17641 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17642 PyObject
*resultobj
;
17643 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17645 PyObject
* obj0
= 0 ;
17646 PyObject
* obj1
= 0 ;
17647 char *kwnames
[] = {
17648 (char *) "self",(char *) "y", NULL
17651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
17652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17654 arg2
= (double) SWIG_AsDouble(obj1
);
17655 if (PyErr_Occurred()) SWIG_fail
;
17657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17658 (arg1
)->SetPrinterScaleY(arg2
);
17660 wxPyEndAllowThreads(__tstate
);
17661 if (PyErr_Occurred()) SWIG_fail
;
17663 Py_INCREF(Py_None
); resultobj
= Py_None
;
17670 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17671 PyObject
*resultobj
;
17672 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17675 PyObject
* obj0
= 0 ;
17676 PyObject
* obj1
= 0 ;
17677 PyObject
* obj2
= 0 ;
17678 char *kwnames
[] = {
17679 (char *) "self",(char *) "x",(char *) "y", NULL
17682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17685 arg2
= (double) SWIG_AsDouble(obj1
);
17686 if (PyErr_Occurred()) SWIG_fail
;
17687 arg3
= (double) SWIG_AsDouble(obj2
);
17688 if (PyErr_Occurred()) SWIG_fail
;
17690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17691 (arg1
)->SetPrinterScaling(arg2
,arg3
);
17693 wxPyEndAllowThreads(__tstate
);
17694 if (PyErr_Occurred()) SWIG_fail
;
17696 Py_INCREF(Py_None
); resultobj
= Py_None
;
17703 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17704 PyObject
*resultobj
;
17705 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17707 PyObject
* obj0
= 0 ;
17708 PyObject
* obj1
= 0 ;
17709 char *kwnames
[] = {
17710 (char *) "self",(char *) "x", NULL
17713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
17714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17716 arg2
= (long) SWIG_AsLong(obj1
);
17717 if (PyErr_Occurred()) SWIG_fail
;
17719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17720 (arg1
)->SetPrinterTranslateX(arg2
);
17722 wxPyEndAllowThreads(__tstate
);
17723 if (PyErr_Occurred()) SWIG_fail
;
17725 Py_INCREF(Py_None
); resultobj
= Py_None
;
17732 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17733 PyObject
*resultobj
;
17734 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17736 PyObject
* obj0
= 0 ;
17737 PyObject
* obj1
= 0 ;
17738 char *kwnames
[] = {
17739 (char *) "self",(char *) "y", NULL
17742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
17743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17745 arg2
= (long) SWIG_AsLong(obj1
);
17746 if (PyErr_Occurred()) SWIG_fail
;
17748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17749 (arg1
)->SetPrinterTranslateY(arg2
);
17751 wxPyEndAllowThreads(__tstate
);
17752 if (PyErr_Occurred()) SWIG_fail
;
17754 Py_INCREF(Py_None
); resultobj
= Py_None
;
17761 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17762 PyObject
*resultobj
;
17763 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17766 PyObject
* obj0
= 0 ;
17767 PyObject
* obj1
= 0 ;
17768 PyObject
* obj2
= 0 ;
17769 char *kwnames
[] = {
17770 (char *) "self",(char *) "x",(char *) "y", NULL
17773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17776 arg2
= (long) SWIG_AsLong(obj1
);
17777 if (PyErr_Occurred()) SWIG_fail
;
17778 arg3
= (long) SWIG_AsLong(obj2
);
17779 if (PyErr_Occurred()) SWIG_fail
;
17781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17782 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
17784 wxPyEndAllowThreads(__tstate
);
17785 if (PyErr_Occurred()) SWIG_fail
;
17787 Py_INCREF(Py_None
); resultobj
= Py_None
;
17794 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17795 PyObject
*resultobj
;
17796 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17798 PyObject
* obj0
= 0 ;
17799 PyObject
* obj1
= 0 ;
17800 char *kwnames
[] = {
17801 (char *) "self",(char *) "printMode", NULL
17804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
17805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17807 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
17808 if (PyErr_Occurred()) SWIG_fail
;
17810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17811 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
17813 wxPyEndAllowThreads(__tstate
);
17814 if (PyErr_Occurred()) SWIG_fail
;
17816 Py_INCREF(Py_None
); resultobj
= Py_None
;
17823 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17824 PyObject
*resultobj
;
17825 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17826 wxOutputStream
*result
;
17827 PyObject
* obj0
= 0 ;
17828 char *kwnames
[] = {
17829 (char *) "self", NULL
17832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
17833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17837 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
17839 wxPyEndAllowThreads(__tstate
);
17840 if (PyErr_Occurred()) SWIG_fail
;
17842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
17849 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17850 PyObject
*resultobj
;
17851 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17852 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
17853 PyObject
* obj0
= 0 ;
17854 PyObject
* obj1
= 0 ;
17855 char *kwnames
[] = {
17856 (char *) "self",(char *) "outputstream", NULL
17859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
17860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17862 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
17863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17866 (arg1
)->SetOutputStream(arg2
);
17868 wxPyEndAllowThreads(__tstate
);
17869 if (PyErr_Occurred()) SWIG_fail
;
17871 Py_INCREF(Py_None
); resultobj
= Py_None
;
17878 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
17880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17881 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
17883 return Py_BuildValue((char *)"");
17885 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17886 PyObject
*resultobj
;
17887 wxPageSetupDialogData
*result
;
17888 char *kwnames
[] = {
17892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
17894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17895 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
17897 wxPyEndAllowThreads(__tstate
);
17898 if (PyErr_Occurred()) SWIG_fail
;
17900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
17907 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17908 PyObject
*resultobj
;
17909 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17910 PyObject
* obj0
= 0 ;
17911 char *kwnames
[] = {
17912 (char *) "self", NULL
17915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
17916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17922 wxPyEndAllowThreads(__tstate
);
17923 if (PyErr_Occurred()) SWIG_fail
;
17925 Py_INCREF(Py_None
); resultobj
= Py_None
;
17932 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17933 PyObject
*resultobj
;
17934 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17936 PyObject
* obj0
= 0 ;
17937 PyObject
* obj1
= 0 ;
17938 char *kwnames
[] = {
17939 (char *) "self",(char *) "flag", NULL
17942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17945 arg2
= (bool) SWIG_AsBool(obj1
);
17946 if (PyErr_Occurred()) SWIG_fail
;
17948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17949 (arg1
)->EnableHelp(arg2
);
17951 wxPyEndAllowThreads(__tstate
);
17952 if (PyErr_Occurred()) SWIG_fail
;
17954 Py_INCREF(Py_None
); resultobj
= Py_None
;
17961 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17962 PyObject
*resultobj
;
17963 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17965 PyObject
* obj0
= 0 ;
17966 PyObject
* obj1
= 0 ;
17967 char *kwnames
[] = {
17968 (char *) "self",(char *) "flag", NULL
17971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17974 arg2
= (bool) SWIG_AsBool(obj1
);
17975 if (PyErr_Occurred()) SWIG_fail
;
17977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17978 (arg1
)->EnableMargins(arg2
);
17980 wxPyEndAllowThreads(__tstate
);
17981 if (PyErr_Occurred()) SWIG_fail
;
17983 Py_INCREF(Py_None
); resultobj
= Py_None
;
17990 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17991 PyObject
*resultobj
;
17992 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17994 PyObject
* obj0
= 0 ;
17995 PyObject
* obj1
= 0 ;
17996 char *kwnames
[] = {
17997 (char *) "self",(char *) "flag", NULL
18000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18003 arg2
= (bool) SWIG_AsBool(obj1
);
18004 if (PyErr_Occurred()) SWIG_fail
;
18006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18007 (arg1
)->EnableOrientation(arg2
);
18009 wxPyEndAllowThreads(__tstate
);
18010 if (PyErr_Occurred()) SWIG_fail
;
18012 Py_INCREF(Py_None
); resultobj
= Py_None
;
18019 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18020 PyObject
*resultobj
;
18021 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18023 PyObject
* obj0
= 0 ;
18024 PyObject
* obj1
= 0 ;
18025 char *kwnames
[] = {
18026 (char *) "self",(char *) "flag", NULL
18029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
18030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18032 arg2
= (bool) SWIG_AsBool(obj1
);
18033 if (PyErr_Occurred()) SWIG_fail
;
18035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18036 (arg1
)->EnablePaper(arg2
);
18038 wxPyEndAllowThreads(__tstate
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18041 Py_INCREF(Py_None
); resultobj
= Py_None
;
18048 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18049 PyObject
*resultobj
;
18050 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18052 PyObject
* obj0
= 0 ;
18053 PyObject
* obj1
= 0 ;
18054 char *kwnames
[] = {
18055 (char *) "self",(char *) "flag", NULL
18058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
18059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18061 arg2
= (bool) SWIG_AsBool(obj1
);
18062 if (PyErr_Occurred()) SWIG_fail
;
18064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18065 (arg1
)->EnablePrinter(arg2
);
18067 wxPyEndAllowThreads(__tstate
);
18068 if (PyErr_Occurred()) SWIG_fail
;
18070 Py_INCREF(Py_None
); resultobj
= Py_None
;
18077 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18078 PyObject
*resultobj
;
18079 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18081 PyObject
* obj0
= 0 ;
18082 char *kwnames
[] = {
18083 (char *) "self", NULL
18086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
18087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18091 result
= (bool)(arg1
)->GetDefaultMinMargins();
18093 wxPyEndAllowThreads(__tstate
);
18094 if (PyErr_Occurred()) SWIG_fail
;
18097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18105 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18106 PyObject
*resultobj
;
18107 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18109 PyObject
* obj0
= 0 ;
18110 char *kwnames
[] = {
18111 (char *) "self", NULL
18114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
18115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18119 result
= (bool)(arg1
)->GetEnableMargins();
18121 wxPyEndAllowThreads(__tstate
);
18122 if (PyErr_Occurred()) SWIG_fail
;
18125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18133 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18134 PyObject
*resultobj
;
18135 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18137 PyObject
* obj0
= 0 ;
18138 char *kwnames
[] = {
18139 (char *) "self", NULL
18142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
18143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18147 result
= (bool)(arg1
)->GetEnableOrientation();
18149 wxPyEndAllowThreads(__tstate
);
18150 if (PyErr_Occurred()) SWIG_fail
;
18153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18161 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18162 PyObject
*resultobj
;
18163 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18165 PyObject
* obj0
= 0 ;
18166 char *kwnames
[] = {
18167 (char *) "self", NULL
18170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
18171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18175 result
= (bool)(arg1
)->GetEnablePaper();
18177 wxPyEndAllowThreads(__tstate
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18189 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18190 PyObject
*resultobj
;
18191 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18193 PyObject
* obj0
= 0 ;
18194 char *kwnames
[] = {
18195 (char *) "self", NULL
18198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
18199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18203 result
= (bool)(arg1
)->GetEnablePrinter();
18205 wxPyEndAllowThreads(__tstate
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18217 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18218 PyObject
*resultobj
;
18219 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18221 PyObject
* obj0
= 0 ;
18222 char *kwnames
[] = {
18223 (char *) "self", NULL
18226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
18227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18231 result
= (bool)(arg1
)->GetEnableHelp();
18233 wxPyEndAllowThreads(__tstate
);
18234 if (PyErr_Occurred()) SWIG_fail
;
18237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18245 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18246 PyObject
*resultobj
;
18247 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18249 PyObject
* obj0
= 0 ;
18250 char *kwnames
[] = {
18251 (char *) "self", NULL
18254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
18255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18259 result
= (bool)(arg1
)->GetDefaultInfo();
18261 wxPyEndAllowThreads(__tstate
);
18262 if (PyErr_Occurred()) SWIG_fail
;
18265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18273 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18274 PyObject
*resultobj
;
18275 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18277 PyObject
* obj0
= 0 ;
18278 char *kwnames
[] = {
18279 (char *) "self", NULL
18282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
18283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18287 result
= (arg1
)->GetMarginTopLeft();
18289 wxPyEndAllowThreads(__tstate
);
18290 if (PyErr_Occurred()) SWIG_fail
;
18293 wxPoint
* resultptr
;
18294 resultptr
= new wxPoint((wxPoint
&) result
);
18295 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18303 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18304 PyObject
*resultobj
;
18305 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18307 PyObject
* obj0
= 0 ;
18308 char *kwnames
[] = {
18309 (char *) "self", NULL
18312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
18313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18317 result
= (arg1
)->GetMarginBottomRight();
18319 wxPyEndAllowThreads(__tstate
);
18320 if (PyErr_Occurred()) SWIG_fail
;
18323 wxPoint
* resultptr
;
18324 resultptr
= new wxPoint((wxPoint
&) result
);
18325 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18333 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18334 PyObject
*resultobj
;
18335 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18337 PyObject
* obj0
= 0 ;
18338 char *kwnames
[] = {
18339 (char *) "self", NULL
18342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
18343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18347 result
= (arg1
)->GetMinMarginTopLeft();
18349 wxPyEndAllowThreads(__tstate
);
18350 if (PyErr_Occurred()) SWIG_fail
;
18353 wxPoint
* resultptr
;
18354 resultptr
= new wxPoint((wxPoint
&) result
);
18355 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18363 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18364 PyObject
*resultobj
;
18365 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18367 PyObject
* obj0
= 0 ;
18368 char *kwnames
[] = {
18369 (char *) "self", NULL
18372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
18373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18377 result
= (arg1
)->GetMinMarginBottomRight();
18379 wxPyEndAllowThreads(__tstate
);
18380 if (PyErr_Occurred()) SWIG_fail
;
18383 wxPoint
* resultptr
;
18384 resultptr
= new wxPoint((wxPoint
&) result
);
18385 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18393 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18394 PyObject
*resultobj
;
18395 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18397 PyObject
* obj0
= 0 ;
18398 char *kwnames
[] = {
18399 (char *) "self", NULL
18402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18407 result
= (int)(arg1
)->GetPaperId();
18409 wxPyEndAllowThreads(__tstate
);
18410 if (PyErr_Occurred()) SWIG_fail
;
18412 resultobj
= SWIG_FromInt((int)result
);
18419 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18420 PyObject
*resultobj
;
18421 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18423 PyObject
* obj0
= 0 ;
18424 char *kwnames
[] = {
18425 (char *) "self", NULL
18428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18433 result
= (arg1
)->GetPaperSize();
18435 wxPyEndAllowThreads(__tstate
);
18436 if (PyErr_Occurred()) SWIG_fail
;
18439 wxSize
* resultptr
;
18440 resultptr
= new wxSize((wxSize
&) result
);
18441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18449 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18450 PyObject
*resultobj
;
18451 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18452 wxPrintData
*result
;
18453 PyObject
* obj0
= 0 ;
18454 char *kwnames
[] = {
18455 (char *) "self", NULL
18458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
18459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18464 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
18465 result
= (wxPrintData
*) &_result_ref
;
18468 wxPyEndAllowThreads(__tstate
);
18469 if (PyErr_Occurred()) SWIG_fail
;
18471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
18478 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18479 PyObject
*resultobj
;
18480 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18482 PyObject
* obj0
= 0 ;
18483 char *kwnames
[] = {
18484 (char *) "self", NULL
18487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
18488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18492 result
= (bool)(arg1
)->Ok();
18494 wxPyEndAllowThreads(__tstate
);
18495 if (PyErr_Occurred()) SWIG_fail
;
18498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18506 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18507 PyObject
*resultobj
;
18508 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18510 PyObject
* obj0
= 0 ;
18511 PyObject
* obj1
= 0 ;
18512 char *kwnames
[] = {
18513 (char *) "self",(char *) "flag", NULL
18516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
18517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18519 arg2
= (bool) SWIG_AsBool(obj1
);
18520 if (PyErr_Occurred()) SWIG_fail
;
18522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18523 (arg1
)->SetDefaultInfo(arg2
);
18525 wxPyEndAllowThreads(__tstate
);
18526 if (PyErr_Occurred()) SWIG_fail
;
18528 Py_INCREF(Py_None
); resultobj
= Py_None
;
18535 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18536 PyObject
*resultobj
;
18537 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18539 PyObject
* obj0
= 0 ;
18540 PyObject
* obj1
= 0 ;
18541 char *kwnames
[] = {
18542 (char *) "self",(char *) "flag", NULL
18545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18548 arg2
= (bool) SWIG_AsBool(obj1
);
18549 if (PyErr_Occurred()) SWIG_fail
;
18551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18552 (arg1
)->SetDefaultMinMargins(arg2
);
18554 wxPyEndAllowThreads(__tstate
);
18555 if (PyErr_Occurred()) SWIG_fail
;
18557 Py_INCREF(Py_None
); resultobj
= Py_None
;
18564 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18565 PyObject
*resultobj
;
18566 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18567 wxPoint
*arg2
= 0 ;
18569 PyObject
* obj0
= 0 ;
18570 PyObject
* obj1
= 0 ;
18571 char *kwnames
[] = {
18572 (char *) "self",(char *) "pt", NULL
18575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
18576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18580 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18584 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
18586 wxPyEndAllowThreads(__tstate
);
18587 if (PyErr_Occurred()) SWIG_fail
;
18589 Py_INCREF(Py_None
); resultobj
= Py_None
;
18596 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18597 PyObject
*resultobj
;
18598 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18599 wxPoint
*arg2
= 0 ;
18601 PyObject
* obj0
= 0 ;
18602 PyObject
* obj1
= 0 ;
18603 char *kwnames
[] = {
18604 (char *) "self",(char *) "pt", NULL
18607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
18608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18612 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18616 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
18618 wxPyEndAllowThreads(__tstate
);
18619 if (PyErr_Occurred()) SWIG_fail
;
18621 Py_INCREF(Py_None
); resultobj
= Py_None
;
18628 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18629 PyObject
*resultobj
;
18630 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18631 wxPoint
*arg2
= 0 ;
18633 PyObject
* obj0
= 0 ;
18634 PyObject
* obj1
= 0 ;
18635 char *kwnames
[] = {
18636 (char *) "self",(char *) "pt", NULL
18639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
18640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18644 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18648 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
18650 wxPyEndAllowThreads(__tstate
);
18651 if (PyErr_Occurred()) SWIG_fail
;
18653 Py_INCREF(Py_None
); resultobj
= Py_None
;
18660 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18661 PyObject
*resultobj
;
18662 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18663 wxPoint
*arg2
= 0 ;
18665 PyObject
* obj0
= 0 ;
18666 PyObject
* obj1
= 0 ;
18667 char *kwnames
[] = {
18668 (char *) "self",(char *) "pt", NULL
18671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
18672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18676 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18680 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
18682 wxPyEndAllowThreads(__tstate
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18685 Py_INCREF(Py_None
); resultobj
= Py_None
;
18692 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18693 PyObject
*resultobj
;
18694 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18696 PyObject
* obj0
= 0 ;
18697 PyObject
* obj1
= 0 ;
18698 char *kwnames
[] = {
18699 (char *) "self",(char *) "id", NULL
18702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18705 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
18706 if (PyErr_Occurred()) SWIG_fail
;
18708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18709 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18711 wxPyEndAllowThreads(__tstate
);
18712 if (PyErr_Occurred()) SWIG_fail
;
18714 Py_INCREF(Py_None
); resultobj
= Py_None
;
18721 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18722 PyObject
*resultobj
;
18723 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18726 PyObject
* obj0
= 0 ;
18727 PyObject
* obj1
= 0 ;
18728 char *kwnames
[] = {
18729 (char *) "self",(char *) "size", NULL
18732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18737 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18741 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18743 wxPyEndAllowThreads(__tstate
);
18744 if (PyErr_Occurred()) SWIG_fail
;
18746 Py_INCREF(Py_None
); resultobj
= Py_None
;
18753 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18754 PyObject
*resultobj
;
18755 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18756 wxPrintData
*arg2
= 0 ;
18757 PyObject
* obj0
= 0 ;
18758 PyObject
* obj1
= 0 ;
18759 char *kwnames
[] = {
18760 (char *) "self",(char *) "printData", NULL
18763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
18764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
18767 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18769 if (arg2
== NULL
) {
18770 PyErr_SetString(PyExc_TypeError
,"null reference");
18774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18775 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
18777 wxPyEndAllowThreads(__tstate
);
18778 if (PyErr_Occurred()) SWIG_fail
;
18780 Py_INCREF(Py_None
); resultobj
= Py_None
;
18787 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
18789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18790 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
18792 return Py_BuildValue((char *)"");
18794 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18795 PyObject
*resultobj
;
18796 wxWindow
*arg1
= (wxWindow
*) 0 ;
18797 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
18798 wxPageSetupDialog
*result
;
18799 PyObject
* obj0
= 0 ;
18800 PyObject
* obj1
= 0 ;
18801 char *kwnames
[] = {
18802 (char *) "parent",(char *) "data", NULL
18805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
18806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18809 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
18810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18814 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
18816 wxPyEndAllowThreads(__tstate
);
18817 if (PyErr_Occurred()) SWIG_fail
;
18819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
18826 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18827 PyObject
*resultobj
;
18828 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
18829 wxPageSetupDialogData
*result
;
18830 PyObject
* obj0
= 0 ;
18831 char *kwnames
[] = {
18832 (char *) "self", NULL
18835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
18836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
18837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18841 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
18842 result
= (wxPageSetupDialogData
*) &_result_ref
;
18845 wxPyEndAllowThreads(__tstate
);
18846 if (PyErr_Occurred()) SWIG_fail
;
18848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
18855 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18856 PyObject
*resultobj
;
18857 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
18859 PyObject
* obj0
= 0 ;
18860 char *kwnames
[] = {
18861 (char *) "self", NULL
18864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
18865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
18866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18869 result
= (int)(arg1
)->ShowModal();
18871 wxPyEndAllowThreads(__tstate
);
18872 if (PyErr_Occurred()) SWIG_fail
;
18874 resultobj
= SWIG_FromInt((int)result
);
18881 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
18883 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18884 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
18886 return Py_BuildValue((char *)"");
18888 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
18889 PyObject
*resultobj
;
18890 wxPrintDialogData
*result
;
18892 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
18894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18895 result
= (wxPrintDialogData
*)new wxPrintDialogData();
18897 wxPyEndAllowThreads(__tstate
);
18898 if (PyErr_Occurred()) SWIG_fail
;
18900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
18907 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
18908 PyObject
*resultobj
;
18909 wxPrintData
*arg1
= 0 ;
18910 wxPrintDialogData
*result
;
18911 PyObject
* obj0
= 0 ;
18913 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
18914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18915 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18917 if (arg1
== NULL
) {
18918 PyErr_SetString(PyExc_TypeError
,"null reference");
18922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18923 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
18925 wxPyEndAllowThreads(__tstate
);
18926 if (PyErr_Occurred()) SWIG_fail
;
18928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
18935 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
18940 argc
= PyObject_Length(args
);
18941 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
18942 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18945 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
18951 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
18959 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
18963 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
18968 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18969 PyObject
*resultobj
;
18970 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18971 PyObject
* obj0
= 0 ;
18972 char *kwnames
[] = {
18973 (char *) "self", NULL
18976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
18977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18983 wxPyEndAllowThreads(__tstate
);
18984 if (PyErr_Occurred()) SWIG_fail
;
18986 Py_INCREF(Py_None
); resultobj
= Py_None
;
18993 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18994 PyObject
*resultobj
;
18995 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18997 PyObject
* obj0
= 0 ;
18998 char *kwnames
[] = {
18999 (char *) "self", NULL
19002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
19003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19007 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
19009 wxPyEndAllowThreads(__tstate
);
19010 if (PyErr_Occurred()) SWIG_fail
;
19012 resultobj
= SWIG_FromInt((int)result
);
19019 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19020 PyObject
*resultobj
;
19021 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19023 PyObject
* obj0
= 0 ;
19024 char *kwnames
[] = {
19025 (char *) "self", NULL
19028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
19029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19033 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
19035 wxPyEndAllowThreads(__tstate
);
19036 if (PyErr_Occurred()) SWIG_fail
;
19038 resultobj
= SWIG_FromInt((int)result
);
19045 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19046 PyObject
*resultobj
;
19047 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19049 PyObject
* obj0
= 0 ;
19050 char *kwnames
[] = {
19051 (char *) "self", NULL
19054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
19055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19059 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
19061 wxPyEndAllowThreads(__tstate
);
19062 if (PyErr_Occurred()) SWIG_fail
;
19064 resultobj
= SWIG_FromInt((int)result
);
19071 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19072 PyObject
*resultobj
;
19073 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19075 PyObject
* obj0
= 0 ;
19076 char *kwnames
[] = {
19077 (char *) "self", NULL
19080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
19081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19085 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
19087 wxPyEndAllowThreads(__tstate
);
19088 if (PyErr_Occurred()) SWIG_fail
;
19090 resultobj
= SWIG_FromInt((int)result
);
19097 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19098 PyObject
*resultobj
;
19099 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19101 PyObject
* obj0
= 0 ;
19102 char *kwnames
[] = {
19103 (char *) "self", NULL
19106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
19107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19111 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
19113 wxPyEndAllowThreads(__tstate
);
19114 if (PyErr_Occurred()) SWIG_fail
;
19116 resultobj
= SWIG_FromInt((int)result
);
19123 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19124 PyObject
*resultobj
;
19125 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19127 PyObject
* obj0
= 0 ;
19128 char *kwnames
[] = {
19129 (char *) "self", NULL
19132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
19133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19137 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
19139 wxPyEndAllowThreads(__tstate
);
19140 if (PyErr_Occurred()) SWIG_fail
;
19143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19151 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19152 PyObject
*resultobj
;
19153 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19155 PyObject
* obj0
= 0 ;
19156 char *kwnames
[] = {
19157 (char *) "self", NULL
19160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
19161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19165 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
19167 wxPyEndAllowThreads(__tstate
);
19168 if (PyErr_Occurred()) SWIG_fail
;
19171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19179 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19180 PyObject
*resultobj
;
19181 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19183 PyObject
* obj0
= 0 ;
19184 char *kwnames
[] = {
19185 (char *) "self", NULL
19188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
19189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19193 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
19195 wxPyEndAllowThreads(__tstate
);
19196 if (PyErr_Occurred()) SWIG_fail
;
19199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19207 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19208 PyObject
*resultobj
;
19209 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19211 PyObject
* obj0
= 0 ;
19212 char *kwnames
[] = {
19213 (char *) "self", NULL
19216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
19217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19221 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
19223 wxPyEndAllowThreads(__tstate
);
19224 if (PyErr_Occurred()) SWIG_fail
;
19227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19235 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19236 PyObject
*resultobj
;
19237 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19239 PyObject
* obj0
= 0 ;
19240 char *kwnames
[] = {
19241 (char *) "self", NULL
19244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
19245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19249 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
19251 wxPyEndAllowThreads(__tstate
);
19252 if (PyErr_Occurred()) SWIG_fail
;
19255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19263 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19264 PyObject
*resultobj
;
19265 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19267 PyObject
* obj0
= 0 ;
19268 PyObject
* obj1
= 0 ;
19269 char *kwnames
[] = {
19270 (char *) "self",(char *) "v", NULL
19273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
19274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19276 arg2
= (int) SWIG_AsInt(obj1
);
19277 if (PyErr_Occurred()) SWIG_fail
;
19279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19280 (arg1
)->SetFromPage(arg2
);
19282 wxPyEndAllowThreads(__tstate
);
19283 if (PyErr_Occurred()) SWIG_fail
;
19285 Py_INCREF(Py_None
); resultobj
= Py_None
;
19292 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19293 PyObject
*resultobj
;
19294 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19296 PyObject
* obj0
= 0 ;
19297 PyObject
* obj1
= 0 ;
19298 char *kwnames
[] = {
19299 (char *) "self",(char *) "v", NULL
19302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
19303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19305 arg2
= (int) SWIG_AsInt(obj1
);
19306 if (PyErr_Occurred()) SWIG_fail
;
19308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19309 (arg1
)->SetToPage(arg2
);
19311 wxPyEndAllowThreads(__tstate
);
19312 if (PyErr_Occurred()) SWIG_fail
;
19314 Py_INCREF(Py_None
); resultobj
= Py_None
;
19321 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19322 PyObject
*resultobj
;
19323 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19325 PyObject
* obj0
= 0 ;
19326 PyObject
* obj1
= 0 ;
19327 char *kwnames
[] = {
19328 (char *) "self",(char *) "v", NULL
19331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
19332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19334 arg2
= (int) SWIG_AsInt(obj1
);
19335 if (PyErr_Occurred()) SWIG_fail
;
19337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19338 (arg1
)->SetMinPage(arg2
);
19340 wxPyEndAllowThreads(__tstate
);
19341 if (PyErr_Occurred()) SWIG_fail
;
19343 Py_INCREF(Py_None
); resultobj
= Py_None
;
19350 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19351 PyObject
*resultobj
;
19352 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19354 PyObject
* obj0
= 0 ;
19355 PyObject
* obj1
= 0 ;
19356 char *kwnames
[] = {
19357 (char *) "self",(char *) "v", NULL
19360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
19361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19363 arg2
= (int) SWIG_AsInt(obj1
);
19364 if (PyErr_Occurred()) SWIG_fail
;
19366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19367 (arg1
)->SetMaxPage(arg2
);
19369 wxPyEndAllowThreads(__tstate
);
19370 if (PyErr_Occurred()) SWIG_fail
;
19372 Py_INCREF(Py_None
); resultobj
= Py_None
;
19379 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19380 PyObject
*resultobj
;
19381 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19383 PyObject
* obj0
= 0 ;
19384 PyObject
* obj1
= 0 ;
19385 char *kwnames
[] = {
19386 (char *) "self",(char *) "v", NULL
19389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
19390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19392 arg2
= (int) SWIG_AsInt(obj1
);
19393 if (PyErr_Occurred()) SWIG_fail
;
19395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19396 (arg1
)->SetNoCopies(arg2
);
19398 wxPyEndAllowThreads(__tstate
);
19399 if (PyErr_Occurred()) SWIG_fail
;
19401 Py_INCREF(Py_None
); resultobj
= Py_None
;
19408 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19409 PyObject
*resultobj
;
19410 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19412 PyObject
* obj0
= 0 ;
19413 PyObject
* obj1
= 0 ;
19414 char *kwnames
[] = {
19415 (char *) "self",(char *) "flag", NULL
19418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
19419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19421 arg2
= (bool) SWIG_AsBool(obj1
);
19422 if (PyErr_Occurred()) SWIG_fail
;
19424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19425 (arg1
)->SetAllPages(arg2
);
19427 wxPyEndAllowThreads(__tstate
);
19428 if (PyErr_Occurred()) SWIG_fail
;
19430 Py_INCREF(Py_None
); resultobj
= Py_None
;
19437 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19438 PyObject
*resultobj
;
19439 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19441 PyObject
* obj0
= 0 ;
19442 PyObject
* obj1
= 0 ;
19443 char *kwnames
[] = {
19444 (char *) "self",(char *) "flag", NULL
19447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
19448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19450 arg2
= (bool) SWIG_AsBool(obj1
);
19451 if (PyErr_Occurred()) SWIG_fail
;
19453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19454 (arg1
)->SetSelection(arg2
);
19456 wxPyEndAllowThreads(__tstate
);
19457 if (PyErr_Occurred()) SWIG_fail
;
19459 Py_INCREF(Py_None
); resultobj
= Py_None
;
19466 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19467 PyObject
*resultobj
;
19468 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19470 PyObject
* obj0
= 0 ;
19471 PyObject
* obj1
= 0 ;
19472 char *kwnames
[] = {
19473 (char *) "self",(char *) "flag", NULL
19476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
19477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19479 arg2
= (bool) SWIG_AsBool(obj1
);
19480 if (PyErr_Occurred()) SWIG_fail
;
19482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19483 (arg1
)->SetCollate(arg2
);
19485 wxPyEndAllowThreads(__tstate
);
19486 if (PyErr_Occurred()) SWIG_fail
;
19488 Py_INCREF(Py_None
); resultobj
= Py_None
;
19495 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19496 PyObject
*resultobj
;
19497 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19499 PyObject
* obj0
= 0 ;
19500 PyObject
* obj1
= 0 ;
19501 char *kwnames
[] = {
19502 (char *) "self",(char *) "flag", NULL
19505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
19506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19508 arg2
= (bool) SWIG_AsBool(obj1
);
19509 if (PyErr_Occurred()) SWIG_fail
;
19511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19512 (arg1
)->SetPrintToFile(arg2
);
19514 wxPyEndAllowThreads(__tstate
);
19515 if (PyErr_Occurred()) SWIG_fail
;
19517 Py_INCREF(Py_None
); resultobj
= Py_None
;
19524 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19525 PyObject
*resultobj
;
19526 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19528 PyObject
* obj0
= 0 ;
19529 PyObject
* obj1
= 0 ;
19530 char *kwnames
[] = {
19531 (char *) "self",(char *) "flag", NULL
19534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19537 arg2
= (bool) SWIG_AsBool(obj1
);
19538 if (PyErr_Occurred()) SWIG_fail
;
19540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19541 (arg1
)->SetSetupDialog(arg2
);
19543 wxPyEndAllowThreads(__tstate
);
19544 if (PyErr_Occurred()) SWIG_fail
;
19546 Py_INCREF(Py_None
); resultobj
= Py_None
;
19553 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19554 PyObject
*resultobj
;
19555 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19557 PyObject
* obj0
= 0 ;
19558 PyObject
* obj1
= 0 ;
19559 char *kwnames
[] = {
19560 (char *) "self",(char *) "flag", NULL
19563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
19564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19566 arg2
= (bool) SWIG_AsBool(obj1
);
19567 if (PyErr_Occurred()) SWIG_fail
;
19569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19570 (arg1
)->EnablePrintToFile(arg2
);
19572 wxPyEndAllowThreads(__tstate
);
19573 if (PyErr_Occurred()) SWIG_fail
;
19575 Py_INCREF(Py_None
); resultobj
= Py_None
;
19582 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19583 PyObject
*resultobj
;
19584 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19586 PyObject
* obj0
= 0 ;
19587 PyObject
* obj1
= 0 ;
19588 char *kwnames
[] = {
19589 (char *) "self",(char *) "flag", NULL
19592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
19593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19595 arg2
= (bool) SWIG_AsBool(obj1
);
19596 if (PyErr_Occurred()) SWIG_fail
;
19598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19599 (arg1
)->EnableSelection(arg2
);
19601 wxPyEndAllowThreads(__tstate
);
19602 if (PyErr_Occurred()) SWIG_fail
;
19604 Py_INCREF(Py_None
); resultobj
= Py_None
;
19611 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19612 PyObject
*resultobj
;
19613 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19615 PyObject
* obj0
= 0 ;
19616 PyObject
* obj1
= 0 ;
19617 char *kwnames
[] = {
19618 (char *) "self",(char *) "flag", NULL
19621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
19622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19624 arg2
= (bool) SWIG_AsBool(obj1
);
19625 if (PyErr_Occurred()) SWIG_fail
;
19627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19628 (arg1
)->EnablePageNumbers(arg2
);
19630 wxPyEndAllowThreads(__tstate
);
19631 if (PyErr_Occurred()) SWIG_fail
;
19633 Py_INCREF(Py_None
); resultobj
= Py_None
;
19640 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19641 PyObject
*resultobj
;
19642 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19644 PyObject
* obj0
= 0 ;
19645 PyObject
* obj1
= 0 ;
19646 char *kwnames
[] = {
19647 (char *) "self",(char *) "flag", NULL
19650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19653 arg2
= (bool) SWIG_AsBool(obj1
);
19654 if (PyErr_Occurred()) SWIG_fail
;
19656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19657 (arg1
)->EnableHelp(arg2
);
19659 wxPyEndAllowThreads(__tstate
);
19660 if (PyErr_Occurred()) SWIG_fail
;
19662 Py_INCREF(Py_None
); resultobj
= Py_None
;
19669 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19670 PyObject
*resultobj
;
19671 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19673 PyObject
* obj0
= 0 ;
19674 char *kwnames
[] = {
19675 (char *) "self", NULL
19678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
19679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19683 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
19685 wxPyEndAllowThreads(__tstate
);
19686 if (PyErr_Occurred()) SWIG_fail
;
19689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19697 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19698 PyObject
*resultobj
;
19699 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19701 PyObject
* obj0
= 0 ;
19702 char *kwnames
[] = {
19703 (char *) "self", NULL
19706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
19707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19711 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
19713 wxPyEndAllowThreads(__tstate
);
19714 if (PyErr_Occurred()) SWIG_fail
;
19717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19725 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19726 PyObject
*resultobj
;
19727 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19729 PyObject
* obj0
= 0 ;
19730 char *kwnames
[] = {
19731 (char *) "self", NULL
19734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
19735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19739 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
19741 wxPyEndAllowThreads(__tstate
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19753 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19754 PyObject
*resultobj
;
19755 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19757 PyObject
* obj0
= 0 ;
19758 char *kwnames
[] = {
19759 (char *) "self", NULL
19762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19767 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
19769 wxPyEndAllowThreads(__tstate
);
19770 if (PyErr_Occurred()) SWIG_fail
;
19773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19781 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19782 PyObject
*resultobj
;
19783 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19785 PyObject
* obj0
= 0 ;
19786 char *kwnames
[] = {
19787 (char *) "self", NULL
19790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19795 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
19797 wxPyEndAllowThreads(__tstate
);
19798 if (PyErr_Occurred()) SWIG_fail
;
19801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19809 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19810 PyObject
*resultobj
;
19811 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19812 wxPrintData
*result
;
19813 PyObject
* obj0
= 0 ;
19814 char *kwnames
[] = {
19815 (char *) "self", NULL
19818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19824 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19825 result
= (wxPrintData
*) &_result_ref
;
19828 wxPyEndAllowThreads(__tstate
);
19829 if (PyErr_Occurred()) SWIG_fail
;
19831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
19838 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19839 PyObject
*resultobj
;
19840 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19841 wxPrintData
*arg2
= 0 ;
19842 PyObject
* obj0
= 0 ;
19843 PyObject
* obj1
= 0 ;
19844 char *kwnames
[] = {
19845 (char *) "self",(char *) "printData", NULL
19848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
19849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19851 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
19852 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19854 if (arg2
== NULL
) {
19855 PyErr_SetString(PyExc_TypeError
,"null reference");
19859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19860 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
19862 wxPyEndAllowThreads(__tstate
);
19863 if (PyErr_Occurred()) SWIG_fail
;
19865 Py_INCREF(Py_None
); resultobj
= Py_None
;
19872 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
19874 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19875 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
19877 return Py_BuildValue((char *)"");
19879 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19880 PyObject
*resultobj
;
19881 wxWindow
*arg1
= (wxWindow
*) 0 ;
19882 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
19883 wxPrintDialog
*result
;
19884 PyObject
* obj0
= 0 ;
19885 PyObject
* obj1
= 0 ;
19886 char *kwnames
[] = {
19887 (char *) "parent",(char *) "data", NULL
19890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19894 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
19895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19899 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
19901 wxPyEndAllowThreads(__tstate
);
19902 if (PyErr_Occurred()) SWIG_fail
;
19904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
19911 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19912 PyObject
*resultobj
;
19913 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19914 wxPrintDialogData
*result
;
19915 PyObject
* obj0
= 0 ;
19916 char *kwnames
[] = {
19917 (char *) "self", NULL
19920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
19921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
19922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19926 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
19927 result
= (wxPrintDialogData
*) &_result_ref
;
19930 wxPyEndAllowThreads(__tstate
);
19931 if (PyErr_Occurred()) SWIG_fail
;
19933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
19940 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19941 PyObject
*resultobj
;
19942 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19944 PyObject
* obj0
= 0 ;
19945 char *kwnames
[] = {
19946 (char *) "self", NULL
19949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
19950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
19951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19954 result
= (wxDC
*)(arg1
)->GetPrintDC();
19956 wxPyEndAllowThreads(__tstate
);
19957 if (PyErr_Occurred()) SWIG_fail
;
19960 resultobj
= wxPyMake_wxObject(result
);
19968 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19969 PyObject
*resultobj
;
19970 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19972 PyObject
* obj0
= 0 ;
19973 char *kwnames
[] = {
19974 (char *) "self", NULL
19977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
19978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
19979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19982 result
= (int)(arg1
)->ShowModal();
19984 wxPyEndAllowThreads(__tstate
);
19985 if (PyErr_Occurred()) SWIG_fail
;
19987 resultobj
= SWIG_FromInt((int)result
);
19994 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
19996 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19997 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
19999 return Py_BuildValue((char *)"");
20001 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20002 PyObject
*resultobj
;
20003 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
20005 PyObject
* obj0
= 0 ;
20006 char *kwnames
[] = {
20007 (char *) "data", NULL
20010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
20012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20017 result
= (wxPrinter
*)new wxPrinter(arg1
);
20019 wxPyEndAllowThreads(__tstate
);
20020 if (PyErr_Occurred()) SWIG_fail
;
20022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
20029 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20030 PyObject
*resultobj
;
20031 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20032 PyObject
* obj0
= 0 ;
20033 char *kwnames
[] = {
20034 (char *) "self", NULL
20037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
20038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20044 wxPyEndAllowThreads(__tstate
);
20045 if (PyErr_Occurred()) SWIG_fail
;
20047 Py_INCREF(Py_None
); resultobj
= Py_None
;
20054 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20055 PyObject
*resultobj
;
20056 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20057 wxWindow
*arg2
= (wxWindow
*) 0 ;
20058 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
20059 PyObject
* obj0
= 0 ;
20060 PyObject
* obj1
= 0 ;
20061 PyObject
* obj2
= 0 ;
20062 char *kwnames
[] = {
20063 (char *) "self",(char *) "parent",(char *) "printout", NULL
20066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20069 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20071 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
20072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20075 (arg1
)->CreateAbortWindow(arg2
,arg3
);
20077 wxPyEndAllowThreads(__tstate
);
20078 if (PyErr_Occurred()) SWIG_fail
;
20080 Py_INCREF(Py_None
); resultobj
= Py_None
;
20087 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20088 PyObject
*resultobj
;
20089 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20090 wxPrintDialogData
*result
;
20091 PyObject
* obj0
= 0 ;
20092 char *kwnames
[] = {
20093 (char *) "self", NULL
20096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
20097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20102 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
20103 result
= (wxPrintDialogData
*) &_result_ref
;
20106 wxPyEndAllowThreads(__tstate
);
20107 if (PyErr_Occurred()) SWIG_fail
;
20109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
20116 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20117 PyObject
*resultobj
;
20118 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20119 wxWindow
*arg2
= (wxWindow
*) 0 ;
20120 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
20121 int arg4
= (int) True
;
20123 PyObject
* obj0
= 0 ;
20124 PyObject
* obj1
= 0 ;
20125 PyObject
* obj2
= 0 ;
20126 PyObject
* obj3
= 0 ;
20127 char *kwnames
[] = {
20128 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
20131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20136 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
20137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20139 arg4
= (int) SWIG_AsInt(obj3
);
20140 if (PyErr_Occurred()) SWIG_fail
;
20143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20144 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
20146 wxPyEndAllowThreads(__tstate
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20158 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20159 PyObject
*resultobj
;
20160 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20161 wxWindow
*arg2
= (wxWindow
*) 0 ;
20163 PyObject
* obj0
= 0 ;
20164 PyObject
* obj1
= 0 ;
20165 char *kwnames
[] = {
20166 (char *) "self",(char *) "parent", NULL
20169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20172 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20176 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
20178 wxPyEndAllowThreads(__tstate
);
20179 if (PyErr_Occurred()) SWIG_fail
;
20182 resultobj
= wxPyMake_wxObject(result
);
20190 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20191 PyObject
*resultobj
;
20192 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20193 wxWindow
*arg2
= (wxWindow
*) 0 ;
20194 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
20195 wxString
*arg4
= 0 ;
20196 bool temp4
= False
;
20197 PyObject
* obj0
= 0 ;
20198 PyObject
* obj1
= 0 ;
20199 PyObject
* obj2
= 0 ;
20200 PyObject
* obj3
= 0 ;
20201 char *kwnames
[] = {
20202 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
20205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20208 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20210 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
20211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20213 arg4
= wxString_in_helper(obj3
);
20214 if (arg4
== NULL
) SWIG_fail
;
20218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20219 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
20221 wxPyEndAllowThreads(__tstate
);
20222 if (PyErr_Occurred()) SWIG_fail
;
20224 Py_INCREF(Py_None
); resultobj
= Py_None
;
20239 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20240 PyObject
*resultobj
;
20241 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20242 wxWindow
*arg2
= (wxWindow
*) 0 ;
20244 PyObject
* obj0
= 0 ;
20245 PyObject
* obj1
= 0 ;
20246 char *kwnames
[] = {
20247 (char *) "self",(char *) "parent", NULL
20250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
20251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20253 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20257 result
= (bool)(arg1
)->Setup(arg2
);
20259 wxPyEndAllowThreads(__tstate
);
20260 if (PyErr_Occurred()) SWIG_fail
;
20263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20271 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20272 PyObject
*resultobj
;
20273 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20275 PyObject
* obj0
= 0 ;
20276 char *kwnames
[] = {
20277 (char *) "self", NULL
20280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
20281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20285 result
= (bool)(arg1
)->GetAbort();
20287 wxPyEndAllowThreads(__tstate
);
20288 if (PyErr_Occurred()) SWIG_fail
;
20291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20299 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20300 PyObject
*resultobj
;
20302 char *kwnames
[] = {
20306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
20308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20309 result
= (int)wxPrinter::GetLastError();
20311 wxPyEndAllowThreads(__tstate
);
20312 if (PyErr_Occurred()) SWIG_fail
;
20314 resultobj
= SWIG_FromInt((int)result
);
20321 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
20323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20324 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
20326 return Py_BuildValue((char *)"");
20328 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20329 PyObject
*resultobj
;
20330 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
20331 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
20332 wxPyPrintout
*result
;
20333 bool temp1
= False
;
20334 PyObject
* obj0
= 0 ;
20335 char *kwnames
[] = {
20336 (char *) "title", NULL
20339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
20342 arg1
= wxString_in_helper(obj0
);
20343 if (arg1
== NULL
) SWIG_fail
;
20348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20349 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
20351 wxPyEndAllowThreads(__tstate
);
20352 if (PyErr_Occurred()) SWIG_fail
;
20355 resultobj
= wxPyMake_wxObject(result
);
20371 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20372 PyObject
*resultobj
;
20373 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20374 PyObject
*arg2
= (PyObject
*) 0 ;
20375 PyObject
*arg3
= (PyObject
*) 0 ;
20376 PyObject
* obj0
= 0 ;
20377 PyObject
* obj1
= 0 ;
20378 PyObject
* obj2
= 0 ;
20379 char *kwnames
[] = {
20380 (char *) "self",(char *) "self",(char *) "_class", NULL
20383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20390 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20392 wxPyEndAllowThreads(__tstate
);
20393 if (PyErr_Occurred()) SWIG_fail
;
20395 Py_INCREF(Py_None
); resultobj
= Py_None
;
20402 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20403 PyObject
*resultobj
;
20404 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20406 PyObject
* obj0
= 0 ;
20407 char *kwnames
[] = {
20408 (char *) "self", NULL
20411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
20412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20416 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
20418 wxPyEndAllowThreads(__tstate
);
20419 if (PyErr_Occurred()) SWIG_fail
;
20423 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20425 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20434 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20435 PyObject
*resultobj
;
20436 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20438 PyObject
* obj0
= 0 ;
20439 char *kwnames
[] = {
20440 (char *) "self", NULL
20443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
20444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20448 result
= (wxDC
*)(arg1
)->GetDC();
20450 wxPyEndAllowThreads(__tstate
);
20451 if (PyErr_Occurred()) SWIG_fail
;
20454 resultobj
= wxPyMake_wxObject(result
);
20462 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20463 PyObject
*resultobj
;
20464 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20465 wxDC
*arg2
= (wxDC
*) 0 ;
20466 PyObject
* obj0
= 0 ;
20467 PyObject
* obj1
= 0 ;
20468 char *kwnames
[] = {
20469 (char *) "self",(char *) "dc", NULL
20472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
20473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20475 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
20476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20479 (arg1
)->SetDC(arg2
);
20481 wxPyEndAllowThreads(__tstate
);
20482 if (PyErr_Occurred()) SWIG_fail
;
20484 Py_INCREF(Py_None
); resultobj
= Py_None
;
20491 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20492 PyObject
*resultobj
;
20493 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20496 PyObject
* obj0
= 0 ;
20497 PyObject
* obj1
= 0 ;
20498 PyObject
* obj2
= 0 ;
20499 char *kwnames
[] = {
20500 (char *) "self",(char *) "w",(char *) "h", NULL
20503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20506 arg2
= (int) SWIG_AsInt(obj1
);
20507 if (PyErr_Occurred()) SWIG_fail
;
20508 arg3
= (int) SWIG_AsInt(obj2
);
20509 if (PyErr_Occurred()) SWIG_fail
;
20511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20512 (arg1
)->SetPageSizePixels(arg2
,arg3
);
20514 wxPyEndAllowThreads(__tstate
);
20515 if (PyErr_Occurred()) SWIG_fail
;
20517 Py_INCREF(Py_None
); resultobj
= Py_None
;
20524 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20525 PyObject
*resultobj
;
20526 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20527 int *arg2
= (int *) 0 ;
20528 int *arg3
= (int *) 0 ;
20531 PyObject
* obj0
= 0 ;
20532 char *kwnames
[] = {
20533 (char *) "self", NULL
20538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
20539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20543 (arg1
)->GetPageSizePixels(arg2
,arg3
);
20545 wxPyEndAllowThreads(__tstate
);
20546 if (PyErr_Occurred()) SWIG_fail
;
20548 Py_INCREF(Py_None
); resultobj
= Py_None
;
20550 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20551 resultobj
= t_output_helper(resultobj
,o
);
20554 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20555 resultobj
= t_output_helper(resultobj
,o
);
20563 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20564 PyObject
*resultobj
;
20565 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20568 PyObject
* obj0
= 0 ;
20569 PyObject
* obj1
= 0 ;
20570 PyObject
* obj2
= 0 ;
20571 char *kwnames
[] = {
20572 (char *) "self",(char *) "w",(char *) "h", NULL
20575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20578 arg2
= (int) SWIG_AsInt(obj1
);
20579 if (PyErr_Occurred()) SWIG_fail
;
20580 arg3
= (int) SWIG_AsInt(obj2
);
20581 if (PyErr_Occurred()) SWIG_fail
;
20583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20584 (arg1
)->SetPageSizeMM(arg2
,arg3
);
20586 wxPyEndAllowThreads(__tstate
);
20587 if (PyErr_Occurred()) SWIG_fail
;
20589 Py_INCREF(Py_None
); resultobj
= Py_None
;
20596 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20597 PyObject
*resultobj
;
20598 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20599 int *arg2
= (int *) 0 ;
20600 int *arg3
= (int *) 0 ;
20603 PyObject
* obj0
= 0 ;
20604 char *kwnames
[] = {
20605 (char *) "self", NULL
20610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
20611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20615 (arg1
)->GetPageSizeMM(arg2
,arg3
);
20617 wxPyEndAllowThreads(__tstate
);
20618 if (PyErr_Occurred()) SWIG_fail
;
20620 Py_INCREF(Py_None
); resultobj
= Py_None
;
20622 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20623 resultobj
= t_output_helper(resultobj
,o
);
20626 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20627 resultobj
= t_output_helper(resultobj
,o
);
20635 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20636 PyObject
*resultobj
;
20637 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20640 PyObject
* obj0
= 0 ;
20641 PyObject
* obj1
= 0 ;
20642 PyObject
* obj2
= 0 ;
20643 char *kwnames
[] = {
20644 (char *) "self",(char *) "x",(char *) "y", NULL
20647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20650 arg2
= (int) SWIG_AsInt(obj1
);
20651 if (PyErr_Occurred()) SWIG_fail
;
20652 arg3
= (int) SWIG_AsInt(obj2
);
20653 if (PyErr_Occurred()) SWIG_fail
;
20655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20656 (arg1
)->SetPPIScreen(arg2
,arg3
);
20658 wxPyEndAllowThreads(__tstate
);
20659 if (PyErr_Occurred()) SWIG_fail
;
20661 Py_INCREF(Py_None
); resultobj
= Py_None
;
20668 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20669 PyObject
*resultobj
;
20670 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20671 int *arg2
= (int *) 0 ;
20672 int *arg3
= (int *) 0 ;
20675 PyObject
* obj0
= 0 ;
20676 char *kwnames
[] = {
20677 (char *) "self", NULL
20682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
20683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20687 (arg1
)->GetPPIScreen(arg2
,arg3
);
20689 wxPyEndAllowThreads(__tstate
);
20690 if (PyErr_Occurred()) SWIG_fail
;
20692 Py_INCREF(Py_None
); resultobj
= Py_None
;
20694 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20695 resultobj
= t_output_helper(resultobj
,o
);
20698 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20699 resultobj
= t_output_helper(resultobj
,o
);
20707 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20708 PyObject
*resultobj
;
20709 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20712 PyObject
* obj0
= 0 ;
20713 PyObject
* obj1
= 0 ;
20714 PyObject
* obj2
= 0 ;
20715 char *kwnames
[] = {
20716 (char *) "self",(char *) "x",(char *) "y", NULL
20719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20722 arg2
= (int) SWIG_AsInt(obj1
);
20723 if (PyErr_Occurred()) SWIG_fail
;
20724 arg3
= (int) SWIG_AsInt(obj2
);
20725 if (PyErr_Occurred()) SWIG_fail
;
20727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20728 (arg1
)->SetPPIPrinter(arg2
,arg3
);
20730 wxPyEndAllowThreads(__tstate
);
20731 if (PyErr_Occurred()) SWIG_fail
;
20733 Py_INCREF(Py_None
); resultobj
= Py_None
;
20740 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20741 PyObject
*resultobj
;
20742 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20743 int *arg2
= (int *) 0 ;
20744 int *arg3
= (int *) 0 ;
20747 PyObject
* obj0
= 0 ;
20748 char *kwnames
[] = {
20749 (char *) "self", NULL
20754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
20755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20759 (arg1
)->GetPPIPrinter(arg2
,arg3
);
20761 wxPyEndAllowThreads(__tstate
);
20762 if (PyErr_Occurred()) SWIG_fail
;
20764 Py_INCREF(Py_None
); resultobj
= Py_None
;
20766 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20767 resultobj
= t_output_helper(resultobj
,o
);
20770 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20771 resultobj
= t_output_helper(resultobj
,o
);
20779 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20780 PyObject
*resultobj
;
20781 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20783 PyObject
* obj0
= 0 ;
20784 char *kwnames
[] = {
20785 (char *) "self", NULL
20788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
20789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20793 result
= (bool)(arg1
)->IsPreview();
20795 wxPyEndAllowThreads(__tstate
);
20796 if (PyErr_Occurred()) SWIG_fail
;
20799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20807 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20808 PyObject
*resultobj
;
20809 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20811 PyObject
* obj0
= 0 ;
20812 PyObject
* obj1
= 0 ;
20813 char *kwnames
[] = {
20814 (char *) "self",(char *) "p", NULL
20817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
20818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20820 arg2
= (bool) SWIG_AsBool(obj1
);
20821 if (PyErr_Occurred()) SWIG_fail
;
20823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20824 (arg1
)->SetIsPreview(arg2
);
20826 wxPyEndAllowThreads(__tstate
);
20827 if (PyErr_Occurred()) SWIG_fail
;
20829 Py_INCREF(Py_None
); resultobj
= Py_None
;
20836 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20837 PyObject
*resultobj
;
20838 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20842 PyObject
* obj0
= 0 ;
20843 PyObject
* obj1
= 0 ;
20844 PyObject
* obj2
= 0 ;
20845 char *kwnames
[] = {
20846 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
20849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20852 arg2
= (int) SWIG_AsInt(obj1
);
20853 if (PyErr_Occurred()) SWIG_fail
;
20854 arg3
= (int) SWIG_AsInt(obj2
);
20855 if (PyErr_Occurred()) SWIG_fail
;
20857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20858 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
20860 wxPyEndAllowThreads(__tstate
);
20861 if (PyErr_Occurred()) SWIG_fail
;
20864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20872 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20873 PyObject
*resultobj
;
20874 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20875 PyObject
* obj0
= 0 ;
20876 char *kwnames
[] = {
20877 (char *) "self", NULL
20880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
20881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20885 (arg1
)->base_OnEndDocument();
20887 wxPyEndAllowThreads(__tstate
);
20888 if (PyErr_Occurred()) SWIG_fail
;
20890 Py_INCREF(Py_None
); resultobj
= Py_None
;
20897 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20898 PyObject
*resultobj
;
20899 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20900 PyObject
* obj0
= 0 ;
20901 char *kwnames
[] = {
20902 (char *) "self", NULL
20905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
20906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20910 (arg1
)->base_OnBeginPrinting();
20912 wxPyEndAllowThreads(__tstate
);
20913 if (PyErr_Occurred()) SWIG_fail
;
20915 Py_INCREF(Py_None
); resultobj
= Py_None
;
20922 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20923 PyObject
*resultobj
;
20924 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20925 PyObject
* obj0
= 0 ;
20926 char *kwnames
[] = {
20927 (char *) "self", NULL
20930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
20931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20935 (arg1
)->base_OnEndPrinting();
20937 wxPyEndAllowThreads(__tstate
);
20938 if (PyErr_Occurred()) SWIG_fail
;
20940 Py_INCREF(Py_None
); resultobj
= Py_None
;
20947 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20948 PyObject
*resultobj
;
20949 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20950 PyObject
* obj0
= 0 ;
20951 char *kwnames
[] = {
20952 (char *) "self", NULL
20955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
20956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20960 (arg1
)->base_OnPreparePrinting();
20962 wxPyEndAllowThreads(__tstate
);
20963 if (PyErr_Occurred()) SWIG_fail
;
20965 Py_INCREF(Py_None
); resultobj
= Py_None
;
20972 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20973 PyObject
*resultobj
;
20974 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20977 PyObject
* obj0
= 0 ;
20978 PyObject
* obj1
= 0 ;
20979 char *kwnames
[] = {
20980 (char *) "self",(char *) "page", NULL
20983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20986 arg2
= (int) SWIG_AsInt(obj1
);
20987 if (PyErr_Occurred()) SWIG_fail
;
20989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20990 result
= (bool)(arg1
)->base_HasPage(arg2
);
20992 wxPyEndAllowThreads(__tstate
);
20993 if (PyErr_Occurred()) SWIG_fail
;
20996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21004 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21005 PyObject
*resultobj
;
21006 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21007 int *arg2
= (int *) 0 ;
21008 int *arg3
= (int *) 0 ;
21009 int *arg4
= (int *) 0 ;
21010 int *arg5
= (int *) 0 ;
21015 PyObject
* obj0
= 0 ;
21016 char *kwnames
[] = {
21017 (char *) "self", NULL
21024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
21025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21029 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
21031 wxPyEndAllowThreads(__tstate
);
21032 if (PyErr_Occurred()) SWIG_fail
;
21034 Py_INCREF(Py_None
); resultobj
= Py_None
;
21036 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21037 resultobj
= t_output_helper(resultobj
,o
);
21040 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21041 resultobj
= t_output_helper(resultobj
,o
);
21044 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
21045 resultobj
= t_output_helper(resultobj
,o
);
21048 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
21049 resultobj
= t_output_helper(resultobj
,o
);
21057 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
21059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21060 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
21062 return Py_BuildValue((char *)"");
21064 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21065 PyObject
*resultobj
;
21066 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21067 wxWindow
*arg2
= (wxWindow
*) 0 ;
21068 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21069 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21070 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21071 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21072 long arg5
= (long) 0 ;
21073 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
21074 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21075 wxPreviewCanvas
*result
;
21078 bool temp6
= False
;
21079 PyObject
* obj0
= 0 ;
21080 PyObject
* obj1
= 0 ;
21081 PyObject
* obj2
= 0 ;
21082 PyObject
* obj3
= 0 ;
21083 PyObject
* obj4
= 0 ;
21084 PyObject
* obj5
= 0 ;
21085 char *kwnames
[] = {
21086 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21092 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21097 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21103 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21107 arg5
= (long) SWIG_AsLong(obj4
);
21108 if (PyErr_Occurred()) SWIG_fail
;
21112 arg6
= wxString_in_helper(obj5
);
21113 if (arg6
== NULL
) SWIG_fail
;
21118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21119 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21121 wxPyEndAllowThreads(__tstate
);
21122 if (PyErr_Occurred()) SWIG_fail
;
21124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
21139 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
21141 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21142 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
21144 return Py_BuildValue((char *)"");
21146 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21147 PyObject
*resultobj
;
21148 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21149 wxFrame
*arg2
= (wxFrame
*) 0 ;
21150 wxString
*arg3
= 0 ;
21151 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21152 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21153 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21154 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21155 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
21156 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
21157 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21158 wxPreviewFrame
*result
;
21159 bool temp3
= False
;
21162 bool temp7
= False
;
21163 PyObject
* obj0
= 0 ;
21164 PyObject
* obj1
= 0 ;
21165 PyObject
* obj2
= 0 ;
21166 PyObject
* obj3
= 0 ;
21167 PyObject
* obj4
= 0 ;
21168 PyObject
* obj5
= 0 ;
21169 PyObject
* obj6
= 0 ;
21170 char *kwnames
[] = {
21171 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21177 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
21178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21180 arg3
= wxString_in_helper(obj2
);
21181 if (arg3
== NULL
) SWIG_fail
;
21187 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21193 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21197 arg6
= (long) SWIG_AsLong(obj5
);
21198 if (PyErr_Occurred()) SWIG_fail
;
21202 arg7
= wxString_in_helper(obj6
);
21203 if (arg7
== NULL
) SWIG_fail
;
21208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21209 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21211 wxPyEndAllowThreads(__tstate
);
21212 if (PyErr_Occurred()) SWIG_fail
;
21214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
21237 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21238 PyObject
*resultobj
;
21239 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
21240 PyObject
* obj0
= 0 ;
21241 char *kwnames
[] = {
21242 (char *) "self", NULL
21245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
21246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
21247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21250 (arg1
)->Initialize();
21252 wxPyEndAllowThreads(__tstate
);
21253 if (PyErr_Occurred()) SWIG_fail
;
21255 Py_INCREF(Py_None
); resultobj
= Py_None
;
21262 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21263 PyObject
*resultobj
;
21264 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
21265 PyObject
* obj0
= 0 ;
21266 char *kwnames
[] = {
21267 (char *) "self", NULL
21270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
21271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
21272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21275 (arg1
)->CreateControlBar();
21277 wxPyEndAllowThreads(__tstate
);
21278 if (PyErr_Occurred()) SWIG_fail
;
21280 Py_INCREF(Py_None
); resultobj
= Py_None
;
21287 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21288 PyObject
*resultobj
;
21289 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
21290 PyObject
* obj0
= 0 ;
21291 char *kwnames
[] = {
21292 (char *) "self", NULL
21295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
21296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
21297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21300 (arg1
)->CreateCanvas();
21302 wxPyEndAllowThreads(__tstate
);
21303 if (PyErr_Occurred()) SWIG_fail
;
21305 Py_INCREF(Py_None
); resultobj
= Py_None
;
21312 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21313 PyObject
*resultobj
;
21314 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
21315 wxPreviewControlBar
*result
;
21316 PyObject
* obj0
= 0 ;
21317 char *kwnames
[] = {
21318 (char *) "self", NULL
21321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
21322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
21323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21326 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
21328 wxPyEndAllowThreads(__tstate
);
21329 if (PyErr_Occurred()) SWIG_fail
;
21331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
21338 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
21340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21341 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
21343 return Py_BuildValue((char *)"");
21345 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21346 PyObject
*resultobj
;
21347 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21349 wxWindow
*arg3
= (wxWindow
*) 0 ;
21350 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21351 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21352 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21353 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21354 long arg6
= (long) wxTAB_TRAVERSAL
;
21355 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21356 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21357 wxPreviewControlBar
*result
;
21360 bool temp7
= False
;
21361 PyObject
* obj0
= 0 ;
21362 PyObject
* obj1
= 0 ;
21363 PyObject
* obj2
= 0 ;
21364 PyObject
* obj3
= 0 ;
21365 PyObject
* obj4
= 0 ;
21366 PyObject
* obj5
= 0 ;
21367 PyObject
* obj6
= 0 ;
21368 char *kwnames
[] = {
21369 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21375 arg2
= (long) SWIG_AsLong(obj1
);
21376 if (PyErr_Occurred()) SWIG_fail
;
21377 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
21378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21382 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21388 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21392 arg6
= (long) SWIG_AsLong(obj5
);
21393 if (PyErr_Occurred()) SWIG_fail
;
21397 arg7
= wxString_in_helper(obj6
);
21398 if (arg7
== NULL
) SWIG_fail
;
21403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21404 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21406 wxPyEndAllowThreads(__tstate
);
21407 if (PyErr_Occurred()) SWIG_fail
;
21409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
21424 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21425 PyObject
*resultobj
;
21426 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21428 PyObject
* obj0
= 0 ;
21429 char *kwnames
[] = {
21430 (char *) "self", NULL
21433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
21434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21438 result
= (int)(arg1
)->GetZoomControl();
21440 wxPyEndAllowThreads(__tstate
);
21441 if (PyErr_Occurred()) SWIG_fail
;
21443 resultobj
= SWIG_FromInt((int)result
);
21450 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21451 PyObject
*resultobj
;
21452 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21454 PyObject
* obj0
= 0 ;
21455 PyObject
* obj1
= 0 ;
21456 char *kwnames
[] = {
21457 (char *) "self",(char *) "zoom", NULL
21460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
21461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21463 arg2
= (int) SWIG_AsInt(obj1
);
21464 if (PyErr_Occurred()) SWIG_fail
;
21466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21467 (arg1
)->SetZoomControl(arg2
);
21469 wxPyEndAllowThreads(__tstate
);
21470 if (PyErr_Occurred()) SWIG_fail
;
21472 Py_INCREF(Py_None
); resultobj
= Py_None
;
21479 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21480 PyObject
*resultobj
;
21481 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21482 wxPrintPreview
*result
;
21483 PyObject
* obj0
= 0 ;
21484 char *kwnames
[] = {
21485 (char *) "self", NULL
21488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
21489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21493 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
21495 wxPyEndAllowThreads(__tstate
);
21496 if (PyErr_Occurred()) SWIG_fail
;
21498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
21505 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21506 PyObject
*resultobj
;
21507 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21508 PyObject
* obj0
= 0 ;
21509 char *kwnames
[] = {
21510 (char *) "self", NULL
21513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
21514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21520 wxPyEndAllowThreads(__tstate
);
21521 if (PyErr_Occurred()) SWIG_fail
;
21523 Py_INCREF(Py_None
); resultobj
= Py_None
;
21530 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21531 PyObject
*resultobj
;
21532 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21533 PyObject
* obj0
= 0 ;
21534 char *kwnames
[] = {
21535 (char *) "self", NULL
21538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
21539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21543 (arg1
)->OnPrevious();
21545 wxPyEndAllowThreads(__tstate
);
21546 if (PyErr_Occurred()) SWIG_fail
;
21548 Py_INCREF(Py_None
); resultobj
= Py_None
;
21555 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21556 PyObject
*resultobj
;
21557 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21558 PyObject
* obj0
= 0 ;
21559 char *kwnames
[] = {
21560 (char *) "self", NULL
21563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
21564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21570 wxPyEndAllowThreads(__tstate
);
21571 if (PyErr_Occurred()) SWIG_fail
;
21573 Py_INCREF(Py_None
); resultobj
= Py_None
;
21580 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21581 PyObject
*resultobj
;
21582 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21583 PyObject
* obj0
= 0 ;
21584 char *kwnames
[] = {
21585 (char *) "self", NULL
21588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
21589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21595 wxPyEndAllowThreads(__tstate
);
21596 if (PyErr_Occurred()) SWIG_fail
;
21598 Py_INCREF(Py_None
); resultobj
= Py_None
;
21605 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21606 PyObject
*resultobj
;
21607 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21608 PyObject
* obj0
= 0 ;
21609 char *kwnames
[] = {
21610 (char *) "self", NULL
21613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
21614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21620 wxPyEndAllowThreads(__tstate
);
21621 if (PyErr_Occurred()) SWIG_fail
;
21623 Py_INCREF(Py_None
); resultobj
= Py_None
;
21630 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
21632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21633 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
21635 return Py_BuildValue((char *)"");
21637 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
21638 PyObject
*resultobj
;
21639 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21640 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21641 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
21642 wxPrintPreview
*result
;
21643 PyObject
* obj0
= 0 ;
21644 PyObject
* obj1
= 0 ;
21645 PyObject
* obj2
= 0 ;
21647 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
21648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21650 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
21651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21653 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
21654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21658 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
21660 wxPyEndAllowThreads(__tstate
);
21661 if (PyErr_Occurred()) SWIG_fail
;
21663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
21670 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
21671 PyObject
*resultobj
;
21672 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21673 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21674 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
21675 wxPrintPreview
*result
;
21676 PyObject
* obj0
= 0 ;
21677 PyObject
* obj1
= 0 ;
21678 PyObject
* obj2
= 0 ;
21680 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
21681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21683 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
21684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21685 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
21686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21689 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
21691 wxPyEndAllowThreads(__tstate
);
21692 if (PyErr_Occurred()) SWIG_fail
;
21694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
21701 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
21706 argc
= PyObject_Length(args
);
21707 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
21708 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21710 if ((argc
>= 2) && (argc
<= 3)) {
21714 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
21724 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
21733 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
21737 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
21745 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
21754 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
21764 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
21774 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
21782 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
21788 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
21793 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21794 PyObject
*resultobj
;
21795 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21798 PyObject
* obj0
= 0 ;
21799 PyObject
* obj1
= 0 ;
21800 char *kwnames
[] = {
21801 (char *) "self",(char *) "pageNum", NULL
21804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21807 arg2
= (int) SWIG_AsInt(obj1
);
21808 if (PyErr_Occurred()) SWIG_fail
;
21810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21811 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
21813 wxPyEndAllowThreads(__tstate
);
21814 if (PyErr_Occurred()) SWIG_fail
;
21817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21825 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21826 PyObject
*resultobj
;
21827 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21829 PyObject
* obj0
= 0 ;
21830 char *kwnames
[] = {
21831 (char *) "self", NULL
21834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
21835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21839 result
= (int)(arg1
)->GetCurrentPage();
21841 wxPyEndAllowThreads(__tstate
);
21842 if (PyErr_Occurred()) SWIG_fail
;
21844 resultobj
= SWIG_FromInt((int)result
);
21851 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21852 PyObject
*resultobj
;
21853 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21854 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21855 PyObject
* obj0
= 0 ;
21856 PyObject
* obj1
= 0 ;
21857 char *kwnames
[] = {
21858 (char *) "self",(char *) "printout", NULL
21861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
21862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21864 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
21865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21868 (arg1
)->SetPrintout(arg2
);
21870 wxPyEndAllowThreads(__tstate
);
21871 if (PyErr_Occurred()) SWIG_fail
;
21873 Py_INCREF(Py_None
); resultobj
= Py_None
;
21880 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21881 PyObject
*resultobj
;
21882 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21883 wxPyPrintout
*result
;
21884 PyObject
* obj0
= 0 ;
21885 char *kwnames
[] = {
21886 (char *) "self", NULL
21889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
21890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21894 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
21896 wxPyEndAllowThreads(__tstate
);
21897 if (PyErr_Occurred()) SWIG_fail
;
21900 resultobj
= wxPyMake_wxObject(result
);
21908 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21909 PyObject
*resultobj
;
21910 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21911 wxPyPrintout
*result
;
21912 PyObject
* obj0
= 0 ;
21913 char *kwnames
[] = {
21914 (char *) "self", NULL
21917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
21918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21922 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
21924 wxPyEndAllowThreads(__tstate
);
21925 if (PyErr_Occurred()) SWIG_fail
;
21928 resultobj
= wxPyMake_wxObject(result
);
21936 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21937 PyObject
*resultobj
;
21938 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21939 wxFrame
*arg2
= (wxFrame
*) 0 ;
21940 PyObject
* obj0
= 0 ;
21941 PyObject
* obj1
= 0 ;
21942 char *kwnames
[] = {
21943 (char *) "self",(char *) "frame", NULL
21946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
21947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21949 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
21950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21953 (arg1
)->SetFrame(arg2
);
21955 wxPyEndAllowThreads(__tstate
);
21956 if (PyErr_Occurred()) SWIG_fail
;
21958 Py_INCREF(Py_None
); resultobj
= Py_None
;
21965 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21966 PyObject
*resultobj
;
21967 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21968 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21969 PyObject
* obj0
= 0 ;
21970 PyObject
* obj1
= 0 ;
21971 char *kwnames
[] = {
21972 (char *) "self",(char *) "canvas", NULL
21975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
21976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21978 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
21979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21982 (arg1
)->SetCanvas(arg2
);
21984 wxPyEndAllowThreads(__tstate
);
21985 if (PyErr_Occurred()) SWIG_fail
;
21987 Py_INCREF(Py_None
); resultobj
= Py_None
;
21994 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21995 PyObject
*resultobj
;
21996 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21998 PyObject
* obj0
= 0 ;
21999 char *kwnames
[] = {
22000 (char *) "self", NULL
22003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
22004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22008 result
= (wxFrame
*)(arg1
)->GetFrame();
22010 wxPyEndAllowThreads(__tstate
);
22011 if (PyErr_Occurred()) SWIG_fail
;
22014 resultobj
= wxPyMake_wxObject(result
);
22022 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22023 PyObject
*resultobj
;
22024 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22025 wxPreviewCanvas
*result
;
22026 PyObject
* obj0
= 0 ;
22027 char *kwnames
[] = {
22028 (char *) "self", NULL
22031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
22032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22036 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
22038 wxPyEndAllowThreads(__tstate
);
22039 if (PyErr_Occurred()) SWIG_fail
;
22041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
22048 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22049 PyObject
*resultobj
;
22050 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22051 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22054 PyObject
* obj0
= 0 ;
22055 PyObject
* obj1
= 0 ;
22056 PyObject
* obj2
= 0 ;
22057 char *kwnames
[] = {
22058 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22064 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22066 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
22067 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22069 if (arg3
== NULL
) {
22070 PyErr_SetString(PyExc_TypeError
,"null reference");
22074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22075 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
22077 wxPyEndAllowThreads(__tstate
);
22078 if (PyErr_Occurred()) SWIG_fail
;
22081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22089 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22090 PyObject
*resultobj
;
22091 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22092 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22095 PyObject
* obj0
= 0 ;
22096 PyObject
* obj1
= 0 ;
22097 PyObject
* obj2
= 0 ;
22098 char *kwnames
[] = {
22099 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22105 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22107 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
22108 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22110 if (arg3
== NULL
) {
22111 PyErr_SetString(PyExc_TypeError
,"null reference");
22115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22116 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
22118 wxPyEndAllowThreads(__tstate
);
22119 if (PyErr_Occurred()) SWIG_fail
;
22122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22130 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22131 PyObject
*resultobj
;
22132 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22135 PyObject
* obj0
= 0 ;
22136 PyObject
* obj1
= 0 ;
22137 char *kwnames
[] = {
22138 (char *) "self",(char *) "pageNum", NULL
22141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22144 arg2
= (int) SWIG_AsInt(obj1
);
22145 if (PyErr_Occurred()) SWIG_fail
;
22147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22148 result
= (bool)(arg1
)->RenderPage(arg2
);
22150 wxPyEndAllowThreads(__tstate
);
22151 if (PyErr_Occurred()) SWIG_fail
;
22154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22162 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22163 PyObject
*resultobj
;
22164 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22165 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22166 PyObject
* obj0
= 0 ;
22167 PyObject
* obj1
= 0 ;
22168 char *kwnames
[] = {
22169 (char *) "self",(char *) "canvas", NULL
22172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
22173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22175 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22179 (arg1
)->AdjustScrollbars(arg2
);
22181 wxPyEndAllowThreads(__tstate
);
22182 if (PyErr_Occurred()) SWIG_fail
;
22184 Py_INCREF(Py_None
); resultobj
= Py_None
;
22191 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22192 PyObject
*resultobj
;
22193 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22194 wxPrintDialogData
*result
;
22195 PyObject
* obj0
= 0 ;
22196 char *kwnames
[] = {
22197 (char *) "self", NULL
22200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
22201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22206 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
22207 result
= (wxPrintDialogData
*) &_result_ref
;
22210 wxPyEndAllowThreads(__tstate
);
22211 if (PyErr_Occurred()) SWIG_fail
;
22213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
22220 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22221 PyObject
*resultobj
;
22222 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22224 PyObject
* obj0
= 0 ;
22225 PyObject
* obj1
= 0 ;
22226 char *kwnames
[] = {
22227 (char *) "self",(char *) "percent", NULL
22230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
22231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22233 arg2
= (int) SWIG_AsInt(obj1
);
22234 if (PyErr_Occurred()) SWIG_fail
;
22236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22237 (arg1
)->SetZoom(arg2
);
22239 wxPyEndAllowThreads(__tstate
);
22240 if (PyErr_Occurred()) SWIG_fail
;
22242 Py_INCREF(Py_None
); resultobj
= Py_None
;
22249 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22250 PyObject
*resultobj
;
22251 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22253 PyObject
* obj0
= 0 ;
22254 char *kwnames
[] = {
22255 (char *) "self", NULL
22258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
22259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22263 result
= (int)(arg1
)->GetZoom();
22265 wxPyEndAllowThreads(__tstate
);
22266 if (PyErr_Occurred()) SWIG_fail
;
22268 resultobj
= SWIG_FromInt((int)result
);
22275 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22276 PyObject
*resultobj
;
22277 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22279 PyObject
* obj0
= 0 ;
22280 char *kwnames
[] = {
22281 (char *) "self", NULL
22284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
22285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22289 result
= (int)(arg1
)->GetMaxPage();
22291 wxPyEndAllowThreads(__tstate
);
22292 if (PyErr_Occurred()) SWIG_fail
;
22294 resultobj
= SWIG_FromInt((int)result
);
22301 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22302 PyObject
*resultobj
;
22303 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22305 PyObject
* obj0
= 0 ;
22306 char *kwnames
[] = {
22307 (char *) "self", NULL
22310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
22311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22315 result
= (int)(arg1
)->GetMinPage();
22317 wxPyEndAllowThreads(__tstate
);
22318 if (PyErr_Occurred()) SWIG_fail
;
22320 resultobj
= SWIG_FromInt((int)result
);
22327 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22328 PyObject
*resultobj
;
22329 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22331 PyObject
* obj0
= 0 ;
22332 char *kwnames
[] = {
22333 (char *) "self", NULL
22336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
22337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22341 result
= (bool)(arg1
)->Ok();
22343 wxPyEndAllowThreads(__tstate
);
22344 if (PyErr_Occurred()) SWIG_fail
;
22347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22355 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22356 PyObject
*resultobj
;
22357 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22359 PyObject
* obj0
= 0 ;
22360 PyObject
* obj1
= 0 ;
22361 char *kwnames
[] = {
22362 (char *) "self",(char *) "ok", NULL
22365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
22366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22368 arg2
= (bool) SWIG_AsBool(obj1
);
22369 if (PyErr_Occurred()) SWIG_fail
;
22371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22372 (arg1
)->SetOk(arg2
);
22374 wxPyEndAllowThreads(__tstate
);
22375 if (PyErr_Occurred()) SWIG_fail
;
22377 Py_INCREF(Py_None
); resultobj
= Py_None
;
22384 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22385 PyObject
*resultobj
;
22386 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22389 PyObject
* obj0
= 0 ;
22390 PyObject
* obj1
= 0 ;
22391 char *kwnames
[] = {
22392 (char *) "self",(char *) "interactive", NULL
22395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
22396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22398 arg2
= (bool) SWIG_AsBool(obj1
);
22399 if (PyErr_Occurred()) SWIG_fail
;
22401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22402 result
= (bool)(arg1
)->Print(arg2
);
22404 wxPyEndAllowThreads(__tstate
);
22405 if (PyErr_Occurred()) SWIG_fail
;
22408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22416 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22417 PyObject
*resultobj
;
22418 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22419 PyObject
* obj0
= 0 ;
22420 char *kwnames
[] = {
22421 (char *) "self", NULL
22424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
22425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22429 (arg1
)->DetermineScaling();
22431 wxPyEndAllowThreads(__tstate
);
22432 if (PyErr_Occurred()) SWIG_fail
;
22434 Py_INCREF(Py_None
); resultobj
= Py_None
;
22441 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
22443 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22444 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
22446 return Py_BuildValue((char *)"");
22448 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
22449 PyObject
*resultobj
;
22450 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22451 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22452 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
22453 wxPyPrintPreview
*result
;
22454 PyObject
* obj0
= 0 ;
22455 PyObject
* obj1
= 0 ;
22456 PyObject
* obj2
= 0 ;
22458 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22461 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22464 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
22465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22469 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
22471 wxPyEndAllowThreads(__tstate
);
22472 if (PyErr_Occurred()) SWIG_fail
;
22474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
22481 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
22482 PyObject
*resultobj
;
22483 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22484 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22485 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
22486 wxPyPrintPreview
*result
;
22487 PyObject
* obj0
= 0 ;
22488 PyObject
* obj1
= 0 ;
22489 PyObject
* obj2
= 0 ;
22491 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22496 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
22497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22500 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
22502 wxPyEndAllowThreads(__tstate
);
22503 if (PyErr_Occurred()) SWIG_fail
;
22505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
22512 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
22517 argc
= PyObject_Length(args
);
22518 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
22519 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22521 if ((argc
>= 2) && (argc
<= 3)) {
22525 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22535 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22544 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
22548 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
22556 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
22565 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22575 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22585 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22593 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
22599 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
22604 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22605 PyObject
*resultobj
;
22606 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22607 PyObject
*arg2
= (PyObject
*) 0 ;
22608 PyObject
*arg3
= (PyObject
*) 0 ;
22609 PyObject
* obj0
= 0 ;
22610 PyObject
* obj1
= 0 ;
22611 PyObject
* obj2
= 0 ;
22612 char *kwnames
[] = {
22613 (char *) "self",(char *) "self",(char *) "_class", NULL
22616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22623 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22625 wxPyEndAllowThreads(__tstate
);
22626 if (PyErr_Occurred()) SWIG_fail
;
22628 Py_INCREF(Py_None
); resultobj
= Py_None
;
22635 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22636 PyObject
*resultobj
;
22637 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22640 PyObject
* obj0
= 0 ;
22641 PyObject
* obj1
= 0 ;
22642 char *kwnames
[] = {
22643 (char *) "self",(char *) "pageNum", NULL
22646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22649 arg2
= (int) SWIG_AsInt(obj1
);
22650 if (PyErr_Occurred()) SWIG_fail
;
22652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22653 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
22655 wxPyEndAllowThreads(__tstate
);
22656 if (PyErr_Occurred()) SWIG_fail
;
22659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22667 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22668 PyObject
*resultobj
;
22669 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22670 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22673 PyObject
* obj0
= 0 ;
22674 PyObject
* obj1
= 0 ;
22675 PyObject
* obj2
= 0 ;
22676 char *kwnames
[] = {
22677 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22683 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22685 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
22686 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22688 if (arg3
== NULL
) {
22689 PyErr_SetString(PyExc_TypeError
,"null reference");
22693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22694 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
22696 wxPyEndAllowThreads(__tstate
);
22697 if (PyErr_Occurred()) SWIG_fail
;
22700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22708 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22709 PyObject
*resultobj
;
22710 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22711 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22714 PyObject
* obj0
= 0 ;
22715 PyObject
* obj1
= 0 ;
22716 PyObject
* obj2
= 0 ;
22717 char *kwnames
[] = {
22718 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22726 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
22727 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22729 if (arg3
== NULL
) {
22730 PyErr_SetString(PyExc_TypeError
,"null reference");
22734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22735 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
22737 wxPyEndAllowThreads(__tstate
);
22738 if (PyErr_Occurred()) SWIG_fail
;
22741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22749 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22750 PyObject
*resultobj
;
22751 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22754 PyObject
* obj0
= 0 ;
22755 PyObject
* obj1
= 0 ;
22756 char *kwnames
[] = {
22757 (char *) "self",(char *) "pageNum", NULL
22760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22763 arg2
= (int) SWIG_AsInt(obj1
);
22764 if (PyErr_Occurred()) SWIG_fail
;
22766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22767 result
= (bool)(arg1
)->base_RenderPage(arg2
);
22769 wxPyEndAllowThreads(__tstate
);
22770 if (PyErr_Occurred()) SWIG_fail
;
22773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22781 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22782 PyObject
*resultobj
;
22783 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22785 PyObject
* obj0
= 0 ;
22786 PyObject
* obj1
= 0 ;
22787 char *kwnames
[] = {
22788 (char *) "self",(char *) "percent", NULL
22791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
22792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22794 arg2
= (int) SWIG_AsInt(obj1
);
22795 if (PyErr_Occurred()) SWIG_fail
;
22797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22798 (arg1
)->base_SetZoom(arg2
);
22800 wxPyEndAllowThreads(__tstate
);
22801 if (PyErr_Occurred()) SWIG_fail
;
22803 Py_INCREF(Py_None
); resultobj
= Py_None
;
22810 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22811 PyObject
*resultobj
;
22812 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22815 PyObject
* obj0
= 0 ;
22816 PyObject
* obj1
= 0 ;
22817 char *kwnames
[] = {
22818 (char *) "self",(char *) "interactive", NULL
22821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
22822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22824 arg2
= (bool) SWIG_AsBool(obj1
);
22825 if (PyErr_Occurred()) SWIG_fail
;
22827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22828 result
= (bool)(arg1
)->base_Print(arg2
);
22830 wxPyEndAllowThreads(__tstate
);
22831 if (PyErr_Occurred()) SWIG_fail
;
22834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22842 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22843 PyObject
*resultobj
;
22844 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22845 PyObject
* obj0
= 0 ;
22846 char *kwnames
[] = {
22847 (char *) "self", NULL
22850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
22851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22855 (arg1
)->base_DetermineScaling();
22857 wxPyEndAllowThreads(__tstate
);
22858 if (PyErr_Occurred()) SWIG_fail
;
22860 Py_INCREF(Py_None
); resultobj
= Py_None
;
22867 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
22869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22870 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
22872 return Py_BuildValue((char *)"");
22874 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22875 PyObject
*resultobj
;
22876 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22877 wxFrame
*arg2
= (wxFrame
*) 0 ;
22878 wxString
*arg3
= 0 ;
22879 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22880 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22881 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22882 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22883 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22884 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22885 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22886 wxPyPreviewFrame
*result
;
22887 bool temp3
= False
;
22890 bool temp7
= False
;
22891 PyObject
* obj0
= 0 ;
22892 PyObject
* obj1
= 0 ;
22893 PyObject
* obj2
= 0 ;
22894 PyObject
* obj3
= 0 ;
22895 PyObject
* obj4
= 0 ;
22896 PyObject
* obj5
= 0 ;
22897 PyObject
* obj6
= 0 ;
22898 char *kwnames
[] = {
22899 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22905 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22908 arg3
= wxString_in_helper(obj2
);
22909 if (arg3
== NULL
) SWIG_fail
;
22915 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22921 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22925 arg6
= (long) SWIG_AsLong(obj5
);
22926 if (PyErr_Occurred()) SWIG_fail
;
22930 arg7
= wxString_in_helper(obj6
);
22931 if (arg7
== NULL
) SWIG_fail
;
22936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22937 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22939 wxPyEndAllowThreads(__tstate
);
22940 if (PyErr_Occurred()) SWIG_fail
;
22942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
22965 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22966 PyObject
*resultobj
;
22967 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22968 PyObject
*arg2
= (PyObject
*) 0 ;
22969 PyObject
*arg3
= (PyObject
*) 0 ;
22970 PyObject
* obj0
= 0 ;
22971 PyObject
* obj1
= 0 ;
22972 PyObject
* obj2
= 0 ;
22973 char *kwnames
[] = {
22974 (char *) "self",(char *) "self",(char *) "_class", NULL
22977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22984 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22986 wxPyEndAllowThreads(__tstate
);
22987 if (PyErr_Occurred()) SWIG_fail
;
22989 Py_INCREF(Py_None
); resultobj
= Py_None
;
22996 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22997 PyObject
*resultobj
;
22998 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22999 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23000 PyObject
* obj0
= 0 ;
23001 PyObject
* obj1
= 0 ;
23002 char *kwnames
[] = {
23003 (char *) "self",(char *) "canvas", NULL
23006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23009 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23013 (arg1
)->SetPreviewCanvas(arg2
);
23015 wxPyEndAllowThreads(__tstate
);
23016 if (PyErr_Occurred()) SWIG_fail
;
23018 Py_INCREF(Py_None
); resultobj
= Py_None
;
23025 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23026 PyObject
*resultobj
;
23027 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23028 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
23029 PyObject
* obj0
= 0 ;
23030 PyObject
* obj1
= 0 ;
23031 char *kwnames
[] = {
23032 (char *) "self",(char *) "bar", NULL
23035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
23036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23038 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
23039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23042 (arg1
)->SetControlBar(arg2
);
23044 wxPyEndAllowThreads(__tstate
);
23045 if (PyErr_Occurred()) SWIG_fail
;
23047 Py_INCREF(Py_None
); resultobj
= Py_None
;
23054 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23055 PyObject
*resultobj
;
23056 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23057 PyObject
* obj0
= 0 ;
23058 char *kwnames
[] = {
23059 (char *) "self", NULL
23062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
23063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23067 (arg1
)->base_Initialize();
23069 wxPyEndAllowThreads(__tstate
);
23070 if (PyErr_Occurred()) SWIG_fail
;
23072 Py_INCREF(Py_None
); resultobj
= Py_None
;
23079 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23080 PyObject
*resultobj
;
23081 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23082 PyObject
* obj0
= 0 ;
23083 char *kwnames
[] = {
23084 (char *) "self", NULL
23087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
23088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23092 (arg1
)->base_CreateCanvas();
23094 wxPyEndAllowThreads(__tstate
);
23095 if (PyErr_Occurred()) SWIG_fail
;
23097 Py_INCREF(Py_None
); resultobj
= Py_None
;
23104 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23105 PyObject
*resultobj
;
23106 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23107 PyObject
* obj0
= 0 ;
23108 char *kwnames
[] = {
23109 (char *) "self", NULL
23112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
23113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23117 (arg1
)->base_CreateControlBar();
23119 wxPyEndAllowThreads(__tstate
);
23120 if (PyErr_Occurred()) SWIG_fail
;
23122 Py_INCREF(Py_None
); resultobj
= Py_None
;
23129 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
23131 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23132 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
23134 return Py_BuildValue((char *)"");
23136 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23137 PyObject
*resultobj
;
23138 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23140 wxWindow
*arg3
= (wxWindow
*) 0 ;
23141 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23142 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23143 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23144 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23145 long arg6
= (long) 0 ;
23146 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
23147 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23148 wxPyPreviewControlBar
*result
;
23151 bool temp7
= False
;
23152 PyObject
* obj0
= 0 ;
23153 PyObject
* obj1
= 0 ;
23154 PyObject
* obj2
= 0 ;
23155 PyObject
* obj3
= 0 ;
23156 PyObject
* obj4
= 0 ;
23157 PyObject
* obj5
= 0 ;
23158 PyObject
* obj6
= 0 ;
23159 char *kwnames
[] = {
23160 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23166 arg2
= (long) SWIG_AsLong(obj1
);
23167 if (PyErr_Occurred()) SWIG_fail
;
23168 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
23169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23173 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23179 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23183 arg6
= (long) SWIG_AsLong(obj5
);
23184 if (PyErr_Occurred()) SWIG_fail
;
23188 arg7
= wxString_in_helper(obj6
);
23189 if (arg7
== NULL
) SWIG_fail
;
23194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23195 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23197 wxPyEndAllowThreads(__tstate
);
23198 if (PyErr_Occurred()) SWIG_fail
;
23200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
23215 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23216 PyObject
*resultobj
;
23217 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
23218 PyObject
*arg2
= (PyObject
*) 0 ;
23219 PyObject
*arg3
= (PyObject
*) 0 ;
23220 PyObject
* obj0
= 0 ;
23221 PyObject
* obj1
= 0 ;
23222 PyObject
* obj2
= 0 ;
23223 char *kwnames
[] = {
23224 (char *) "self",(char *) "self",(char *) "_class", NULL
23227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
23229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23234 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23236 wxPyEndAllowThreads(__tstate
);
23237 if (PyErr_Occurred()) SWIG_fail
;
23239 Py_INCREF(Py_None
); resultobj
= Py_None
;
23246 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23247 PyObject
*resultobj
;
23248 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
23249 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
23250 PyObject
* obj0
= 0 ;
23251 PyObject
* obj1
= 0 ;
23252 char *kwnames
[] = {
23253 (char *) "self",(char *) "preview", NULL
23256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
23257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
23258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23259 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
23260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23263 (arg1
)->SetPrintPreview(arg2
);
23265 wxPyEndAllowThreads(__tstate
);
23266 if (PyErr_Occurred()) SWIG_fail
;
23268 Py_INCREF(Py_None
); resultobj
= Py_None
;
23275 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23276 PyObject
*resultobj
;
23277 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
23278 PyObject
* obj0
= 0 ;
23279 char *kwnames
[] = {
23280 (char *) "self", NULL
23283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
23284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
23285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23288 (arg1
)->base_CreateButtons();
23290 wxPyEndAllowThreads(__tstate
);
23291 if (PyErr_Occurred()) SWIG_fail
;
23293 Py_INCREF(Py_None
); resultobj
= Py_None
;
23300 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23301 PyObject
*resultobj
;
23302 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
23304 PyObject
* obj0
= 0 ;
23305 PyObject
* obj1
= 0 ;
23306 char *kwnames
[] = {
23307 (char *) "self",(char *) "zoom", NULL
23310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
23311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
23312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23313 arg2
= (int) SWIG_AsInt(obj1
);
23314 if (PyErr_Occurred()) SWIG_fail
;
23316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23317 (arg1
)->base_SetZoomControl(arg2
);
23319 wxPyEndAllowThreads(__tstate
);
23320 if (PyErr_Occurred()) SWIG_fail
;
23322 Py_INCREF(Py_None
); resultobj
= Py_None
;
23329 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
23331 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23332 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
23334 return Py_BuildValue((char *)"");
23336 static PyMethodDef SwigMethods
[] = {
23337 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
23338 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
23339 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
23340 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
23341 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
23342 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
23343 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
23344 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
23345 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
23346 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
23347 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
23348 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
23349 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
23350 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
23351 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
23352 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
23353 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
23354 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
23355 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
23356 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
23357 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
23358 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
23359 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
23360 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
23361 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
23362 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
23363 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
23364 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
23365 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
23366 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
23367 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
23368 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
23369 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
23370 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
23371 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
23372 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
23373 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
23374 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
23375 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
23376 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
23377 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
23378 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
23379 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
23380 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
23381 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
23382 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
23383 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
23384 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
23385 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
23386 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
23387 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
23388 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
23389 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
23390 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
23391 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
23392 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
23393 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
23394 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
23395 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
23396 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
23397 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
23398 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
23399 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
23400 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
23401 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
23402 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
23403 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
23404 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
23405 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
23406 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
23407 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
23408 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
23409 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
23410 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23411 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
23412 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
},
23413 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
23414 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
23415 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
23416 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
23417 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
23418 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
23419 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
23420 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
23421 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
23422 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
23423 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
23424 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
23425 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
23426 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
23427 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
23428 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
23429 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
23430 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
23431 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
23432 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
23433 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
23434 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
23435 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
23436 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
23437 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
23438 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
23439 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
23440 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
23441 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
23442 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
23443 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
23444 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
23445 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
23446 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
23447 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
23448 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
23449 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
23450 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
23451 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
23452 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
23453 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
23454 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
23455 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
23456 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
23457 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
23458 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
23459 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
23460 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
23461 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
23462 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
23463 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
23464 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
23465 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
23466 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
23467 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
23468 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
23469 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
23470 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
23471 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
23472 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
23473 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
23474 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
23475 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
23476 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
23477 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
23478 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
23479 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
23480 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
23481 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
23482 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
23483 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
23484 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
23485 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
23486 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
23487 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
23488 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
23489 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
23490 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
23491 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
23492 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
23493 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
23494 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
23495 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
23496 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
23497 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
23498 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
23499 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
23500 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
23501 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
23502 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
23503 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
23504 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
23505 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
23506 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
23507 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
23508 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
23509 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23510 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23511 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
23512 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
23513 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23514 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23515 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
23516 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
23517 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
23518 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
23519 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23520 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23521 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
23522 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
23523 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
23524 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
23525 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
23526 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
23527 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
23528 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23529 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
23530 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
23531 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23532 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
23533 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
23534 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
23535 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
23536 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
23537 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
23538 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
23539 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
23540 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
23541 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
23542 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
23543 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
23544 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23545 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23546 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23547 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
23548 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
23549 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
23550 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
23551 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
23552 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
23553 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
23554 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
23555 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
23556 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23557 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
23558 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
23559 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
23560 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
23561 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
23562 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
23563 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
23564 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
23565 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
23566 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
23567 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
23568 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
23569 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
23570 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
23571 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
23572 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
23573 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
23574 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23575 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
23576 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
23577 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
23578 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23579 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
23580 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
23581 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
23582 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
23583 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
23584 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
23585 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
23586 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
23587 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
23588 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23589 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
23590 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
23591 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
23592 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
23593 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
23594 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
23595 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
23596 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
23597 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
23598 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
23599 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
23600 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23601 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
23602 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
23603 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
23604 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
23605 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
23606 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
23607 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
23608 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
23609 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
23610 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
23611 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
23612 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
23613 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
23614 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
23615 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
23616 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
23617 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
23618 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
23619 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
23620 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
23621 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
23622 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
23623 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
23624 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
23625 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
23626 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
23627 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
23628 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
23629 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
23630 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
23631 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
23632 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
23633 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
23634 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
23635 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
23636 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
23637 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
23638 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
23639 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
23640 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
23641 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
23642 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
23643 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
23644 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
23645 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
23646 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
23647 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
23648 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
23649 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
23650 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
23651 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
23652 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
23653 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
23654 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
23655 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
23656 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
23657 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23658 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
23659 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23660 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
23661 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
23662 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
23663 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
23664 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
23665 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
23666 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
23667 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
23668 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
23669 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
23670 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
23671 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
23672 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
23673 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
23674 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
23675 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
23676 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
23677 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
23678 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
23679 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
23680 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
23681 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
23682 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
23683 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
23684 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
23685 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
23686 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
23687 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
23688 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
23689 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
23690 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
23691 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23692 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
23693 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
23694 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
23695 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23696 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
23697 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
23698 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
23699 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
23700 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
23701 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
23702 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
23703 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23704 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23705 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
23706 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
23707 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
23708 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
23709 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
23710 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
23711 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
23712 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
23713 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
23714 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
23715 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
23716 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
23717 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
23718 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
23719 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
23720 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
23721 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
23722 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23723 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
23724 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_GetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
23725 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
23726 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction
) _wrap_MDIParentFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
23727 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
23728 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
23729 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
23730 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
23731 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
23732 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
23733 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
23734 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
23735 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
23736 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23737 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23738 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
23739 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
23740 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
23741 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23742 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
23743 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
23744 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23745 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23746 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
23747 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23748 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
23749 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23750 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
23751 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
23752 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
23753 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
23754 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
23755 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
23756 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
23757 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
23758 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
23759 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
23760 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
23761 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
23762 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23763 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
23764 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
23765 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23766 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23767 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
23768 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23769 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
23770 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23771 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
23772 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
23773 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
23774 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
23775 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
23776 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
23777 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
23778 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
23779 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
23780 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
23781 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
23782 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
23783 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
23784 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23785 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23786 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23787 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23788 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
23789 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
23790 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
23791 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23792 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23793 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
23794 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23795 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23796 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23797 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
23798 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
23799 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
23800 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23801 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23802 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
23803 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
23804 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
23805 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
23806 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
23807 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
23808 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
23809 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
23810 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
23811 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
23812 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
23813 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
23814 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
23815 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
23816 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
23817 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
23818 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
23819 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
23820 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
23821 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
23822 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
23823 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
23824 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
23825 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
23826 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
23827 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
23828 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23829 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23830 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23831 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
23832 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23833 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
23834 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
23835 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
23836 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
23837 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23838 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
23839 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
23840 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23841 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
23842 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23843 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23844 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23845 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23846 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23847 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23848 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23849 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23850 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
23851 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
23852 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23853 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23854 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23855 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23856 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23857 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23858 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23859 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
23860 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
23861 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
23862 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23863 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
23864 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
},
23865 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23866 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
23867 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
23868 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
23869 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
23870 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23871 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
23872 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23873 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23874 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23875 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
23876 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
23877 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
23878 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
23879 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
23880 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23881 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
23882 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23883 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23884 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23885 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
23886 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23887 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
23888 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
23889 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23890 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23891 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
23892 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
23893 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23894 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23895 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23896 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23897 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
23898 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
23899 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23900 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
23901 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23902 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
23903 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
23904 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
23905 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
23906 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23907 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
23908 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
23909 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
23910 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
23911 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
23912 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
23913 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
23914 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
23915 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23916 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
23917 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
23918 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
23919 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
23920 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
23921 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
23922 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
23923 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
23924 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
23925 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
23926 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
23927 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
23928 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
23929 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
23930 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
23931 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
23932 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
23933 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
23934 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
23935 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
23936 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
23937 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23938 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
23939 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
23940 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
23941 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23942 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23943 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23944 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
23945 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23946 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
23947 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
23948 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
23949 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
23950 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
23951 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
23952 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
23953 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
23954 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
23955 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
},
23956 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
23957 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
23958 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
23959 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
23960 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
23961 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
23962 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23963 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
23964 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23965 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
23966 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
23967 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
23968 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
23969 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23970 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
23971 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
23972 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
23973 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
23974 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23975 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
23976 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
23977 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
23978 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
23979 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
},
23980 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23981 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
23982 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
23983 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
23984 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
23985 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
23986 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
23987 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
23988 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
23989 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
23990 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23991 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23992 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23993 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
23994 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23995 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23996 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
23997 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23998 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23999 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
24000 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
24001 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
24002 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
24007 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
24009 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
24010 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24012 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
24013 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
24015 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
24016 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
24018 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
24019 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
24021 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
24022 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
24024 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
24025 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
24027 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
24028 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
24030 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
24031 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
24033 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
24034 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
24036 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
24037 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
24039 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
24040 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
24042 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
24043 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
24045 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
24046 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
24048 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
24049 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
24051 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
24052 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
24054 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
24055 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
24057 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
24058 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
24060 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
24061 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
24063 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
24064 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
24066 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
24067 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
24069 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
24070 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
24072 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
24073 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
24075 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
24076 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
24078 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
24079 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
24081 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
24082 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
24084 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
24085 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
24087 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
24088 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
24090 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
24091 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
24093 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
24094 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
24096 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
24097 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
24099 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
24100 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
24102 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
24103 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
24105 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
24106 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
24108 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
24109 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
24111 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
24112 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
24114 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
24115 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
24117 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
24118 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
24120 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
24121 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
24123 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
24124 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
24126 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
24127 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
24129 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
24130 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
24132 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
24133 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
24135 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
24136 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
24138 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
24139 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
24141 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
24142 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
24144 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
24145 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
24147 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
24148 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
24150 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
24151 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
24153 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
24154 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
24156 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
24157 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
24159 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
24160 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
24162 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
24163 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24165 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
24166 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24168 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
24169 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
24171 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
24172 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
24174 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
24175 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
24177 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
24178 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
24180 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
24181 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
24183 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
24184 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
24186 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
24187 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24189 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
24190 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
24192 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
24193 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24195 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
24196 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
24198 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
24199 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24201 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
24202 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
24204 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
24205 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
24207 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
24208 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
24210 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
24211 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
24213 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
24214 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
24216 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
24217 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
24219 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
24220 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
24222 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
24223 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
24225 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
24226 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
24228 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
24229 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24231 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
24232 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
24234 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
24235 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
24237 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
24238 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
24240 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
24241 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
24243 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
24244 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24246 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
24247 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24249 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
24250 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24252 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
24253 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
24255 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
24256 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24258 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
24259 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
24261 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
24262 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
24264 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
24265 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
24267 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
24268 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
24270 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
24271 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
24273 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
24274 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
24276 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
24277 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
24279 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
24280 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
24282 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
24283 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
24285 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
24286 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24288 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
24289 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
24291 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
24292 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
24294 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
24295 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
24297 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
24298 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24300 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
24301 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
24303 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
24304 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
24306 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
24307 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
24309 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
24310 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
24312 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
24313 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
24315 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
24316 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
24318 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
24319 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24321 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
24322 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
24324 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
24325 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
24327 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
24328 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
24330 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
24331 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
24333 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
24334 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
24336 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
24337 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
24339 static void *_p_wxSizerTo_p_wxObject(void *x
) {
24340 return (void *)((wxObject
*) ((wxSizer
*) x
));
24342 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
24343 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
24345 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
24346 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
24348 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
24349 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
24351 static void *_p_wxEventTo_p_wxObject(void *x
) {
24352 return (void *)((wxObject
*) ((wxEvent
*) x
));
24354 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
24355 return (void *)((wxObject
*) ((wxFontData
*) x
));
24357 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
24358 return (void *)((wxObject
*) ((wxPrintData
*) x
));
24360 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
24361 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
24363 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
24364 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
24366 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
24367 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
24369 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
24370 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
24372 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
24373 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
24375 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
24376 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
24378 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
24379 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
24381 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
24382 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
24384 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
24385 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
24387 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
24388 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
24390 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
24391 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
24393 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
24394 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
24396 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
24397 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24399 static void *_p_wxControlTo_p_wxObject(void *x
) {
24400 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
24402 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
24403 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
24405 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
24406 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
24408 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
24409 return (void *)((wxObject
*) ((wxFSFile
*) x
));
24411 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
24412 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
24414 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
24415 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
24417 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
24418 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
24420 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
24421 return (void *)((wxObject
*) ((wxColourData
*) x
));
24423 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
24424 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
24426 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
24427 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
24429 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
24430 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
24432 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
24433 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
24435 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
24436 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
24438 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
24439 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24441 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
24442 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24444 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
24445 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
24447 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
24448 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
24450 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
24451 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
24453 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
24454 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
24456 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
24457 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
24459 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
24460 return (void *)((wxObject
*) ((wxPrinter
*) x
));
24462 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
24463 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
24465 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
24466 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
24468 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
24469 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
24471 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
24472 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
24474 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
24475 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
24477 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
24478 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
24480 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
24481 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
24483 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
24484 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
24486 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
24487 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
24489 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
24490 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
24492 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
24493 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
24495 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
24496 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
24498 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
24499 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
24501 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
24502 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
24504 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
24505 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
24507 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
24508 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
24510 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
24511 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
24513 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
24514 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
24516 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
24517 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
24519 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
24520 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
24522 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
24523 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
24525 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
24526 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
24528 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
24529 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
24531 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
24532 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24534 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
24535 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24537 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
24538 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
24540 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
24541 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
24543 static void *_p_wxImageTo_p_wxObject(void *x
) {
24544 return (void *)((wxObject
*) ((wxImage
*) x
));
24546 static void *_p_wxFrameTo_p_wxObject(void *x
) {
24547 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
24549 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
24550 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
24552 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
24553 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
24555 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
24556 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
24558 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
24559 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
24561 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
24562 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
24564 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
24565 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
24567 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
24568 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
24570 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
24571 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
24573 static void *_p_wxWindowTo_p_wxObject(void *x
) {
24574 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
24576 static void *_p_wxMenuTo_p_wxObject(void *x
) {
24577 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
24579 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
24580 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
24582 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
24583 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
24585 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
24586 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
24588 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
24589 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
24591 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
24592 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
24594 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
24595 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
24597 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
24598 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24600 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
24601 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
24603 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
24604 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24606 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
24607 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
24609 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
24610 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24612 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
24613 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
24615 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
24616 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
24618 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
24619 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
24621 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
24622 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
24624 static void *_p_wxPanelTo_p_wxObject(void *x
) {
24625 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
24627 static void *_p_wxDialogTo_p_wxObject(void *x
) {
24628 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
24630 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
24631 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
24633 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
24634 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
24636 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
24637 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
24639 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
24640 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
24642 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
24643 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
24645 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
24646 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
24648 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
24649 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
24651 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
24652 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
24654 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
24655 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
24657 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
24658 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
24660 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
24661 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
24663 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
24664 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
24666 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
24667 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
24669 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
24670 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
24672 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
24673 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
24675 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
24676 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24678 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
24679 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
24681 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
24682 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
24684 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
24685 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
24687 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
24688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
24690 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
24691 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
24693 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
24694 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
24696 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
24697 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
24699 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
24700 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
24702 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
24703 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24705 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
24706 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24708 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
24709 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
24711 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
24712 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24714 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
24715 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
24717 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
24718 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24720 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
24721 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
24723 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
24724 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
24726 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
24727 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
24729 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
24730 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
24732 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
24733 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
24735 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
24736 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
24738 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
24739 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
24741 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
24742 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
24744 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
24745 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
24747 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
24748 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
24750 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
24751 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
24753 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
24754 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
24756 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
24757 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
24759 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
24760 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
24762 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
24763 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
24765 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
24766 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24768 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
24769 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24771 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
24772 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
24774 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
24775 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
24777 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
24778 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24780 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
24781 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
24783 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
24784 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
24786 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
24787 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
24789 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
24790 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
24792 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
24793 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
24795 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
24796 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
24798 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
24799 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
24801 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
24802 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
24804 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
24805 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24807 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
24808 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24810 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
24811 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
24813 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
24814 return (void *)((wxWindow
*) ((wxPanel
*) x
));
24816 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
24817 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
24819 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
24820 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
24822 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
24823 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24825 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
24826 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
24828 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
24829 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24831 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
24832 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
24834 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
24835 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24837 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
24838 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
24840 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
24841 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
24843 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
24844 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
24846 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
24847 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
24849 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
24850 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
24852 static void *_p_wxControlTo_p_wxWindow(void *x
) {
24853 return (void *)((wxWindow
*) ((wxControl
*) x
));
24855 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
24856 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
24858 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
24859 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24861 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
24862 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
24864 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
24865 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
24867 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
24868 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
24870 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
24871 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24873 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
24874 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24876 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
24877 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24879 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
24880 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
24882 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
24883 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24885 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
24886 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
24888 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
24889 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
24891 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
24892 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
24894 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
24895 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
24897 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
24898 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
24900 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
24901 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
24903 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
24904 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
24906 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
24907 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
24909 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
24910 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24912 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
24913 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
24915 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
24916 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
24918 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
24919 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
24921 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
24922 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
24924 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
24925 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
24927 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
24928 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
24930 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
24931 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
24933 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
24934 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24936 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
24937 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24939 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
24940 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
24942 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
24943 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
24945 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
24946 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
24948 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
24949 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
24951 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
24952 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24954 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
24955 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24957 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
24958 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24960 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
24961 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
24963 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
24964 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24966 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
24967 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
24969 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
24970 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24972 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
24973 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
24975 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
24976 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
24978 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
24979 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
24981 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
24982 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
24984 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
24985 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
24987 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
24988 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
24990 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
24991 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
24993 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
24994 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
24996 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
24997 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
24999 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
25000 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25002 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
25003 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
25005 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
25006 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25008 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}};
25009 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}};
25010 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}};
25011 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}};
25012 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}};
25013 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}};
25014 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}};
25015 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}};
25016 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}};
25017 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}};
25018 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}};
25019 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}};
25020 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}};
25021 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}};
25022 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}};
25023 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}};
25024 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}};
25025 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}};
25026 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}};
25027 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}};
25028 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}};
25029 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}};
25030 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}};
25031 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}};
25032 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}};
25033 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}};
25034 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}};
25035 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}};
25036 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}};
25037 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}};
25038 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}};
25039 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}};
25040 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}};
25041 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}};
25042 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}};
25043 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_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_wxTipWindow", _p_wxTipWindowTo_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_wxColourDialog", _p_wxColourDialogTo_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_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}};
25044 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}};
25045 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}};
25046 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}};
25047 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}};
25048 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}};
25049 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}};
25050 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_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}};
25051 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}};
25052 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}};
25053 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}};
25054 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}};
25055 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}};
25056 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}};
25057 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_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_wxTipWindow", _p_wxTipWindowTo_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}};
25058 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}};
25059 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}};
25060 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}};
25061 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}};
25062 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}};
25063 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}};
25064 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}};
25065 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25066 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},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25067 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}};
25068 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_wxDirDialog", _p_wxDirDialogTo_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_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_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}};
25069 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_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_wxTipWindow", _p_wxTipWindowTo_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_wxDialog", _p_wxDialogTo_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_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}};
25070 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}};
25071 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}};
25072 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}};
25073 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}};
25074 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}};
25075 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}};
25076 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}};
25077 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}};
25078 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}};
25079 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}};
25080 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}};
25081 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}};
25082 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}};
25083 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}};
25084 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}};
25085 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}};
25086 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}};
25087 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}};
25088 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}};
25089 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}};
25090 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}};
25091 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}};
25093 static swig_type_info
*swig_types_initial
[] = {
25094 _swigt__p_wxQueryLayoutInfoEvent
,
25095 _swigt__p_wxPreviewFrame
,
25096 _swigt__p_wxPyPreviewFrame
,
25097 _swigt__p_wxPyPanel
,
25099 _swigt__p_wxPrintData
,
25100 _swigt__p_wxFontData
,
25102 _swigt__p_wxTaskBarIcon
,
25103 _swigt__p_wxIconBundle
,
25104 _swigt__p_wxLayoutAlgorithm
,
25105 _swigt__p_wxFindDialogEvent
,
25106 _swigt__p_wxPreviewCanvas
,
25108 _swigt__p_wxSplitterEvent
,
25109 _swigt__p_wxRegion
,
25110 _swigt__p_wxFindReplaceData
,
25115 _swigt__p_wxMDIChildFrame
,
25116 _swigt__p_wxColourData
,
25117 _swigt__p_wxNotifyEvent
,
25118 _swigt__p_wxPyWindow
,
25119 _swigt__p_wxSplashScreen
,
25120 _swigt__p_wxFindReplaceDialog
,
25121 _swigt__p_wxProgressDialog
,
25122 _swigt__p_wxMessageDialog
,
25123 _swigt__p_wxTextEntryDialog
,
25124 _swigt__p_wxSingleChoiceDialog
,
25125 _swigt__p_wxMultiChoiceDialog
,
25126 _swigt__p_wxFileDialog
,
25127 _swigt__p_wxPrinter
,
25128 _swigt__p_wxArrayInt
,
25129 _swigt__p_wxEvtHandler
,
25130 _swigt__p_wxCalculateLayoutEvent
,
25131 _swigt__p_wxPyHtmlListBox
,
25132 _swigt__p_wxPyVListBox
,
25135 _swigt__p_wxMiniFrame
,
25137 _swigt__p_wxPyPrintout
,
25138 _swigt__p_wxTaskBarIconEvent
,
25139 _swigt__p_wxScrollWinEvent
,
25140 _swigt__p_wxStatusBar
,
25141 _swigt__p_wxMDIParentFrame
,
25143 _swigt__p_wxObject
,
25144 _swigt__p_wxOutputStream
,
25145 _swigt__p_unsigned_long
,
25146 _swigt__p_wxMDIClientWindow
,
25147 _swigt__p_wxTipWindow
,
25148 _swigt__p_wxSashLayoutWindow
,
25149 _swigt__p_wxSplitterWindow
,
25150 _swigt__p_wxPyVScrolledWindow
,
25151 _swigt__p_wxPyPopupTransientWindow
,
25152 _swigt__p_wxPopupWindow
,
25153 _swigt__p_wxSashWindow
,
25154 _swigt__p_wxTopLevelWindow
,
25155 _swigt__p_wxWindow
,
25156 _swigt__p_wxScrolledWindow
,
25157 _swigt__p_wxSplashScreenWindow
,
25158 _swigt__p_wxMenuBar
,
25159 _swigt__p_wxPrintPreview
,
25160 _swigt__p_wxSashEvent
,
25161 _swigt__p_wxString
,
25162 _swigt__p_wxPyPrintPreview
,
25163 _swigt__p_wxFontDialog
,
25164 _swigt__p_wxDirDialog
,
25165 _swigt__p_wxColourDialog
,
25166 _swigt__p_wxDialog
,
25168 _swigt__p_wxPageSetupDialog
,
25169 _swigt__p_wxPrintDialog
,
25170 _swigt__p_wxBitmap
,
25171 _swigt__p_wxCommandEvent
,
25172 _swigt__p_wxPreviewControlBar
,
25173 _swigt__p_wxPyPreviewControlBar
,
25174 _swigt__p_wxColour
,
25175 _swigt__p_wxToolBar
,
25176 _swigt__p_wxPageSetupDialogData
,
25177 _swigt__p_wxPrintDialogData
,
25182 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
25184 static swig_const_info swig_const_table
[] = {
25194 SWIGEXPORT(void) SWIG_init(void) {
25195 static PyObject
*SWIG_globals
= 0;
25196 static int typeinit
= 0;
25199 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
25200 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
25201 d
= PyModule_GetDict(m
);
25204 for (i
= 0; swig_types_initial
[i
]; i
++) {
25205 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
25209 SWIG_InstallConstants(d
,swig_const_table
);
25211 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
25212 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
25213 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
25214 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
25215 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
25216 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
25217 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
25218 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
25219 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
25220 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
25221 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
25222 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
25223 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
25224 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
25225 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
25226 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
25227 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
25228 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
25229 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
25230 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
25231 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
25232 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
25233 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
25234 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
25235 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
25236 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
25237 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
25238 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
25239 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
25240 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
25241 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
25242 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
25243 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
25244 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
25245 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
25246 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
25247 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
25248 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
25249 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
25250 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
25251 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
25252 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
25253 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
25254 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
25255 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
25256 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
25257 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
25258 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
25259 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
25260 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
25261 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
25262 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
25263 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
25264 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
25265 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
25266 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
25267 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
25268 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
25269 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
25270 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
25271 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
25272 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
25273 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
25274 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
25275 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
25276 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
25277 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
25278 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
25280 // Map renamed classes back to their common name for OOR
25281 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
25282 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
25283 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
25285 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
25286 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
25287 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
25288 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
25289 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
25290 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
25291 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
25292 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
25293 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
25294 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
25295 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
25296 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
25297 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
25298 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
25299 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
25300 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
25301 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
25302 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
25303 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
25304 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
25305 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
25306 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
25307 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
25308 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
25309 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
25310 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
25311 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
25312 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
25313 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
25314 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
25315 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
25316 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
25317 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
25318 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
25319 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
25320 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
25321 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
25322 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
25323 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
25324 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
25325 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
25326 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
25327 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
25328 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
25329 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
25330 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
25331 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
25332 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
25333 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
25334 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
25335 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
25336 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
25337 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
25338 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
25339 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
25340 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
25341 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
25342 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
25343 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
25344 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
25346 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");