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
){
512 return self
->m_modalShowing
;
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 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();
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 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(); \
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
;
1351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1366 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1367 PyObject
*resultobj
;
1368 wxPanel
*arg1
= (wxPanel
*) 0 ;
1369 PyObject
* obj0
= 0 ;
1371 (char *) "self", NULL
1374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1379 (arg1
)->InitDialog();
1381 wxPyEndAllowThreads(__tstate
);
1382 if (PyErr_Occurred()) SWIG_fail
;
1384 Py_INCREF(Py_None
); resultobj
= Py_None
;
1391 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1394 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1396 return Py_BuildValue((char *)"");
1398 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1399 PyObject
*resultobj
;
1400 wxWindow
*arg1
= (wxWindow
*) 0 ;
1401 int arg2
= (int) (int)-1 ;
1402 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1403 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1404 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1405 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1406 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1407 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1408 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1409 wxScrolledWindow
*result
;
1412 bool temp6
= False
;
1413 PyObject
* obj0
= 0 ;
1414 PyObject
* obj1
= 0 ;
1415 PyObject
* obj2
= 0 ;
1416 PyObject
* obj3
= 0 ;
1417 PyObject
* obj4
= 0 ;
1418 PyObject
* obj5
= 0 ;
1420 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1427 arg2
= (int const) SWIG_AsInt(obj1
);
1428 if (PyErr_Occurred()) SWIG_fail
;
1433 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1439 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1443 arg5
= (long) SWIG_AsLong(obj4
);
1444 if (PyErr_Occurred()) SWIG_fail
;
1448 arg6
= wxString_in_helper(obj5
);
1449 if (arg6
== NULL
) SWIG_fail
;
1454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1455 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1457 wxPyEndAllowThreads(__tstate
);
1458 if (PyErr_Occurred()) SWIG_fail
;
1460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1475 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1476 PyObject
*resultobj
;
1477 wxScrolledWindow
*result
;
1482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1485 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1487 wxPyEndAllowThreads(__tstate
);
1488 if (PyErr_Occurred()) SWIG_fail
;
1490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1497 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1498 PyObject
*resultobj
;
1499 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1500 wxWindow
*arg2
= (wxWindow
*) 0 ;
1501 int arg3
= (int) (int)-1 ;
1502 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1503 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1504 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1505 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1506 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1507 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1508 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1512 bool temp7
= False
;
1513 PyObject
* obj0
= 0 ;
1514 PyObject
* obj1
= 0 ;
1515 PyObject
* obj2
= 0 ;
1516 PyObject
* obj3
= 0 ;
1517 PyObject
* obj4
= 0 ;
1518 PyObject
* obj5
= 0 ;
1519 PyObject
* obj6
= 0 ;
1521 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1527 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1530 arg3
= (int const) SWIG_AsInt(obj2
);
1531 if (PyErr_Occurred()) SWIG_fail
;
1536 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1542 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1546 arg6
= (long) SWIG_AsLong(obj5
);
1547 if (PyErr_Occurred()) SWIG_fail
;
1551 arg7
= wxString_in_helper(obj6
);
1552 if (arg7
== NULL
) SWIG_fail
;
1557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1558 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1560 wxPyEndAllowThreads(__tstate
);
1561 if (PyErr_Occurred()) SWIG_fail
;
1563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1578 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1579 PyObject
*resultobj
;
1580 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1585 int arg6
= (int) 0 ;
1586 int arg7
= (int) 0 ;
1587 bool arg8
= (bool) False
;
1588 PyObject
* obj0
= 0 ;
1589 PyObject
* obj1
= 0 ;
1590 PyObject
* obj2
= 0 ;
1591 PyObject
* obj3
= 0 ;
1592 PyObject
* obj4
= 0 ;
1593 PyObject
* obj5
= 0 ;
1594 PyObject
* obj6
= 0 ;
1595 PyObject
* obj7
= 0 ;
1597 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1603 arg2
= (int) SWIG_AsInt(obj1
);
1604 if (PyErr_Occurred()) SWIG_fail
;
1605 arg3
= (int) SWIG_AsInt(obj2
);
1606 if (PyErr_Occurred()) SWIG_fail
;
1607 arg4
= (int) SWIG_AsInt(obj3
);
1608 if (PyErr_Occurred()) SWIG_fail
;
1609 arg5
= (int) SWIG_AsInt(obj4
);
1610 if (PyErr_Occurred()) SWIG_fail
;
1612 arg6
= (int) SWIG_AsInt(obj5
);
1613 if (PyErr_Occurred()) SWIG_fail
;
1616 arg7
= (int) SWIG_AsInt(obj6
);
1617 if (PyErr_Occurred()) SWIG_fail
;
1620 arg8
= (bool) SWIG_AsBool(obj7
);
1621 if (PyErr_Occurred()) SWIG_fail
;
1624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1625 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1627 wxPyEndAllowThreads(__tstate
);
1628 if (PyErr_Occurred()) SWIG_fail
;
1630 Py_INCREF(Py_None
); resultobj
= Py_None
;
1637 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1638 PyObject
*resultobj
;
1639 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1642 PyObject
* obj0
= 0 ;
1643 PyObject
* obj1
= 0 ;
1644 PyObject
* obj2
= 0 ;
1646 (char *) "self",(char *) "x",(char *) "y", NULL
1649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1652 arg2
= (int) SWIG_AsInt(obj1
);
1653 if (PyErr_Occurred()) SWIG_fail
;
1654 arg3
= (int) SWIG_AsInt(obj2
);
1655 if (PyErr_Occurred()) SWIG_fail
;
1657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1658 (arg1
)->Scroll(arg2
,arg3
);
1660 wxPyEndAllowThreads(__tstate
);
1661 if (PyErr_Occurred()) SWIG_fail
;
1663 Py_INCREF(Py_None
); resultobj
= Py_None
;
1670 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1671 PyObject
*resultobj
;
1672 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1675 PyObject
* obj0
= 0 ;
1676 PyObject
* obj1
= 0 ;
1678 (char *) "self",(char *) "orient", NULL
1681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1684 arg2
= (int) SWIG_AsInt(obj1
);
1685 if (PyErr_Occurred()) SWIG_fail
;
1687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1688 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1690 wxPyEndAllowThreads(__tstate
);
1691 if (PyErr_Occurred()) SWIG_fail
;
1693 resultobj
= SWIG_FromInt((int)result
);
1700 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1701 PyObject
*resultobj
;
1702 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1705 PyObject
* obj0
= 0 ;
1706 PyObject
* obj1
= 0 ;
1707 PyObject
* obj2
= 0 ;
1709 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1715 arg2
= (int) SWIG_AsInt(obj1
);
1716 if (PyErr_Occurred()) SWIG_fail
;
1717 arg3
= (int) SWIG_AsInt(obj2
);
1718 if (PyErr_Occurred()) SWIG_fail
;
1720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1721 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1723 wxPyEndAllowThreads(__tstate
);
1724 if (PyErr_Occurred()) SWIG_fail
;
1726 Py_INCREF(Py_None
); resultobj
= Py_None
;
1733 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1734 PyObject
*resultobj
;
1735 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1738 PyObject
* obj0
= 0 ;
1739 PyObject
* obj1
= 0 ;
1740 PyObject
* obj2
= 0 ;
1742 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1748 arg2
= (int) SWIG_AsInt(obj1
);
1749 if (PyErr_Occurred()) SWIG_fail
;
1750 arg3
= (int) SWIG_AsInt(obj2
);
1751 if (PyErr_Occurred()) SWIG_fail
;
1753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1754 (arg1
)->SetScrollRate(arg2
,arg3
);
1756 wxPyEndAllowThreads(__tstate
);
1757 if (PyErr_Occurred()) SWIG_fail
;
1759 Py_INCREF(Py_None
); resultobj
= Py_None
;
1766 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1767 PyObject
*resultobj
;
1768 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1769 int *arg2
= (int *) 0 ;
1770 int *arg3
= (int *) 0 ;
1773 PyObject
* obj0
= 0 ;
1775 (char *) "self", NULL
1780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1785 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1787 wxPyEndAllowThreads(__tstate
);
1788 if (PyErr_Occurred()) SWIG_fail
;
1790 Py_INCREF(Py_None
); resultobj
= Py_None
;
1792 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1793 resultobj
= t_output_helper(resultobj
,o
);
1796 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1797 resultobj
= t_output_helper(resultobj
,o
);
1805 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1806 PyObject
*resultobj
;
1807 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1810 PyObject
* obj0
= 0 ;
1811 PyObject
* obj1
= 0 ;
1812 PyObject
* obj2
= 0 ;
1814 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1820 arg2
= (bool) SWIG_AsBool(obj1
);
1821 if (PyErr_Occurred()) SWIG_fail
;
1822 arg3
= (bool) SWIG_AsBool(obj2
);
1823 if (PyErr_Occurred()) SWIG_fail
;
1825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1826 (arg1
)->EnableScrolling(arg2
,arg3
);
1828 wxPyEndAllowThreads(__tstate
);
1829 if (PyErr_Occurred()) SWIG_fail
;
1831 Py_INCREF(Py_None
); resultobj
= Py_None
;
1838 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1839 PyObject
*resultobj
;
1840 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1841 int *arg2
= (int *) 0 ;
1842 int *arg3
= (int *) 0 ;
1845 PyObject
* obj0
= 0 ;
1847 (char *) "self", NULL
1852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1857 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1859 wxPyEndAllowThreads(__tstate
);
1860 if (PyErr_Occurred()) SWIG_fail
;
1862 Py_INCREF(Py_None
); resultobj
= Py_None
;
1864 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1865 resultobj
= t_output_helper(resultobj
,o
);
1868 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1869 resultobj
= t_output_helper(resultobj
,o
);
1877 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1878 PyObject
*resultobj
;
1879 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1882 PyObject
* obj0
= 0 ;
1883 PyObject
* obj1
= 0 ;
1884 PyObject
* obj2
= 0 ;
1886 (char *) "self",(char *) "xs",(char *) "ys", NULL
1889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1892 arg2
= (double) SWIG_AsDouble(obj1
);
1893 if (PyErr_Occurred()) SWIG_fail
;
1894 arg3
= (double) SWIG_AsDouble(obj2
);
1895 if (PyErr_Occurred()) SWIG_fail
;
1897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1898 (arg1
)->SetScale(arg2
,arg3
);
1900 wxPyEndAllowThreads(__tstate
);
1901 if (PyErr_Occurred()) SWIG_fail
;
1903 Py_INCREF(Py_None
); resultobj
= Py_None
;
1910 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1911 PyObject
*resultobj
;
1912 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1914 PyObject
* obj0
= 0 ;
1916 (char *) "self", NULL
1919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
1920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1924 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
1926 wxPyEndAllowThreads(__tstate
);
1927 if (PyErr_Occurred()) SWIG_fail
;
1929 resultobj
= SWIG_FromDouble((double)result
);
1936 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1937 PyObject
*resultobj
;
1938 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1940 PyObject
* obj0
= 0 ;
1942 (char *) "self", NULL
1945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
1946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1950 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
1952 wxPyEndAllowThreads(__tstate
);
1953 if (PyErr_Occurred()) SWIG_fail
;
1955 resultobj
= SWIG_FromDouble((double)result
);
1962 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
1963 PyObject
*resultobj
;
1964 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1968 PyObject
* obj0
= 0 ;
1969 PyObject
* obj1
= 0 ;
1971 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
1972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1976 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1980 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
1982 wxPyEndAllowThreads(__tstate
);
1983 if (PyErr_Occurred()) SWIG_fail
;
1986 wxPoint
* resultptr
;
1987 resultptr
= new wxPoint((wxPoint
&) result
);
1988 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
1996 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
1997 PyObject
*resultobj
;
1998 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2001 int *arg4
= (int *) 0 ;
2002 int *arg5
= (int *) 0 ;
2005 PyObject
* obj0
= 0 ;
2006 PyObject
* obj1
= 0 ;
2007 PyObject
* obj2
= 0 ;
2011 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2014 arg2
= (int) SWIG_AsInt(obj1
);
2015 if (PyErr_Occurred()) SWIG_fail
;
2016 arg3
= (int) SWIG_AsInt(obj2
);
2017 if (PyErr_Occurred()) SWIG_fail
;
2019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2020 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2022 wxPyEndAllowThreads(__tstate
);
2023 if (PyErr_Occurred()) SWIG_fail
;
2025 Py_INCREF(Py_None
); resultobj
= Py_None
;
2027 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2028 resultobj
= t_output_helper(resultobj
,o
);
2031 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2032 resultobj
= t_output_helper(resultobj
,o
);
2040 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2045 argc
= PyObject_Length(args
);
2046 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2047 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2053 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2062 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2065 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2073 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2081 _v
= SWIG_CheckInt(argv
[1]);
2083 _v
= SWIG_CheckInt(argv
[2]);
2085 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2091 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2096 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2097 PyObject
*resultobj
;
2098 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2102 PyObject
* obj0
= 0 ;
2103 PyObject
* obj1
= 0 ;
2105 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2110 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2114 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2116 wxPyEndAllowThreads(__tstate
);
2117 if (PyErr_Occurred()) SWIG_fail
;
2120 wxPoint
* resultptr
;
2121 resultptr
= new wxPoint((wxPoint
&) result
);
2122 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2130 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2131 PyObject
*resultobj
;
2132 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2135 int *arg4
= (int *) 0 ;
2136 int *arg5
= (int *) 0 ;
2139 PyObject
* obj0
= 0 ;
2140 PyObject
* obj1
= 0 ;
2141 PyObject
* obj2
= 0 ;
2145 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2148 arg2
= (int) SWIG_AsInt(obj1
);
2149 if (PyErr_Occurred()) SWIG_fail
;
2150 arg3
= (int) SWIG_AsInt(obj2
);
2151 if (PyErr_Occurred()) SWIG_fail
;
2153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2154 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2156 wxPyEndAllowThreads(__tstate
);
2157 if (PyErr_Occurred()) SWIG_fail
;
2159 Py_INCREF(Py_None
); resultobj
= Py_None
;
2161 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2162 resultobj
= t_output_helper(resultobj
,o
);
2165 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2166 resultobj
= t_output_helper(resultobj
,o
);
2174 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2179 argc
= PyObject_Length(args
);
2180 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2181 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2187 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2196 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2199 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2207 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2215 _v
= SWIG_CheckInt(argv
[1]);
2217 _v
= SWIG_CheckInt(argv
[2]);
2219 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2225 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2230 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2231 PyObject
*resultobj
;
2232 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2233 PyObject
* obj0
= 0 ;
2235 (char *) "self", NULL
2238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2243 (arg1
)->AdjustScrollbars();
2245 wxPyEndAllowThreads(__tstate
);
2246 if (PyErr_Occurred()) SWIG_fail
;
2248 Py_INCREF(Py_None
); resultobj
= Py_None
;
2255 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2256 PyObject
*resultobj
;
2257 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2258 wxScrollWinEvent
*arg2
= 0 ;
2260 PyObject
* obj0
= 0 ;
2261 PyObject
* obj1
= 0 ;
2263 (char *) "self",(char *) "event", NULL
2266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2270 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2273 PyErr_SetString(PyExc_TypeError
,"null reference");
2277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2278 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2280 wxPyEndAllowThreads(__tstate
);
2281 if (PyErr_Occurred()) SWIG_fail
;
2283 resultobj
= SWIG_FromInt((int)result
);
2290 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2291 PyObject
*resultobj
;
2292 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2293 wxWindow
*arg2
= (wxWindow
*) 0 ;
2294 PyObject
* obj0
= 0 ;
2295 PyObject
* obj1
= 0 ;
2297 (char *) "self",(char *) "target", NULL
2300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2303 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2307 (arg1
)->SetTargetWindow(arg2
);
2309 wxPyEndAllowThreads(__tstate
);
2310 if (PyErr_Occurred()) SWIG_fail
;
2312 Py_INCREF(Py_None
); resultobj
= Py_None
;
2319 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2320 PyObject
*resultobj
;
2321 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2323 PyObject
* obj0
= 0 ;
2325 (char *) "self", NULL
2328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2333 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2335 wxPyEndAllowThreads(__tstate
);
2336 if (PyErr_Occurred()) SWIG_fail
;
2339 resultobj
= wxPyMake_wxObject(result
);
2347 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2349 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2350 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2352 return Py_BuildValue((char *)"");
2354 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2355 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2360 static PyObject
*_wrap_FrameNameStr_get() {
2365 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2367 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2374 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2375 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2380 static PyObject
*_wrap_DialogNameStr_get() {
2385 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2387 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2394 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2395 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2400 static PyObject
*_wrap_StatusLineNameStr_get() {
2405 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2407 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2414 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2415 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2420 static PyObject
*_wrap_ToolBarNameStr_get() {
2425 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2427 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2434 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2435 PyObject
*resultobj
;
2436 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2437 bool arg2
= (bool) True
;
2438 PyObject
* obj0
= 0 ;
2439 PyObject
* obj1
= 0 ;
2441 (char *) "self",(char *) "maximize", NULL
2444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2448 arg2
= (bool) SWIG_AsBool(obj1
);
2449 if (PyErr_Occurred()) SWIG_fail
;
2452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2453 (arg1
)->Maximize(arg2
);
2455 wxPyEndAllowThreads(__tstate
);
2456 if (PyErr_Occurred()) SWIG_fail
;
2458 Py_INCREF(Py_None
); resultobj
= Py_None
;
2465 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2466 PyObject
*resultobj
;
2467 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2468 PyObject
* obj0
= 0 ;
2470 (char *) "self", NULL
2473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2480 wxPyEndAllowThreads(__tstate
);
2481 if (PyErr_Occurred()) SWIG_fail
;
2483 Py_INCREF(Py_None
); resultobj
= Py_None
;
2490 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2491 PyObject
*resultobj
;
2492 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2493 bool arg2
= (bool) True
;
2494 PyObject
* obj0
= 0 ;
2495 PyObject
* obj1
= 0 ;
2497 (char *) "self",(char *) "iconize", NULL
2500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2504 arg2
= (bool) SWIG_AsBool(obj1
);
2505 if (PyErr_Occurred()) SWIG_fail
;
2508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2509 (arg1
)->Iconize(arg2
);
2511 wxPyEndAllowThreads(__tstate
);
2512 if (PyErr_Occurred()) SWIG_fail
;
2514 Py_INCREF(Py_None
); resultobj
= Py_None
;
2521 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2522 PyObject
*resultobj
;
2523 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2525 PyObject
* obj0
= 0 ;
2527 (char *) "self", NULL
2530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2535 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2537 wxPyEndAllowThreads(__tstate
);
2538 if (PyErr_Occurred()) SWIG_fail
;
2540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2547 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2548 PyObject
*resultobj
;
2549 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2551 PyObject
* obj0
= 0 ;
2553 (char *) "self", NULL
2556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2561 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2563 wxPyEndAllowThreads(__tstate
);
2564 if (PyErr_Occurred()) SWIG_fail
;
2566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2573 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2574 PyObject
*resultobj
;
2575 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2577 PyObject
* obj0
= 0 ;
2579 (char *) "self", NULL
2582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2587 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2589 wxPyEndAllowThreads(__tstate
);
2590 if (PyErr_Occurred()) SWIG_fail
;
2594 resultptr
= new wxIcon((wxIcon
&) result
);
2595 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2603 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2604 PyObject
*resultobj
;
2605 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2607 PyObject
* obj0
= 0 ;
2608 PyObject
* obj1
= 0 ;
2610 (char *) "self",(char *) "icon", NULL
2613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2616 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2617 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2620 PyErr_SetString(PyExc_TypeError
,"null reference");
2624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2625 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2627 wxPyEndAllowThreads(__tstate
);
2628 if (PyErr_Occurred()) SWIG_fail
;
2630 Py_INCREF(Py_None
); resultobj
= Py_None
;
2637 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2638 PyObject
*resultobj
;
2639 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2640 wxIconBundle
*arg2
= 0 ;
2641 PyObject
* obj0
= 0 ;
2642 PyObject
* obj1
= 0 ;
2644 (char *) "self",(char *) "icons", NULL
2647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2650 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2651 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2654 PyErr_SetString(PyExc_TypeError
,"null reference");
2658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2659 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2661 wxPyEndAllowThreads(__tstate
);
2662 if (PyErr_Occurred()) SWIG_fail
;
2664 Py_INCREF(Py_None
); resultobj
= Py_None
;
2671 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2672 PyObject
*resultobj
;
2673 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2675 long arg3
= (long) wxFULLSCREEN_ALL
;
2677 PyObject
* obj0
= 0 ;
2678 PyObject
* obj1
= 0 ;
2679 PyObject
* obj2
= 0 ;
2681 (char *) "self",(char *) "show",(char *) "style", NULL
2684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2687 arg2
= (bool) SWIG_AsBool(obj1
);
2688 if (PyErr_Occurred()) SWIG_fail
;
2690 arg3
= (long) SWIG_AsLong(obj2
);
2691 if (PyErr_Occurred()) SWIG_fail
;
2694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2695 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2697 wxPyEndAllowThreads(__tstate
);
2698 if (PyErr_Occurred()) SWIG_fail
;
2700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2707 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2708 PyObject
*resultobj
;
2709 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2711 PyObject
* obj0
= 0 ;
2713 (char *) "self", NULL
2716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2721 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2723 wxPyEndAllowThreads(__tstate
);
2724 if (PyErr_Occurred()) SWIG_fail
;
2726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2733 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2734 PyObject
*resultobj
;
2735 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2736 wxString
*arg2
= 0 ;
2737 bool temp2
= False
;
2738 PyObject
* obj0
= 0 ;
2739 PyObject
* obj1
= 0 ;
2741 (char *) "self",(char *) "title", NULL
2744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2748 arg2
= wxString_in_helper(obj1
);
2749 if (arg2
== NULL
) SWIG_fail
;
2753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2754 (arg1
)->SetTitle((wxString
const &)*arg2
);
2756 wxPyEndAllowThreads(__tstate
);
2757 if (PyErr_Occurred()) SWIG_fail
;
2759 Py_INCREF(Py_None
); resultobj
= Py_None
;
2774 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2775 PyObject
*resultobj
;
2776 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2778 PyObject
* obj0
= 0 ;
2780 (char *) "self", NULL
2783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2788 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2790 wxPyEndAllowThreads(__tstate
);
2791 if (PyErr_Occurred()) SWIG_fail
;
2795 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2797 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2806 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2807 PyObject
*resultobj
;
2808 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2809 wxRegion
*arg2
= 0 ;
2811 PyObject
* obj0
= 0 ;
2812 PyObject
* obj1
= 0 ;
2814 (char *) "self",(char *) "region", NULL
2817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
2821 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2824 PyErr_SetString(PyExc_TypeError
,"null reference");
2828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2829 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2831 wxPyEndAllowThreads(__tstate
);
2832 if (PyErr_Occurred()) SWIG_fail
;
2834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2841 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2844 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
2846 return Py_BuildValue((char *)"");
2848 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2849 PyObject
*resultobj
;
2850 wxWindow
*arg1
= (wxWindow
*) 0 ;
2852 wxString
*arg3
= 0 ;
2853 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2854 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2855 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2856 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2857 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
2858 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
2859 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2861 bool temp3
= False
;
2864 bool temp7
= False
;
2865 PyObject
* obj0
= 0 ;
2866 PyObject
* obj1
= 0 ;
2867 PyObject
* obj2
= 0 ;
2868 PyObject
* obj3
= 0 ;
2869 PyObject
* obj4
= 0 ;
2870 PyObject
* obj5
= 0 ;
2871 PyObject
* obj6
= 0 ;
2873 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2879 arg2
= (int const) SWIG_AsInt(obj1
);
2880 if (PyErr_Occurred()) SWIG_fail
;
2882 arg3
= wxString_in_helper(obj2
);
2883 if (arg3
== NULL
) SWIG_fail
;
2889 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2895 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2899 arg6
= (long) SWIG_AsLong(obj5
);
2900 if (PyErr_Occurred()) SWIG_fail
;
2904 arg7
= wxString_in_helper(obj6
);
2905 if (arg7
== NULL
) SWIG_fail
;
2910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2911 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2913 wxPyEndAllowThreads(__tstate
);
2914 if (PyErr_Occurred()) SWIG_fail
;
2917 resultobj
= wxPyMake_wxObject(result
);
2941 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2942 PyObject
*resultobj
;
2948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
2950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2951 result
= (wxFrame
*)new wxFrame();
2953 wxPyEndAllowThreads(__tstate
);
2954 if (PyErr_Occurred()) SWIG_fail
;
2957 resultobj
= wxPyMake_wxObject(result
);
2965 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2966 PyObject
*resultobj
;
2967 wxFrame
*arg1
= (wxFrame
*) 0 ;
2968 wxWindow
*arg2
= (wxWindow
*) 0 ;
2970 wxString
*arg4
= 0 ;
2971 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2972 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2973 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2974 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2975 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
2976 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
2977 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2979 bool temp4
= False
;
2982 bool temp8
= False
;
2983 PyObject
* obj0
= 0 ;
2984 PyObject
* obj1
= 0 ;
2985 PyObject
* obj2
= 0 ;
2986 PyObject
* obj3
= 0 ;
2987 PyObject
* obj4
= 0 ;
2988 PyObject
* obj5
= 0 ;
2989 PyObject
* obj6
= 0 ;
2990 PyObject
* obj7
= 0 ;
2992 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
2997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2998 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3000 arg3
= (int const) SWIG_AsInt(obj2
);
3001 if (PyErr_Occurred()) SWIG_fail
;
3003 arg4
= wxString_in_helper(obj3
);
3004 if (arg4
== NULL
) SWIG_fail
;
3010 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3016 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3020 arg7
= (long) SWIG_AsLong(obj6
);
3021 if (PyErr_Occurred()) SWIG_fail
;
3025 arg8
= wxString_in_helper(obj7
);
3026 if (arg8
== NULL
) SWIG_fail
;
3031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3032 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3034 wxPyEndAllowThreads(__tstate
);
3035 if (PyErr_Occurred()) SWIG_fail
;
3037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3060 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3061 PyObject
*resultobj
;
3062 wxFrame
*arg1
= (wxFrame
*) 0 ;
3064 PyObject
* obj0
= 0 ;
3066 (char *) "self", NULL
3069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3074 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3076 wxPyEndAllowThreads(__tstate
);
3077 if (PyErr_Occurred()) SWIG_fail
;
3080 wxPoint
* resultptr
;
3081 resultptr
= new wxPoint((wxPoint
&) result
);
3082 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3090 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3091 PyObject
*resultobj
;
3092 wxFrame
*arg1
= (wxFrame
*) 0 ;
3093 PyObject
* obj0
= 0 ;
3095 (char *) "self", NULL
3098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3103 (arg1
)->SendSizeEvent();
3105 wxPyEndAllowThreads(__tstate
);
3106 if (PyErr_Occurred()) SWIG_fail
;
3108 Py_INCREF(Py_None
); resultobj
= Py_None
;
3115 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3116 PyObject
*resultobj
;
3117 wxFrame
*arg1
= (wxFrame
*) 0 ;
3118 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3119 PyObject
* obj0
= 0 ;
3120 PyObject
* obj1
= 0 ;
3122 (char *) "self",(char *) "menubar", NULL
3125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3128 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3132 (arg1
)->SetMenuBar(arg2
);
3134 wxPyEndAllowThreads(__tstate
);
3135 if (PyErr_Occurred()) SWIG_fail
;
3137 Py_INCREF(Py_None
); resultobj
= Py_None
;
3144 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3145 PyObject
*resultobj
;
3146 wxFrame
*arg1
= (wxFrame
*) 0 ;
3148 PyObject
* obj0
= 0 ;
3150 (char *) "self", NULL
3153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3158 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3160 wxPyEndAllowThreads(__tstate
);
3161 if (PyErr_Occurred()) SWIG_fail
;
3164 resultobj
= wxPyMake_wxObject(result
);
3172 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3173 PyObject
*resultobj
;
3174 wxFrame
*arg1
= (wxFrame
*) 0 ;
3177 PyObject
* obj0
= 0 ;
3178 PyObject
* obj1
= 0 ;
3180 (char *) "self",(char *) "winid", NULL
3183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3186 arg2
= (int) SWIG_AsInt(obj1
);
3187 if (PyErr_Occurred()) SWIG_fail
;
3189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3190 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3192 wxPyEndAllowThreads(__tstate
);
3193 if (PyErr_Occurred()) SWIG_fail
;
3195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3202 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3203 PyObject
*resultobj
;
3204 wxFrame
*arg1
= (wxFrame
*) 0 ;
3205 int arg2
= (int) 1 ;
3206 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
3207 int arg4
= (int) 0 ;
3208 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3209 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3210 wxStatusBar
*result
;
3211 bool temp5
= False
;
3212 PyObject
* obj0
= 0 ;
3213 PyObject
* obj1
= 0 ;
3214 PyObject
* obj2
= 0 ;
3215 PyObject
* obj3
= 0 ;
3216 PyObject
* obj4
= 0 ;
3218 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3225 arg2
= (int) SWIG_AsInt(obj1
);
3226 if (PyErr_Occurred()) SWIG_fail
;
3229 arg3
= (long) SWIG_AsLong(obj2
);
3230 if (PyErr_Occurred()) SWIG_fail
;
3233 arg4
= (int) SWIG_AsInt(obj3
);
3234 if (PyErr_Occurred()) SWIG_fail
;
3238 arg5
= wxString_in_helper(obj4
);
3239 if (arg5
== NULL
) SWIG_fail
;
3244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3245 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3247 wxPyEndAllowThreads(__tstate
);
3248 if (PyErr_Occurred()) SWIG_fail
;
3251 resultobj
= wxPyMake_wxObject(result
);
3267 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3268 PyObject
*resultobj
;
3269 wxFrame
*arg1
= (wxFrame
*) 0 ;
3270 wxStatusBar
*result
;
3271 PyObject
* obj0
= 0 ;
3273 (char *) "self", NULL
3276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3281 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3283 wxPyEndAllowThreads(__tstate
);
3284 if (PyErr_Occurred()) SWIG_fail
;
3287 resultobj
= wxPyMake_wxObject(result
);
3295 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3296 PyObject
*resultobj
;
3297 wxFrame
*arg1
= (wxFrame
*) 0 ;
3298 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3299 PyObject
* obj0
= 0 ;
3300 PyObject
* obj1
= 0 ;
3302 (char *) "self",(char *) "statBar", NULL
3305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3308 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3312 (arg1
)->SetStatusBar(arg2
);
3314 wxPyEndAllowThreads(__tstate
);
3315 if (PyErr_Occurred()) SWIG_fail
;
3317 Py_INCREF(Py_None
); resultobj
= Py_None
;
3324 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3325 PyObject
*resultobj
;
3326 wxFrame
*arg1
= (wxFrame
*) 0 ;
3327 wxString
*arg2
= 0 ;
3328 int arg3
= (int) 0 ;
3329 bool temp2
= False
;
3330 PyObject
* obj0
= 0 ;
3331 PyObject
* obj1
= 0 ;
3332 PyObject
* obj2
= 0 ;
3334 (char *) "self",(char *) "text",(char *) "number", NULL
3337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3341 arg2
= wxString_in_helper(obj1
);
3342 if (arg2
== NULL
) SWIG_fail
;
3346 arg3
= (int) SWIG_AsInt(obj2
);
3347 if (PyErr_Occurred()) SWIG_fail
;
3350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3351 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3353 wxPyEndAllowThreads(__tstate
);
3354 if (PyErr_Occurred()) SWIG_fail
;
3356 Py_INCREF(Py_None
); resultobj
= Py_None
;
3371 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
*resultobj
;
3373 wxFrame
*arg1
= (wxFrame
*) 0 ;
3375 int *arg3
= (int *) 0 ;
3376 PyObject
* obj0
= 0 ;
3377 PyObject
* obj1
= 0 ;
3379 (char *) "self",(char *) "widths", NULL
3382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3386 arg2
= PyList_Size(obj1
);
3387 arg3
= int_LIST_helper(obj1
);
3388 if (arg3
== NULL
) SWIG_fail
;
3391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3392 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3394 wxPyEndAllowThreads(__tstate
);
3395 if (PyErr_Occurred()) SWIG_fail
;
3397 Py_INCREF(Py_None
); resultobj
= Py_None
;
3399 if (arg3
) delete [] arg3
;
3404 if (arg3
) delete [] arg3
;
3410 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3411 PyObject
*resultobj
;
3412 wxFrame
*arg1
= (wxFrame
*) 0 ;
3413 wxString
*arg2
= 0 ;
3414 int arg3
= (int) 0 ;
3415 bool temp2
= False
;
3416 PyObject
* obj0
= 0 ;
3417 PyObject
* obj1
= 0 ;
3418 PyObject
* obj2
= 0 ;
3420 (char *) "self",(char *) "text",(char *) "number", NULL
3423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3427 arg2
= wxString_in_helper(obj1
);
3428 if (arg2
== NULL
) SWIG_fail
;
3432 arg3
= (int) SWIG_AsInt(obj2
);
3433 if (PyErr_Occurred()) SWIG_fail
;
3436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3437 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3439 wxPyEndAllowThreads(__tstate
);
3440 if (PyErr_Occurred()) SWIG_fail
;
3442 Py_INCREF(Py_None
); resultobj
= Py_None
;
3457 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3458 PyObject
*resultobj
;
3459 wxFrame
*arg1
= (wxFrame
*) 0 ;
3460 int arg2
= (int) 0 ;
3461 PyObject
* obj0
= 0 ;
3462 PyObject
* obj1
= 0 ;
3464 (char *) "self",(char *) "number", NULL
3467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3471 arg2
= (int) SWIG_AsInt(obj1
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3476 (arg1
)->PopStatusText(arg2
);
3478 wxPyEndAllowThreads(__tstate
);
3479 if (PyErr_Occurred()) SWIG_fail
;
3481 Py_INCREF(Py_None
); resultobj
= Py_None
;
3488 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3489 PyObject
*resultobj
;
3490 wxFrame
*arg1
= (wxFrame
*) 0 ;
3492 PyObject
* obj0
= 0 ;
3493 PyObject
* obj1
= 0 ;
3495 (char *) "self",(char *) "n", NULL
3498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3501 arg2
= (int) SWIG_AsInt(obj1
);
3502 if (PyErr_Occurred()) SWIG_fail
;
3504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3505 (arg1
)->SetStatusBarPane(arg2
);
3507 wxPyEndAllowThreads(__tstate
);
3508 if (PyErr_Occurred()) SWIG_fail
;
3510 Py_INCREF(Py_None
); resultobj
= Py_None
;
3517 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3518 PyObject
*resultobj
;
3519 wxFrame
*arg1
= (wxFrame
*) 0 ;
3521 PyObject
* obj0
= 0 ;
3523 (char *) "self", NULL
3526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3531 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) SWIG_fail
;
3536 resultobj
= SWIG_FromInt((int)result
);
3543 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
*resultobj
;
3545 wxFrame
*arg1
= (wxFrame
*) 0 ;
3546 long arg2
= (long) -1 ;
3547 int arg3
= (int) -1 ;
3548 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3549 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3551 bool temp4
= False
;
3552 PyObject
* obj0
= 0 ;
3553 PyObject
* obj1
= 0 ;
3554 PyObject
* obj2
= 0 ;
3555 PyObject
* obj3
= 0 ;
3557 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3564 arg2
= (long) SWIG_AsLong(obj1
);
3565 if (PyErr_Occurred()) SWIG_fail
;
3568 arg3
= (int) SWIG_AsInt(obj2
);
3569 if (PyErr_Occurred()) SWIG_fail
;
3573 arg4
= wxString_in_helper(obj3
);
3574 if (arg4
== NULL
) SWIG_fail
;
3579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3580 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3582 wxPyEndAllowThreads(__tstate
);
3583 if (PyErr_Occurred()) SWIG_fail
;
3586 resultobj
= wxPyMake_wxObject(result
);
3602 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3603 PyObject
*resultobj
;
3604 wxFrame
*arg1
= (wxFrame
*) 0 ;
3606 PyObject
* obj0
= 0 ;
3608 (char *) "self", NULL
3611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3616 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3618 wxPyEndAllowThreads(__tstate
);
3619 if (PyErr_Occurred()) SWIG_fail
;
3622 resultobj
= wxPyMake_wxObject(result
);
3630 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3631 PyObject
*resultobj
;
3632 wxFrame
*arg1
= (wxFrame
*) 0 ;
3633 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3634 PyObject
* obj0
= 0 ;
3635 PyObject
* obj1
= 0 ;
3637 (char *) "self",(char *) "toolbar", NULL
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3643 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
3644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3647 (arg1
)->SetToolBar(arg2
);
3649 wxPyEndAllowThreads(__tstate
);
3650 if (PyErr_Occurred()) SWIG_fail
;
3652 Py_INCREF(Py_None
); resultobj
= Py_None
;
3659 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3660 PyObject
*resultobj
;
3661 wxFrame
*arg1
= (wxFrame
*) 0 ;
3662 wxString
*arg2
= 0 ;
3664 bool temp2
= False
;
3665 PyObject
* obj0
= 0 ;
3666 PyObject
* obj1
= 0 ;
3667 PyObject
* obj2
= 0 ;
3669 (char *) "self",(char *) "text",(char *) "show", NULL
3672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3676 arg2
= wxString_in_helper(obj1
);
3677 if (arg2
== NULL
) SWIG_fail
;
3680 arg3
= (bool) SWIG_AsBool(obj2
);
3681 if (PyErr_Occurred()) SWIG_fail
;
3683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3684 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3686 wxPyEndAllowThreads(__tstate
);
3687 if (PyErr_Occurred()) SWIG_fail
;
3689 Py_INCREF(Py_None
); resultobj
= Py_None
;
3704 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
*resultobj
;
3706 wxFrame
*arg1
= (wxFrame
*) 0 ;
3707 wxMenu
*arg2
= (wxMenu
*) NULL
;
3708 PyObject
* obj0
= 0 ;
3709 PyObject
* obj1
= 0 ;
3711 (char *) "self",(char *) "menu", NULL
3714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3718 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
3719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3723 (arg1
)->DoMenuUpdates(arg2
);
3725 wxPyEndAllowThreads(__tstate
);
3726 if (PyErr_Occurred()) SWIG_fail
;
3728 Py_INCREF(Py_None
); resultobj
= Py_None
;
3735 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3738 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3740 return Py_BuildValue((char *)"");
3742 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
*resultobj
;
3744 wxWindow
*arg1
= (wxWindow
*) 0 ;
3746 wxString
*arg3
= 0 ;
3747 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3748 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3749 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3750 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3751 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3752 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3753 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3755 bool temp3
= False
;
3758 bool temp7
= False
;
3759 PyObject
* obj0
= 0 ;
3760 PyObject
* obj1
= 0 ;
3761 PyObject
* obj2
= 0 ;
3762 PyObject
* obj3
= 0 ;
3763 PyObject
* obj4
= 0 ;
3764 PyObject
* obj5
= 0 ;
3765 PyObject
* obj6
= 0 ;
3767 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3773 arg2
= (int const) SWIG_AsInt(obj1
);
3774 if (PyErr_Occurred()) SWIG_fail
;
3776 arg3
= wxString_in_helper(obj2
);
3777 if (arg3
== NULL
) SWIG_fail
;
3783 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3789 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3793 arg6
= (long) SWIG_AsLong(obj5
);
3794 if (PyErr_Occurred()) SWIG_fail
;
3798 arg7
= wxString_in_helper(obj6
);
3799 if (arg7
== NULL
) SWIG_fail
;
3804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3805 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3807 wxPyEndAllowThreads(__tstate
);
3808 if (PyErr_Occurred()) SWIG_fail
;
3810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
3833 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3834 PyObject
*resultobj
;
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
3842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3843 result
= (wxDialog
*)new wxDialog();
3845 wxPyEndAllowThreads(__tstate
);
3846 if (PyErr_Occurred()) SWIG_fail
;
3848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
3855 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3856 PyObject
*resultobj
;
3857 wxDialog
*arg1
= (wxDialog
*) 0 ;
3858 wxWindow
*arg2
= (wxWindow
*) 0 ;
3860 wxString
*arg4
= 0 ;
3861 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3862 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3863 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3864 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3865 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
3866 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
3867 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3869 bool temp4
= False
;
3872 bool temp8
= False
;
3873 PyObject
* obj0
= 0 ;
3874 PyObject
* obj1
= 0 ;
3875 PyObject
* obj2
= 0 ;
3876 PyObject
* obj3
= 0 ;
3877 PyObject
* obj4
= 0 ;
3878 PyObject
* obj5
= 0 ;
3879 PyObject
* obj6
= 0 ;
3880 PyObject
* obj7
= 0 ;
3882 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
3887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3890 arg3
= (int const) SWIG_AsInt(obj2
);
3891 if (PyErr_Occurred()) SWIG_fail
;
3893 arg4
= wxString_in_helper(obj3
);
3894 if (arg4
== NULL
) SWIG_fail
;
3900 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3906 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3910 arg7
= (long) SWIG_AsLong(obj6
);
3911 if (PyErr_Occurred()) SWIG_fail
;
3915 arg8
= wxString_in_helper(obj7
);
3916 if (arg8
== NULL
) SWIG_fail
;
3921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3922 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3924 wxPyEndAllowThreads(__tstate
);
3925 if (PyErr_Occurred()) SWIG_fail
;
3927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3950 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3951 PyObject
*resultobj
;
3952 wxDialog
*arg1
= (wxDialog
*) 0 ;
3954 PyObject
* obj0
= 0 ;
3955 PyObject
* obj1
= 0 ;
3957 (char *) "self",(char *) "returnCode", NULL
3960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
3961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
3962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3963 arg2
= (int) SWIG_AsInt(obj1
);
3964 if (PyErr_Occurred()) SWIG_fail
;
3966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3967 (arg1
)->SetReturnCode(arg2
);
3969 wxPyEndAllowThreads(__tstate
);
3970 if (PyErr_Occurred()) SWIG_fail
;
3972 Py_INCREF(Py_None
); resultobj
= Py_None
;
3979 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3980 PyObject
*resultobj
;
3981 wxDialog
*arg1
= (wxDialog
*) 0 ;
3983 PyObject
* obj0
= 0 ;
3985 (char *) "self", NULL
3988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
3989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
3990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3993 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
3995 wxPyEndAllowThreads(__tstate
);
3996 if (PyErr_Occurred()) SWIG_fail
;
3998 resultobj
= SWIG_FromInt((int)result
);
4005 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4006 PyObject
*resultobj
;
4007 wxDialog
*arg1
= (wxDialog
*) 0 ;
4008 wxString
*arg2
= 0 ;
4010 bool temp2
= False
;
4011 PyObject
* obj0
= 0 ;
4012 PyObject
* obj1
= 0 ;
4014 (char *) "self",(char *) "message", NULL
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4021 arg2
= wxString_in_helper(obj1
);
4022 if (arg2
== NULL
) SWIG_fail
;
4026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4027 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4029 wxPyEndAllowThreads(__tstate
);
4030 if (PyErr_Occurred()) SWIG_fail
;
4033 resultobj
= wxPyMake_wxSizer(result
);
4049 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4050 PyObject
*resultobj
;
4051 wxDialog
*arg1
= (wxDialog
*) 0 ;
4054 PyObject
* obj0
= 0 ;
4055 PyObject
* obj1
= 0 ;
4057 (char *) "self",(char *) "flags", NULL
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4063 arg2
= (long) SWIG_AsLong(obj1
);
4064 if (PyErr_Occurred()) SWIG_fail
;
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4073 resultobj
= wxPyMake_wxSizer(result
);
4081 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
*resultobj
;
4083 wxDialog
*arg1
= (wxDialog
*) 0 ;
4085 PyObject
* obj0
= 0 ;
4087 (char *) "self", NULL
4090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4095 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4097 wxPyEndAllowThreads(__tstate
);
4098 if (PyErr_Occurred()) SWIG_fail
;
4100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4107 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4108 PyObject
*resultobj
;
4109 wxDialog
*arg1
= (wxDialog
*) 0 ;
4111 PyObject
* obj0
= 0 ;
4113 (char *) "self", NULL
4116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 result
= (int)(arg1
)->ShowModal();
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) SWIG_fail
;
4126 resultobj
= SWIG_FromInt((int)result
);
4133 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
*resultobj
;
4135 wxDialog
*arg1
= (wxDialog
*) 0 ;
4137 PyObject
* obj0
= 0 ;
4138 PyObject
* obj1
= 0 ;
4140 (char *) "self",(char *) "retCode", NULL
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4146 arg2
= (int) SWIG_AsInt(obj1
);
4147 if (PyErr_Occurred()) SWIG_fail
;
4149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4150 (arg1
)->EndModal(arg2
);
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) SWIG_fail
;
4155 Py_INCREF(Py_None
); resultobj
= Py_None
;
4162 static PyObject
*_wrap_Dialog_IsModalShowing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4163 PyObject
*resultobj
;
4164 wxDialog
*arg1
= (wxDialog
*) 0 ;
4166 PyObject
* obj0
= 0 ;
4168 (char *) "self", NULL
4171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModalShowing",kwnames
,&obj0
)) goto fail
;
4172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4176 result
= (bool)wxDialog_IsModalShowing(arg1
);
4178 wxPyEndAllowThreads(__tstate
);
4179 if (PyErr_Occurred()) SWIG_fail
;
4181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4188 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4190 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4191 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4193 return Py_BuildValue((char *)"");
4195 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4196 PyObject
*resultobj
;
4197 wxWindow
*arg1
= (wxWindow
*) 0 ;
4199 wxString
*arg3
= 0 ;
4200 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4201 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4202 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4203 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4204 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4205 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4206 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4207 wxMiniFrame
*result
;
4208 bool temp3
= False
;
4211 bool temp7
= False
;
4212 PyObject
* obj0
= 0 ;
4213 PyObject
* obj1
= 0 ;
4214 PyObject
* obj2
= 0 ;
4215 PyObject
* obj3
= 0 ;
4216 PyObject
* obj4
= 0 ;
4217 PyObject
* obj5
= 0 ;
4218 PyObject
* obj6
= 0 ;
4220 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4226 arg2
= (int const) SWIG_AsInt(obj1
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4229 arg3
= wxString_in_helper(obj2
);
4230 if (arg3
== NULL
) SWIG_fail
;
4236 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4242 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4246 arg6
= (long) SWIG_AsLong(obj5
);
4247 if (PyErr_Occurred()) SWIG_fail
;
4251 arg7
= wxString_in_helper(obj6
);
4252 if (arg7
== NULL
) SWIG_fail
;
4257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4258 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4260 wxPyEndAllowThreads(__tstate
);
4261 if (PyErr_Occurred()) SWIG_fail
;
4263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4286 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4287 PyObject
*resultobj
;
4288 wxMiniFrame
*result
;
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4296 result
= (wxMiniFrame
*)new wxMiniFrame();
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4308 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4309 PyObject
*resultobj
;
4310 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4311 wxWindow
*arg2
= (wxWindow
*) 0 ;
4313 wxString
*arg4
= 0 ;
4314 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4315 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4316 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4317 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4318 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4319 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4320 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4322 bool temp4
= False
;
4325 bool temp8
= False
;
4326 PyObject
* obj0
= 0 ;
4327 PyObject
* obj1
= 0 ;
4328 PyObject
* obj2
= 0 ;
4329 PyObject
* obj3
= 0 ;
4330 PyObject
* obj4
= 0 ;
4331 PyObject
* obj5
= 0 ;
4332 PyObject
* obj6
= 0 ;
4333 PyObject
* obj7
= 0 ;
4335 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4341 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4343 arg3
= (int const) SWIG_AsInt(obj2
);
4344 if (PyErr_Occurred()) SWIG_fail
;
4346 arg4
= wxString_in_helper(obj3
);
4347 if (arg4
== NULL
) SWIG_fail
;
4353 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4359 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4363 arg7
= (long) SWIG_AsLong(obj6
);
4364 if (PyErr_Occurred()) SWIG_fail
;
4368 arg8
= wxString_in_helper(obj7
);
4369 if (arg8
== NULL
) SWIG_fail
;
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4377 wxPyEndAllowThreads(__tstate
);
4378 if (PyErr_Occurred()) SWIG_fail
;
4380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4403 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4405 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4406 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4408 return Py_BuildValue((char *)"");
4410 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4411 PyObject
*resultobj
;
4412 wxBitmap
*arg1
= 0 ;
4413 wxWindow
*arg2
= (wxWindow
*) 0 ;
4415 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4416 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4417 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4418 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4419 long arg6
= (long) wxNO_BORDER
;
4420 wxSplashScreenWindow
*result
;
4423 PyObject
* obj0
= 0 ;
4424 PyObject
* obj1
= 0 ;
4425 PyObject
* obj2
= 0 ;
4426 PyObject
* obj3
= 0 ;
4427 PyObject
* obj4
= 0 ;
4428 PyObject
* obj5
= 0 ;
4430 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4435 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4438 PyErr_SetString(PyExc_TypeError
,"null reference");
4441 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4443 arg3
= (int) SWIG_AsInt(obj2
);
4444 if (PyErr_Occurred()) SWIG_fail
;
4448 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4454 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4458 arg6
= (long) SWIG_AsLong(obj5
);
4459 if (PyErr_Occurred()) SWIG_fail
;
4462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4463 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4465 wxPyEndAllowThreads(__tstate
);
4466 if (PyErr_Occurred()) SWIG_fail
;
4468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4475 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4476 PyObject
*resultobj
;
4477 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4478 wxBitmap
*arg2
= 0 ;
4479 PyObject
* obj0
= 0 ;
4480 PyObject
* obj1
= 0 ;
4482 (char *) "self",(char *) "bitmap", NULL
4485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4488 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4489 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4492 PyErr_SetString(PyExc_TypeError
,"null reference");
4496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4497 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4499 wxPyEndAllowThreads(__tstate
);
4500 if (PyErr_Occurred()) SWIG_fail
;
4502 Py_INCREF(Py_None
); resultobj
= Py_None
;
4509 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4510 PyObject
*resultobj
;
4511 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4513 PyObject
* obj0
= 0 ;
4515 (char *) "self", NULL
4518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4524 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4525 result
= (wxBitmap
*) &_result_ref
;
4528 wxPyEndAllowThreads(__tstate
);
4529 if (PyErr_Occurred()) SWIG_fail
;
4532 wxBitmap
* resultptr
= new wxBitmap(*result
);
4533 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4541 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4543 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4544 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4546 return Py_BuildValue((char *)"");
4548 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4549 PyObject
*resultobj
;
4550 wxBitmap
*arg1
= 0 ;
4553 wxWindow
*arg4
= (wxWindow
*) 0 ;
4555 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4556 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4557 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4558 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4559 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4560 wxSplashScreen
*result
;
4563 PyObject
* obj0
= 0 ;
4564 PyObject
* obj1
= 0 ;
4565 PyObject
* obj2
= 0 ;
4566 PyObject
* obj3
= 0 ;
4567 PyObject
* obj4
= 0 ;
4568 PyObject
* obj5
= 0 ;
4569 PyObject
* obj6
= 0 ;
4570 PyObject
* obj7
= 0 ;
4572 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4577 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4580 PyErr_SetString(PyExc_TypeError
,"null reference");
4583 arg2
= (long) SWIG_AsLong(obj1
);
4584 if (PyErr_Occurred()) SWIG_fail
;
4585 arg3
= (int) SWIG_AsInt(obj2
);
4586 if (PyErr_Occurred()) SWIG_fail
;
4587 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4589 arg5
= (int) SWIG_AsInt(obj4
);
4590 if (PyErr_Occurred()) SWIG_fail
;
4594 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4600 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4604 arg8
= (long) SWIG_AsLong(obj7
);
4605 if (PyErr_Occurred()) SWIG_fail
;
4608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4609 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4611 wxPyEndAllowThreads(__tstate
);
4612 if (PyErr_Occurred()) SWIG_fail
;
4614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
4621 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4622 PyObject
*resultobj
;
4623 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4625 PyObject
* obj0
= 0 ;
4627 (char *) "self", NULL
4630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4635 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4637 wxPyEndAllowThreads(__tstate
);
4638 if (PyErr_Occurred()) SWIG_fail
;
4640 resultobj
= SWIG_FromLong((long)result
);
4647 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4648 PyObject
*resultobj
;
4649 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4650 wxSplashScreenWindow
*result
;
4651 PyObject
* obj0
= 0 ;
4653 (char *) "self", NULL
4656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4661 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4663 wxPyEndAllowThreads(__tstate
);
4664 if (PyErr_Occurred()) SWIG_fail
;
4666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
4673 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4674 PyObject
*resultobj
;
4675 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4677 PyObject
* obj0
= 0 ;
4679 (char *) "self", NULL
4682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4687 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4689 wxPyEndAllowThreads(__tstate
);
4690 if (PyErr_Occurred()) SWIG_fail
;
4692 resultobj
= SWIG_FromInt((int)result
);
4699 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4702 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4704 return Py_BuildValue((char *)"");
4706 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4707 PyObject
*resultobj
;
4708 wxWindow
*arg1
= (wxWindow
*) 0 ;
4709 int arg2
= (int) -1 ;
4710 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
4711 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4712 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4713 wxStatusBar
*result
;
4714 bool temp4
= False
;
4715 PyObject
* obj0
= 0 ;
4716 PyObject
* obj1
= 0 ;
4717 PyObject
* obj2
= 0 ;
4718 PyObject
* obj3
= 0 ;
4720 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4727 arg2
= (int) SWIG_AsInt(obj1
);
4728 if (PyErr_Occurred()) SWIG_fail
;
4731 arg3
= (long) SWIG_AsLong(obj2
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4736 arg4
= wxString_in_helper(obj3
);
4737 if (arg4
== NULL
) SWIG_fail
;
4742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4743 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4745 wxPyEndAllowThreads(__tstate
);
4746 if (PyErr_Occurred()) SWIG_fail
;
4749 resultobj
= wxPyMake_wxObject(result
);
4765 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
*resultobj
;
4767 wxStatusBar
*result
;
4772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4775 result
= (wxStatusBar
*)new wxStatusBar();
4777 wxPyEndAllowThreads(__tstate
);
4778 if (PyErr_Occurred()) SWIG_fail
;
4781 resultobj
= wxPyMake_wxObject(result
);
4789 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4790 PyObject
*resultobj
;
4791 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4792 wxWindow
*arg2
= (wxWindow
*) 0 ;
4794 long arg4
= (long) wxST_SIZEGRIP
;
4795 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4796 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4798 bool temp5
= False
;
4799 PyObject
* obj0
= 0 ;
4800 PyObject
* obj1
= 0 ;
4801 PyObject
* obj2
= 0 ;
4802 PyObject
* obj3
= 0 ;
4803 PyObject
* obj4
= 0 ;
4805 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4811 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4813 arg3
= (int) SWIG_AsInt(obj2
);
4814 if (PyErr_Occurred()) SWIG_fail
;
4816 arg4
= (long) SWIG_AsLong(obj3
);
4817 if (PyErr_Occurred()) SWIG_fail
;
4821 arg5
= wxString_in_helper(obj4
);
4822 if (arg5
== NULL
) SWIG_fail
;
4827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4828 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4830 wxPyEndAllowThreads(__tstate
);
4831 if (PyErr_Occurred()) SWIG_fail
;
4833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4848 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4849 PyObject
*resultobj
;
4850 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4851 int arg2
= (int) 1 ;
4852 PyObject
* obj0
= 0 ;
4853 PyObject
* obj1
= 0 ;
4855 (char *) "self",(char *) "number", NULL
4858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
4859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4862 arg2
= (int) SWIG_AsInt(obj1
);
4863 if (PyErr_Occurred()) SWIG_fail
;
4866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4867 (arg1
)->SetFieldsCount(arg2
);
4869 wxPyEndAllowThreads(__tstate
);
4870 if (PyErr_Occurred()) SWIG_fail
;
4872 Py_INCREF(Py_None
); resultobj
= Py_None
;
4879 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4880 PyObject
*resultobj
;
4881 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4883 PyObject
* obj0
= 0 ;
4885 (char *) "self", NULL
4888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
4889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4893 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
4895 wxPyEndAllowThreads(__tstate
);
4896 if (PyErr_Occurred()) SWIG_fail
;
4898 resultobj
= SWIG_FromInt((int)result
);
4905 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4906 PyObject
*resultobj
;
4907 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4908 wxString
*arg2
= 0 ;
4909 int arg3
= (int) 0 ;
4910 bool temp2
= False
;
4911 PyObject
* obj0
= 0 ;
4912 PyObject
* obj1
= 0 ;
4913 PyObject
* obj2
= 0 ;
4915 (char *) "self",(char *) "text",(char *) "number", NULL
4918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4922 arg2
= wxString_in_helper(obj1
);
4923 if (arg2
== NULL
) SWIG_fail
;
4927 arg3
= (int) SWIG_AsInt(obj2
);
4928 if (PyErr_Occurred()) SWIG_fail
;
4931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4932 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
4934 wxPyEndAllowThreads(__tstate
);
4935 if (PyErr_Occurred()) SWIG_fail
;
4937 Py_INCREF(Py_None
); resultobj
= Py_None
;
4952 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4953 PyObject
*resultobj
;
4954 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4955 int arg2
= (int) 0 ;
4957 PyObject
* obj0
= 0 ;
4958 PyObject
* obj1
= 0 ;
4960 (char *) "self",(char *) "number", NULL
4963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
4964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4967 arg2
= (int) SWIG_AsInt(obj1
);
4968 if (PyErr_Occurred()) SWIG_fail
;
4971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4972 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
4974 wxPyEndAllowThreads(__tstate
);
4975 if (PyErr_Occurred()) SWIG_fail
;
4979 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4981 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4990 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4991 PyObject
*resultobj
;
4992 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4993 wxString
*arg2
= 0 ;
4994 int arg3
= (int) 0 ;
4995 bool temp2
= False
;
4996 PyObject
* obj0
= 0 ;
4997 PyObject
* obj1
= 0 ;
4998 PyObject
* obj2
= 0 ;
5000 (char *) "self",(char *) "text",(char *) "number", NULL
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5007 arg2
= wxString_in_helper(obj1
);
5008 if (arg2
== NULL
) SWIG_fail
;
5012 arg3
= (int) SWIG_AsInt(obj2
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5017 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5019 wxPyEndAllowThreads(__tstate
);
5020 if (PyErr_Occurred()) SWIG_fail
;
5022 Py_INCREF(Py_None
); resultobj
= Py_None
;
5037 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5038 PyObject
*resultobj
;
5039 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5040 int arg2
= (int) 0 ;
5041 PyObject
* obj0
= 0 ;
5042 PyObject
* obj1
= 0 ;
5044 (char *) "self",(char *) "number", NULL
5047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5051 arg2
= (int) SWIG_AsInt(obj1
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5056 (arg1
)->PopStatusText(arg2
);
5058 wxPyEndAllowThreads(__tstate
);
5059 if (PyErr_Occurred()) SWIG_fail
;
5061 Py_INCREF(Py_None
); resultobj
= Py_None
;
5068 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5069 PyObject
*resultobj
;
5070 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5072 int *arg3
= (int *) 0 ;
5073 PyObject
* obj0
= 0 ;
5074 PyObject
* obj1
= 0 ;
5076 (char *) "self",(char *) "widths", NULL
5079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5083 arg2
= PyList_Size(obj1
);
5084 arg3
= int_LIST_helper(obj1
);
5085 if (arg3
== NULL
) SWIG_fail
;
5088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5094 Py_INCREF(Py_None
); resultobj
= Py_None
;
5096 if (arg3
) delete [] arg3
;
5101 if (arg3
) delete [] arg3
;
5107 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5108 PyObject
*resultobj
;
5109 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5112 PyObject
* obj0
= 0 ;
5113 PyObject
* obj1
= 0 ;
5115 (char *) "self",(char *) "i", NULL
5118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5121 arg2
= (int) SWIG_AsInt(obj1
);
5122 if (PyErr_Occurred()) SWIG_fail
;
5124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5125 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5127 wxPyEndAllowThreads(__tstate
);
5128 if (PyErr_Occurred()) SWIG_fail
;
5132 resultptr
= new wxRect((wxRect
&) result
);
5133 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5141 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
*resultobj
;
5143 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5145 PyObject
* obj0
= 0 ;
5146 PyObject
* obj1
= 0 ;
5148 (char *) "self",(char *) "height", NULL
5151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5154 arg2
= (int) SWIG_AsInt(obj1
);
5155 if (PyErr_Occurred()) SWIG_fail
;
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5158 (arg1
)->SetMinHeight(arg2
);
5160 wxPyEndAllowThreads(__tstate
);
5161 if (PyErr_Occurred()) SWIG_fail
;
5163 Py_INCREF(Py_None
); resultobj
= Py_None
;
5170 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5171 PyObject
*resultobj
;
5172 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5174 PyObject
* obj0
= 0 ;
5176 (char *) "self", NULL
5179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5184 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5186 wxPyEndAllowThreads(__tstate
);
5187 if (PyErr_Occurred()) SWIG_fail
;
5189 resultobj
= SWIG_FromInt((int)result
);
5196 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5197 PyObject
*resultobj
;
5198 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5200 PyObject
* obj0
= 0 ;
5202 (char *) "self", NULL
5205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5210 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5212 wxPyEndAllowThreads(__tstate
);
5213 if (PyErr_Occurred()) SWIG_fail
;
5215 resultobj
= SWIG_FromInt((int)result
);
5222 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5224 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5225 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5227 return Py_BuildValue((char *)"");
5229 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5230 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5235 static PyObject
*_wrap_SplitterNameStr_get() {
5240 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5242 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5249 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5250 PyObject
*resultobj
;
5251 wxWindow
*arg1
= (wxWindow
*) 0 ;
5253 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5254 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5255 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5256 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5257 long arg5
= (long) wxSP_3D
;
5258 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5259 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5260 wxSplitterWindow
*result
;
5263 bool temp6
= False
;
5264 PyObject
* obj0
= 0 ;
5265 PyObject
* obj1
= 0 ;
5266 PyObject
* obj2
= 0 ;
5267 PyObject
* obj3
= 0 ;
5268 PyObject
* obj4
= 0 ;
5269 PyObject
* obj5
= 0 ;
5271 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5277 arg2
= (int) SWIG_AsInt(obj1
);
5278 if (PyErr_Occurred()) SWIG_fail
;
5282 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5288 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5292 arg5
= (long) SWIG_AsLong(obj4
);
5293 if (PyErr_Occurred()) SWIG_fail
;
5297 arg6
= wxString_in_helper(obj5
);
5298 if (arg6
== NULL
) SWIG_fail
;
5303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5304 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5306 wxPyEndAllowThreads(__tstate
);
5307 if (PyErr_Occurred()) SWIG_fail
;
5309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5324 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5325 PyObject
*resultobj
;
5326 wxSplitterWindow
*result
;
5331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5334 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5336 wxPyEndAllowThreads(__tstate
);
5337 if (PyErr_Occurred()) SWIG_fail
;
5339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5346 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5347 PyObject
*resultobj
;
5348 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5349 wxWindow
*arg2
= (wxWindow
*) 0 ;
5351 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5352 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5353 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5354 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5355 long arg6
= (long) wxSP_3D
;
5356 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5357 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5361 bool temp7
= False
;
5362 PyObject
* obj0
= 0 ;
5363 PyObject
* obj1
= 0 ;
5364 PyObject
* obj2
= 0 ;
5365 PyObject
* obj3
= 0 ;
5366 PyObject
* obj4
= 0 ;
5367 PyObject
* obj5
= 0 ;
5368 PyObject
* obj6
= 0 ;
5370 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5378 arg3
= (int) SWIG_AsInt(obj2
);
5379 if (PyErr_Occurred()) SWIG_fail
;
5383 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5389 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5393 arg6
= (long) SWIG_AsLong(obj5
);
5394 if (PyErr_Occurred()) SWIG_fail
;
5398 arg7
= wxString_in_helper(obj6
);
5399 if (arg7
== NULL
) SWIG_fail
;
5404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5405 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5407 wxPyEndAllowThreads(__tstate
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5425 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5426 PyObject
*resultobj
;
5427 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5429 PyObject
* obj0
= 0 ;
5431 (char *) "self", NULL
5434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5439 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5441 wxPyEndAllowThreads(__tstate
);
5442 if (PyErr_Occurred()) SWIG_fail
;
5445 resultobj
= wxPyMake_wxObject(result
);
5453 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5454 PyObject
*resultobj
;
5455 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5457 PyObject
* obj0
= 0 ;
5459 (char *) "self", NULL
5462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5467 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5469 wxPyEndAllowThreads(__tstate
);
5470 if (PyErr_Occurred()) SWIG_fail
;
5473 resultobj
= wxPyMake_wxObject(result
);
5481 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5482 PyObject
*resultobj
;
5483 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5485 PyObject
* obj0
= 0 ;
5486 PyObject
* obj1
= 0 ;
5488 (char *) "self",(char *) "mode", NULL
5491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5494 arg2
= (int) SWIG_AsInt(obj1
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5498 (arg1
)->SetSplitMode(arg2
);
5500 wxPyEndAllowThreads(__tstate
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5503 Py_INCREF(Py_None
); resultobj
= Py_None
;
5510 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5511 PyObject
*resultobj
;
5512 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5514 PyObject
* obj0
= 0 ;
5516 (char *) "self", NULL
5519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5524 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5526 wxPyEndAllowThreads(__tstate
);
5527 if (PyErr_Occurred()) SWIG_fail
;
5529 resultobj
= SWIG_FromInt((int)result
);
5536 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5537 PyObject
*resultobj
;
5538 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5539 wxWindow
*arg2
= (wxWindow
*) 0 ;
5540 PyObject
* obj0
= 0 ;
5541 PyObject
* obj1
= 0 ;
5543 (char *) "self",(char *) "window", NULL
5546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5549 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5553 (arg1
)->Initialize(arg2
);
5555 wxPyEndAllowThreads(__tstate
);
5556 if (PyErr_Occurred()) SWIG_fail
;
5558 Py_INCREF(Py_None
); resultobj
= Py_None
;
5565 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5566 PyObject
*resultobj
;
5567 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5568 wxWindow
*arg2
= (wxWindow
*) 0 ;
5569 wxWindow
*arg3
= (wxWindow
*) 0 ;
5570 int arg4
= (int) 0 ;
5572 PyObject
* obj0
= 0 ;
5573 PyObject
* obj1
= 0 ;
5574 PyObject
* obj2
= 0 ;
5575 PyObject
* obj3
= 0 ;
5577 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5583 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5585 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5588 arg4
= (int) SWIG_AsInt(obj3
);
5589 if (PyErr_Occurred()) SWIG_fail
;
5592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5593 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5595 wxPyEndAllowThreads(__tstate
);
5596 if (PyErr_Occurred()) SWIG_fail
;
5598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5605 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5606 PyObject
*resultobj
;
5607 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5608 wxWindow
*arg2
= (wxWindow
*) 0 ;
5609 wxWindow
*arg3
= (wxWindow
*) 0 ;
5610 int arg4
= (int) 0 ;
5612 PyObject
* obj0
= 0 ;
5613 PyObject
* obj1
= 0 ;
5614 PyObject
* obj2
= 0 ;
5615 PyObject
* obj3
= 0 ;
5617 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5623 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5625 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5628 arg4
= (int) SWIG_AsInt(obj3
);
5629 if (PyErr_Occurred()) SWIG_fail
;
5632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5633 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5635 wxPyEndAllowThreads(__tstate
);
5636 if (PyErr_Occurred()) SWIG_fail
;
5638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5645 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5646 PyObject
*resultobj
;
5647 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5648 wxWindow
*arg2
= (wxWindow
*) NULL
;
5650 PyObject
* obj0
= 0 ;
5651 PyObject
* obj1
= 0 ;
5653 (char *) "self",(char *) "toRemove", NULL
5656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5665 result
= (bool)(arg1
)->Unsplit(arg2
);
5667 wxPyEndAllowThreads(__tstate
);
5668 if (PyErr_Occurred()) SWIG_fail
;
5670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5677 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5678 PyObject
*resultobj
;
5679 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5680 wxWindow
*arg2
= (wxWindow
*) 0 ;
5681 wxWindow
*arg3
= (wxWindow
*) 0 ;
5683 PyObject
* obj0
= 0 ;
5684 PyObject
* obj1
= 0 ;
5685 PyObject
* obj2
= 0 ;
5687 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5693 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5695 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5699 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5701 wxPyEndAllowThreads(__tstate
);
5702 if (PyErr_Occurred()) SWIG_fail
;
5704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5711 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5712 PyObject
*resultobj
;
5713 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5715 PyObject
* obj0
= 0 ;
5717 (char *) "self", NULL
5720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5725 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5727 wxPyEndAllowThreads(__tstate
);
5728 if (PyErr_Occurred()) SWIG_fail
;
5730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5737 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
*resultobj
;
5739 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5741 PyObject
* obj0
= 0 ;
5742 PyObject
* obj1
= 0 ;
5744 (char *) "self",(char *) "width", NULL
5747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5750 arg2
= (int) SWIG_AsInt(obj1
);
5751 if (PyErr_Occurred()) SWIG_fail
;
5753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5754 (arg1
)->SetSashSize(arg2
);
5756 wxPyEndAllowThreads(__tstate
);
5757 if (PyErr_Occurred()) SWIG_fail
;
5759 Py_INCREF(Py_None
); resultobj
= Py_None
;
5766 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5767 PyObject
*resultobj
;
5768 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5770 PyObject
* obj0
= 0 ;
5771 PyObject
* obj1
= 0 ;
5773 (char *) "self",(char *) "width", NULL
5776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5779 arg2
= (int) SWIG_AsInt(obj1
);
5780 if (PyErr_Occurred()) SWIG_fail
;
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 (arg1
)->SetBorderSize(arg2
);
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5788 Py_INCREF(Py_None
); resultobj
= Py_None
;
5795 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5796 PyObject
*resultobj
;
5797 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5799 PyObject
* obj0
= 0 ;
5801 (char *) "self", NULL
5804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
5805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5809 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
5811 wxPyEndAllowThreads(__tstate
);
5812 if (PyErr_Occurred()) SWIG_fail
;
5814 resultobj
= SWIG_FromInt((int)result
);
5821 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5822 PyObject
*resultobj
;
5823 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5825 PyObject
* obj0
= 0 ;
5827 (char *) "self", NULL
5830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
5831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5835 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
5837 wxPyEndAllowThreads(__tstate
);
5838 if (PyErr_Occurred()) SWIG_fail
;
5840 resultobj
= SWIG_FromInt((int)result
);
5847 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5848 PyObject
*resultobj
;
5849 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5851 bool arg3
= (bool) True
;
5852 PyObject
* obj0
= 0 ;
5853 PyObject
* obj1
= 0 ;
5854 PyObject
* obj2
= 0 ;
5856 (char *) "self",(char *) "position",(char *) "redraw", NULL
5859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5862 arg2
= (int) SWIG_AsInt(obj1
);
5863 if (PyErr_Occurred()) SWIG_fail
;
5865 arg3
= (bool) SWIG_AsBool(obj2
);
5866 if (PyErr_Occurred()) SWIG_fail
;
5869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5870 (arg1
)->SetSashPosition(arg2
,arg3
);
5872 wxPyEndAllowThreads(__tstate
);
5873 if (PyErr_Occurred()) SWIG_fail
;
5875 Py_INCREF(Py_None
); resultobj
= Py_None
;
5882 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5883 PyObject
*resultobj
;
5884 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5886 PyObject
* obj0
= 0 ;
5888 (char *) "self", NULL
5891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5896 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
5898 wxPyEndAllowThreads(__tstate
);
5899 if (PyErr_Occurred()) SWIG_fail
;
5901 resultobj
= SWIG_FromInt((int)result
);
5908 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5909 PyObject
*resultobj
;
5910 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5912 PyObject
* obj0
= 0 ;
5913 PyObject
* obj1
= 0 ;
5915 (char *) "self",(char *) "min", NULL
5918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5921 arg2
= (int) SWIG_AsInt(obj1
);
5922 if (PyErr_Occurred()) SWIG_fail
;
5924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5925 (arg1
)->SetMinimumPaneSize(arg2
);
5927 wxPyEndAllowThreads(__tstate
);
5928 if (PyErr_Occurred()) SWIG_fail
;
5930 Py_INCREF(Py_None
); resultobj
= Py_None
;
5937 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5938 PyObject
*resultobj
;
5939 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5941 PyObject
* obj0
= 0 ;
5943 (char *) "self", NULL
5946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
5947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5951 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
5953 wxPyEndAllowThreads(__tstate
);
5954 if (PyErr_Occurred()) SWIG_fail
;
5956 resultobj
= SWIG_FromInt((int)result
);
5963 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5964 PyObject
*resultobj
;
5965 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5968 int arg4
= (int) 5 ;
5970 PyObject
* obj0
= 0 ;
5971 PyObject
* obj1
= 0 ;
5972 PyObject
* obj2
= 0 ;
5973 PyObject
* obj3
= 0 ;
5975 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5981 arg2
= (int) SWIG_AsInt(obj1
);
5982 if (PyErr_Occurred()) SWIG_fail
;
5983 arg3
= (int) SWIG_AsInt(obj2
);
5984 if (PyErr_Occurred()) SWIG_fail
;
5986 arg4
= (int) SWIG_AsInt(obj3
);
5987 if (PyErr_Occurred()) SWIG_fail
;
5990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5991 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
5993 wxPyEndAllowThreads(__tstate
);
5994 if (PyErr_Occurred()) SWIG_fail
;
5996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6003 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6004 PyObject
*resultobj
;
6005 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6006 PyObject
* obj0
= 0 ;
6008 (char *) "self", NULL
6011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6016 (arg1
)->SizeWindows();
6018 wxPyEndAllowThreads(__tstate
);
6019 if (PyErr_Occurred()) SWIG_fail
;
6021 Py_INCREF(Py_None
); resultobj
= Py_None
;
6028 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6029 PyObject
*resultobj
;
6030 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6032 PyObject
* obj0
= 0 ;
6033 PyObject
* obj1
= 0 ;
6035 (char *) "self",(char *) "needUpdating", NULL
6038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6041 arg2
= (bool) SWIG_AsBool(obj1
);
6042 if (PyErr_Occurred()) SWIG_fail
;
6044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6045 (arg1
)->SetNeedUpdating(arg2
);
6047 wxPyEndAllowThreads(__tstate
);
6048 if (PyErr_Occurred()) SWIG_fail
;
6050 Py_INCREF(Py_None
); resultobj
= Py_None
;
6057 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6058 PyObject
*resultobj
;
6059 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6061 PyObject
* obj0
= 0 ;
6063 (char *) "self", NULL
6066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6071 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6073 wxPyEndAllowThreads(__tstate
);
6074 if (PyErr_Occurred()) SWIG_fail
;
6076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6083 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6086 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6088 return Py_BuildValue((char *)"");
6090 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6091 PyObject
*resultobj
;
6092 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6093 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6094 wxSplitterEvent
*result
;
6095 PyObject
* obj0
= 0 ;
6096 PyObject
* obj1
= 0 ;
6098 (char *) "type",(char *) "splitter", NULL
6101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6103 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6104 if (PyErr_Occurred()) SWIG_fail
;
6107 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6112 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6114 wxPyEndAllowThreads(__tstate
);
6115 if (PyErr_Occurred()) SWIG_fail
;
6117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6124 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6125 PyObject
*resultobj
;
6126 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6128 PyObject
* obj0
= 0 ;
6129 PyObject
* obj1
= 0 ;
6131 (char *) "self",(char *) "pos", NULL
6134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6137 arg2
= (int) SWIG_AsInt(obj1
);
6138 if (PyErr_Occurred()) SWIG_fail
;
6140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6141 (arg1
)->SetSashPosition(arg2
);
6143 wxPyEndAllowThreads(__tstate
);
6144 if (PyErr_Occurred()) SWIG_fail
;
6146 Py_INCREF(Py_None
); resultobj
= Py_None
;
6153 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6154 PyObject
*resultobj
;
6155 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6157 PyObject
* obj0
= 0 ;
6159 (char *) "self", NULL
6162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6167 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6169 wxPyEndAllowThreads(__tstate
);
6170 if (PyErr_Occurred()) SWIG_fail
;
6172 resultobj
= SWIG_FromInt((int)result
);
6179 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6180 PyObject
*resultobj
;
6181 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6183 PyObject
* obj0
= 0 ;
6185 (char *) "self", NULL
6188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6193 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6195 wxPyEndAllowThreads(__tstate
);
6196 if (PyErr_Occurred()) SWIG_fail
;
6199 resultobj
= wxPyMake_wxObject(result
);
6207 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6208 PyObject
*resultobj
;
6209 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6211 PyObject
* obj0
= 0 ;
6213 (char *) "self", NULL
6216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6221 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6223 wxPyEndAllowThreads(__tstate
);
6224 if (PyErr_Occurred()) SWIG_fail
;
6226 resultobj
= SWIG_FromInt((int)result
);
6233 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6234 PyObject
*resultobj
;
6235 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6237 PyObject
* obj0
= 0 ;
6239 (char *) "self", NULL
6242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6247 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6249 wxPyEndAllowThreads(__tstate
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6252 resultobj
= SWIG_FromInt((int)result
);
6259 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6262 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6264 return Py_BuildValue((char *)"");
6266 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6267 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6272 static PyObject
*_wrap_SashNameStr_get() {
6277 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6279 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6286 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6287 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6292 static PyObject
*_wrap_SashLayoutNameStr_get() {
6297 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6299 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6306 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6307 PyObject
*resultobj
;
6308 wxWindow
*arg1
= (wxWindow
*) 0 ;
6310 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6311 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6312 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6313 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6314 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6315 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6316 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6317 wxSashWindow
*result
;
6320 bool temp6
= False
;
6321 PyObject
* obj0
= 0 ;
6322 PyObject
* obj1
= 0 ;
6323 PyObject
* obj2
= 0 ;
6324 PyObject
* obj3
= 0 ;
6325 PyObject
* obj4
= 0 ;
6326 PyObject
* obj5
= 0 ;
6328 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6334 arg2
= (int) SWIG_AsInt(obj1
);
6335 if (PyErr_Occurred()) SWIG_fail
;
6339 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6345 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6349 arg5
= (long) SWIG_AsLong(obj4
);
6350 if (PyErr_Occurred()) SWIG_fail
;
6354 arg6
= wxString_in_helper(obj5
);
6355 if (arg6
== NULL
) SWIG_fail
;
6360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6361 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6363 wxPyEndAllowThreads(__tstate
);
6364 if (PyErr_Occurred()) SWIG_fail
;
6366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6381 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6382 PyObject
*resultobj
;
6383 wxSashWindow
*result
;
6388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6391 result
= (wxSashWindow
*)new wxSashWindow();
6393 wxPyEndAllowThreads(__tstate
);
6394 if (PyErr_Occurred()) SWIG_fail
;
6396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6403 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6404 PyObject
*resultobj
;
6405 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6406 wxWindow
*arg2
= (wxWindow
*) 0 ;
6408 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6409 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6410 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6411 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6412 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6413 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6414 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6418 bool temp7
= False
;
6419 PyObject
* obj0
= 0 ;
6420 PyObject
* obj1
= 0 ;
6421 PyObject
* obj2
= 0 ;
6422 PyObject
* obj3
= 0 ;
6423 PyObject
* obj4
= 0 ;
6424 PyObject
* obj5
= 0 ;
6425 PyObject
* obj6
= 0 ;
6427 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6433 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6435 arg3
= (int) SWIG_AsInt(obj2
);
6436 if (PyErr_Occurred()) SWIG_fail
;
6440 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6446 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6450 arg6
= (long) SWIG_AsLong(obj5
);
6451 if (PyErr_Occurred()) SWIG_fail
;
6455 arg7
= wxString_in_helper(obj6
);
6456 if (arg7
== NULL
) SWIG_fail
;
6461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6462 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6464 wxPyEndAllowThreads(__tstate
);
6465 if (PyErr_Occurred()) SWIG_fail
;
6467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6482 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6483 PyObject
*resultobj
;
6484 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6487 PyObject
* obj0
= 0 ;
6488 PyObject
* obj1
= 0 ;
6489 PyObject
* obj2
= 0 ;
6491 (char *) "self",(char *) "edge",(char *) "sash", NULL
6494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6497 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6498 if (PyErr_Occurred()) SWIG_fail
;
6499 arg3
= (bool) SWIG_AsBool(obj2
);
6500 if (PyErr_Occurred()) SWIG_fail
;
6502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6503 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6505 wxPyEndAllowThreads(__tstate
);
6506 if (PyErr_Occurred()) SWIG_fail
;
6508 Py_INCREF(Py_None
); resultobj
= Py_None
;
6515 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6516 PyObject
*resultobj
;
6517 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6520 PyObject
* obj0
= 0 ;
6521 PyObject
* obj1
= 0 ;
6523 (char *) "self",(char *) "edge", NULL
6526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6529 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6530 if (PyErr_Occurred()) SWIG_fail
;
6532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6533 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6535 wxPyEndAllowThreads(__tstate
);
6536 if (PyErr_Occurred()) SWIG_fail
;
6538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6545 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6546 PyObject
*resultobj
;
6547 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6550 PyObject
* obj0
= 0 ;
6551 PyObject
* obj1
= 0 ;
6552 PyObject
* obj2
= 0 ;
6554 (char *) "self",(char *) "edge",(char *) "border", NULL
6557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6560 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6561 if (PyErr_Occurred()) SWIG_fail
;
6562 arg3
= (bool) SWIG_AsBool(obj2
);
6563 if (PyErr_Occurred()) SWIG_fail
;
6565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6566 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6568 wxPyEndAllowThreads(__tstate
);
6569 if (PyErr_Occurred()) SWIG_fail
;
6571 Py_INCREF(Py_None
); resultobj
= Py_None
;
6578 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6579 PyObject
*resultobj
;
6580 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6583 PyObject
* obj0
= 0 ;
6584 PyObject
* obj1
= 0 ;
6586 (char *) "self",(char *) "edge", NULL
6589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
6590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6592 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6596 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
6598 wxPyEndAllowThreads(__tstate
);
6599 if (PyErr_Occurred()) SWIG_fail
;
6601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6608 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6609 PyObject
*resultobj
;
6610 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6613 PyObject
* obj0
= 0 ;
6614 PyObject
* obj1
= 0 ;
6616 (char *) "self",(char *) "edge", NULL
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
6620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6622 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6623 if (PyErr_Occurred()) SWIG_fail
;
6625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6626 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
6628 wxPyEndAllowThreads(__tstate
);
6629 if (PyErr_Occurred()) SWIG_fail
;
6631 resultobj
= SWIG_FromInt((int)result
);
6638 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6639 PyObject
*resultobj
;
6640 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6642 PyObject
* obj0
= 0 ;
6643 PyObject
* obj1
= 0 ;
6645 (char *) "self",(char *) "width", NULL
6648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6651 arg2
= (int) SWIG_AsInt(obj1
);
6652 if (PyErr_Occurred()) SWIG_fail
;
6654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6655 (arg1
)->SetDefaultBorderSize(arg2
);
6657 wxPyEndAllowThreads(__tstate
);
6658 if (PyErr_Occurred()) SWIG_fail
;
6660 Py_INCREF(Py_None
); resultobj
= Py_None
;
6667 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6668 PyObject
*resultobj
;
6669 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6671 PyObject
* obj0
= 0 ;
6673 (char *) "self", NULL
6676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
6677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6681 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
6683 wxPyEndAllowThreads(__tstate
);
6684 if (PyErr_Occurred()) SWIG_fail
;
6686 resultobj
= SWIG_FromInt((int)result
);
6693 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6694 PyObject
*resultobj
;
6695 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6697 PyObject
* obj0
= 0 ;
6698 PyObject
* obj1
= 0 ;
6700 (char *) "self",(char *) "width", NULL
6703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6706 arg2
= (int) SWIG_AsInt(obj1
);
6707 if (PyErr_Occurred()) SWIG_fail
;
6709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6710 (arg1
)->SetExtraBorderSize(arg2
);
6712 wxPyEndAllowThreads(__tstate
);
6713 if (PyErr_Occurred()) SWIG_fail
;
6715 Py_INCREF(Py_None
); resultobj
= Py_None
;
6722 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6723 PyObject
*resultobj
;
6724 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6726 PyObject
* obj0
= 0 ;
6728 (char *) "self", NULL
6731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
6732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6736 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
6738 wxPyEndAllowThreads(__tstate
);
6739 if (PyErr_Occurred()) SWIG_fail
;
6741 resultobj
= SWIG_FromInt((int)result
);
6748 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6749 PyObject
*resultobj
;
6750 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6752 PyObject
* obj0
= 0 ;
6753 PyObject
* obj1
= 0 ;
6755 (char *) "self",(char *) "min", NULL
6758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6761 arg2
= (int) SWIG_AsInt(obj1
);
6762 if (PyErr_Occurred()) SWIG_fail
;
6764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6765 (arg1
)->SetMinimumSizeX(arg2
);
6767 wxPyEndAllowThreads(__tstate
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6770 Py_INCREF(Py_None
); resultobj
= Py_None
;
6777 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6778 PyObject
*resultobj
;
6779 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6781 PyObject
* obj0
= 0 ;
6782 PyObject
* obj1
= 0 ;
6784 (char *) "self",(char *) "min", NULL
6787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
6788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6790 arg2
= (int) SWIG_AsInt(obj1
);
6791 if (PyErr_Occurred()) SWIG_fail
;
6793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6794 (arg1
)->SetMinimumSizeY(arg2
);
6796 wxPyEndAllowThreads(__tstate
);
6797 if (PyErr_Occurred()) SWIG_fail
;
6799 Py_INCREF(Py_None
); resultobj
= Py_None
;
6806 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6807 PyObject
*resultobj
;
6808 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6810 PyObject
* obj0
= 0 ;
6812 (char *) "self", NULL
6815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
6816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6820 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
6822 wxPyEndAllowThreads(__tstate
);
6823 if (PyErr_Occurred()) SWIG_fail
;
6825 resultobj
= SWIG_FromInt((int)result
);
6832 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6833 PyObject
*resultobj
;
6834 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6836 PyObject
* obj0
= 0 ;
6838 (char *) "self", NULL
6841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
6842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6846 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
6848 wxPyEndAllowThreads(__tstate
);
6849 if (PyErr_Occurred()) SWIG_fail
;
6851 resultobj
= SWIG_FromInt((int)result
);
6858 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
*resultobj
;
6860 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6862 PyObject
* obj0
= 0 ;
6863 PyObject
* obj1
= 0 ;
6865 (char *) "self",(char *) "max", NULL
6868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6871 arg2
= (int) SWIG_AsInt(obj1
);
6872 if (PyErr_Occurred()) SWIG_fail
;
6874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6875 (arg1
)->SetMaximumSizeX(arg2
);
6877 wxPyEndAllowThreads(__tstate
);
6878 if (PyErr_Occurred()) SWIG_fail
;
6880 Py_INCREF(Py_None
); resultobj
= Py_None
;
6887 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6888 PyObject
*resultobj
;
6889 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6891 PyObject
* obj0
= 0 ;
6892 PyObject
* obj1
= 0 ;
6894 (char *) "self",(char *) "max", NULL
6897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
6898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6900 arg2
= (int) SWIG_AsInt(obj1
);
6901 if (PyErr_Occurred()) SWIG_fail
;
6903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6904 (arg1
)->SetMaximumSizeY(arg2
);
6906 wxPyEndAllowThreads(__tstate
);
6907 if (PyErr_Occurred()) SWIG_fail
;
6909 Py_INCREF(Py_None
); resultobj
= Py_None
;
6916 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6917 PyObject
*resultobj
;
6918 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6920 PyObject
* obj0
= 0 ;
6922 (char *) "self", NULL
6925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
6926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6930 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
6932 wxPyEndAllowThreads(__tstate
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6935 resultobj
= SWIG_FromInt((int)result
);
6942 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6943 PyObject
*resultobj
;
6944 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6946 PyObject
* obj0
= 0 ;
6948 (char *) "self", NULL
6951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
6952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6956 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
6958 wxPyEndAllowThreads(__tstate
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6961 resultobj
= SWIG_FromInt((int)result
);
6968 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6969 PyObject
*resultobj
;
6970 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6973 int arg4
= (int) 2 ;
6975 PyObject
* obj0
= 0 ;
6976 PyObject
* obj1
= 0 ;
6977 PyObject
* obj2
= 0 ;
6978 PyObject
* obj3
= 0 ;
6980 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6986 arg2
= (int) SWIG_AsInt(obj1
);
6987 if (PyErr_Occurred()) SWIG_fail
;
6988 arg3
= (int) SWIG_AsInt(obj2
);
6989 if (PyErr_Occurred()) SWIG_fail
;
6991 arg4
= (int) SWIG_AsInt(obj3
);
6992 if (PyErr_Occurred()) SWIG_fail
;
6995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6996 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6998 wxPyEndAllowThreads(__tstate
);
6999 if (PyErr_Occurred()) SWIG_fail
;
7001 resultobj
= SWIG_FromInt((int)result
);
7008 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7009 PyObject
*resultobj
;
7010 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7011 PyObject
* obj0
= 0 ;
7013 (char *) "self", NULL
7016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7021 (arg1
)->SizeWindows();
7023 wxPyEndAllowThreads(__tstate
);
7024 if (PyErr_Occurred()) SWIG_fail
;
7026 Py_INCREF(Py_None
); resultobj
= Py_None
;
7033 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7036 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7038 return Py_BuildValue((char *)"");
7040 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7041 PyObject
*resultobj
;
7042 int arg1
= (int) 0 ;
7043 int arg2
= (int) wxSASH_NONE
;
7044 wxSashEvent
*result
;
7045 PyObject
* obj0
= 0 ;
7046 PyObject
* obj1
= 0 ;
7048 (char *) "id",(char *) "edge", NULL
7051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7053 arg1
= (int) SWIG_AsInt(obj0
);
7054 if (PyErr_Occurred()) SWIG_fail
;
7057 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7058 if (PyErr_Occurred()) SWIG_fail
;
7061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7062 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7064 wxPyEndAllowThreads(__tstate
);
7065 if (PyErr_Occurred()) SWIG_fail
;
7067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7074 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
*resultobj
;
7076 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7078 PyObject
* obj0
= 0 ;
7079 PyObject
* obj1
= 0 ;
7081 (char *) "self",(char *) "edge", NULL
7084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7087 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7088 if (PyErr_Occurred()) SWIG_fail
;
7090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7096 Py_INCREF(Py_None
); resultobj
= Py_None
;
7103 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
*resultobj
;
7105 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7107 PyObject
* obj0
= 0 ;
7109 (char *) "self", NULL
7112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7117 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7119 wxPyEndAllowThreads(__tstate
);
7120 if (PyErr_Occurred()) SWIG_fail
;
7122 resultobj
= SWIG_FromInt((int)result
);
7129 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7130 PyObject
*resultobj
;
7131 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7134 PyObject
* obj0
= 0 ;
7135 PyObject
* obj1
= 0 ;
7137 (char *) "self",(char *) "rect", NULL
7140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7145 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7149 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7151 wxPyEndAllowThreads(__tstate
);
7152 if (PyErr_Occurred()) SWIG_fail
;
7154 Py_INCREF(Py_None
); resultobj
= Py_None
;
7161 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7162 PyObject
*resultobj
;
7163 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7165 PyObject
* obj0
= 0 ;
7167 (char *) "self", NULL
7170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7175 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7177 wxPyEndAllowThreads(__tstate
);
7178 if (PyErr_Occurred()) SWIG_fail
;
7182 resultptr
= new wxRect((wxRect
&) result
);
7183 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7191 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7192 PyObject
*resultobj
;
7193 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7195 PyObject
* obj0
= 0 ;
7196 PyObject
* obj1
= 0 ;
7198 (char *) "self",(char *) "status", NULL
7201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7204 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7205 if (PyErr_Occurred()) SWIG_fail
;
7207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7208 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7210 wxPyEndAllowThreads(__tstate
);
7211 if (PyErr_Occurred()) SWIG_fail
;
7213 Py_INCREF(Py_None
); resultobj
= Py_None
;
7220 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7221 PyObject
*resultobj
;
7222 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7224 PyObject
* obj0
= 0 ;
7226 (char *) "self", NULL
7229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7234 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7236 wxPyEndAllowThreads(__tstate
);
7237 if (PyErr_Occurred()) SWIG_fail
;
7239 resultobj
= SWIG_FromInt((int)result
);
7246 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7249 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7251 return Py_BuildValue((char *)"");
7253 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7254 PyObject
*resultobj
;
7255 int arg1
= (int) 0 ;
7256 wxQueryLayoutInfoEvent
*result
;
7257 PyObject
* obj0
= 0 ;
7262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7264 arg1
= (int) SWIG_AsInt(obj0
);
7265 if (PyErr_Occurred()) SWIG_fail
;
7268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7269 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7271 wxPyEndAllowThreads(__tstate
);
7272 if (PyErr_Occurred()) SWIG_fail
;
7274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7281 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7282 PyObject
*resultobj
;
7283 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7285 PyObject
* obj0
= 0 ;
7286 PyObject
* obj1
= 0 ;
7288 (char *) "self",(char *) "length", NULL
7291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7294 arg2
= (int) SWIG_AsInt(obj1
);
7295 if (PyErr_Occurred()) SWIG_fail
;
7297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7298 (arg1
)->SetRequestedLength(arg2
);
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7303 Py_INCREF(Py_None
); resultobj
= Py_None
;
7310 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7311 PyObject
*resultobj
;
7312 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7314 PyObject
* obj0
= 0 ;
7316 (char *) "self", NULL
7319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7324 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7326 wxPyEndAllowThreads(__tstate
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7329 resultobj
= SWIG_FromInt((int)result
);
7336 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7337 PyObject
*resultobj
;
7338 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7340 PyObject
* obj0
= 0 ;
7341 PyObject
* obj1
= 0 ;
7343 (char *) "self",(char *) "flags", NULL
7346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7349 arg2
= (int) SWIG_AsInt(obj1
);
7350 if (PyErr_Occurred()) SWIG_fail
;
7352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7353 (arg1
)->SetFlags(arg2
);
7355 wxPyEndAllowThreads(__tstate
);
7356 if (PyErr_Occurred()) SWIG_fail
;
7358 Py_INCREF(Py_None
); resultobj
= Py_None
;
7365 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7366 PyObject
*resultobj
;
7367 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7369 PyObject
* obj0
= 0 ;
7371 (char *) "self", NULL
7374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7379 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7381 wxPyEndAllowThreads(__tstate
);
7382 if (PyErr_Occurred()) SWIG_fail
;
7384 resultobj
= SWIG_FromInt((int)result
);
7391 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7392 PyObject
*resultobj
;
7393 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7396 PyObject
* obj0
= 0 ;
7397 PyObject
* obj1
= 0 ;
7399 (char *) "self",(char *) "size", NULL
7402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7407 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7411 (arg1
)->SetSize((wxSize
const &)*arg2
);
7413 wxPyEndAllowThreads(__tstate
);
7414 if (PyErr_Occurred()) SWIG_fail
;
7416 Py_INCREF(Py_None
); resultobj
= Py_None
;
7423 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7424 PyObject
*resultobj
;
7425 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7427 PyObject
* obj0
= 0 ;
7429 (char *) "self", NULL
7432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7437 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7439 wxPyEndAllowThreads(__tstate
);
7440 if (PyErr_Occurred()) SWIG_fail
;
7444 resultptr
= new wxSize((wxSize
&) result
);
7445 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7453 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
*resultobj
;
7455 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7457 PyObject
* obj0
= 0 ;
7458 PyObject
* obj1
= 0 ;
7460 (char *) "self",(char *) "orient", NULL
7463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7466 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
7467 if (PyErr_Occurred()) SWIG_fail
;
7469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7470 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7472 wxPyEndAllowThreads(__tstate
);
7473 if (PyErr_Occurred()) SWIG_fail
;
7475 Py_INCREF(Py_None
); resultobj
= Py_None
;
7482 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7483 PyObject
*resultobj
;
7484 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7486 PyObject
* obj0
= 0 ;
7488 (char *) "self", NULL
7491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7496 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7498 wxPyEndAllowThreads(__tstate
);
7499 if (PyErr_Occurred()) SWIG_fail
;
7501 resultobj
= SWIG_FromInt((int)result
);
7508 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7509 PyObject
*resultobj
;
7510 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7512 PyObject
* obj0
= 0 ;
7513 PyObject
* obj1
= 0 ;
7515 (char *) "self",(char *) "align", NULL
7518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7521 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
7522 if (PyErr_Occurred()) SWIG_fail
;
7524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7525 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7527 wxPyEndAllowThreads(__tstate
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7530 Py_INCREF(Py_None
); resultobj
= Py_None
;
7537 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7538 PyObject
*resultobj
;
7539 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7541 PyObject
* obj0
= 0 ;
7543 (char *) "self", NULL
7546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7551 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
7553 wxPyEndAllowThreads(__tstate
);
7554 if (PyErr_Occurred()) SWIG_fail
;
7556 resultobj
= SWIG_FromInt((int)result
);
7563 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7565 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7566 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7568 return Py_BuildValue((char *)"");
7570 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7571 PyObject
*resultobj
;
7572 int arg1
= (int) 0 ;
7573 wxCalculateLayoutEvent
*result
;
7574 PyObject
* obj0
= 0 ;
7579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
7581 arg1
= (int) SWIG_AsInt(obj0
);
7582 if (PyErr_Occurred()) SWIG_fail
;
7585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7586 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
7588 wxPyEndAllowThreads(__tstate
);
7589 if (PyErr_Occurred()) SWIG_fail
;
7591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
7598 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7599 PyObject
*resultobj
;
7600 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7602 PyObject
* obj0
= 0 ;
7603 PyObject
* obj1
= 0 ;
7605 (char *) "self",(char *) "flags", NULL
7608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7611 arg2
= (int) SWIG_AsInt(obj1
);
7612 if (PyErr_Occurred()) SWIG_fail
;
7614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7615 (arg1
)->SetFlags(arg2
);
7617 wxPyEndAllowThreads(__tstate
);
7618 if (PyErr_Occurred()) SWIG_fail
;
7620 Py_INCREF(Py_None
); resultobj
= Py_None
;
7627 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7628 PyObject
*resultobj
;
7629 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7631 PyObject
* obj0
= 0 ;
7633 (char *) "self", NULL
7636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7641 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
7643 wxPyEndAllowThreads(__tstate
);
7644 if (PyErr_Occurred()) SWIG_fail
;
7646 resultobj
= SWIG_FromInt((int)result
);
7653 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7654 PyObject
*resultobj
;
7655 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7658 PyObject
* obj0
= 0 ;
7659 PyObject
* obj1
= 0 ;
7661 (char *) "self",(char *) "rect", NULL
7664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7669 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7673 (arg1
)->SetRect((wxRect
const &)*arg2
);
7675 wxPyEndAllowThreads(__tstate
);
7676 if (PyErr_Occurred()) SWIG_fail
;
7678 Py_INCREF(Py_None
); resultobj
= Py_None
;
7685 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7686 PyObject
*resultobj
;
7687 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7689 PyObject
* obj0
= 0 ;
7691 (char *) "self", NULL
7694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
7695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7699 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
7701 wxPyEndAllowThreads(__tstate
);
7702 if (PyErr_Occurred()) SWIG_fail
;
7706 resultptr
= new wxRect((wxRect
&) result
);
7707 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7715 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7717 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7718 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
7720 return Py_BuildValue((char *)"");
7722 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7723 PyObject
*resultobj
;
7724 wxWindow
*arg1
= (wxWindow
*) 0 ;
7726 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7727 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7728 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7729 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7730 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7731 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
7732 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7733 wxSashLayoutWindow
*result
;
7736 bool temp6
= False
;
7737 PyObject
* obj0
= 0 ;
7738 PyObject
* obj1
= 0 ;
7739 PyObject
* obj2
= 0 ;
7740 PyObject
* obj3
= 0 ;
7741 PyObject
* obj4
= 0 ;
7742 PyObject
* obj5
= 0 ;
7744 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7750 arg2
= (int) SWIG_AsInt(obj1
);
7751 if (PyErr_Occurred()) SWIG_fail
;
7755 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7761 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7765 arg5
= (long) SWIG_AsLong(obj4
);
7766 if (PyErr_Occurred()) SWIG_fail
;
7770 arg6
= wxString_in_helper(obj5
);
7771 if (arg6
== NULL
) SWIG_fail
;
7776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7777 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7779 wxPyEndAllowThreads(__tstate
);
7780 if (PyErr_Occurred()) SWIG_fail
;
7782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
7797 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7798 PyObject
*resultobj
;
7799 wxSashLayoutWindow
*result
;
7804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
7806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7807 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
7809 wxPyEndAllowThreads(__tstate
);
7810 if (PyErr_Occurred()) SWIG_fail
;
7812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
7819 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7820 PyObject
*resultobj
;
7821 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7822 wxWindow
*arg2
= (wxWindow
*) 0 ;
7824 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7825 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7826 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7827 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7828 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7829 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
7830 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7834 bool temp7
= False
;
7835 PyObject
* obj0
= 0 ;
7836 PyObject
* obj1
= 0 ;
7837 PyObject
* obj2
= 0 ;
7838 PyObject
* obj3
= 0 ;
7839 PyObject
* obj4
= 0 ;
7840 PyObject
* obj5
= 0 ;
7841 PyObject
* obj6
= 0 ;
7843 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
7848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7849 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7851 arg3
= (int) SWIG_AsInt(obj2
);
7852 if (PyErr_Occurred()) SWIG_fail
;
7856 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7862 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7866 arg6
= (long) SWIG_AsLong(obj5
);
7867 if (PyErr_Occurred()) SWIG_fail
;
7871 arg7
= wxString_in_helper(obj6
);
7872 if (arg7
== NULL
) SWIG_fail
;
7877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7878 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7880 wxPyEndAllowThreads(__tstate
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7898 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7899 PyObject
*resultobj
;
7900 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7902 PyObject
* obj0
= 0 ;
7904 (char *) "self", NULL
7907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
7908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
7909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7912 result
= (int)(arg1
)->GetAlignment();
7914 wxPyEndAllowThreads(__tstate
);
7915 if (PyErr_Occurred()) SWIG_fail
;
7917 resultobj
= SWIG_FromInt((int)result
);
7924 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7925 PyObject
*resultobj
;
7926 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7928 PyObject
* obj0
= 0 ;
7930 (char *) "self", NULL
7933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
7934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
7935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7938 result
= (int)(arg1
)->GetOrientation();
7940 wxPyEndAllowThreads(__tstate
);
7941 if (PyErr_Occurred()) SWIG_fail
;
7943 resultobj
= SWIG_FromInt((int)result
);
7950 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7951 PyObject
*resultobj
;
7952 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7954 PyObject
* obj0
= 0 ;
7955 PyObject
* obj1
= 0 ;
7957 (char *) "self",(char *) "alignment", NULL
7960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
7962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7963 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
7964 if (PyErr_Occurred()) SWIG_fail
;
7966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7967 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7969 wxPyEndAllowThreads(__tstate
);
7970 if (PyErr_Occurred()) SWIG_fail
;
7972 Py_INCREF(Py_None
); resultobj
= Py_None
;
7979 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7980 PyObject
*resultobj
;
7981 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7984 PyObject
* obj0
= 0 ;
7985 PyObject
* obj1
= 0 ;
7987 (char *) "self",(char *) "size", NULL
7990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
7992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7995 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7999 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8001 wxPyEndAllowThreads(__tstate
);
8002 if (PyErr_Occurred()) SWIG_fail
;
8004 Py_INCREF(Py_None
); resultobj
= Py_None
;
8011 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8012 PyObject
*resultobj
;
8013 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8015 PyObject
* obj0
= 0 ;
8016 PyObject
* obj1
= 0 ;
8018 (char *) "self",(char *) "orientation", NULL
8021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8024 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8025 if (PyErr_Occurred()) SWIG_fail
;
8027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8028 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8030 wxPyEndAllowThreads(__tstate
);
8031 if (PyErr_Occurred()) SWIG_fail
;
8033 Py_INCREF(Py_None
); resultobj
= Py_None
;
8040 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8042 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8043 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8045 return Py_BuildValue((char *)"");
8047 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8048 PyObject
*resultobj
;
8049 wxLayoutAlgorithm
*result
;
8054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8057 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8059 wxPyEndAllowThreads(__tstate
);
8060 if (PyErr_Occurred()) SWIG_fail
;
8062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8069 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8070 PyObject
*resultobj
;
8071 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8072 PyObject
* obj0
= 0 ;
8074 (char *) "self", NULL
8077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8084 wxPyEndAllowThreads(__tstate
);
8085 if (PyErr_Occurred()) SWIG_fail
;
8087 Py_INCREF(Py_None
); resultobj
= Py_None
;
8094 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8095 PyObject
*resultobj
;
8096 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8097 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8098 wxRect
*arg3
= (wxRect
*) NULL
;
8100 PyObject
* obj0
= 0 ;
8101 PyObject
* obj1
= 0 ;
8102 PyObject
* obj2
= 0 ;
8104 (char *) "self",(char *) "frame",(char *) "rect", NULL
8107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8110 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8113 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8118 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8120 wxPyEndAllowThreads(__tstate
);
8121 if (PyErr_Occurred()) SWIG_fail
;
8123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8130 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8131 PyObject
*resultobj
;
8132 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8133 wxFrame
*arg2
= (wxFrame
*) 0 ;
8134 wxWindow
*arg3
= (wxWindow
*) NULL
;
8136 PyObject
* obj0
= 0 ;
8137 PyObject
* obj1
= 0 ;
8138 PyObject
* obj2
= 0 ;
8140 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8146 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8149 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8154 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8156 wxPyEndAllowThreads(__tstate
);
8157 if (PyErr_Occurred()) SWIG_fail
;
8159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8166 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8167 PyObject
*resultobj
;
8168 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8169 wxWindow
*arg2
= (wxWindow
*) 0 ;
8170 wxWindow
*arg3
= (wxWindow
*) NULL
;
8172 PyObject
* obj0
= 0 ;
8173 PyObject
* obj1
= 0 ;
8174 PyObject
* obj2
= 0 ;
8176 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8182 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8185 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8190 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8192 wxPyEndAllowThreads(__tstate
);
8193 if (PyErr_Occurred()) SWIG_fail
;
8195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8202 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8204 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8205 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8207 return Py_BuildValue((char *)"");
8209 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8210 PyObject
*resultobj
;
8211 wxWindow
*arg1
= (wxWindow
*) 0 ;
8212 int arg2
= (int) wxBORDER_NONE
;
8213 wxPopupWindow
*result
;
8214 PyObject
* obj0
= 0 ;
8215 PyObject
* obj1
= 0 ;
8217 (char *) "parent",(char *) "flags", NULL
8220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8224 arg2
= (int) SWIG_AsInt(obj1
);
8225 if (PyErr_Occurred()) SWIG_fail
;
8228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8229 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8231 wxPyEndAllowThreads(__tstate
);
8232 if (PyErr_Occurred()) SWIG_fail
;
8234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8241 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8242 PyObject
*resultobj
;
8243 wxPopupWindow
*result
;
8248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8251 result
= (wxPopupWindow
*)new wxPopupWindow();
8253 wxPyEndAllowThreads(__tstate
);
8254 if (PyErr_Occurred()) SWIG_fail
;
8256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8263 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8264 PyObject
*resultobj
;
8265 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8266 wxWindow
*arg2
= (wxWindow
*) 0 ;
8267 int arg3
= (int) wxBORDER_NONE
;
8269 PyObject
* obj0
= 0 ;
8270 PyObject
* obj1
= 0 ;
8271 PyObject
* obj2
= 0 ;
8273 (char *) "self",(char *) "parent",(char *) "flags", NULL
8276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8279 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8282 arg3
= (int) SWIG_AsInt(obj2
);
8283 if (PyErr_Occurred()) SWIG_fail
;
8286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8287 result
= (bool)(arg1
)->Create(arg2
,arg3
);
8289 wxPyEndAllowThreads(__tstate
);
8290 if (PyErr_Occurred()) SWIG_fail
;
8292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8299 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8300 PyObject
*resultobj
;
8301 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8306 PyObject
* obj0
= 0 ;
8307 PyObject
* obj1
= 0 ;
8308 PyObject
* obj2
= 0 ;
8310 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8318 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8322 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
8325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8326 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8328 wxPyEndAllowThreads(__tstate
);
8329 if (PyErr_Occurred()) SWIG_fail
;
8331 Py_INCREF(Py_None
); resultobj
= Py_None
;
8338 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8341 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8343 return Py_BuildValue((char *)"");
8345 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8346 PyObject
*resultobj
;
8347 wxWindow
*arg1
= (wxWindow
*) 0 ;
8348 int arg2
= (int) wxBORDER_NONE
;
8349 wxPyPopupTransientWindow
*result
;
8350 PyObject
* obj0
= 0 ;
8351 PyObject
* obj1
= 0 ;
8353 (char *) "parent",(char *) "style", NULL
8356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8360 arg2
= (int) SWIG_AsInt(obj1
);
8361 if (PyErr_Occurred()) SWIG_fail
;
8364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8365 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8367 wxPyEndAllowThreads(__tstate
);
8368 if (PyErr_Occurred()) SWIG_fail
;
8370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8377 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8378 PyObject
*resultobj
;
8379 wxPyPopupTransientWindow
*result
;
8384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8399 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8400 PyObject
*resultobj
;
8401 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8402 PyObject
*arg2
= (PyObject
*) 0 ;
8403 PyObject
*arg3
= (PyObject
*) 0 ;
8404 PyObject
* obj0
= 0 ;
8405 PyObject
* obj1
= 0 ;
8406 PyObject
* obj2
= 0 ;
8408 (char *) "self",(char *) "self",(char *) "_class", NULL
8411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8418 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8420 wxPyEndAllowThreads(__tstate
);
8421 if (PyErr_Occurred()) SWIG_fail
;
8423 Py_INCREF(Py_None
); resultobj
= Py_None
;
8430 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8431 PyObject
*resultobj
;
8432 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8433 wxWindow
*arg2
= (wxWindow
*) NULL
;
8434 PyObject
* obj0
= 0 ;
8435 PyObject
* obj1
= 0 ;
8437 (char *) "self",(char *) "focus", NULL
8440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
8441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8444 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8449 (arg1
)->Popup(arg2
);
8451 wxPyEndAllowThreads(__tstate
);
8452 if (PyErr_Occurred()) SWIG_fail
;
8454 Py_INCREF(Py_None
); resultobj
= Py_None
;
8461 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8462 PyObject
*resultobj
;
8463 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8464 PyObject
* obj0
= 0 ;
8466 (char *) "self", NULL
8469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
8470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8476 wxPyEndAllowThreads(__tstate
);
8477 if (PyErr_Occurred()) SWIG_fail
;
8479 Py_INCREF(Py_None
); resultobj
= Py_None
;
8486 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8489 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8491 return Py_BuildValue((char *)"");
8493 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8494 PyObject
*resultobj
;
8495 wxWindow
*arg1
= (wxWindow
*) 0 ;
8496 wxString
*arg2
= 0 ;
8497 int arg3
= (int) 100 ;
8498 wxRect
*arg4
= (wxRect
*) NULL
;
8499 wxTipWindow
*result
;
8500 bool temp2
= False
;
8501 PyObject
* obj0
= 0 ;
8502 PyObject
* obj1
= 0 ;
8503 PyObject
* obj2
= 0 ;
8504 PyObject
* obj3
= 0 ;
8506 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8513 arg2
= wxString_in_helper(obj1
);
8514 if (arg2
== NULL
) SWIG_fail
;
8518 arg3
= (int) SWIG_AsInt(obj2
);
8519 if (PyErr_Occurred()) SWIG_fail
;
8522 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
8523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8527 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8529 wxPyEndAllowThreads(__tstate
);
8530 if (PyErr_Occurred()) SWIG_fail
;
8532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
8547 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8548 PyObject
*resultobj
;
8549 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8552 PyObject
* obj0
= 0 ;
8553 PyObject
* obj1
= 0 ;
8555 (char *) "self",(char *) "rectBound", NULL
8558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8563 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8567 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
8569 wxPyEndAllowThreads(__tstate
);
8570 if (PyErr_Occurred()) SWIG_fail
;
8572 Py_INCREF(Py_None
); resultobj
= Py_None
;
8579 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8580 PyObject
*resultobj
;
8581 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8582 PyObject
* obj0
= 0 ;
8584 (char *) "self", NULL
8587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
8588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8594 wxPyEndAllowThreads(__tstate
);
8595 if (PyErr_Occurred()) SWIG_fail
;
8597 Py_INCREF(Py_None
); resultobj
= Py_None
;
8604 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8607 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
8609 return Py_BuildValue((char *)"");
8611 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8612 PyObject
*resultobj
;
8613 wxWindow
*arg1
= (wxWindow
*) 0 ;
8614 int arg2
= (int) wxID_ANY
;
8615 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8616 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8617 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8618 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8619 long arg5
= (long) 0 ;
8620 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8621 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8622 wxPyVScrolledWindow
*result
;
8625 bool temp6
= False
;
8626 PyObject
* obj0
= 0 ;
8627 PyObject
* obj1
= 0 ;
8628 PyObject
* obj2
= 0 ;
8629 PyObject
* obj3
= 0 ;
8630 PyObject
* obj4
= 0 ;
8631 PyObject
* obj5
= 0 ;
8633 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8640 arg2
= (int) SWIG_AsInt(obj1
);
8641 if (PyErr_Occurred()) SWIG_fail
;
8646 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8652 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8656 arg5
= (long) SWIG_AsLong(obj4
);
8657 if (PyErr_Occurred()) SWIG_fail
;
8661 arg6
= wxString_in_helper(obj5
);
8662 if (arg6
== NULL
) SWIG_fail
;
8667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8668 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8670 wxPyEndAllowThreads(__tstate
);
8671 if (PyErr_Occurred()) SWIG_fail
;
8673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8688 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8689 PyObject
*resultobj
;
8690 wxPyVScrolledWindow
*result
;
8695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
8697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8698 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
8700 wxPyEndAllowThreads(__tstate
);
8701 if (PyErr_Occurred()) SWIG_fail
;
8703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8710 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8711 PyObject
*resultobj
;
8712 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8713 PyObject
*arg2
= (PyObject
*) 0 ;
8714 PyObject
*arg3
= (PyObject
*) 0 ;
8715 PyObject
* obj0
= 0 ;
8716 PyObject
* obj1
= 0 ;
8717 PyObject
* obj2
= 0 ;
8719 (char *) "self",(char *) "self",(char *) "_class", NULL
8722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8729 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8731 wxPyEndAllowThreads(__tstate
);
8732 if (PyErr_Occurred()) SWIG_fail
;
8734 Py_INCREF(Py_None
); resultobj
= Py_None
;
8741 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8742 PyObject
*resultobj
;
8743 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8744 wxWindow
*arg2
= (wxWindow
*) 0 ;
8745 int arg3
= (int) wxID_ANY
;
8746 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8747 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8748 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8749 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8750 long arg6
= (long) 0 ;
8751 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
8752 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8756 bool temp7
= False
;
8757 PyObject
* obj0
= 0 ;
8758 PyObject
* obj1
= 0 ;
8759 PyObject
* obj2
= 0 ;
8760 PyObject
* obj3
= 0 ;
8761 PyObject
* obj4
= 0 ;
8762 PyObject
* obj5
= 0 ;
8763 PyObject
* obj6
= 0 ;
8765 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8771 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8774 arg3
= (int) SWIG_AsInt(obj2
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8780 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8786 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8790 arg6
= (long) SWIG_AsLong(obj5
);
8791 if (PyErr_Occurred()) SWIG_fail
;
8795 arg7
= wxString_in_helper(obj6
);
8796 if (arg7
== NULL
) SWIG_fail
;
8801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8802 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8804 wxPyEndAllowThreads(__tstate
);
8805 if (PyErr_Occurred()) SWIG_fail
;
8807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8822 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8823 PyObject
*resultobj
;
8824 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8826 PyObject
* obj0
= 0 ;
8827 PyObject
* obj1
= 0 ;
8829 (char *) "self",(char *) "count", NULL
8832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8835 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8836 if (PyErr_Occurred()) SWIG_fail
;
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 (arg1
)->SetLineCount(arg2
);
8841 wxPyEndAllowThreads(__tstate
);
8842 if (PyErr_Occurred()) SWIG_fail
;
8844 Py_INCREF(Py_None
); resultobj
= Py_None
;
8851 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8852 PyObject
*resultobj
;
8853 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8856 PyObject
* obj0
= 0 ;
8857 PyObject
* obj1
= 0 ;
8859 (char *) "self",(char *) "line", NULL
8862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8865 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8866 if (PyErr_Occurred()) SWIG_fail
;
8868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8869 result
= (bool)(arg1
)->ScrollToLine(arg2
);
8871 wxPyEndAllowThreads(__tstate
);
8872 if (PyErr_Occurred()) SWIG_fail
;
8874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8881 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8882 PyObject
*resultobj
;
8883 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8886 PyObject
* obj0
= 0 ;
8887 PyObject
* obj1
= 0 ;
8889 (char *) "self",(char *) "lines", NULL
8892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
8893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8895 arg2
= (int) SWIG_AsInt(obj1
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8899 result
= (bool)(arg1
)->ScrollLines(arg2
);
8901 wxPyEndAllowThreads(__tstate
);
8902 if (PyErr_Occurred()) SWIG_fail
;
8904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8911 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8912 PyObject
*resultobj
;
8913 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8916 PyObject
* obj0
= 0 ;
8917 PyObject
* obj1
= 0 ;
8919 (char *) "self",(char *) "pages", NULL
8922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
8923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8925 arg2
= (int) SWIG_AsInt(obj1
);
8926 if (PyErr_Occurred()) SWIG_fail
;
8928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8929 result
= (bool)(arg1
)->ScrollPages(arg2
);
8931 wxPyEndAllowThreads(__tstate
);
8932 if (PyErr_Occurred()) SWIG_fail
;
8934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8941 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8942 PyObject
*resultobj
;
8943 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8945 PyObject
* obj0
= 0 ;
8946 PyObject
* obj1
= 0 ;
8948 (char *) "self",(char *) "line", NULL
8951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8954 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8955 if (PyErr_Occurred()) SWIG_fail
;
8957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8958 (arg1
)->RefreshLine(arg2
);
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8963 Py_INCREF(Py_None
); resultobj
= Py_None
;
8970 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8971 PyObject
*resultobj
;
8972 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8975 PyObject
* obj0
= 0 ;
8976 PyObject
* obj1
= 0 ;
8977 PyObject
* obj2
= 0 ;
8979 (char *) "self",(char *) "from",(char *) "to", NULL
8982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8985 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8987 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
8988 if (PyErr_Occurred()) SWIG_fail
;
8990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8991 (arg1
)->RefreshLines(arg2
,arg3
);
8993 wxPyEndAllowThreads(__tstate
);
8994 if (PyErr_Occurred()) SWIG_fail
;
8996 Py_INCREF(Py_None
); resultobj
= Py_None
;
9003 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9004 PyObject
*resultobj
;
9005 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9009 PyObject
* obj0
= 0 ;
9010 PyObject
* obj1
= 0 ;
9011 PyObject
* obj2
= 0 ;
9013 (char *) "self",(char *) "x",(char *) "y", NULL
9016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9019 arg2
= (int) SWIG_AsInt(obj1
);
9020 if (PyErr_Occurred()) SWIG_fail
;
9021 arg3
= (int) SWIG_AsInt(obj2
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9025 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9027 wxPyEndAllowThreads(__tstate
);
9028 if (PyErr_Occurred()) SWIG_fail
;
9030 resultobj
= SWIG_FromInt((int)result
);
9037 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9038 PyObject
*resultobj
;
9039 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9043 PyObject
* obj0
= 0 ;
9044 PyObject
* obj1
= 0 ;
9046 (char *) "self",(char *) "pt", NULL
9049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9054 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9058 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9060 wxPyEndAllowThreads(__tstate
);
9061 if (PyErr_Occurred()) SWIG_fail
;
9063 resultobj
= SWIG_FromInt((int)result
);
9070 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9071 PyObject
*resultobj
;
9072 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9073 PyObject
* obj0
= 0 ;
9075 (char *) "self", NULL
9078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9083 (arg1
)->RefreshAll();
9085 wxPyEndAllowThreads(__tstate
);
9086 if (PyErr_Occurred()) SWIG_fail
;
9088 Py_INCREF(Py_None
); resultobj
= Py_None
;
9095 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9096 PyObject
*resultobj
;
9097 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9099 PyObject
* obj0
= 0 ;
9101 (char *) "self", NULL
9104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9109 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9111 wxPyEndAllowThreads(__tstate
);
9112 if (PyErr_Occurred()) SWIG_fail
;
9114 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9121 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9122 PyObject
*resultobj
;
9123 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9125 PyObject
* obj0
= 0 ;
9127 (char *) "self", NULL
9130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9135 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9137 wxPyEndAllowThreads(__tstate
);
9138 if (PyErr_Occurred()) SWIG_fail
;
9140 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9147 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9148 PyObject
*resultobj
;
9149 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9151 PyObject
* obj0
= 0 ;
9153 (char *) "self", NULL
9156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9161 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9163 wxPyEndAllowThreads(__tstate
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9166 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9173 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9174 PyObject
*resultobj
;
9175 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9178 PyObject
* obj0
= 0 ;
9179 PyObject
* obj1
= 0 ;
9181 (char *) "self",(char *) "line", NULL
9184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9187 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9188 if (PyErr_Occurred()) SWIG_fail
;
9190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9191 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9193 wxPyEndAllowThreads(__tstate
);
9194 if (PyErr_Occurred()) SWIG_fail
;
9196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9203 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9205 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9206 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9208 return Py_BuildValue((char *)"");
9210 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9211 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9216 static PyObject
*_wrap_VListBoxNameStr_get() {
9221 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9223 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9230 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
*resultobj
;
9232 wxWindow
*arg1
= (wxWindow
*) 0 ;
9233 int arg2
= (int) wxID_ANY
;
9234 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9235 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9236 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9237 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9238 long arg5
= (long) 0 ;
9239 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9240 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9241 wxPyVListBox
*result
;
9244 bool temp6
= False
;
9245 PyObject
* obj0
= 0 ;
9246 PyObject
* obj1
= 0 ;
9247 PyObject
* obj2
= 0 ;
9248 PyObject
* obj3
= 0 ;
9249 PyObject
* obj4
= 0 ;
9250 PyObject
* obj5
= 0 ;
9252 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9259 arg2
= (int) SWIG_AsInt(obj1
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9265 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9271 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9275 arg5
= (long) SWIG_AsLong(obj4
);
9276 if (PyErr_Occurred()) SWIG_fail
;
9280 arg6
= wxString_in_helper(obj5
);
9281 if (arg6
== NULL
) SWIG_fail
;
9286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9287 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9289 wxPyEndAllowThreads(__tstate
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9292 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9307 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9308 PyObject
*resultobj
;
9309 wxPyVListBox
*result
;
9314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 result
= (wxPyVListBox
*)new wxPyVListBox();
9319 wxPyEndAllowThreads(__tstate
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9329 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9330 PyObject
*resultobj
;
9331 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9332 PyObject
*arg2
= (PyObject
*) 0 ;
9333 PyObject
*arg3
= (PyObject
*) 0 ;
9334 PyObject
* obj0
= 0 ;
9335 PyObject
* obj1
= 0 ;
9336 PyObject
* obj2
= 0 ;
9338 (char *) "self",(char *) "self",(char *) "_class", NULL
9341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9348 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9350 wxPyEndAllowThreads(__tstate
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9353 Py_INCREF(Py_None
); resultobj
= Py_None
;
9360 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9361 PyObject
*resultobj
;
9362 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9363 wxWindow
*arg2
= (wxWindow
*) 0 ;
9364 int arg3
= (int) wxID_ANY
;
9365 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9366 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9367 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9368 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9369 long arg6
= (long) 0 ;
9370 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9371 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9375 bool temp7
= False
;
9376 PyObject
* obj0
= 0 ;
9377 PyObject
* obj1
= 0 ;
9378 PyObject
* obj2
= 0 ;
9379 PyObject
* obj3
= 0 ;
9380 PyObject
* obj4
= 0 ;
9381 PyObject
* obj5
= 0 ;
9382 PyObject
* obj6
= 0 ;
9384 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9390 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9393 arg3
= (int) SWIG_AsInt(obj2
);
9394 if (PyErr_Occurred()) SWIG_fail
;
9399 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9405 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9409 arg6
= (long) SWIG_AsLong(obj5
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9414 arg7
= wxString_in_helper(obj6
);
9415 if (arg7
== NULL
) SWIG_fail
;
9420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9421 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9423 wxPyEndAllowThreads(__tstate
);
9424 if (PyErr_Occurred()) SWIG_fail
;
9426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9441 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9442 PyObject
*resultobj
;
9443 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9445 PyObject
* obj0
= 0 ;
9447 (char *) "self", NULL
9450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9455 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9457 wxPyEndAllowThreads(__tstate
);
9458 if (PyErr_Occurred()) SWIG_fail
;
9460 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9467 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9468 PyObject
*resultobj
;
9469 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9471 PyObject
* obj0
= 0 ;
9473 (char *) "self", NULL
9476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9481 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9483 wxPyEndAllowThreads(__tstate
);
9484 if (PyErr_Occurred()) SWIG_fail
;
9486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9493 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9494 PyObject
*resultobj
;
9495 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9497 PyObject
* obj0
= 0 ;
9499 (char *) "self", NULL
9502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9507 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9509 wxPyEndAllowThreads(__tstate
);
9510 if (PyErr_Occurred()) SWIG_fail
;
9512 resultobj
= SWIG_FromInt((int)result
);
9519 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9520 PyObject
*resultobj
;
9521 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9524 PyObject
* obj0
= 0 ;
9525 PyObject
* obj1
= 0 ;
9527 (char *) "self",(char *) "item", NULL
9530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9533 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9534 if (PyErr_Occurred()) SWIG_fail
;
9536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9537 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9539 wxPyEndAllowThreads(__tstate
);
9540 if (PyErr_Occurred()) SWIG_fail
;
9542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9549 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9550 PyObject
*resultobj
;
9551 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9554 PyObject
* obj0
= 0 ;
9555 PyObject
* obj1
= 0 ;
9557 (char *) "self",(char *) "item", NULL
9560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9563 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9564 if (PyErr_Occurred()) SWIG_fail
;
9566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9567 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
9569 wxPyEndAllowThreads(__tstate
);
9570 if (PyErr_Occurred()) SWIG_fail
;
9572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9579 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9580 PyObject
*resultobj
;
9581 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9583 PyObject
* obj0
= 0 ;
9585 (char *) "self", NULL
9588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
9589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9593 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
9595 wxPyEndAllowThreads(__tstate
);
9596 if (PyErr_Occurred()) SWIG_fail
;
9598 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9605 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9606 PyObject
*resultobj
;
9607 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9608 unsigned long *arg2
= 0 ;
9610 PyObject
* obj0
= 0 ;
9611 PyObject
* obj1
= 0 ;
9613 (char *) "self",(char *) "cookie", NULL
9616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9619 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9620 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9623 PyErr_SetString(PyExc_TypeError
,"null reference");
9627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9628 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
9630 wxPyEndAllowThreads(__tstate
);
9631 if (PyErr_Occurred()) SWIG_fail
;
9633 resultobj
= SWIG_FromInt((int)result
);
9640 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9641 PyObject
*resultobj
;
9642 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9643 unsigned long *arg2
= 0 ;
9645 PyObject
* obj0
= 0 ;
9646 PyObject
* obj1
= 0 ;
9648 (char *) "self",(char *) "cookie", NULL
9651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9655 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9658 PyErr_SetString(PyExc_TypeError
,"null reference");
9662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9663 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
9665 wxPyEndAllowThreads(__tstate
);
9666 if (PyErr_Occurred()) SWIG_fail
;
9668 resultobj
= SWIG_FromInt((int)result
);
9675 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9676 PyObject
*resultobj
;
9677 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9679 PyObject
* obj0
= 0 ;
9681 (char *) "self", NULL
9684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
9685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9689 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
9691 wxPyEndAllowThreads(__tstate
);
9692 if (PyErr_Occurred()) SWIG_fail
;
9695 wxPoint
* resultptr
;
9696 resultptr
= new wxPoint((wxPoint
&) result
);
9697 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9705 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9706 PyObject
*resultobj
;
9707 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9709 PyObject
* obj0
= 0 ;
9711 (char *) "self", NULL
9714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
9715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9720 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
9721 result
= (wxColour
*) &_result_ref
;
9724 wxPyEndAllowThreads(__tstate
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9734 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9735 PyObject
*resultobj
;
9736 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9738 PyObject
* obj0
= 0 ;
9739 PyObject
* obj1
= 0 ;
9741 (char *) "self",(char *) "count", NULL
9744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9747 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9748 if (PyErr_Occurred()) SWIG_fail
;
9750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9751 (arg1
)->SetItemCount(arg2
);
9753 wxPyEndAllowThreads(__tstate
);
9754 if (PyErr_Occurred()) SWIG_fail
;
9756 Py_INCREF(Py_None
); resultobj
= Py_None
;
9763 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9764 PyObject
*resultobj
;
9765 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9766 PyObject
* obj0
= 0 ;
9768 (char *) "self", NULL
9771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
9772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9778 wxPyEndAllowThreads(__tstate
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9781 Py_INCREF(Py_None
); resultobj
= Py_None
;
9788 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9789 PyObject
*resultobj
;
9790 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9792 PyObject
* obj0
= 0 ;
9793 PyObject
* obj1
= 0 ;
9795 (char *) "self",(char *) "selection", NULL
9798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9801 arg2
= (int) SWIG_AsInt(obj1
);
9802 if (PyErr_Occurred()) SWIG_fail
;
9804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9805 (arg1
)->SetSelection(arg2
);
9807 wxPyEndAllowThreads(__tstate
);
9808 if (PyErr_Occurred()) SWIG_fail
;
9810 Py_INCREF(Py_None
); resultobj
= Py_None
;
9817 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9818 PyObject
*resultobj
;
9819 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9821 bool arg3
= (bool) True
;
9823 PyObject
* obj0
= 0 ;
9824 PyObject
* obj1
= 0 ;
9825 PyObject
* obj2
= 0 ;
9827 (char *) "self",(char *) "item",(char *) "select", NULL
9830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9833 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9834 if (PyErr_Occurred()) SWIG_fail
;
9836 arg3
= (bool) SWIG_AsBool(obj2
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9841 result
= (bool)(arg1
)->Select(arg2
,arg3
);
9843 wxPyEndAllowThreads(__tstate
);
9844 if (PyErr_Occurred()) SWIG_fail
;
9846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9853 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9854 PyObject
*resultobj
;
9855 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9859 PyObject
* obj0
= 0 ;
9860 PyObject
* obj1
= 0 ;
9861 PyObject
* obj2
= 0 ;
9863 (char *) "self",(char *) "from",(char *) "to", NULL
9866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9869 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9870 if (PyErr_Occurred()) SWIG_fail
;
9871 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9872 if (PyErr_Occurred()) SWIG_fail
;
9874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9875 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
9877 wxPyEndAllowThreads(__tstate
);
9878 if (PyErr_Occurred()) SWIG_fail
;
9880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9887 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9888 PyObject
*resultobj
;
9889 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9891 PyObject
* obj0
= 0 ;
9892 PyObject
* obj1
= 0 ;
9894 (char *) "self",(char *) "item", NULL
9897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
9898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9900 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9901 if (PyErr_Occurred()) SWIG_fail
;
9903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9904 (arg1
)->Toggle(arg2
);
9906 wxPyEndAllowThreads(__tstate
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9909 Py_INCREF(Py_None
); resultobj
= Py_None
;
9916 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9917 PyObject
*resultobj
;
9918 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9920 PyObject
* obj0
= 0 ;
9922 (char *) "self", NULL
9925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
9926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9930 result
= (bool)(arg1
)->SelectAll();
9932 wxPyEndAllowThreads(__tstate
);
9933 if (PyErr_Occurred()) SWIG_fail
;
9935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9942 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9943 PyObject
*resultobj
;
9944 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9946 PyObject
* obj0
= 0 ;
9948 (char *) "self", NULL
9951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
9952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9956 result
= (bool)(arg1
)->DeselectAll();
9958 wxPyEndAllowThreads(__tstate
);
9959 if (PyErr_Occurred()) SWIG_fail
;
9961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9968 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9969 PyObject
*resultobj
;
9970 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9973 PyObject
* obj0
= 0 ;
9974 PyObject
* obj1
= 0 ;
9976 (char *) "self",(char *) "pt", NULL
9979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
9980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9984 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9988 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
9990 wxPyEndAllowThreads(__tstate
);
9991 if (PyErr_Occurred()) SWIG_fail
;
9993 Py_INCREF(Py_None
); resultobj
= Py_None
;
10000 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10001 PyObject
*resultobj
;
10002 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10005 PyObject
* obj0
= 0 ;
10006 PyObject
* obj1
= 0 ;
10007 PyObject
* obj2
= 0 ;
10008 char *kwnames
[] = {
10009 (char *) "self",(char *) "x",(char *) "y", NULL
10012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10015 arg2
= (int) SWIG_AsInt(obj1
);
10016 if (PyErr_Occurred()) SWIG_fail
;
10017 arg3
= (int) SWIG_AsInt(obj2
);
10018 if (PyErr_Occurred()) SWIG_fail
;
10020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10021 (arg1
)->SetMargins(arg2
,arg3
);
10023 wxPyEndAllowThreads(__tstate
);
10024 if (PyErr_Occurred()) SWIG_fail
;
10026 Py_INCREF(Py_None
); resultobj
= Py_None
;
10033 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10034 PyObject
*resultobj
;
10035 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10036 wxColour
*arg2
= 0 ;
10038 PyObject
* obj0
= 0 ;
10039 PyObject
* obj1
= 0 ;
10040 char *kwnames
[] = {
10041 (char *) "self",(char *) "col", NULL
10044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10049 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10053 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10055 wxPyEndAllowThreads(__tstate
);
10056 if (PyErr_Occurred()) SWIG_fail
;
10058 Py_INCREF(Py_None
); resultobj
= Py_None
;
10065 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10068 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10070 return Py_BuildValue((char *)"");
10072 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10073 PyObject
*resultobj
;
10074 wxWindow
*arg1
= (wxWindow
*) 0 ;
10075 int arg2
= (int) wxID_ANY
;
10076 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10077 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10078 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10079 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10080 long arg5
= (long) 0 ;
10081 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10082 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10083 wxPyHtmlListBox
*result
;
10086 bool temp6
= False
;
10087 PyObject
* obj0
= 0 ;
10088 PyObject
* obj1
= 0 ;
10089 PyObject
* obj2
= 0 ;
10090 PyObject
* obj3
= 0 ;
10091 PyObject
* obj4
= 0 ;
10092 PyObject
* obj5
= 0 ;
10093 char *kwnames
[] = {
10094 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10101 arg2
= (int) SWIG_AsInt(obj1
);
10102 if (PyErr_Occurred()) SWIG_fail
;
10107 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10113 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10117 arg5
= (long) SWIG_AsLong(obj4
);
10118 if (PyErr_Occurred()) SWIG_fail
;
10122 arg6
= wxString_in_helper(obj5
);
10123 if (arg6
== NULL
) SWIG_fail
;
10128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10129 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10131 wxPyEndAllowThreads(__tstate
);
10132 if (PyErr_Occurred()) SWIG_fail
;
10134 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10149 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10150 PyObject
*resultobj
;
10151 wxPyHtmlListBox
*result
;
10152 char *kwnames
[] = {
10156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10159 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10161 wxPyEndAllowThreads(__tstate
);
10162 if (PyErr_Occurred()) SWIG_fail
;
10164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10171 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10172 PyObject
*resultobj
;
10173 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10174 PyObject
*arg2
= (PyObject
*) 0 ;
10175 PyObject
*arg3
= (PyObject
*) 0 ;
10176 PyObject
* obj0
= 0 ;
10177 PyObject
* obj1
= 0 ;
10178 PyObject
* obj2
= 0 ;
10179 char *kwnames
[] = {
10180 (char *) "self",(char *) "self",(char *) "_class", NULL
10183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10190 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10192 wxPyEndAllowThreads(__tstate
);
10193 if (PyErr_Occurred()) SWIG_fail
;
10195 Py_INCREF(Py_None
); resultobj
= Py_None
;
10202 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10203 PyObject
*resultobj
;
10204 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10205 wxWindow
*arg2
= (wxWindow
*) 0 ;
10206 int arg3
= (int) wxID_ANY
;
10207 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10208 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10209 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10210 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10211 long arg6
= (long) 0 ;
10212 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10213 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10217 bool temp7
= False
;
10218 PyObject
* obj0
= 0 ;
10219 PyObject
* obj1
= 0 ;
10220 PyObject
* obj2
= 0 ;
10221 PyObject
* obj3
= 0 ;
10222 PyObject
* obj4
= 0 ;
10223 PyObject
* obj5
= 0 ;
10224 PyObject
* obj6
= 0 ;
10225 char *kwnames
[] = {
10226 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10235 arg3
= (int) SWIG_AsInt(obj2
);
10236 if (PyErr_Occurred()) SWIG_fail
;
10241 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10247 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10251 arg6
= (long) SWIG_AsLong(obj5
);
10252 if (PyErr_Occurred()) SWIG_fail
;
10256 arg7
= wxString_in_helper(obj6
);
10257 if (arg7
== NULL
) SWIG_fail
;
10262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10263 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10265 wxPyEndAllowThreads(__tstate
);
10266 if (PyErr_Occurred()) SWIG_fail
;
10268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10283 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10284 PyObject
*resultobj
;
10285 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10286 PyObject
* obj0
= 0 ;
10287 char *kwnames
[] = {
10288 (char *) "self", NULL
10291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10296 (arg1
)->RefreshAll();
10298 wxPyEndAllowThreads(__tstate
);
10299 if (PyErr_Occurred()) SWIG_fail
;
10301 Py_INCREF(Py_None
); resultobj
= Py_None
;
10308 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10309 PyObject
*resultobj
;
10310 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10312 PyObject
* obj0
= 0 ;
10313 PyObject
* obj1
= 0 ;
10314 char *kwnames
[] = {
10315 (char *) "self",(char *) "count", NULL
10318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10321 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10325 (arg1
)->SetItemCount(arg2
);
10327 wxPyEndAllowThreads(__tstate
);
10328 if (PyErr_Occurred()) SWIG_fail
;
10330 Py_INCREF(Py_None
); resultobj
= Py_None
;
10337 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10340 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10342 return Py_BuildValue((char *)"");
10344 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10345 PyObject
*resultobj
;
10346 wxTaskBarIcon
*result
;
10347 char *kwnames
[] = {
10351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10354 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10356 wxPyEndAllowThreads(__tstate
);
10357 if (PyErr_Occurred()) SWIG_fail
;
10359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10366 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10367 PyObject
*resultobj
;
10368 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10369 PyObject
* obj0
= 0 ;
10370 char *kwnames
[] = {
10371 (char *) "self", NULL
10374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10381 wxPyEndAllowThreads(__tstate
);
10382 if (PyErr_Occurred()) SWIG_fail
;
10384 Py_INCREF(Py_None
); resultobj
= Py_None
;
10391 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10392 PyObject
*resultobj
;
10393 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10395 PyObject
* obj0
= 0 ;
10396 char *kwnames
[] = {
10397 (char *) "self", NULL
10400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
10401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10405 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
10407 wxPyEndAllowThreads(__tstate
);
10408 if (PyErr_Occurred()) SWIG_fail
;
10410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10417 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10418 PyObject
*resultobj
;
10419 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10421 PyObject
* obj0
= 0 ;
10422 char *kwnames
[] = {
10423 (char *) "self", NULL
10426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
10427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10431 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
10433 wxPyEndAllowThreads(__tstate
);
10434 if (PyErr_Occurred()) SWIG_fail
;
10436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10443 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10444 PyObject
*resultobj
;
10445 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10447 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10448 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10450 bool temp3
= False
;
10451 PyObject
* obj0
= 0 ;
10452 PyObject
* obj1
= 0 ;
10453 PyObject
* obj2
= 0 ;
10454 char *kwnames
[] = {
10455 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10461 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
10462 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10464 if (arg2
== NULL
) {
10465 PyErr_SetString(PyExc_TypeError
,"null reference");
10470 arg3
= wxString_in_helper(obj2
);
10471 if (arg3
== NULL
) SWIG_fail
;
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
10479 wxPyEndAllowThreads(__tstate
);
10480 if (PyErr_Occurred()) SWIG_fail
;
10482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10497 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10498 PyObject
*resultobj
;
10499 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10501 PyObject
* obj0
= 0 ;
10502 char *kwnames
[] = {
10503 (char *) "self", NULL
10506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
10507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10511 result
= (bool)(arg1
)->RemoveIcon();
10513 wxPyEndAllowThreads(__tstate
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10523 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10524 PyObject
*resultobj
;
10525 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10526 wxMenu
*arg2
= (wxMenu
*) 0 ;
10528 PyObject
* obj0
= 0 ;
10529 PyObject
* obj1
= 0 ;
10530 char *kwnames
[] = {
10531 (char *) "self",(char *) "menu", NULL
10534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
10535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10537 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
10538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10541 result
= (bool)(arg1
)->PopupMenu(arg2
);
10543 wxPyEndAllowThreads(__tstate
);
10544 if (PyErr_Occurred()) SWIG_fail
;
10546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10553 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
10555 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10556 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
10558 return Py_BuildValue((char *)"");
10560 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10561 PyObject
*resultobj
;
10563 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
10564 wxTaskBarIconEvent
*result
;
10565 PyObject
* obj0
= 0 ;
10566 PyObject
* obj1
= 0 ;
10567 char *kwnames
[] = {
10568 (char *) "evtType",(char *) "tbIcon", NULL
10571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10572 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10573 if (PyErr_Occurred()) SWIG_fail
;
10574 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
10575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10578 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
10580 wxPyEndAllowThreads(__tstate
);
10581 if (PyErr_Occurred()) SWIG_fail
;
10583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
10590 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10593 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
10595 return Py_BuildValue((char *)"");
10597 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
10598 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
10603 static PyObject
*_wrap_FileSelectorPromptStr_get() {
10608 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10610 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10617 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
10618 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
10623 static PyObject
*_wrap_DirSelectorPromptStr_get() {
10628 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10630 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10637 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
10638 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
10643 static PyObject
*_wrap_DirDialogNameStr_get() {
10648 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10650 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10657 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
10658 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
10663 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
10668 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10670 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10677 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
10678 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
10683 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
10688 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10690 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10697 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
10698 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
10703 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
10708 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10710 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10717 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10718 PyObject
*resultobj
;
10719 wxColourData
*result
;
10720 char *kwnames
[] = {
10724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
10726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10727 result
= (wxColourData
*)new wxColourData();
10729 wxPyEndAllowThreads(__tstate
);
10730 if (PyErr_Occurred()) SWIG_fail
;
10732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
10739 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10740 PyObject
*resultobj
;
10741 wxColourData
*arg1
= (wxColourData
*) 0 ;
10742 PyObject
* obj0
= 0 ;
10743 char *kwnames
[] = {
10744 (char *) "self", NULL
10747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
10748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10754 wxPyEndAllowThreads(__tstate
);
10755 if (PyErr_Occurred()) SWIG_fail
;
10757 Py_INCREF(Py_None
); resultobj
= Py_None
;
10764 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10765 PyObject
*resultobj
;
10766 wxColourData
*arg1
= (wxColourData
*) 0 ;
10768 PyObject
* obj0
= 0 ;
10769 char *kwnames
[] = {
10770 (char *) "self", NULL
10773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
10774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10778 result
= (bool)(arg1
)->GetChooseFull();
10780 wxPyEndAllowThreads(__tstate
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10790 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10791 PyObject
*resultobj
;
10792 wxColourData
*arg1
= (wxColourData
*) 0 ;
10794 PyObject
* obj0
= 0 ;
10795 char *kwnames
[] = {
10796 (char *) "self", NULL
10799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
10800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10804 result
= (arg1
)->GetColour();
10806 wxPyEndAllowThreads(__tstate
);
10807 if (PyErr_Occurred()) SWIG_fail
;
10810 wxColour
* resultptr
;
10811 resultptr
= new wxColour((wxColour
&) result
);
10812 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10820 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10821 PyObject
*resultobj
;
10822 wxColourData
*arg1
= (wxColourData
*) 0 ;
10825 PyObject
* obj0
= 0 ;
10826 PyObject
* obj1
= 0 ;
10827 char *kwnames
[] = {
10828 (char *) "self",(char *) "i", NULL
10831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10834 arg2
= (int) SWIG_AsInt(obj1
);
10835 if (PyErr_Occurred()) SWIG_fail
;
10837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10838 result
= (arg1
)->GetCustomColour(arg2
);
10840 wxPyEndAllowThreads(__tstate
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10844 wxColour
* resultptr
;
10845 resultptr
= new wxColour((wxColour
&) result
);
10846 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10854 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10855 PyObject
*resultobj
;
10856 wxColourData
*arg1
= (wxColourData
*) 0 ;
10858 PyObject
* obj0
= 0 ;
10859 PyObject
* obj1
= 0 ;
10860 char *kwnames
[] = {
10861 (char *) "self",(char *) "flag", NULL
10864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
10865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10867 arg2
= (int) SWIG_AsInt(obj1
);
10868 if (PyErr_Occurred()) SWIG_fail
;
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 (arg1
)->SetChooseFull(arg2
);
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10876 Py_INCREF(Py_None
); resultobj
= Py_None
;
10883 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10884 PyObject
*resultobj
;
10885 wxColourData
*arg1
= (wxColourData
*) 0 ;
10886 wxColour
*arg2
= 0 ;
10888 PyObject
* obj0
= 0 ;
10889 PyObject
* obj1
= 0 ;
10890 char *kwnames
[] = {
10891 (char *) "self",(char *) "colour", NULL
10894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10899 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10903 (arg1
)->SetColour((wxColour
const &)*arg2
);
10905 wxPyEndAllowThreads(__tstate
);
10906 if (PyErr_Occurred()) SWIG_fail
;
10908 Py_INCREF(Py_None
); resultobj
= Py_None
;
10915 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10916 PyObject
*resultobj
;
10917 wxColourData
*arg1
= (wxColourData
*) 0 ;
10919 wxColour
*arg3
= 0 ;
10921 PyObject
* obj0
= 0 ;
10922 PyObject
* obj1
= 0 ;
10923 PyObject
* obj2
= 0 ;
10924 char *kwnames
[] = {
10925 (char *) "self",(char *) "i",(char *) "colour", NULL
10928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10931 arg2
= (int) SWIG_AsInt(obj1
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10935 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10939 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
10941 wxPyEndAllowThreads(__tstate
);
10942 if (PyErr_Occurred()) SWIG_fail
;
10944 Py_INCREF(Py_None
); resultobj
= Py_None
;
10951 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
10953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10954 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
10956 return Py_BuildValue((char *)"");
10958 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10959 PyObject
*resultobj
;
10960 wxWindow
*arg1
= (wxWindow
*) 0 ;
10961 wxColourData
*arg2
= (wxColourData
*) NULL
;
10962 wxColourDialog
*result
;
10963 PyObject
* obj0
= 0 ;
10964 PyObject
* obj1
= 0 ;
10965 char *kwnames
[] = {
10966 (char *) "parent",(char *) "data", NULL
10969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
10970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10973 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
10974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10978 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
10980 wxPyEndAllowThreads(__tstate
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
10990 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10991 PyObject
*resultobj
;
10992 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
10993 wxColourData
*result
;
10994 PyObject
* obj0
= 0 ;
10995 char *kwnames
[] = {
10996 (char *) "self", NULL
10999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11005 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11006 result
= (wxColourData
*) &_result_ref
;
11009 wxPyEndAllowThreads(__tstate
);
11010 if (PyErr_Occurred()) SWIG_fail
;
11012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11019 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11022 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11024 return Py_BuildValue((char *)"");
11026 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11027 PyObject
*resultobj
;
11028 wxWindow
*arg1
= (wxWindow
*) 0 ;
11029 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11030 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11031 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11032 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11033 long arg4
= (long) 0 ;
11034 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11035 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11036 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11037 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11038 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11039 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11040 wxDirDialog
*result
;
11041 bool temp2
= False
;
11042 bool temp3
= False
;
11045 bool temp7
= False
;
11046 PyObject
* obj0
= 0 ;
11047 PyObject
* obj1
= 0 ;
11048 PyObject
* obj2
= 0 ;
11049 PyObject
* obj3
= 0 ;
11050 PyObject
* obj4
= 0 ;
11051 PyObject
* obj5
= 0 ;
11052 PyObject
* obj6
= 0 ;
11053 char *kwnames
[] = {
11054 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11062 arg2
= wxString_in_helper(obj1
);
11063 if (arg2
== NULL
) SWIG_fail
;
11069 arg3
= wxString_in_helper(obj2
);
11070 if (arg3
== NULL
) SWIG_fail
;
11075 arg4
= (long) SWIG_AsLong(obj3
);
11076 if (PyErr_Occurred()) SWIG_fail
;
11081 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11087 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11092 arg7
= wxString_in_helper(obj6
);
11093 if (arg7
== NULL
) SWIG_fail
;
11098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11099 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11101 wxPyEndAllowThreads(__tstate
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11135 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11136 PyObject
*resultobj
;
11137 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11139 PyObject
* obj0
= 0 ;
11140 char *kwnames
[] = {
11141 (char *) "self", NULL
11144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11149 result
= (arg1
)->GetPath();
11151 wxPyEndAllowThreads(__tstate
);
11152 if (PyErr_Occurred()) SWIG_fail
;
11156 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11158 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11167 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11168 PyObject
*resultobj
;
11169 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11171 PyObject
* obj0
= 0 ;
11172 char *kwnames
[] = {
11173 (char *) "self", NULL
11176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11181 result
= (arg1
)->GetMessage();
11183 wxPyEndAllowThreads(__tstate
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11188 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11190 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11199 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11200 PyObject
*resultobj
;
11201 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11203 PyObject
* obj0
= 0 ;
11204 char *kwnames
[] = {
11205 (char *) "self", NULL
11208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11213 result
= (long)(arg1
)->GetStyle();
11215 wxPyEndAllowThreads(__tstate
);
11216 if (PyErr_Occurred()) SWIG_fail
;
11218 resultobj
= SWIG_FromLong((long)result
);
11225 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11226 PyObject
*resultobj
;
11227 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11228 wxString
*arg2
= 0 ;
11229 bool temp2
= False
;
11230 PyObject
* obj0
= 0 ;
11231 PyObject
* obj1
= 0 ;
11232 char *kwnames
[] = {
11233 (char *) "self",(char *) "message", NULL
11236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11240 arg2
= wxString_in_helper(obj1
);
11241 if (arg2
== NULL
) SWIG_fail
;
11245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11246 (arg1
)->SetMessage((wxString
const &)*arg2
);
11248 wxPyEndAllowThreads(__tstate
);
11249 if (PyErr_Occurred()) SWIG_fail
;
11251 Py_INCREF(Py_None
); resultobj
= Py_None
;
11266 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11267 PyObject
*resultobj
;
11268 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11269 wxString
*arg2
= 0 ;
11270 bool temp2
= False
;
11271 PyObject
* obj0
= 0 ;
11272 PyObject
* obj1
= 0 ;
11273 char *kwnames
[] = {
11274 (char *) "self",(char *) "path", NULL
11277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11281 arg2
= wxString_in_helper(obj1
);
11282 if (arg2
== NULL
) SWIG_fail
;
11286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11287 (arg1
)->SetPath((wxString
const &)*arg2
);
11289 wxPyEndAllowThreads(__tstate
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11292 Py_INCREF(Py_None
); resultobj
= Py_None
;
11307 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11309 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11310 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11312 return Py_BuildValue((char *)"");
11314 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11315 PyObject
*resultobj
;
11316 wxWindow
*arg1
= (wxWindow
*) 0 ;
11317 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11318 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11319 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11320 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11321 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11322 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11323 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11324 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11325 long arg6
= (long) 0 ;
11326 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11327 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11328 wxFileDialog
*result
;
11329 bool temp2
= False
;
11330 bool temp3
= False
;
11331 bool temp4
= False
;
11332 bool temp5
= False
;
11334 PyObject
* obj0
= 0 ;
11335 PyObject
* obj1
= 0 ;
11336 PyObject
* obj2
= 0 ;
11337 PyObject
* obj3
= 0 ;
11338 PyObject
* obj4
= 0 ;
11339 PyObject
* obj5
= 0 ;
11340 PyObject
* obj6
= 0 ;
11341 char *kwnames
[] = {
11342 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11350 arg2
= wxString_in_helper(obj1
);
11351 if (arg2
== NULL
) SWIG_fail
;
11357 arg3
= wxString_in_helper(obj2
);
11358 if (arg3
== NULL
) SWIG_fail
;
11364 arg4
= wxString_in_helper(obj3
);
11365 if (arg4
== NULL
) SWIG_fail
;
11371 arg5
= wxString_in_helper(obj4
);
11372 if (arg5
== NULL
) SWIG_fail
;
11377 arg6
= (long) SWIG_AsLong(obj5
);
11378 if (PyErr_Occurred()) SWIG_fail
;
11383 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11388 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11390 wxPyEndAllowThreads(__tstate
);
11391 if (PyErr_Occurred()) SWIG_fail
;
11393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11432 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11433 PyObject
*resultobj
;
11434 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11435 wxString
*arg2
= 0 ;
11436 bool temp2
= False
;
11437 PyObject
* obj0
= 0 ;
11438 PyObject
* obj1
= 0 ;
11439 char *kwnames
[] = {
11440 (char *) "self",(char *) "message", NULL
11443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11447 arg2
= wxString_in_helper(obj1
);
11448 if (arg2
== NULL
) SWIG_fail
;
11452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11453 (arg1
)->SetMessage((wxString
const &)*arg2
);
11455 wxPyEndAllowThreads(__tstate
);
11456 if (PyErr_Occurred()) SWIG_fail
;
11458 Py_INCREF(Py_None
); resultobj
= Py_None
;
11473 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11474 PyObject
*resultobj
;
11475 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11476 wxString
*arg2
= 0 ;
11477 bool temp2
= False
;
11478 PyObject
* obj0
= 0 ;
11479 PyObject
* obj1
= 0 ;
11480 char *kwnames
[] = {
11481 (char *) "self",(char *) "path", NULL
11484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11488 arg2
= wxString_in_helper(obj1
);
11489 if (arg2
== NULL
) SWIG_fail
;
11493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11494 (arg1
)->SetPath((wxString
const &)*arg2
);
11496 wxPyEndAllowThreads(__tstate
);
11497 if (PyErr_Occurred()) SWIG_fail
;
11499 Py_INCREF(Py_None
); resultobj
= Py_None
;
11514 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11515 PyObject
*resultobj
;
11516 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11517 wxString
*arg2
= 0 ;
11518 bool temp2
= False
;
11519 PyObject
* obj0
= 0 ;
11520 PyObject
* obj1
= 0 ;
11521 char *kwnames
[] = {
11522 (char *) "self",(char *) "dir", NULL
11525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
11526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11529 arg2
= wxString_in_helper(obj1
);
11530 if (arg2
== NULL
) SWIG_fail
;
11534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11535 (arg1
)->SetDirectory((wxString
const &)*arg2
);
11537 wxPyEndAllowThreads(__tstate
);
11538 if (PyErr_Occurred()) SWIG_fail
;
11540 Py_INCREF(Py_None
); resultobj
= Py_None
;
11555 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11556 PyObject
*resultobj
;
11557 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11558 wxString
*arg2
= 0 ;
11559 bool temp2
= False
;
11560 PyObject
* obj0
= 0 ;
11561 PyObject
* obj1
= 0 ;
11562 char *kwnames
[] = {
11563 (char *) "self",(char *) "name", NULL
11566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11570 arg2
= wxString_in_helper(obj1
);
11571 if (arg2
== NULL
) SWIG_fail
;
11575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11576 (arg1
)->SetFilename((wxString
const &)*arg2
);
11578 wxPyEndAllowThreads(__tstate
);
11579 if (PyErr_Occurred()) SWIG_fail
;
11581 Py_INCREF(Py_None
); resultobj
= Py_None
;
11596 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11597 PyObject
*resultobj
;
11598 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11599 wxString
*arg2
= 0 ;
11600 bool temp2
= False
;
11601 PyObject
* obj0
= 0 ;
11602 PyObject
* obj1
= 0 ;
11603 char *kwnames
[] = {
11604 (char *) "self",(char *) "wildCard", NULL
11607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
11608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11611 arg2
= wxString_in_helper(obj1
);
11612 if (arg2
== NULL
) SWIG_fail
;
11616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11617 (arg1
)->SetWildcard((wxString
const &)*arg2
);
11619 wxPyEndAllowThreads(__tstate
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11622 Py_INCREF(Py_None
); resultobj
= Py_None
;
11637 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11638 PyObject
*resultobj
;
11639 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11641 PyObject
* obj0
= 0 ;
11642 PyObject
* obj1
= 0 ;
11643 char *kwnames
[] = {
11644 (char *) "self",(char *) "style", NULL
11647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11650 arg2
= (long) SWIG_AsLong(obj1
);
11651 if (PyErr_Occurred()) SWIG_fail
;
11653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11654 (arg1
)->SetStyle(arg2
);
11656 wxPyEndAllowThreads(__tstate
);
11657 if (PyErr_Occurred()) SWIG_fail
;
11659 Py_INCREF(Py_None
); resultobj
= Py_None
;
11666 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11667 PyObject
*resultobj
;
11668 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11670 PyObject
* obj0
= 0 ;
11671 PyObject
* obj1
= 0 ;
11672 char *kwnames
[] = {
11673 (char *) "self",(char *) "filterIndex", NULL
11676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
11677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11679 arg2
= (int) SWIG_AsInt(obj1
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11683 (arg1
)->SetFilterIndex(arg2
);
11685 wxPyEndAllowThreads(__tstate
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11688 Py_INCREF(Py_None
); resultobj
= Py_None
;
11695 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11696 PyObject
*resultobj
;
11697 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11699 PyObject
* obj0
= 0 ;
11700 char *kwnames
[] = {
11701 (char *) "self", NULL
11704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11709 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
11711 wxPyEndAllowThreads(__tstate
);
11712 if (PyErr_Occurred()) SWIG_fail
;
11716 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11718 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11727 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11728 PyObject
*resultobj
;
11729 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11731 PyObject
* obj0
= 0 ;
11732 char *kwnames
[] = {
11733 (char *) "self", NULL
11736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11741 result
= ((wxFileDialog
const *)arg1
)->GetPath();
11743 wxPyEndAllowThreads(__tstate
);
11744 if (PyErr_Occurred()) SWIG_fail
;
11748 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11750 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11759 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11760 PyObject
*resultobj
;
11761 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11763 PyObject
* obj0
= 0 ;
11764 char *kwnames
[] = {
11765 (char *) "self", NULL
11768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
11769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11773 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
11775 wxPyEndAllowThreads(__tstate
);
11776 if (PyErr_Occurred()) SWIG_fail
;
11780 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11782 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11791 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11792 PyObject
*resultobj
;
11793 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11795 PyObject
* obj0
= 0 ;
11796 char *kwnames
[] = {
11797 (char *) "self", NULL
11800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
11801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11805 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
11807 wxPyEndAllowThreads(__tstate
);
11808 if (PyErr_Occurred()) SWIG_fail
;
11812 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11814 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11823 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11824 PyObject
*resultobj
;
11825 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11827 PyObject
* obj0
= 0 ;
11828 char *kwnames
[] = {
11829 (char *) "self", NULL
11832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
11833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11837 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
11839 wxPyEndAllowThreads(__tstate
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11844 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11846 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11855 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11856 PyObject
*resultobj
;
11857 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11859 PyObject
* obj0
= 0 ;
11860 char *kwnames
[] = {
11861 (char *) "self", NULL
11864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11869 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
11871 wxPyEndAllowThreads(__tstate
);
11872 if (PyErr_Occurred()) SWIG_fail
;
11874 resultobj
= SWIG_FromLong((long)result
);
11881 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11882 PyObject
*resultobj
;
11883 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11885 PyObject
* obj0
= 0 ;
11886 char *kwnames
[] = {
11887 (char *) "self", NULL
11890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
11891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11895 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
11897 wxPyEndAllowThreads(__tstate
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11900 resultobj
= SWIG_FromInt((int)result
);
11907 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11908 PyObject
*resultobj
;
11909 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11911 PyObject
* obj0
= 0 ;
11912 char *kwnames
[] = {
11913 (char *) "self", NULL
11916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
11917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11921 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
11923 wxPyEndAllowThreads(__tstate
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11926 resultobj
= result
;
11933 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11934 PyObject
*resultobj
;
11935 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11937 PyObject
* obj0
= 0 ;
11938 char *kwnames
[] = {
11939 (char *) "self", NULL
11942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
11943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11947 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
11949 wxPyEndAllowThreads(__tstate
);
11950 if (PyErr_Occurred()) SWIG_fail
;
11952 resultobj
= result
;
11959 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11961 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11962 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
11964 return Py_BuildValue((char *)"");
11966 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11967 PyObject
*resultobj
;
11968 wxWindow
*arg1
= (wxWindow
*) 0 ;
11969 wxString
*arg2
= 0 ;
11970 wxString
*arg3
= 0 ;
11971 int arg4
= (int) 0 ;
11972 wxString
*arg5
= (wxString
*) 0 ;
11973 long arg6
= (long) wxCHOICEDLG_STYLE
;
11974 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11975 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11976 wxMultiChoiceDialog
*result
;
11977 bool temp2
= False
;
11978 bool temp3
= False
;
11980 PyObject
* obj0
= 0 ;
11981 PyObject
* obj1
= 0 ;
11982 PyObject
* obj2
= 0 ;
11983 PyObject
* obj3
= 0 ;
11984 PyObject
* obj4
= 0 ;
11985 PyObject
* obj5
= 0 ;
11986 char *kwnames
[] = {
11987 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11994 arg2
= wxString_in_helper(obj1
);
11995 if (arg2
== NULL
) SWIG_fail
;
11999 arg3
= wxString_in_helper(obj2
);
12000 if (arg3
== NULL
) SWIG_fail
;
12005 arg4
= PyList_Size(obj3
);
12006 arg5
= wxString_LIST_helper(obj3
);
12007 if (arg5
== NULL
) SWIG_fail
;
12011 arg6
= (long) SWIG_AsLong(obj4
);
12012 if (PyErr_Occurred()) SWIG_fail
;
12017 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12022 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12024 wxPyEndAllowThreads(__tstate
);
12025 if (PyErr_Occurred()) SWIG_fail
;
12027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12037 if (arg5
) delete [] arg5
;
12050 if (arg5
) delete [] arg5
;
12056 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12057 PyObject
*resultobj
;
12058 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12059 wxArrayInt
*arg2
= 0 ;
12060 bool temp2
= False
;
12061 PyObject
* obj0
= 0 ;
12062 PyObject
* obj1
= 0 ;
12063 char *kwnames
[] = {
12064 (char *) "self",(char *) "selections", NULL
12067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12071 if (! PySequence_Check(obj1
)) {
12072 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12075 arg2
= new wxArrayInt
;
12077 int i
, len
=PySequence_Length(obj1
);
12078 for (i
=0; i
<len
; i
++) {
12079 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12080 PyObject
* number
= PyNumber_Int(item
);
12081 arg2
->Add(PyInt_AS_LONG(number
));
12087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12088 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12090 wxPyEndAllowThreads(__tstate
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12093 Py_INCREF(Py_None
); resultobj
= Py_None
;
12095 if (temp2
) delete arg2
;
12100 if (temp2
) delete arg2
;
12106 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12107 PyObject
*resultobj
;
12108 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12110 PyObject
* obj0
= 0 ;
12111 char *kwnames
[] = {
12112 (char *) "self", NULL
12115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12120 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12122 wxPyEndAllowThreads(__tstate
);
12123 if (PyErr_Occurred()) SWIG_fail
;
12125 resultobj
= result
;
12132 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12134 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12135 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12137 return Py_BuildValue((char *)"");
12139 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12140 PyObject
*resultobj
;
12141 wxWindow
*arg1
= (wxWindow
*) 0 ;
12142 wxString
*arg2
= 0 ;
12143 wxString
*arg3
= 0 ;
12145 wxString
*arg5
= (wxString
*) 0 ;
12146 long arg6
= (long) wxCHOICEDLG_STYLE
;
12147 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12148 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12149 wxSingleChoiceDialog
*result
;
12150 bool temp2
= False
;
12151 bool temp3
= False
;
12153 PyObject
* obj0
= 0 ;
12154 PyObject
* obj1
= 0 ;
12155 PyObject
* obj2
= 0 ;
12156 PyObject
* obj3
= 0 ;
12157 PyObject
* obj4
= 0 ;
12158 PyObject
* obj5
= 0 ;
12159 char *kwnames
[] = {
12160 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12167 arg2
= wxString_in_helper(obj1
);
12168 if (arg2
== NULL
) SWIG_fail
;
12172 arg3
= wxString_in_helper(obj2
);
12173 if (arg3
== NULL
) SWIG_fail
;
12177 arg4
= PyList_Size(obj3
);
12178 arg5
= wxString_LIST_helper(obj3
);
12179 if (arg5
== NULL
) SWIG_fail
;
12182 arg6
= (long) SWIG_AsLong(obj4
);
12183 if (PyErr_Occurred()) SWIG_fail
;
12188 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12193 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12195 wxPyEndAllowThreads(__tstate
);
12196 if (PyErr_Occurred()) SWIG_fail
;
12198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12208 if (arg5
) delete [] arg5
;
12221 if (arg5
) delete [] arg5
;
12227 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12228 PyObject
*resultobj
;
12229 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12231 PyObject
* obj0
= 0 ;
12232 char *kwnames
[] = {
12233 (char *) "self", NULL
12236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12241 result
= (int)(arg1
)->GetSelection();
12243 wxPyEndAllowThreads(__tstate
);
12244 if (PyErr_Occurred()) SWIG_fail
;
12246 resultobj
= SWIG_FromInt((int)result
);
12253 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12254 PyObject
*resultobj
;
12255 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12257 PyObject
* obj0
= 0 ;
12258 char *kwnames
[] = {
12259 (char *) "self", NULL
12262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12267 result
= (arg1
)->GetStringSelection();
12269 wxPyEndAllowThreads(__tstate
);
12270 if (PyErr_Occurred()) SWIG_fail
;
12274 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12276 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12285 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12286 PyObject
*resultobj
;
12287 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12289 PyObject
* obj0
= 0 ;
12290 PyObject
* obj1
= 0 ;
12291 char *kwnames
[] = {
12292 (char *) "self",(char *) "sel", NULL
12295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12298 arg2
= (int) SWIG_AsInt(obj1
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12302 (arg1
)->SetSelection(arg2
);
12304 wxPyEndAllowThreads(__tstate
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12307 Py_INCREF(Py_None
); resultobj
= Py_None
;
12314 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12317 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12319 return Py_BuildValue((char *)"");
12321 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12322 PyObject
*resultobj
;
12323 wxWindow
*arg1
= (wxWindow
*) 0 ;
12324 wxString
*arg2
= 0 ;
12325 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12326 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12327 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12328 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12329 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12330 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12331 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12332 wxTextEntryDialog
*result
;
12333 bool temp2
= False
;
12334 bool temp3
= False
;
12335 bool temp4
= False
;
12337 PyObject
* obj0
= 0 ;
12338 PyObject
* obj1
= 0 ;
12339 PyObject
* obj2
= 0 ;
12340 PyObject
* obj3
= 0 ;
12341 PyObject
* obj4
= 0 ;
12342 PyObject
* obj5
= 0 ;
12343 char *kwnames
[] = {
12344 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12351 arg2
= wxString_in_helper(obj1
);
12352 if (arg2
== NULL
) SWIG_fail
;
12357 arg3
= wxString_in_helper(obj2
);
12358 if (arg3
== NULL
) SWIG_fail
;
12364 arg4
= wxString_in_helper(obj3
);
12365 if (arg4
== NULL
) SWIG_fail
;
12370 arg5
= (long) SWIG_AsLong(obj4
);
12371 if (PyErr_Occurred()) SWIG_fail
;
12376 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12381 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12383 wxPyEndAllowThreads(__tstate
);
12384 if (PyErr_Occurred()) SWIG_fail
;
12386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12417 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12418 PyObject
*resultobj
;
12419 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12421 PyObject
* obj0
= 0 ;
12422 char *kwnames
[] = {
12423 (char *) "self", NULL
12426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12431 result
= (arg1
)->GetValue();
12433 wxPyEndAllowThreads(__tstate
);
12434 if (PyErr_Occurred()) SWIG_fail
;
12438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12449 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12450 PyObject
*resultobj
;
12451 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12452 wxString
*arg2
= 0 ;
12453 bool temp2
= False
;
12454 PyObject
* obj0
= 0 ;
12455 PyObject
* obj1
= 0 ;
12456 char *kwnames
[] = {
12457 (char *) "self",(char *) "value", NULL
12460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12464 arg2
= wxString_in_helper(obj1
);
12465 if (arg2
== NULL
) SWIG_fail
;
12469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12470 (arg1
)->SetValue((wxString
const &)*arg2
);
12472 wxPyEndAllowThreads(__tstate
);
12473 if (PyErr_Occurred()) SWIG_fail
;
12475 Py_INCREF(Py_None
); resultobj
= Py_None
;
12490 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12492 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12493 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12495 return Py_BuildValue((char *)"");
12497 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12498 PyObject
*resultobj
;
12499 wxFontData
*result
;
12500 char *kwnames
[] = {
12504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
12506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12507 result
= (wxFontData
*)new wxFontData();
12509 wxPyEndAllowThreads(__tstate
);
12510 if (PyErr_Occurred()) SWIG_fail
;
12512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
12519 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12520 PyObject
*resultobj
;
12521 wxFontData
*arg1
= (wxFontData
*) 0 ;
12522 PyObject
* obj0
= 0 ;
12523 char *kwnames
[] = {
12524 (char *) "self", NULL
12527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
12528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12534 wxPyEndAllowThreads(__tstate
);
12535 if (PyErr_Occurred()) SWIG_fail
;
12537 Py_INCREF(Py_None
); resultobj
= Py_None
;
12544 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12545 PyObject
*resultobj
;
12546 wxFontData
*arg1
= (wxFontData
*) 0 ;
12548 PyObject
* obj0
= 0 ;
12549 PyObject
* obj1
= 0 ;
12550 char *kwnames
[] = {
12551 (char *) "self",(char *) "enable", NULL
12554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
12555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12557 arg2
= (bool) SWIG_AsBool(obj1
);
12558 if (PyErr_Occurred()) SWIG_fail
;
12560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12561 (arg1
)->EnableEffects(arg2
);
12563 wxPyEndAllowThreads(__tstate
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12566 Py_INCREF(Py_None
); resultobj
= Py_None
;
12573 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12574 PyObject
*resultobj
;
12575 wxFontData
*arg1
= (wxFontData
*) 0 ;
12577 PyObject
* obj0
= 0 ;
12578 char *kwnames
[] = {
12579 (char *) "self", NULL
12582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
12583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12587 result
= (bool)(arg1
)->GetAllowSymbols();
12589 wxPyEndAllowThreads(__tstate
);
12590 if (PyErr_Occurred()) SWIG_fail
;
12592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12599 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12600 PyObject
*resultobj
;
12601 wxFontData
*arg1
= (wxFontData
*) 0 ;
12603 PyObject
* obj0
= 0 ;
12604 char *kwnames
[] = {
12605 (char *) "self", NULL
12608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
12609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12613 result
= (arg1
)->GetColour();
12615 wxPyEndAllowThreads(__tstate
);
12616 if (PyErr_Occurred()) SWIG_fail
;
12619 wxColour
* resultptr
;
12620 resultptr
= new wxColour((wxColour
&) result
);
12621 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12629 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12630 PyObject
*resultobj
;
12631 wxFontData
*arg1
= (wxFontData
*) 0 ;
12633 PyObject
* obj0
= 0 ;
12634 char *kwnames
[] = {
12635 (char *) "self", NULL
12638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
12639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12643 result
= (arg1
)->GetChosenFont();
12645 wxPyEndAllowThreads(__tstate
);
12646 if (PyErr_Occurred()) SWIG_fail
;
12649 wxFont
* resultptr
;
12650 resultptr
= new wxFont((wxFont
&) result
);
12651 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12659 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12660 PyObject
*resultobj
;
12661 wxFontData
*arg1
= (wxFontData
*) 0 ;
12663 PyObject
* obj0
= 0 ;
12664 char *kwnames
[] = {
12665 (char *) "self", NULL
12668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
12669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12673 result
= (bool)(arg1
)->GetEnableEffects();
12675 wxPyEndAllowThreads(__tstate
);
12676 if (PyErr_Occurred()) SWIG_fail
;
12678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12685 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12686 PyObject
*resultobj
;
12687 wxFontData
*arg1
= (wxFontData
*) 0 ;
12689 PyObject
* obj0
= 0 ;
12690 char *kwnames
[] = {
12691 (char *) "self", NULL
12694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
12695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12699 result
= (arg1
)->GetInitialFont();
12701 wxPyEndAllowThreads(__tstate
);
12702 if (PyErr_Occurred()) SWIG_fail
;
12705 wxFont
* resultptr
;
12706 resultptr
= new wxFont((wxFont
&) result
);
12707 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12715 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12716 PyObject
*resultobj
;
12717 wxFontData
*arg1
= (wxFontData
*) 0 ;
12719 PyObject
* obj0
= 0 ;
12720 char *kwnames
[] = {
12721 (char *) "self", NULL
12724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
12725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12729 result
= (bool)(arg1
)->GetShowHelp();
12731 wxPyEndAllowThreads(__tstate
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12741 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12742 PyObject
*resultobj
;
12743 wxFontData
*arg1
= (wxFontData
*) 0 ;
12745 PyObject
* obj0
= 0 ;
12746 PyObject
* obj1
= 0 ;
12747 char *kwnames
[] = {
12748 (char *) "self",(char *) "allowSymbols", NULL
12751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
12752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12754 arg2
= (bool) SWIG_AsBool(obj1
);
12755 if (PyErr_Occurred()) SWIG_fail
;
12757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12758 (arg1
)->SetAllowSymbols(arg2
);
12760 wxPyEndAllowThreads(__tstate
);
12761 if (PyErr_Occurred()) SWIG_fail
;
12763 Py_INCREF(Py_None
); resultobj
= Py_None
;
12770 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12771 PyObject
*resultobj
;
12772 wxFontData
*arg1
= (wxFontData
*) 0 ;
12774 PyObject
* obj0
= 0 ;
12775 PyObject
* obj1
= 0 ;
12776 char *kwnames
[] = {
12777 (char *) "self",(char *) "font", NULL
12780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12784 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12786 if (arg2
== NULL
) {
12787 PyErr_SetString(PyExc_TypeError
,"null reference");
12791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12792 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
12794 wxPyEndAllowThreads(__tstate
);
12795 if (PyErr_Occurred()) SWIG_fail
;
12797 Py_INCREF(Py_None
); resultobj
= Py_None
;
12804 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12805 PyObject
*resultobj
;
12806 wxFontData
*arg1
= (wxFontData
*) 0 ;
12807 wxColour
*arg2
= 0 ;
12809 PyObject
* obj0
= 0 ;
12810 PyObject
* obj1
= 0 ;
12811 char *kwnames
[] = {
12812 (char *) "self",(char *) "colour", NULL
12815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12820 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12824 (arg1
)->SetColour((wxColour
const &)*arg2
);
12826 wxPyEndAllowThreads(__tstate
);
12827 if (PyErr_Occurred()) SWIG_fail
;
12829 Py_INCREF(Py_None
); resultobj
= Py_None
;
12836 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12837 PyObject
*resultobj
;
12838 wxFontData
*arg1
= (wxFontData
*) 0 ;
12840 PyObject
* obj0
= 0 ;
12841 PyObject
* obj1
= 0 ;
12842 char *kwnames
[] = {
12843 (char *) "self",(char *) "font", NULL
12846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12849 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12850 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12852 if (arg2
== NULL
) {
12853 PyErr_SetString(PyExc_TypeError
,"null reference");
12857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12858 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
12860 wxPyEndAllowThreads(__tstate
);
12861 if (PyErr_Occurred()) SWIG_fail
;
12863 Py_INCREF(Py_None
); resultobj
= Py_None
;
12870 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12871 PyObject
*resultobj
;
12872 wxFontData
*arg1
= (wxFontData
*) 0 ;
12875 PyObject
* obj0
= 0 ;
12876 PyObject
* obj1
= 0 ;
12877 PyObject
* obj2
= 0 ;
12878 char *kwnames
[] = {
12879 (char *) "self",(char *) "min",(char *) "max", NULL
12882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12885 arg2
= (int) SWIG_AsInt(obj1
);
12886 if (PyErr_Occurred()) SWIG_fail
;
12887 arg3
= (int) SWIG_AsInt(obj2
);
12888 if (PyErr_Occurred()) SWIG_fail
;
12890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12891 (arg1
)->SetRange(arg2
,arg3
);
12893 wxPyEndAllowThreads(__tstate
);
12894 if (PyErr_Occurred()) SWIG_fail
;
12896 Py_INCREF(Py_None
); resultobj
= Py_None
;
12903 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12904 PyObject
*resultobj
;
12905 wxFontData
*arg1
= (wxFontData
*) 0 ;
12907 PyObject
* obj0
= 0 ;
12908 PyObject
* obj1
= 0 ;
12909 char *kwnames
[] = {
12910 (char *) "self",(char *) "showHelp", NULL
12913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
12914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12916 arg2
= (bool) SWIG_AsBool(obj1
);
12917 if (PyErr_Occurred()) SWIG_fail
;
12919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12920 (arg1
)->SetShowHelp(arg2
);
12922 wxPyEndAllowThreads(__tstate
);
12923 if (PyErr_Occurred()) SWIG_fail
;
12925 Py_INCREF(Py_None
); resultobj
= Py_None
;
12932 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
12934 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12935 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
12937 return Py_BuildValue((char *)"");
12939 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12940 PyObject
*resultobj
;
12941 wxWindow
*arg1
= (wxWindow
*) 0 ;
12942 wxFontData
*arg2
= 0 ;
12943 wxFontDialog
*result
;
12944 PyObject
* obj0
= 0 ;
12945 PyObject
* obj1
= 0 ;
12946 char *kwnames
[] = {
12947 (char *) "parent",(char *) "data", NULL
12950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
12951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12953 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
12954 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12956 if (arg2
== NULL
) {
12957 PyErr_SetString(PyExc_TypeError
,"null reference");
12961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12962 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
12964 wxPyEndAllowThreads(__tstate
);
12965 if (PyErr_Occurred()) SWIG_fail
;
12967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
12974 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12975 PyObject
*resultobj
;
12976 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
12977 wxFontData
*result
;
12978 PyObject
* obj0
= 0 ;
12979 char *kwnames
[] = {
12980 (char *) "self", NULL
12983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
12984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
12985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12989 wxFontData
&_result_ref
= (arg1
)->GetFontData();
12990 result
= (wxFontData
*) &_result_ref
;
12993 wxPyEndAllowThreads(__tstate
);
12994 if (PyErr_Occurred()) SWIG_fail
;
12996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13003 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13005 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13006 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13008 return Py_BuildValue((char *)"");
13010 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13011 PyObject
*resultobj
;
13012 wxWindow
*arg1
= (wxWindow
*) 0 ;
13013 wxString
*arg2
= 0 ;
13014 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13015 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13016 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13017 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13018 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13019 wxMessageDialog
*result
;
13020 bool temp2
= False
;
13021 bool temp3
= False
;
13023 PyObject
* obj0
= 0 ;
13024 PyObject
* obj1
= 0 ;
13025 PyObject
* obj2
= 0 ;
13026 PyObject
* obj3
= 0 ;
13027 PyObject
* obj4
= 0 ;
13028 char *kwnames
[] = {
13029 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13036 arg2
= wxString_in_helper(obj1
);
13037 if (arg2
== NULL
) SWIG_fail
;
13042 arg3
= wxString_in_helper(obj2
);
13043 if (arg3
== NULL
) SWIG_fail
;
13048 arg4
= (long) SWIG_AsLong(obj3
);
13049 if (PyErr_Occurred()) SWIG_fail
;
13054 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13059 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13061 wxPyEndAllowThreads(__tstate
);
13062 if (PyErr_Occurred()) SWIG_fail
;
13064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13087 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13090 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13092 return Py_BuildValue((char *)"");
13094 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13095 PyObject
*resultobj
;
13096 wxString
*arg1
= 0 ;
13097 wxString
*arg2
= 0 ;
13098 int arg3
= (int) 100 ;
13099 wxWindow
*arg4
= (wxWindow
*) NULL
;
13100 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13101 wxProgressDialog
*result
;
13102 bool temp1
= False
;
13103 bool temp2
= False
;
13104 PyObject
* obj0
= 0 ;
13105 PyObject
* obj1
= 0 ;
13106 PyObject
* obj2
= 0 ;
13107 PyObject
* obj3
= 0 ;
13108 PyObject
* obj4
= 0 ;
13109 char *kwnames
[] = {
13110 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13115 arg1
= wxString_in_helper(obj0
);
13116 if (arg1
== NULL
) SWIG_fail
;
13120 arg2
= wxString_in_helper(obj1
);
13121 if (arg2
== NULL
) SWIG_fail
;
13125 arg3
= (int) SWIG_AsInt(obj2
);
13126 if (PyErr_Occurred()) SWIG_fail
;
13129 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13133 arg5
= (int) SWIG_AsInt(obj4
);
13134 if (PyErr_Occurred()) SWIG_fail
;
13137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13138 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13140 wxPyEndAllowThreads(__tstate
);
13141 if (PyErr_Occurred()) SWIG_fail
;
13143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13166 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13167 PyObject
*resultobj
;
13168 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13170 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13171 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13173 bool temp3
= False
;
13174 PyObject
* obj0
= 0 ;
13175 PyObject
* obj1
= 0 ;
13176 PyObject
* obj2
= 0 ;
13177 char *kwnames
[] = {
13178 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13184 arg2
= (int) SWIG_AsInt(obj1
);
13185 if (PyErr_Occurred()) SWIG_fail
;
13188 arg3
= wxString_in_helper(obj2
);
13189 if (arg3
== NULL
) SWIG_fail
;
13194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13195 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13197 wxPyEndAllowThreads(__tstate
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13215 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13216 PyObject
*resultobj
;
13217 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13218 PyObject
* obj0
= 0 ;
13219 char *kwnames
[] = {
13220 (char *) "self", NULL
13223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13230 wxPyEndAllowThreads(__tstate
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13233 Py_INCREF(Py_None
); resultobj
= Py_None
;
13240 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13242 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13243 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13245 return Py_BuildValue((char *)"");
13247 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13248 PyObject
*resultobj
;
13249 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13250 int arg2
= (int) 0 ;
13251 wxFindDialogEvent
*result
;
13252 PyObject
* obj0
= 0 ;
13253 PyObject
* obj1
= 0 ;
13254 char *kwnames
[] = {
13255 (char *) "commandType",(char *) "id", NULL
13258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13260 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13261 if (PyErr_Occurred()) SWIG_fail
;
13264 arg2
= (int) SWIG_AsInt(obj1
);
13265 if (PyErr_Occurred()) SWIG_fail
;
13268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13269 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13281 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13282 PyObject
*resultobj
;
13283 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13285 PyObject
* obj0
= 0 ;
13286 char *kwnames
[] = {
13287 (char *) "self", NULL
13290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13295 result
= (int)(arg1
)->GetFlags();
13297 wxPyEndAllowThreads(__tstate
);
13298 if (PyErr_Occurred()) SWIG_fail
;
13300 resultobj
= SWIG_FromInt((int)result
);
13307 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13308 PyObject
*resultobj
;
13309 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13311 PyObject
* obj0
= 0 ;
13312 char *kwnames
[] = {
13313 (char *) "self", NULL
13316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13322 wxString
const &_result_ref
= (arg1
)->GetFindString();
13323 result
= (wxString
*) &_result_ref
;
13326 wxPyEndAllowThreads(__tstate
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13331 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13333 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13342 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13343 PyObject
*resultobj
;
13344 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13346 PyObject
* obj0
= 0 ;
13347 char *kwnames
[] = {
13348 (char *) "self", NULL
13351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13357 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13358 result
= (wxString
*) &_result_ref
;
13361 wxPyEndAllowThreads(__tstate
);
13362 if (PyErr_Occurred()) SWIG_fail
;
13366 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13368 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13377 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13378 PyObject
*resultobj
;
13379 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13380 wxFindReplaceDialog
*result
;
13381 PyObject
* obj0
= 0 ;
13382 char *kwnames
[] = {
13383 (char *) "self", NULL
13386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13391 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13393 wxPyEndAllowThreads(__tstate
);
13394 if (PyErr_Occurred()) SWIG_fail
;
13396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13403 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13404 PyObject
*resultobj
;
13405 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13407 PyObject
* obj0
= 0 ;
13408 PyObject
* obj1
= 0 ;
13409 char *kwnames
[] = {
13410 (char *) "self",(char *) "flags", NULL
13413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13416 arg2
= (int) SWIG_AsInt(obj1
);
13417 if (PyErr_Occurred()) SWIG_fail
;
13419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13420 (arg1
)->SetFlags(arg2
);
13422 wxPyEndAllowThreads(__tstate
);
13423 if (PyErr_Occurred()) SWIG_fail
;
13425 Py_INCREF(Py_None
); resultobj
= Py_None
;
13432 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13433 PyObject
*resultobj
;
13434 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13435 wxString
*arg2
= 0 ;
13436 bool temp2
= False
;
13437 PyObject
* obj0
= 0 ;
13438 PyObject
* obj1
= 0 ;
13439 char *kwnames
[] = {
13440 (char *) "self",(char *) "str", NULL
13443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13447 arg2
= wxString_in_helper(obj1
);
13448 if (arg2
== NULL
) SWIG_fail
;
13452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13453 (arg1
)->SetFindString((wxString
const &)*arg2
);
13455 wxPyEndAllowThreads(__tstate
);
13456 if (PyErr_Occurred()) SWIG_fail
;
13458 Py_INCREF(Py_None
); resultobj
= Py_None
;
13473 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13474 PyObject
*resultobj
;
13475 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13476 wxString
*arg2
= 0 ;
13477 bool temp2
= False
;
13478 PyObject
* obj0
= 0 ;
13479 PyObject
* obj1
= 0 ;
13480 char *kwnames
[] = {
13481 (char *) "self",(char *) "str", NULL
13484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13488 arg2
= wxString_in_helper(obj1
);
13489 if (arg2
== NULL
) SWIG_fail
;
13493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13494 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13496 wxPyEndAllowThreads(__tstate
);
13497 if (PyErr_Occurred()) SWIG_fail
;
13499 Py_INCREF(Py_None
); resultobj
= Py_None
;
13514 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13517 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
13519 return Py_BuildValue((char *)"");
13521 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13522 PyObject
*resultobj
;
13523 int arg1
= (int) 0 ;
13524 wxFindReplaceData
*result
;
13525 PyObject
* obj0
= 0 ;
13526 char *kwnames
[] = {
13527 (char *) "flags", NULL
13530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13532 arg1
= (int) SWIG_AsInt(obj0
);
13533 if (PyErr_Occurred()) SWIG_fail
;
13536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13537 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
13539 wxPyEndAllowThreads(__tstate
);
13540 if (PyErr_Occurred()) SWIG_fail
;
13542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
13549 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13550 PyObject
*resultobj
;
13551 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13552 PyObject
* obj0
= 0 ;
13553 char *kwnames
[] = {
13554 (char *) "self", NULL
13557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13564 wxPyEndAllowThreads(__tstate
);
13565 if (PyErr_Occurred()) SWIG_fail
;
13567 Py_INCREF(Py_None
); resultobj
= Py_None
;
13574 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13575 PyObject
*resultobj
;
13576 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13578 PyObject
* obj0
= 0 ;
13579 char *kwnames
[] = {
13580 (char *) "self", NULL
13583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
13584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13589 wxString
const &_result_ref
= (arg1
)->GetFindString();
13590 result
= (wxString
*) &_result_ref
;
13593 wxPyEndAllowThreads(__tstate
);
13594 if (PyErr_Occurred()) SWIG_fail
;
13598 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13600 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13609 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13610 PyObject
*resultobj
;
13611 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13613 PyObject
* obj0
= 0 ;
13614 char *kwnames
[] = {
13615 (char *) "self", NULL
13618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13624 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13625 result
= (wxString
*) &_result_ref
;
13628 wxPyEndAllowThreads(__tstate
);
13629 if (PyErr_Occurred()) SWIG_fail
;
13633 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13635 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13644 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13645 PyObject
*resultobj
;
13646 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13648 PyObject
* obj0
= 0 ;
13649 char *kwnames
[] = {
13650 (char *) "self", NULL
13653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
13654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13658 result
= (int)(arg1
)->GetFlags();
13660 wxPyEndAllowThreads(__tstate
);
13661 if (PyErr_Occurred()) SWIG_fail
;
13663 resultobj
= SWIG_FromInt((int)result
);
13670 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13671 PyObject
*resultobj
;
13672 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13674 PyObject
* obj0
= 0 ;
13675 PyObject
* obj1
= 0 ;
13676 char *kwnames
[] = {
13677 (char *) "self",(char *) "flags", NULL
13680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13683 arg2
= (int) SWIG_AsInt(obj1
);
13684 if (PyErr_Occurred()) SWIG_fail
;
13686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13687 (arg1
)->SetFlags(arg2
);
13689 wxPyEndAllowThreads(__tstate
);
13690 if (PyErr_Occurred()) SWIG_fail
;
13692 Py_INCREF(Py_None
); resultobj
= Py_None
;
13699 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13700 PyObject
*resultobj
;
13701 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13702 wxString
*arg2
= 0 ;
13703 bool temp2
= False
;
13704 PyObject
* obj0
= 0 ;
13705 PyObject
* obj1
= 0 ;
13706 char *kwnames
[] = {
13707 (char *) "self",(char *) "str", NULL
13710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13714 arg2
= wxString_in_helper(obj1
);
13715 if (arg2
== NULL
) SWIG_fail
;
13719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13720 (arg1
)->SetFindString((wxString
const &)*arg2
);
13722 wxPyEndAllowThreads(__tstate
);
13723 if (PyErr_Occurred()) SWIG_fail
;
13725 Py_INCREF(Py_None
); resultobj
= Py_None
;
13740 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13741 PyObject
*resultobj
;
13742 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13743 wxString
*arg2
= 0 ;
13744 bool temp2
= False
;
13745 PyObject
* obj0
= 0 ;
13746 PyObject
* obj1
= 0 ;
13747 char *kwnames
[] = {
13748 (char *) "self",(char *) "str", NULL
13751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13755 arg2
= wxString_in_helper(obj1
);
13756 if (arg2
== NULL
) SWIG_fail
;
13760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13761 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13763 wxPyEndAllowThreads(__tstate
);
13764 if (PyErr_Occurred()) SWIG_fail
;
13766 Py_INCREF(Py_None
); resultobj
= Py_None
;
13781 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
13783 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13784 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
13786 return Py_BuildValue((char *)"");
13788 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13789 PyObject
*resultobj
;
13790 wxWindow
*arg1
= (wxWindow
*) 0 ;
13791 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
13792 wxString
*arg3
= 0 ;
13793 int arg4
= (int) 0 ;
13794 wxFindReplaceDialog
*result
;
13795 bool temp3
= False
;
13796 PyObject
* obj0
= 0 ;
13797 PyObject
* obj1
= 0 ;
13798 PyObject
* obj2
= 0 ;
13799 PyObject
* obj3
= 0 ;
13800 char *kwnames
[] = {
13801 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13807 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
13808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13810 arg3
= wxString_in_helper(obj2
);
13811 if (arg3
== NULL
) SWIG_fail
;
13815 arg4
= (int) SWIG_AsInt(obj3
);
13816 if (PyErr_Occurred()) SWIG_fail
;
13819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13820 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13822 wxPyEndAllowThreads(__tstate
);
13823 if (PyErr_Occurred()) SWIG_fail
;
13825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
13840 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13841 PyObject
*resultobj
;
13842 wxFindReplaceDialog
*result
;
13843 char *kwnames
[] = {
13847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
13849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13850 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
13852 wxPyEndAllowThreads(__tstate
);
13853 if (PyErr_Occurred()) SWIG_fail
;
13855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
13862 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13863 PyObject
*resultobj
;
13864 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13865 wxWindow
*arg2
= (wxWindow
*) 0 ;
13866 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
13867 wxString
*arg4
= 0 ;
13868 int arg5
= (int) 0 ;
13870 bool temp4
= False
;
13871 PyObject
* obj0
= 0 ;
13872 PyObject
* obj1
= 0 ;
13873 PyObject
* obj2
= 0 ;
13874 PyObject
* obj3
= 0 ;
13875 PyObject
* obj4
= 0 ;
13876 char *kwnames
[] = {
13877 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
13882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13883 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13885 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
13886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13888 arg4
= wxString_in_helper(obj3
);
13889 if (arg4
== NULL
) SWIG_fail
;
13893 arg5
= (int) SWIG_AsInt(obj4
);
13894 if (PyErr_Occurred()) SWIG_fail
;
13897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13898 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13900 wxPyEndAllowThreads(__tstate
);
13901 if (PyErr_Occurred()) SWIG_fail
;
13903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13918 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13919 PyObject
*resultobj
;
13920 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13921 wxFindReplaceData
*result
;
13922 PyObject
* obj0
= 0 ;
13923 char *kwnames
[] = {
13924 (char *) "self", NULL
13927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
13928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
13929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13932 result
= (wxFindReplaceData
*)(arg1
)->GetData();
13934 wxPyEndAllowThreads(__tstate
);
13935 if (PyErr_Occurred()) SWIG_fail
;
13937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
13944 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13945 PyObject
*resultobj
;
13946 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13947 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
13948 PyObject
* obj0
= 0 ;
13949 PyObject
* obj1
= 0 ;
13950 char *kwnames
[] = {
13951 (char *) "self",(char *) "data", NULL
13954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
13955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
13956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13957 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
13958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13961 (arg1
)->SetData(arg2
);
13963 wxPyEndAllowThreads(__tstate
);
13964 if (PyErr_Occurred()) SWIG_fail
;
13966 Py_INCREF(Py_None
); resultobj
= Py_None
;
13973 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13976 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
13978 return Py_BuildValue((char *)"");
13980 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13981 PyObject
*resultobj
;
13982 wxWindow
*arg1
= (wxWindow
*) 0 ;
13984 wxString
*arg3
= 0 ;
13985 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13986 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13987 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13988 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13989 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
13990 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
13991 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13992 wxMDIParentFrame
*result
;
13993 bool temp3
= False
;
13996 bool temp7
= False
;
13997 PyObject
* obj0
= 0 ;
13998 PyObject
* obj1
= 0 ;
13999 PyObject
* obj2
= 0 ;
14000 PyObject
* obj3
= 0 ;
14001 PyObject
* obj4
= 0 ;
14002 PyObject
* obj5
= 0 ;
14003 PyObject
* obj6
= 0 ;
14004 char *kwnames
[] = {
14005 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14011 arg2
= (int const) SWIG_AsInt(obj1
);
14012 if (PyErr_Occurred()) SWIG_fail
;
14014 arg3
= wxString_in_helper(obj2
);
14015 if (arg3
== NULL
) SWIG_fail
;
14021 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14027 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14031 arg6
= (long) SWIG_AsLong(obj5
);
14032 if (PyErr_Occurred()) SWIG_fail
;
14036 arg7
= wxString_in_helper(obj6
);
14037 if (arg7
== NULL
) SWIG_fail
;
14042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14043 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14045 wxPyEndAllowThreads(__tstate
);
14046 if (PyErr_Occurred()) SWIG_fail
;
14048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14071 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14072 PyObject
*resultobj
;
14073 wxMDIParentFrame
*result
;
14074 char *kwnames
[] = {
14078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14081 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14083 wxPyEndAllowThreads(__tstate
);
14084 if (PyErr_Occurred()) SWIG_fail
;
14086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14093 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14094 PyObject
*resultobj
;
14095 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14096 wxWindow
*arg2
= (wxWindow
*) 0 ;
14098 wxString
*arg4
= 0 ;
14099 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14100 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14101 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14102 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14103 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14104 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14105 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14107 bool temp4
= False
;
14110 bool temp8
= False
;
14111 PyObject
* obj0
= 0 ;
14112 PyObject
* obj1
= 0 ;
14113 PyObject
* obj2
= 0 ;
14114 PyObject
* obj3
= 0 ;
14115 PyObject
* obj4
= 0 ;
14116 PyObject
* obj5
= 0 ;
14117 PyObject
* obj6
= 0 ;
14118 PyObject
* obj7
= 0 ;
14119 char *kwnames
[] = {
14120 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14128 arg3
= (int const) SWIG_AsInt(obj2
);
14129 if (PyErr_Occurred()) SWIG_fail
;
14131 arg4
= wxString_in_helper(obj3
);
14132 if (arg4
== NULL
) SWIG_fail
;
14138 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14144 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14148 arg7
= (long) SWIG_AsLong(obj6
);
14149 if (PyErr_Occurred()) SWIG_fail
;
14153 arg8
= wxString_in_helper(obj7
);
14154 if (arg8
== NULL
) SWIG_fail
;
14159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14160 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14162 wxPyEndAllowThreads(__tstate
);
14163 if (PyErr_Occurred()) SWIG_fail
;
14165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14188 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14189 PyObject
*resultobj
;
14190 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14191 PyObject
* obj0
= 0 ;
14192 char *kwnames
[] = {
14193 (char *) "self", NULL
14196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14201 (arg1
)->ActivateNext();
14203 wxPyEndAllowThreads(__tstate
);
14204 if (PyErr_Occurred()) SWIG_fail
;
14206 Py_INCREF(Py_None
); resultobj
= Py_None
;
14213 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14214 PyObject
*resultobj
;
14215 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14216 PyObject
* obj0
= 0 ;
14217 char *kwnames
[] = {
14218 (char *) "self", NULL
14221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14226 (arg1
)->ActivatePrevious();
14228 wxPyEndAllowThreads(__tstate
);
14229 if (PyErr_Occurred()) SWIG_fail
;
14231 Py_INCREF(Py_None
); resultobj
= Py_None
;
14238 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14239 PyObject
*resultobj
;
14240 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14241 PyObject
* obj0
= 0 ;
14242 char *kwnames
[] = {
14243 (char *) "self", NULL
14246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14251 (arg1
)->ArrangeIcons();
14253 wxPyEndAllowThreads(__tstate
);
14254 if (PyErr_Occurred()) SWIG_fail
;
14256 Py_INCREF(Py_None
); resultobj
= Py_None
;
14263 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14264 PyObject
*resultobj
;
14265 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14266 PyObject
* obj0
= 0 ;
14267 char *kwnames
[] = {
14268 (char *) "self", NULL
14271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14278 wxPyEndAllowThreads(__tstate
);
14279 if (PyErr_Occurred()) SWIG_fail
;
14281 Py_INCREF(Py_None
); resultobj
= Py_None
;
14288 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14289 PyObject
*resultobj
;
14290 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14291 wxMDIChildFrame
*result
;
14292 PyObject
* obj0
= 0 ;
14293 char *kwnames
[] = {
14294 (char *) "self", NULL
14297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14302 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14304 wxPyEndAllowThreads(__tstate
);
14305 if (PyErr_Occurred()) SWIG_fail
;
14308 resultobj
= wxPyMake_wxObject(result
);
14316 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14317 PyObject
*resultobj
;
14318 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14319 wxMDIClientWindow
*result
;
14320 PyObject
* obj0
= 0 ;
14321 char *kwnames
[] = {
14322 (char *) "self", NULL
14325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14330 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14332 wxPyEndAllowThreads(__tstate
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14336 resultobj
= wxPyMake_wxObject(result
);
14344 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14345 PyObject
*resultobj
;
14346 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14348 PyObject
* obj0
= 0 ;
14349 char *kwnames
[] = {
14350 (char *) "self", NULL
14353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14358 result
= (wxWindow
*)(arg1
)->GetToolBar();
14360 wxPyEndAllowThreads(__tstate
);
14361 if (PyErr_Occurred()) SWIG_fail
;
14364 resultobj
= wxPyMake_wxObject(result
);
14372 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14373 PyObject
*resultobj
;
14374 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14375 PyObject
* obj0
= 0 ;
14376 char *kwnames
[] = {
14377 (char *) "self", NULL
14380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14387 wxPyEndAllowThreads(__tstate
);
14388 if (PyErr_Occurred()) SWIG_fail
;
14390 Py_INCREF(Py_None
); resultobj
= Py_None
;
14397 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14399 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14400 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14402 return Py_BuildValue((char *)"");
14404 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14405 PyObject
*resultobj
;
14406 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14408 wxString
*arg3
= 0 ;
14409 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14410 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14411 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14412 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14413 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14414 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14415 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14416 wxMDIChildFrame
*result
;
14417 bool temp3
= False
;
14420 bool temp7
= False
;
14421 PyObject
* obj0
= 0 ;
14422 PyObject
* obj1
= 0 ;
14423 PyObject
* obj2
= 0 ;
14424 PyObject
* obj3
= 0 ;
14425 PyObject
* obj4
= 0 ;
14426 PyObject
* obj5
= 0 ;
14427 PyObject
* obj6
= 0 ;
14428 char *kwnames
[] = {
14429 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14435 arg2
= (int const) SWIG_AsInt(obj1
);
14436 if (PyErr_Occurred()) SWIG_fail
;
14438 arg3
= wxString_in_helper(obj2
);
14439 if (arg3
== NULL
) SWIG_fail
;
14445 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14451 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14455 arg6
= (long) SWIG_AsLong(obj5
);
14456 if (PyErr_Occurred()) SWIG_fail
;
14460 arg7
= wxString_in_helper(obj6
);
14461 if (arg7
== NULL
) SWIG_fail
;
14466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14467 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14469 wxPyEndAllowThreads(__tstate
);
14470 if (PyErr_Occurred()) SWIG_fail
;
14473 resultobj
= wxPyMake_wxObject(result
);
14497 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14498 PyObject
*resultobj
;
14499 wxMDIChildFrame
*result
;
14500 char *kwnames
[] = {
14504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
14506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14507 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
14509 wxPyEndAllowThreads(__tstate
);
14510 if (PyErr_Occurred()) SWIG_fail
;
14513 resultobj
= wxPyMake_wxObject(result
);
14521 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14522 PyObject
*resultobj
;
14523 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14524 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14526 wxString
*arg4
= 0 ;
14527 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14528 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14529 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14530 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14531 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
14532 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14533 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14535 bool temp4
= False
;
14538 bool temp8
= False
;
14539 PyObject
* obj0
= 0 ;
14540 PyObject
* obj1
= 0 ;
14541 PyObject
* obj2
= 0 ;
14542 PyObject
* obj3
= 0 ;
14543 PyObject
* obj4
= 0 ;
14544 PyObject
* obj5
= 0 ;
14545 PyObject
* obj6
= 0 ;
14546 PyObject
* obj7
= 0 ;
14547 char *kwnames
[] = {
14548 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14556 arg3
= (int const) SWIG_AsInt(obj2
);
14557 if (PyErr_Occurred()) SWIG_fail
;
14559 arg4
= wxString_in_helper(obj3
);
14560 if (arg4
== NULL
) SWIG_fail
;
14566 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14572 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14576 arg7
= (long) SWIG_AsLong(obj6
);
14577 if (PyErr_Occurred()) SWIG_fail
;
14581 arg8
= wxString_in_helper(obj7
);
14582 if (arg8
== NULL
) SWIG_fail
;
14587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14588 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14590 wxPyEndAllowThreads(__tstate
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14616 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14617 PyObject
*resultobj
;
14618 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14619 PyObject
* obj0
= 0 ;
14620 char *kwnames
[] = {
14621 (char *) "self", NULL
14624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
14625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14629 (arg1
)->Activate();
14631 wxPyEndAllowThreads(__tstate
);
14632 if (PyErr_Occurred()) SWIG_fail
;
14634 Py_INCREF(Py_None
); resultobj
= Py_None
;
14641 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14642 PyObject
*resultobj
;
14643 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14645 PyObject
* obj0
= 0 ;
14646 PyObject
* obj1
= 0 ;
14647 char *kwnames
[] = {
14648 (char *) "self",(char *) "maximize", NULL
14651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
14652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14654 arg2
= (bool) SWIG_AsBool(obj1
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14658 (arg1
)->Maximize(arg2
);
14660 wxPyEndAllowThreads(__tstate
);
14661 if (PyErr_Occurred()) SWIG_fail
;
14663 Py_INCREF(Py_None
); resultobj
= Py_None
;
14670 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14671 PyObject
*resultobj
;
14672 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14673 PyObject
* obj0
= 0 ;
14674 char *kwnames
[] = {
14675 (char *) "self", NULL
14678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
14679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14685 wxPyEndAllowThreads(__tstate
);
14686 if (PyErr_Occurred()) SWIG_fail
;
14688 Py_INCREF(Py_None
); resultobj
= Py_None
;
14695 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14697 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14698 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
14700 return Py_BuildValue((char *)"");
14702 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14703 PyObject
*resultobj
;
14704 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14705 long arg2
= (long) 0 ;
14706 wxMDIClientWindow
*result
;
14707 PyObject
* obj0
= 0 ;
14708 PyObject
* obj1
= 0 ;
14709 char *kwnames
[] = {
14710 (char *) "parent",(char *) "style", NULL
14713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
14714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14717 arg2
= (long) SWIG_AsLong(obj1
);
14718 if (PyErr_Occurred()) SWIG_fail
;
14721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14722 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
14724 wxPyEndAllowThreads(__tstate
);
14725 if (PyErr_Occurred()) SWIG_fail
;
14728 resultobj
= wxPyMake_wxObject(result
);
14736 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14737 PyObject
*resultobj
;
14738 wxMDIClientWindow
*result
;
14739 char *kwnames
[] = {
14743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
14745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14746 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
14748 wxPyEndAllowThreads(__tstate
);
14749 if (PyErr_Occurred()) SWIG_fail
;
14752 resultobj
= wxPyMake_wxObject(result
);
14760 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14761 PyObject
*resultobj
;
14762 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
14763 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14764 long arg3
= (long) 0 ;
14766 PyObject
* obj0
= 0 ;
14767 PyObject
* obj1
= 0 ;
14768 PyObject
* obj2
= 0 ;
14769 char *kwnames
[] = {
14770 (char *) "self",(char *) "parent",(char *) "style", NULL
14773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
14775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14776 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14779 arg3
= (long) SWIG_AsLong(obj2
);
14780 if (PyErr_Occurred()) SWIG_fail
;
14783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14784 result
= (bool)(arg1
)->Create(arg2
,arg3
);
14786 wxPyEndAllowThreads(__tstate
);
14787 if (PyErr_Occurred()) SWIG_fail
;
14789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14796 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
14798 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14799 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
14801 return Py_BuildValue((char *)"");
14803 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14804 PyObject
*resultobj
;
14805 wxWindow
*arg1
= (wxWindow
*) 0 ;
14807 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14808 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14809 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14810 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14811 long arg5
= (long) 0 ;
14812 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
14813 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14814 wxPyWindow
*result
;
14817 bool temp6
= False
;
14818 PyObject
* obj0
= 0 ;
14819 PyObject
* obj1
= 0 ;
14820 PyObject
* obj2
= 0 ;
14821 PyObject
* obj3
= 0 ;
14822 PyObject
* obj4
= 0 ;
14823 PyObject
* obj5
= 0 ;
14824 char *kwnames
[] = {
14825 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14831 arg2
= (int const) SWIG_AsInt(obj1
);
14832 if (PyErr_Occurred()) SWIG_fail
;
14836 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14842 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14846 arg5
= (long) SWIG_AsLong(obj4
);
14847 if (PyErr_Occurred()) SWIG_fail
;
14851 arg6
= wxString_in_helper(obj5
);
14852 if (arg6
== NULL
) SWIG_fail
;
14857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14858 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14860 wxPyEndAllowThreads(__tstate
);
14861 if (PyErr_Occurred()) SWIG_fail
;
14863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
14878 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14879 PyObject
*resultobj
;
14880 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14881 PyObject
*arg2
= (PyObject
*) 0 ;
14882 PyObject
*arg3
= (PyObject
*) 0 ;
14883 PyObject
* obj0
= 0 ;
14884 PyObject
* obj1
= 0 ;
14885 PyObject
* obj2
= 0 ;
14886 char *kwnames
[] = {
14887 (char *) "self",(char *) "self",(char *) "_class", NULL
14890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14897 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14899 wxPyEndAllowThreads(__tstate
);
14900 if (PyErr_Occurred()) SWIG_fail
;
14902 Py_INCREF(Py_None
); resultobj
= Py_None
;
14909 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14910 PyObject
*resultobj
;
14911 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14916 PyObject
* obj0
= 0 ;
14917 PyObject
* obj1
= 0 ;
14918 PyObject
* obj2
= 0 ;
14919 PyObject
* obj3
= 0 ;
14920 PyObject
* obj4
= 0 ;
14921 char *kwnames
[] = {
14922 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14928 arg2
= (int) SWIG_AsInt(obj1
);
14929 if (PyErr_Occurred()) SWIG_fail
;
14930 arg3
= (int) SWIG_AsInt(obj2
);
14931 if (PyErr_Occurred()) SWIG_fail
;
14932 arg4
= (int) SWIG_AsInt(obj3
);
14933 if (PyErr_Occurred()) SWIG_fail
;
14934 arg5
= (int) SWIG_AsInt(obj4
);
14935 if (PyErr_Occurred()) SWIG_fail
;
14937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14938 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
14940 wxPyEndAllowThreads(__tstate
);
14941 if (PyErr_Occurred()) SWIG_fail
;
14943 Py_INCREF(Py_None
); resultobj
= Py_None
;
14950 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14951 PyObject
*resultobj
;
14952 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
14957 int arg6
= (int) wxSIZE_AUTO
;
14958 PyObject
* obj0
= 0 ;
14959 PyObject
* obj1
= 0 ;
14960 PyObject
* obj2
= 0 ;
14961 PyObject
* obj3
= 0 ;
14962 PyObject
* obj4
= 0 ;
14963 PyObject
* obj5
= 0 ;
14964 char *kwnames
[] = {
14965 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
14970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14971 arg2
= (int) SWIG_AsInt(obj1
);
14972 if (PyErr_Occurred()) SWIG_fail
;
14973 arg3
= (int) SWIG_AsInt(obj2
);
14974 if (PyErr_Occurred()) SWIG_fail
;
14975 arg4
= (int) SWIG_AsInt(obj3
);
14976 if (PyErr_Occurred()) SWIG_fail
;
14977 arg5
= (int) SWIG_AsInt(obj4
);
14978 if (PyErr_Occurred()) SWIG_fail
;
14980 arg6
= (int) SWIG_AsInt(obj5
);
14981 if (PyErr_Occurred()) SWIG_fail
;
14984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14985 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
14987 wxPyEndAllowThreads(__tstate
);
14988 if (PyErr_Occurred()) SWIG_fail
;
14990 Py_INCREF(Py_None
); resultobj
= Py_None
;
14997 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14998 PyObject
*resultobj
;
14999 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15002 PyObject
* obj0
= 0 ;
15003 PyObject
* obj1
= 0 ;
15004 PyObject
* obj2
= 0 ;
15005 char *kwnames
[] = {
15006 (char *) "self",(char *) "width",(char *) "height", NULL
15009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15012 arg2
= (int) SWIG_AsInt(obj1
);
15013 if (PyErr_Occurred()) SWIG_fail
;
15014 arg3
= (int) SWIG_AsInt(obj2
);
15015 if (PyErr_Occurred()) SWIG_fail
;
15017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15018 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15020 wxPyEndAllowThreads(__tstate
);
15021 if (PyErr_Occurred()) SWIG_fail
;
15023 Py_INCREF(Py_None
); resultobj
= Py_None
;
15030 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15031 PyObject
*resultobj
;
15032 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15035 PyObject
* obj0
= 0 ;
15036 PyObject
* obj1
= 0 ;
15037 PyObject
* obj2
= 0 ;
15038 char *kwnames
[] = {
15039 (char *) "self",(char *) "x",(char *) "y", NULL
15042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15045 arg2
= (int) SWIG_AsInt(obj1
);
15046 if (PyErr_Occurred()) SWIG_fail
;
15047 arg3
= (int) SWIG_AsInt(obj2
);
15048 if (PyErr_Occurred()) SWIG_fail
;
15050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15051 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15053 wxPyEndAllowThreads(__tstate
);
15054 if (PyErr_Occurred()) SWIG_fail
;
15056 Py_INCREF(Py_None
); resultobj
= Py_None
;
15063 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15064 PyObject
*resultobj
;
15065 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15066 int *arg2
= (int *) 0 ;
15067 int *arg3
= (int *) 0 ;
15070 PyObject
* obj0
= 0 ;
15071 char *kwnames
[] = {
15072 (char *) "self", NULL
15077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15082 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15084 wxPyEndAllowThreads(__tstate
);
15085 if (PyErr_Occurred()) SWIG_fail
;
15087 Py_INCREF(Py_None
); resultobj
= Py_None
;
15089 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15090 resultobj
= t_output_helper(resultobj
,o
);
15093 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15094 resultobj
= t_output_helper(resultobj
,o
);
15102 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15103 PyObject
*resultobj
;
15104 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15105 int *arg2
= (int *) 0 ;
15106 int *arg3
= (int *) 0 ;
15109 PyObject
* obj0
= 0 ;
15110 char *kwnames
[] = {
15111 (char *) "self", NULL
15116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15121 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15123 wxPyEndAllowThreads(__tstate
);
15124 if (PyErr_Occurred()) SWIG_fail
;
15126 Py_INCREF(Py_None
); resultobj
= Py_None
;
15128 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15129 resultobj
= t_output_helper(resultobj
,o
);
15132 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15133 resultobj
= t_output_helper(resultobj
,o
);
15141 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15142 PyObject
*resultobj
;
15143 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15144 int *arg2
= (int *) 0 ;
15145 int *arg3
= (int *) 0 ;
15148 PyObject
* obj0
= 0 ;
15149 char *kwnames
[] = {
15150 (char *) "self", NULL
15155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15160 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15162 wxPyEndAllowThreads(__tstate
);
15163 if (PyErr_Occurred()) SWIG_fail
;
15165 Py_INCREF(Py_None
); resultobj
= Py_None
;
15167 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15168 resultobj
= t_output_helper(resultobj
,o
);
15171 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15172 resultobj
= t_output_helper(resultobj
,o
);
15180 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15181 PyObject
*resultobj
;
15182 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15184 PyObject
* obj0
= 0 ;
15185 char *kwnames
[] = {
15186 (char *) "self", NULL
15189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15194 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15196 wxPyEndAllowThreads(__tstate
);
15197 if (PyErr_Occurred()) SWIG_fail
;
15200 wxSize
* resultptr
;
15201 resultptr
= new wxSize((wxSize
&) result
);
15202 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15210 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15211 PyObject
*resultobj
;
15212 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15214 PyObject
* obj0
= 0 ;
15215 char *kwnames
[] = {
15216 (char *) "self", NULL
15219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15224 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15226 wxPyEndAllowThreads(__tstate
);
15227 if (PyErr_Occurred()) SWIG_fail
;
15230 wxSize
* resultptr
;
15231 resultptr
= new wxSize((wxSize
&) result
);
15232 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15240 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15241 PyObject
*resultobj
;
15242 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15243 PyObject
* obj0
= 0 ;
15244 char *kwnames
[] = {
15245 (char *) "self", NULL
15248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15253 (arg1
)->base_InitDialog();
15255 wxPyEndAllowThreads(__tstate
);
15256 if (PyErr_Occurred()) SWIG_fail
;
15258 Py_INCREF(Py_None
); resultobj
= Py_None
;
15265 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15266 PyObject
*resultobj
;
15267 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15269 PyObject
* obj0
= 0 ;
15270 char *kwnames
[] = {
15271 (char *) "self", NULL
15274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15279 result
= (bool)(arg1
)->base_TransferDataToWindow();
15281 wxPyEndAllowThreads(__tstate
);
15282 if (PyErr_Occurred()) SWIG_fail
;
15284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15291 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15292 PyObject
*resultobj
;
15293 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15295 PyObject
* obj0
= 0 ;
15296 char *kwnames
[] = {
15297 (char *) "self", NULL
15300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15305 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15307 wxPyEndAllowThreads(__tstate
);
15308 if (PyErr_Occurred()) SWIG_fail
;
15310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15317 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15318 PyObject
*resultobj
;
15319 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15321 PyObject
* obj0
= 0 ;
15322 char *kwnames
[] = {
15323 (char *) "self", NULL
15326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15331 result
= (bool)(arg1
)->base_Validate();
15333 wxPyEndAllowThreads(__tstate
);
15334 if (PyErr_Occurred()) SWIG_fail
;
15336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15343 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15344 PyObject
*resultobj
;
15345 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15347 PyObject
* obj0
= 0 ;
15348 char *kwnames
[] = {
15349 (char *) "self", NULL
15352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15357 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15359 wxPyEndAllowThreads(__tstate
);
15360 if (PyErr_Occurred()) SWIG_fail
;
15362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15369 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15370 PyObject
*resultobj
;
15371 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15373 PyObject
* obj0
= 0 ;
15374 char *kwnames
[] = {
15375 (char *) "self", NULL
15378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15383 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15385 wxPyEndAllowThreads(__tstate
);
15386 if (PyErr_Occurred()) SWIG_fail
;
15388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15395 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15396 PyObject
*resultobj
;
15397 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15399 PyObject
* obj0
= 0 ;
15400 char *kwnames
[] = {
15401 (char *) "self", NULL
15404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15409 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
15411 wxPyEndAllowThreads(__tstate
);
15412 if (PyErr_Occurred()) SWIG_fail
;
15415 wxSize
* resultptr
;
15416 resultptr
= new wxSize((wxSize
&) result
);
15417 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15425 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15426 PyObject
*resultobj
;
15427 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15428 wxWindow
*arg2
= (wxWindow
*) 0 ;
15429 PyObject
* obj0
= 0 ;
15430 PyObject
* obj1
= 0 ;
15431 char *kwnames
[] = {
15432 (char *) "self",(char *) "child", NULL
15435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15438 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15442 (arg1
)->base_AddChild(arg2
);
15444 wxPyEndAllowThreads(__tstate
);
15445 if (PyErr_Occurred()) SWIG_fail
;
15447 Py_INCREF(Py_None
); resultobj
= Py_None
;
15454 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15455 PyObject
*resultobj
;
15456 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15457 wxWindow
*arg2
= (wxWindow
*) 0 ;
15458 PyObject
* obj0
= 0 ;
15459 PyObject
* obj1
= 0 ;
15460 char *kwnames
[] = {
15461 (char *) "self",(char *) "child", NULL
15464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15467 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15471 (arg1
)->base_RemoveChild(arg2
);
15473 wxPyEndAllowThreads(__tstate
);
15474 if (PyErr_Occurred()) SWIG_fail
;
15476 Py_INCREF(Py_None
); resultobj
= Py_None
;
15483 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15486 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
15488 return Py_BuildValue((char *)"");
15490 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15491 PyObject
*resultobj
;
15492 wxWindow
*arg1
= (wxWindow
*) 0 ;
15494 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15495 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15496 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15497 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15498 long arg5
= (long) 0 ;
15499 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15500 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15504 bool temp6
= False
;
15505 PyObject
* obj0
= 0 ;
15506 PyObject
* obj1
= 0 ;
15507 PyObject
* obj2
= 0 ;
15508 PyObject
* obj3
= 0 ;
15509 PyObject
* obj4
= 0 ;
15510 PyObject
* obj5
= 0 ;
15511 char *kwnames
[] = {
15512 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15518 arg2
= (int const) SWIG_AsInt(obj1
);
15519 if (PyErr_Occurred()) SWIG_fail
;
15523 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15529 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15533 arg5
= (long) SWIG_AsLong(obj4
);
15534 if (PyErr_Occurred()) SWIG_fail
;
15538 arg6
= wxString_in_helper(obj5
);
15539 if (arg6
== NULL
) SWIG_fail
;
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
15565 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15566 PyObject
*resultobj
;
15567 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15568 PyObject
*arg2
= (PyObject
*) 0 ;
15569 PyObject
*arg3
= (PyObject
*) 0 ;
15570 PyObject
* obj0
= 0 ;
15571 PyObject
* obj1
= 0 ;
15572 PyObject
* obj2
= 0 ;
15573 char *kwnames
[] = {
15574 (char *) "self",(char *) "self",(char *) "_class", NULL
15577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15584 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15586 wxPyEndAllowThreads(__tstate
);
15587 if (PyErr_Occurred()) SWIG_fail
;
15589 Py_INCREF(Py_None
); resultobj
= Py_None
;
15596 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15597 PyObject
*resultobj
;
15598 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15603 PyObject
* obj0
= 0 ;
15604 PyObject
* obj1
= 0 ;
15605 PyObject
* obj2
= 0 ;
15606 PyObject
* obj3
= 0 ;
15607 PyObject
* obj4
= 0 ;
15608 char *kwnames
[] = {
15609 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15615 arg2
= (int) SWIG_AsInt(obj1
);
15616 if (PyErr_Occurred()) SWIG_fail
;
15617 arg3
= (int) SWIG_AsInt(obj2
);
15618 if (PyErr_Occurred()) SWIG_fail
;
15619 arg4
= (int) SWIG_AsInt(obj3
);
15620 if (PyErr_Occurred()) SWIG_fail
;
15621 arg5
= (int) SWIG_AsInt(obj4
);
15622 if (PyErr_Occurred()) SWIG_fail
;
15624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15625 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15627 wxPyEndAllowThreads(__tstate
);
15628 if (PyErr_Occurred()) SWIG_fail
;
15630 Py_INCREF(Py_None
); resultobj
= Py_None
;
15637 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15638 PyObject
*resultobj
;
15639 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15644 int arg6
= (int) wxSIZE_AUTO
;
15645 PyObject
* obj0
= 0 ;
15646 PyObject
* obj1
= 0 ;
15647 PyObject
* obj2
= 0 ;
15648 PyObject
* obj3
= 0 ;
15649 PyObject
* obj4
= 0 ;
15650 PyObject
* obj5
= 0 ;
15651 char *kwnames
[] = {
15652 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15658 arg2
= (int) SWIG_AsInt(obj1
);
15659 if (PyErr_Occurred()) SWIG_fail
;
15660 arg3
= (int) SWIG_AsInt(obj2
);
15661 if (PyErr_Occurred()) SWIG_fail
;
15662 arg4
= (int) SWIG_AsInt(obj3
);
15663 if (PyErr_Occurred()) SWIG_fail
;
15664 arg5
= (int) SWIG_AsInt(obj4
);
15665 if (PyErr_Occurred()) SWIG_fail
;
15667 arg6
= (int) SWIG_AsInt(obj5
);
15668 if (PyErr_Occurred()) SWIG_fail
;
15671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15672 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15674 wxPyEndAllowThreads(__tstate
);
15675 if (PyErr_Occurred()) SWIG_fail
;
15677 Py_INCREF(Py_None
); resultobj
= Py_None
;
15684 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15685 PyObject
*resultobj
;
15686 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15689 PyObject
* obj0
= 0 ;
15690 PyObject
* obj1
= 0 ;
15691 PyObject
* obj2
= 0 ;
15692 char *kwnames
[] = {
15693 (char *) "self",(char *) "width",(char *) "height", NULL
15696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15699 arg2
= (int) SWIG_AsInt(obj1
);
15700 if (PyErr_Occurred()) SWIG_fail
;
15701 arg3
= (int) SWIG_AsInt(obj2
);
15702 if (PyErr_Occurred()) SWIG_fail
;
15704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15705 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15707 wxPyEndAllowThreads(__tstate
);
15708 if (PyErr_Occurred()) SWIG_fail
;
15710 Py_INCREF(Py_None
); resultobj
= Py_None
;
15717 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15718 PyObject
*resultobj
;
15719 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15722 PyObject
* obj0
= 0 ;
15723 PyObject
* obj1
= 0 ;
15724 PyObject
* obj2
= 0 ;
15725 char *kwnames
[] = {
15726 (char *) "self",(char *) "x",(char *) "y", NULL
15729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15732 arg2
= (int) SWIG_AsInt(obj1
);
15733 if (PyErr_Occurred()) SWIG_fail
;
15734 arg3
= (int) SWIG_AsInt(obj2
);
15735 if (PyErr_Occurred()) SWIG_fail
;
15737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15738 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15740 wxPyEndAllowThreads(__tstate
);
15741 if (PyErr_Occurred()) SWIG_fail
;
15743 Py_INCREF(Py_None
); resultobj
= Py_None
;
15750 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15751 PyObject
*resultobj
;
15752 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15753 int *arg2
= (int *) 0 ;
15754 int *arg3
= (int *) 0 ;
15757 PyObject
* obj0
= 0 ;
15758 char *kwnames
[] = {
15759 (char *) "self", NULL
15764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15769 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15771 wxPyEndAllowThreads(__tstate
);
15772 if (PyErr_Occurred()) SWIG_fail
;
15774 Py_INCREF(Py_None
); resultobj
= Py_None
;
15776 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15777 resultobj
= t_output_helper(resultobj
,o
);
15780 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15781 resultobj
= t_output_helper(resultobj
,o
);
15789 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15790 PyObject
*resultobj
;
15791 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15792 int *arg2
= (int *) 0 ;
15793 int *arg3
= (int *) 0 ;
15796 PyObject
* obj0
= 0 ;
15797 char *kwnames
[] = {
15798 (char *) "self", NULL
15803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15808 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15810 wxPyEndAllowThreads(__tstate
);
15811 if (PyErr_Occurred()) SWIG_fail
;
15813 Py_INCREF(Py_None
); resultobj
= Py_None
;
15815 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15816 resultobj
= t_output_helper(resultobj
,o
);
15819 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15820 resultobj
= t_output_helper(resultobj
,o
);
15828 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15829 PyObject
*resultobj
;
15830 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15831 int *arg2
= (int *) 0 ;
15832 int *arg3
= (int *) 0 ;
15835 PyObject
* obj0
= 0 ;
15836 char *kwnames
[] = {
15837 (char *) "self", NULL
15842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15847 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15849 wxPyEndAllowThreads(__tstate
);
15850 if (PyErr_Occurred()) SWIG_fail
;
15852 Py_INCREF(Py_None
); resultobj
= Py_None
;
15854 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15855 resultobj
= t_output_helper(resultobj
,o
);
15858 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15859 resultobj
= t_output_helper(resultobj
,o
);
15867 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15868 PyObject
*resultobj
;
15869 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15871 PyObject
* obj0
= 0 ;
15872 char *kwnames
[] = {
15873 (char *) "self", NULL
15876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15881 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
15883 wxPyEndAllowThreads(__tstate
);
15884 if (PyErr_Occurred()) SWIG_fail
;
15887 wxSize
* resultptr
;
15888 resultptr
= new wxSize((wxSize
&) result
);
15889 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15897 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15898 PyObject
*resultobj
;
15899 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15901 PyObject
* obj0
= 0 ;
15902 char *kwnames
[] = {
15903 (char *) "self", NULL
15906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15911 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
15913 wxPyEndAllowThreads(__tstate
);
15914 if (PyErr_Occurred()) SWIG_fail
;
15917 wxSize
* resultptr
;
15918 resultptr
= new wxSize((wxSize
&) result
);
15919 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15927 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15928 PyObject
*resultobj
;
15929 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15930 PyObject
* obj0
= 0 ;
15931 char *kwnames
[] = {
15932 (char *) "self", NULL
15935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15940 (arg1
)->base_InitDialog();
15942 wxPyEndAllowThreads(__tstate
);
15943 if (PyErr_Occurred()) SWIG_fail
;
15945 Py_INCREF(Py_None
); resultobj
= Py_None
;
15952 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15953 PyObject
*resultobj
;
15954 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15956 PyObject
* obj0
= 0 ;
15957 char *kwnames
[] = {
15958 (char *) "self", NULL
15961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15966 result
= (bool)(arg1
)->base_TransferDataToWindow();
15968 wxPyEndAllowThreads(__tstate
);
15969 if (PyErr_Occurred()) SWIG_fail
;
15971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15978 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15979 PyObject
*resultobj
;
15980 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15982 PyObject
* obj0
= 0 ;
15983 char *kwnames
[] = {
15984 (char *) "self", NULL
15987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15992 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15994 wxPyEndAllowThreads(__tstate
);
15995 if (PyErr_Occurred()) SWIG_fail
;
15997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16004 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16005 PyObject
*resultobj
;
16006 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16008 PyObject
* obj0
= 0 ;
16009 char *kwnames
[] = {
16010 (char *) "self", NULL
16013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16018 result
= (bool)(arg1
)->base_Validate();
16020 wxPyEndAllowThreads(__tstate
);
16021 if (PyErr_Occurred()) SWIG_fail
;
16023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16030 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16031 PyObject
*resultobj
;
16032 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16034 PyObject
* obj0
= 0 ;
16035 char *kwnames
[] = {
16036 (char *) "self", NULL
16039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16044 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16046 wxPyEndAllowThreads(__tstate
);
16047 if (PyErr_Occurred()) SWIG_fail
;
16049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16056 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16057 PyObject
*resultobj
;
16058 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16060 PyObject
* obj0
= 0 ;
16061 char *kwnames
[] = {
16062 (char *) "self", NULL
16065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16070 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16072 wxPyEndAllowThreads(__tstate
);
16073 if (PyErr_Occurred()) SWIG_fail
;
16075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16082 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16083 PyObject
*resultobj
;
16084 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16086 PyObject
* obj0
= 0 ;
16087 char *kwnames
[] = {
16088 (char *) "self", NULL
16091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16096 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16098 wxPyEndAllowThreads(__tstate
);
16099 if (PyErr_Occurred()) SWIG_fail
;
16102 wxSize
* resultptr
;
16103 resultptr
= new wxSize((wxSize
&) result
);
16104 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16112 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16113 PyObject
*resultobj
;
16114 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16115 wxWindow
*arg2
= (wxWindow
*) 0 ;
16116 PyObject
* obj0
= 0 ;
16117 PyObject
* obj1
= 0 ;
16118 char *kwnames
[] = {
16119 (char *) "self",(char *) "child", NULL
16122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16125 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16129 (arg1
)->base_AddChild(arg2
);
16131 wxPyEndAllowThreads(__tstate
);
16132 if (PyErr_Occurred()) SWIG_fail
;
16134 Py_INCREF(Py_None
); resultobj
= Py_None
;
16141 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16142 PyObject
*resultobj
;
16143 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16144 wxWindow
*arg2
= (wxWindow
*) 0 ;
16145 PyObject
* obj0
= 0 ;
16146 PyObject
* obj1
= 0 ;
16147 char *kwnames
[] = {
16148 (char *) "self",(char *) "child", NULL
16151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16154 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16158 (arg1
)->base_RemoveChild(arg2
);
16160 wxPyEndAllowThreads(__tstate
);
16161 if (PyErr_Occurred()) SWIG_fail
;
16163 Py_INCREF(Py_None
); resultobj
= Py_None
;
16170 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
16172 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16173 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
16175 return Py_BuildValue((char *)"");
16177 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
16178 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
16183 static PyObject
*_wrap_PrintoutTitleStr_get() {
16188 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
16190 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
16197 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
16198 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
16203 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
16208 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
16210 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
16217 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16218 PyObject
*resultobj
;
16219 wxPrintData
*result
;
16220 char *kwnames
[] = {
16224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
16226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16227 result
= (wxPrintData
*)new wxPrintData();
16229 wxPyEndAllowThreads(__tstate
);
16230 if (PyErr_Occurred()) SWIG_fail
;
16232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
16239 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16240 PyObject
*resultobj
;
16241 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16242 PyObject
* obj0
= 0 ;
16243 char *kwnames
[] = {
16244 (char *) "self", NULL
16247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
16248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16254 wxPyEndAllowThreads(__tstate
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16257 Py_INCREF(Py_None
); resultobj
= Py_None
;
16264 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16265 PyObject
*resultobj
;
16266 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16268 PyObject
* obj0
= 0 ;
16269 char *kwnames
[] = {
16270 (char *) "self", NULL
16273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
16274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16278 result
= (int)(arg1
)->GetNoCopies();
16280 wxPyEndAllowThreads(__tstate
);
16281 if (PyErr_Occurred()) SWIG_fail
;
16283 resultobj
= SWIG_FromInt((int)result
);
16290 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16291 PyObject
*resultobj
;
16292 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16294 PyObject
* obj0
= 0 ;
16295 char *kwnames
[] = {
16296 (char *) "self", NULL
16299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
16300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16304 result
= (bool)(arg1
)->GetCollate();
16306 wxPyEndAllowThreads(__tstate
);
16307 if (PyErr_Occurred()) SWIG_fail
;
16309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16316 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16317 PyObject
*resultobj
;
16318 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16320 PyObject
* obj0
= 0 ;
16321 char *kwnames
[] = {
16322 (char *) "self", NULL
16325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
16326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16330 result
= (int)(arg1
)->GetOrientation();
16332 wxPyEndAllowThreads(__tstate
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16335 resultobj
= SWIG_FromInt((int)result
);
16342 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16343 PyObject
*resultobj
;
16344 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16346 PyObject
* obj0
= 0 ;
16347 char *kwnames
[] = {
16348 (char *) "self", NULL
16351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
16352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16356 result
= (bool)(arg1
)->Ok();
16358 wxPyEndAllowThreads(__tstate
);
16359 if (PyErr_Occurred()) SWIG_fail
;
16361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16368 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16369 PyObject
*resultobj
;
16370 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16372 PyObject
* obj0
= 0 ;
16373 char *kwnames
[] = {
16374 (char *) "self", NULL
16377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
16378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16383 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
16384 result
= (wxString
*) &_result_ref
;
16387 wxPyEndAllowThreads(__tstate
);
16388 if (PyErr_Occurred()) SWIG_fail
;
16392 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16394 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16403 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16404 PyObject
*resultobj
;
16405 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16407 PyObject
* obj0
= 0 ;
16408 char *kwnames
[] = {
16409 (char *) "self", NULL
16412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
16413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16417 result
= (bool)(arg1
)->GetColour();
16419 wxPyEndAllowThreads(__tstate
);
16420 if (PyErr_Occurred()) SWIG_fail
;
16422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16429 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16430 PyObject
*resultobj
;
16431 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16433 PyObject
* obj0
= 0 ;
16434 char *kwnames
[] = {
16435 (char *) "self", NULL
16438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
16439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16443 result
= (int)(arg1
)->GetDuplex();
16445 wxPyEndAllowThreads(__tstate
);
16446 if (PyErr_Occurred()) SWIG_fail
;
16448 resultobj
= SWIG_FromInt((int)result
);
16455 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16456 PyObject
*resultobj
;
16457 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16459 PyObject
* obj0
= 0 ;
16460 char *kwnames
[] = {
16461 (char *) "self", NULL
16464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
16465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16469 result
= (int)(arg1
)->GetPaperId();
16471 wxPyEndAllowThreads(__tstate
);
16472 if (PyErr_Occurred()) SWIG_fail
;
16474 resultobj
= SWIG_FromInt((int)result
);
16481 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16482 PyObject
*resultobj
;
16483 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16485 PyObject
* obj0
= 0 ;
16486 char *kwnames
[] = {
16487 (char *) "self", NULL
16490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
16491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16496 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
16497 result
= (wxSize
*) &_result_ref
;
16500 wxPyEndAllowThreads(__tstate
);
16501 if (PyErr_Occurred()) SWIG_fail
;
16503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16510 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16511 PyObject
*resultobj
;
16512 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16514 PyObject
* obj0
= 0 ;
16515 char *kwnames
[] = {
16516 (char *) "self", NULL
16519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
16520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16524 result
= (int)(arg1
)->GetQuality();
16526 wxPyEndAllowThreads(__tstate
);
16527 if (PyErr_Occurred()) SWIG_fail
;
16529 resultobj
= SWIG_FromInt((int)result
);
16536 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16537 PyObject
*resultobj
;
16538 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16540 PyObject
* obj0
= 0 ;
16541 PyObject
* obj1
= 0 ;
16542 char *kwnames
[] = {
16543 (char *) "self",(char *) "v", NULL
16546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
16547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16549 arg2
= (int) SWIG_AsInt(obj1
);
16550 if (PyErr_Occurred()) SWIG_fail
;
16552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16553 (arg1
)->SetNoCopies(arg2
);
16555 wxPyEndAllowThreads(__tstate
);
16556 if (PyErr_Occurred()) SWIG_fail
;
16558 Py_INCREF(Py_None
); resultobj
= Py_None
;
16565 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16566 PyObject
*resultobj
;
16567 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16569 PyObject
* obj0
= 0 ;
16570 PyObject
* obj1
= 0 ;
16571 char *kwnames
[] = {
16572 (char *) "self",(char *) "flag", NULL
16575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
16576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16578 arg2
= (bool) SWIG_AsBool(obj1
);
16579 if (PyErr_Occurred()) SWIG_fail
;
16581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16582 (arg1
)->SetCollate(arg2
);
16584 wxPyEndAllowThreads(__tstate
);
16585 if (PyErr_Occurred()) SWIG_fail
;
16587 Py_INCREF(Py_None
); resultobj
= Py_None
;
16594 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16595 PyObject
*resultobj
;
16596 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16598 PyObject
* obj0
= 0 ;
16599 PyObject
* obj1
= 0 ;
16600 char *kwnames
[] = {
16601 (char *) "self",(char *) "orient", NULL
16604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16607 arg2
= (int) SWIG_AsInt(obj1
);
16608 if (PyErr_Occurred()) SWIG_fail
;
16610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16611 (arg1
)->SetOrientation(arg2
);
16613 wxPyEndAllowThreads(__tstate
);
16614 if (PyErr_Occurred()) SWIG_fail
;
16616 Py_INCREF(Py_None
); resultobj
= Py_None
;
16623 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16624 PyObject
*resultobj
;
16625 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16626 wxString
*arg2
= 0 ;
16627 bool temp2
= False
;
16628 PyObject
* obj0
= 0 ;
16629 PyObject
* obj1
= 0 ;
16630 char *kwnames
[] = {
16631 (char *) "self",(char *) "name", NULL
16634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
16635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16638 arg2
= wxString_in_helper(obj1
);
16639 if (arg2
== NULL
) SWIG_fail
;
16643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16644 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
16646 wxPyEndAllowThreads(__tstate
);
16647 if (PyErr_Occurred()) SWIG_fail
;
16649 Py_INCREF(Py_None
); resultobj
= Py_None
;
16664 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16665 PyObject
*resultobj
;
16666 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16668 PyObject
* obj0
= 0 ;
16669 PyObject
* obj1
= 0 ;
16670 char *kwnames
[] = {
16671 (char *) "self",(char *) "colour", NULL
16674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16677 arg2
= (bool) SWIG_AsBool(obj1
);
16678 if (PyErr_Occurred()) SWIG_fail
;
16680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16681 (arg1
)->SetColour(arg2
);
16683 wxPyEndAllowThreads(__tstate
);
16684 if (PyErr_Occurred()) SWIG_fail
;
16686 Py_INCREF(Py_None
); resultobj
= Py_None
;
16693 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16694 PyObject
*resultobj
;
16695 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16697 PyObject
* obj0
= 0 ;
16698 PyObject
* obj1
= 0 ;
16699 char *kwnames
[] = {
16700 (char *) "self",(char *) "duplex", NULL
16703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
16704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16706 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
16707 if (PyErr_Occurred()) SWIG_fail
;
16709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16710 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
16712 wxPyEndAllowThreads(__tstate
);
16713 if (PyErr_Occurred()) SWIG_fail
;
16715 Py_INCREF(Py_None
); resultobj
= Py_None
;
16722 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16723 PyObject
*resultobj
;
16724 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16726 PyObject
* obj0
= 0 ;
16727 PyObject
* obj1
= 0 ;
16728 char *kwnames
[] = {
16729 (char *) "self",(char *) "sizeId", NULL
16732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
16733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16735 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
16736 if (PyErr_Occurred()) SWIG_fail
;
16738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16739 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
16741 wxPyEndAllowThreads(__tstate
);
16742 if (PyErr_Occurred()) SWIG_fail
;
16744 Py_INCREF(Py_None
); resultobj
= Py_None
;
16751 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16752 PyObject
*resultobj
;
16753 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16756 PyObject
* obj0
= 0 ;
16757 PyObject
* obj1
= 0 ;
16758 char *kwnames
[] = {
16759 (char *) "self",(char *) "sz", NULL
16762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16767 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16771 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
16773 wxPyEndAllowThreads(__tstate
);
16774 if (PyErr_Occurred()) SWIG_fail
;
16776 Py_INCREF(Py_None
); resultobj
= Py_None
;
16783 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16784 PyObject
*resultobj
;
16785 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16787 PyObject
* obj0
= 0 ;
16788 PyObject
* obj1
= 0 ;
16789 char *kwnames
[] = {
16790 (char *) "self",(char *) "quality", NULL
16793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
16794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16796 arg2
= (int) SWIG_AsInt(obj1
);
16797 if (PyErr_Occurred()) SWIG_fail
;
16799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16800 (arg1
)->SetQuality(arg2
);
16802 wxPyEndAllowThreads(__tstate
);
16803 if (PyErr_Occurred()) SWIG_fail
;
16805 Py_INCREF(Py_None
); resultobj
= Py_None
;
16812 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16813 PyObject
*resultobj
;
16814 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16816 PyObject
* obj0
= 0 ;
16817 char *kwnames
[] = {
16818 (char *) "self", NULL
16821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
16822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16827 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
16828 result
= (wxString
*) &_result_ref
;
16831 wxPyEndAllowThreads(__tstate
);
16832 if (PyErr_Occurred()) SWIG_fail
;
16836 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16838 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16847 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16848 PyObject
*resultobj
;
16849 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16851 PyObject
* obj0
= 0 ;
16852 char *kwnames
[] = {
16853 (char *) "self", NULL
16856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
16857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16862 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
16863 result
= (wxString
*) &_result_ref
;
16866 wxPyEndAllowThreads(__tstate
);
16867 if (PyErr_Occurred()) SWIG_fail
;
16871 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16873 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16882 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16883 PyObject
*resultobj
;
16884 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16886 PyObject
* obj0
= 0 ;
16887 char *kwnames
[] = {
16888 (char *) "self", NULL
16891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
16892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16897 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
16898 result
= (wxString
*) &_result_ref
;
16901 wxPyEndAllowThreads(__tstate
);
16902 if (PyErr_Occurred()) SWIG_fail
;
16906 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16908 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16917 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16918 PyObject
*resultobj
;
16919 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16921 PyObject
* obj0
= 0 ;
16922 char *kwnames
[] = {
16923 (char *) "self", NULL
16926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
16927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16932 wxString
const &_result_ref
= (arg1
)->GetFilename();
16933 result
= (wxString
*) &_result_ref
;
16936 wxPyEndAllowThreads(__tstate
);
16937 if (PyErr_Occurred()) SWIG_fail
;
16941 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16943 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16952 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16953 PyObject
*resultobj
;
16954 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16956 PyObject
* obj0
= 0 ;
16957 char *kwnames
[] = {
16958 (char *) "self", NULL
16961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
16962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16967 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
16968 result
= (wxString
*) &_result_ref
;
16971 wxPyEndAllowThreads(__tstate
);
16972 if (PyErr_Occurred()) SWIG_fail
;
16976 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16978 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16987 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16988 PyObject
*resultobj
;
16989 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16991 PyObject
* obj0
= 0 ;
16992 char *kwnames
[] = {
16993 (char *) "self", NULL
16996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
16997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17001 result
= (double)(arg1
)->GetPrinterScaleX();
17003 wxPyEndAllowThreads(__tstate
);
17004 if (PyErr_Occurred()) SWIG_fail
;
17006 resultobj
= SWIG_FromDouble((double)result
);
17013 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17014 PyObject
*resultobj
;
17015 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17017 PyObject
* obj0
= 0 ;
17018 char *kwnames
[] = {
17019 (char *) "self", NULL
17022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
17023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17027 result
= (double)(arg1
)->GetPrinterScaleY();
17029 wxPyEndAllowThreads(__tstate
);
17030 if (PyErr_Occurred()) SWIG_fail
;
17032 resultobj
= SWIG_FromDouble((double)result
);
17039 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17040 PyObject
*resultobj
;
17041 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17043 PyObject
* obj0
= 0 ;
17044 char *kwnames
[] = {
17045 (char *) "self", NULL
17048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
17049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17053 result
= (long)(arg1
)->GetPrinterTranslateX();
17055 wxPyEndAllowThreads(__tstate
);
17056 if (PyErr_Occurred()) SWIG_fail
;
17058 resultobj
= SWIG_FromLong((long)result
);
17065 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17066 PyObject
*resultobj
;
17067 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17069 PyObject
* obj0
= 0 ;
17070 char *kwnames
[] = {
17071 (char *) "self", NULL
17074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
17075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17079 result
= (long)(arg1
)->GetPrinterTranslateY();
17081 wxPyEndAllowThreads(__tstate
);
17082 if (PyErr_Occurred()) SWIG_fail
;
17084 resultobj
= SWIG_FromLong((long)result
);
17091 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17092 PyObject
*resultobj
;
17093 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17095 PyObject
* obj0
= 0 ;
17096 char *kwnames
[] = {
17097 (char *) "self", NULL
17100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
17101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17105 result
= (int)(arg1
)->GetPrintMode();
17107 wxPyEndAllowThreads(__tstate
);
17108 if (PyErr_Occurred()) SWIG_fail
;
17110 resultobj
= SWIG_FromInt((int)result
);
17117 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17118 PyObject
*resultobj
;
17119 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17120 wxString
*arg2
= 0 ;
17121 bool temp2
= False
;
17122 PyObject
* obj0
= 0 ;
17123 PyObject
* obj1
= 0 ;
17124 char *kwnames
[] = {
17125 (char *) "self",(char *) "command", NULL
17128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
17129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17132 arg2
= wxString_in_helper(obj1
);
17133 if (arg2
== NULL
) SWIG_fail
;
17137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17138 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
17140 wxPyEndAllowThreads(__tstate
);
17141 if (PyErr_Occurred()) SWIG_fail
;
17143 Py_INCREF(Py_None
); resultobj
= Py_None
;
17158 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17159 PyObject
*resultobj
;
17160 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17161 wxString
*arg2
= 0 ;
17162 bool temp2
= False
;
17163 PyObject
* obj0
= 0 ;
17164 PyObject
* obj1
= 0 ;
17165 char *kwnames
[] = {
17166 (char *) "self",(char *) "options", NULL
17169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
17170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17173 arg2
= wxString_in_helper(obj1
);
17174 if (arg2
== NULL
) SWIG_fail
;
17178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17179 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
17181 wxPyEndAllowThreads(__tstate
);
17182 if (PyErr_Occurred()) SWIG_fail
;
17184 Py_INCREF(Py_None
); resultobj
= Py_None
;
17199 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17200 PyObject
*resultobj
;
17201 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17202 wxString
*arg2
= 0 ;
17203 bool temp2
= False
;
17204 PyObject
* obj0
= 0 ;
17205 PyObject
* obj1
= 0 ;
17206 char *kwnames
[] = {
17207 (char *) "self",(char *) "command", NULL
17210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
17211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17214 arg2
= wxString_in_helper(obj1
);
17215 if (arg2
== NULL
) SWIG_fail
;
17219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17220 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
17222 wxPyEndAllowThreads(__tstate
);
17223 if (PyErr_Occurred()) SWIG_fail
;
17225 Py_INCREF(Py_None
); resultobj
= Py_None
;
17240 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17241 PyObject
*resultobj
;
17242 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17243 wxString
*arg2
= 0 ;
17244 bool temp2
= False
;
17245 PyObject
* obj0
= 0 ;
17246 PyObject
* obj1
= 0 ;
17247 char *kwnames
[] = {
17248 (char *) "self",(char *) "filename", NULL
17251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
17252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17255 arg2
= wxString_in_helper(obj1
);
17256 if (arg2
== NULL
) SWIG_fail
;
17260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17261 (arg1
)->SetFilename((wxString
const &)*arg2
);
17263 wxPyEndAllowThreads(__tstate
);
17264 if (PyErr_Occurred()) SWIG_fail
;
17266 Py_INCREF(Py_None
); resultobj
= Py_None
;
17281 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17282 PyObject
*resultobj
;
17283 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17284 wxString
*arg2
= 0 ;
17285 bool temp2
= False
;
17286 PyObject
* obj0
= 0 ;
17287 PyObject
* obj1
= 0 ;
17288 char *kwnames
[] = {
17289 (char *) "self",(char *) "path", NULL
17292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
17293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17296 arg2
= wxString_in_helper(obj1
);
17297 if (arg2
== NULL
) SWIG_fail
;
17301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17302 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
17304 wxPyEndAllowThreads(__tstate
);
17305 if (PyErr_Occurred()) SWIG_fail
;
17307 Py_INCREF(Py_None
); resultobj
= Py_None
;
17322 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17323 PyObject
*resultobj
;
17324 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17326 PyObject
* obj0
= 0 ;
17327 PyObject
* obj1
= 0 ;
17328 char *kwnames
[] = {
17329 (char *) "self",(char *) "x", NULL
17332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
17333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17335 arg2
= (double) SWIG_AsDouble(obj1
);
17336 if (PyErr_Occurred()) SWIG_fail
;
17338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17339 (arg1
)->SetPrinterScaleX(arg2
);
17341 wxPyEndAllowThreads(__tstate
);
17342 if (PyErr_Occurred()) SWIG_fail
;
17344 Py_INCREF(Py_None
); resultobj
= Py_None
;
17351 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17352 PyObject
*resultobj
;
17353 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17355 PyObject
* obj0
= 0 ;
17356 PyObject
* obj1
= 0 ;
17357 char *kwnames
[] = {
17358 (char *) "self",(char *) "y", NULL
17361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
17362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17364 arg2
= (double) SWIG_AsDouble(obj1
);
17365 if (PyErr_Occurred()) SWIG_fail
;
17367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17368 (arg1
)->SetPrinterScaleY(arg2
);
17370 wxPyEndAllowThreads(__tstate
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17373 Py_INCREF(Py_None
); resultobj
= Py_None
;
17380 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17381 PyObject
*resultobj
;
17382 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17385 PyObject
* obj0
= 0 ;
17386 PyObject
* obj1
= 0 ;
17387 PyObject
* obj2
= 0 ;
17388 char *kwnames
[] = {
17389 (char *) "self",(char *) "x",(char *) "y", NULL
17392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17395 arg2
= (double) SWIG_AsDouble(obj1
);
17396 if (PyErr_Occurred()) SWIG_fail
;
17397 arg3
= (double) SWIG_AsDouble(obj2
);
17398 if (PyErr_Occurred()) SWIG_fail
;
17400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17401 (arg1
)->SetPrinterScaling(arg2
,arg3
);
17403 wxPyEndAllowThreads(__tstate
);
17404 if (PyErr_Occurred()) SWIG_fail
;
17406 Py_INCREF(Py_None
); resultobj
= Py_None
;
17413 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17414 PyObject
*resultobj
;
17415 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17417 PyObject
* obj0
= 0 ;
17418 PyObject
* obj1
= 0 ;
17419 char *kwnames
[] = {
17420 (char *) "self",(char *) "x", NULL
17423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
17424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17426 arg2
= (long) SWIG_AsLong(obj1
);
17427 if (PyErr_Occurred()) SWIG_fail
;
17429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17430 (arg1
)->SetPrinterTranslateX(arg2
);
17432 wxPyEndAllowThreads(__tstate
);
17433 if (PyErr_Occurred()) SWIG_fail
;
17435 Py_INCREF(Py_None
); resultobj
= Py_None
;
17442 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17443 PyObject
*resultobj
;
17444 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17446 PyObject
* obj0
= 0 ;
17447 PyObject
* obj1
= 0 ;
17448 char *kwnames
[] = {
17449 (char *) "self",(char *) "y", NULL
17452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
17453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17455 arg2
= (long) SWIG_AsLong(obj1
);
17456 if (PyErr_Occurred()) SWIG_fail
;
17458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17459 (arg1
)->SetPrinterTranslateY(arg2
);
17461 wxPyEndAllowThreads(__tstate
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17464 Py_INCREF(Py_None
); resultobj
= Py_None
;
17471 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17472 PyObject
*resultobj
;
17473 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17476 PyObject
* obj0
= 0 ;
17477 PyObject
* obj1
= 0 ;
17478 PyObject
* obj2
= 0 ;
17479 char *kwnames
[] = {
17480 (char *) "self",(char *) "x",(char *) "y", NULL
17483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17486 arg2
= (long) SWIG_AsLong(obj1
);
17487 if (PyErr_Occurred()) SWIG_fail
;
17488 arg3
= (long) SWIG_AsLong(obj2
);
17489 if (PyErr_Occurred()) SWIG_fail
;
17491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17492 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
17494 wxPyEndAllowThreads(__tstate
);
17495 if (PyErr_Occurred()) SWIG_fail
;
17497 Py_INCREF(Py_None
); resultobj
= Py_None
;
17504 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17505 PyObject
*resultobj
;
17506 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17508 PyObject
* obj0
= 0 ;
17509 PyObject
* obj1
= 0 ;
17510 char *kwnames
[] = {
17511 (char *) "self",(char *) "printMode", NULL
17514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
17515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17517 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17521 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
17523 wxPyEndAllowThreads(__tstate
);
17524 if (PyErr_Occurred()) SWIG_fail
;
17526 Py_INCREF(Py_None
); resultobj
= Py_None
;
17533 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17534 PyObject
*resultobj
;
17535 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17536 wxOutputStream
*result
;
17537 PyObject
* obj0
= 0 ;
17538 char *kwnames
[] = {
17539 (char *) "self", NULL
17542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
17543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17547 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
17549 wxPyEndAllowThreads(__tstate
);
17550 if (PyErr_Occurred()) SWIG_fail
;
17552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
17559 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17560 PyObject
*resultobj
;
17561 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17562 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
17563 PyObject
* obj0
= 0 ;
17564 PyObject
* obj1
= 0 ;
17565 char *kwnames
[] = {
17566 (char *) "self",(char *) "outputstream", NULL
17569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
17570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17572 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
17573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17576 (arg1
)->SetOutputStream(arg2
);
17578 wxPyEndAllowThreads(__tstate
);
17579 if (PyErr_Occurred()) SWIG_fail
;
17581 Py_INCREF(Py_None
); resultobj
= Py_None
;
17588 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
17590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17591 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
17593 return Py_BuildValue((char *)"");
17595 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17596 PyObject
*resultobj
;
17597 wxPageSetupDialogData
*result
;
17598 char *kwnames
[] = {
17602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
17604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17605 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
17607 wxPyEndAllowThreads(__tstate
);
17608 if (PyErr_Occurred()) SWIG_fail
;
17610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
17617 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17618 PyObject
*resultobj
;
17619 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17620 PyObject
* obj0
= 0 ;
17621 char *kwnames
[] = {
17622 (char *) "self", NULL
17625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
17626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17632 wxPyEndAllowThreads(__tstate
);
17633 if (PyErr_Occurred()) SWIG_fail
;
17635 Py_INCREF(Py_None
); resultobj
= Py_None
;
17642 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17643 PyObject
*resultobj
;
17644 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17646 PyObject
* obj0
= 0 ;
17647 PyObject
* obj1
= 0 ;
17648 char *kwnames
[] = {
17649 (char *) "self",(char *) "flag", NULL
17652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17655 arg2
= (bool) SWIG_AsBool(obj1
);
17656 if (PyErr_Occurred()) SWIG_fail
;
17658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17659 (arg1
)->EnableHelp(arg2
);
17661 wxPyEndAllowThreads(__tstate
);
17662 if (PyErr_Occurred()) SWIG_fail
;
17664 Py_INCREF(Py_None
); resultobj
= Py_None
;
17671 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17672 PyObject
*resultobj
;
17673 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17675 PyObject
* obj0
= 0 ;
17676 PyObject
* obj1
= 0 ;
17677 char *kwnames
[] = {
17678 (char *) "self",(char *) "flag", NULL
17681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17684 arg2
= (bool) SWIG_AsBool(obj1
);
17685 if (PyErr_Occurred()) SWIG_fail
;
17687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17688 (arg1
)->EnableMargins(arg2
);
17690 wxPyEndAllowThreads(__tstate
);
17691 if (PyErr_Occurred()) SWIG_fail
;
17693 Py_INCREF(Py_None
); resultobj
= Py_None
;
17700 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17701 PyObject
*resultobj
;
17702 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17704 PyObject
* obj0
= 0 ;
17705 PyObject
* obj1
= 0 ;
17706 char *kwnames
[] = {
17707 (char *) "self",(char *) "flag", NULL
17710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
17711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17713 arg2
= (bool) SWIG_AsBool(obj1
);
17714 if (PyErr_Occurred()) SWIG_fail
;
17716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17717 (arg1
)->EnableOrientation(arg2
);
17719 wxPyEndAllowThreads(__tstate
);
17720 if (PyErr_Occurred()) SWIG_fail
;
17722 Py_INCREF(Py_None
); resultobj
= Py_None
;
17729 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17730 PyObject
*resultobj
;
17731 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17733 PyObject
* obj0
= 0 ;
17734 PyObject
* obj1
= 0 ;
17735 char *kwnames
[] = {
17736 (char *) "self",(char *) "flag", NULL
17739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
17740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17742 arg2
= (bool) SWIG_AsBool(obj1
);
17743 if (PyErr_Occurred()) SWIG_fail
;
17745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17746 (arg1
)->EnablePaper(arg2
);
17748 wxPyEndAllowThreads(__tstate
);
17749 if (PyErr_Occurred()) SWIG_fail
;
17751 Py_INCREF(Py_None
); resultobj
= Py_None
;
17758 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17759 PyObject
*resultobj
;
17760 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17762 PyObject
* obj0
= 0 ;
17763 PyObject
* obj1
= 0 ;
17764 char *kwnames
[] = {
17765 (char *) "self",(char *) "flag", NULL
17768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
17769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17771 arg2
= (bool) SWIG_AsBool(obj1
);
17772 if (PyErr_Occurred()) SWIG_fail
;
17774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17775 (arg1
)->EnablePrinter(arg2
);
17777 wxPyEndAllowThreads(__tstate
);
17778 if (PyErr_Occurred()) SWIG_fail
;
17780 Py_INCREF(Py_None
); resultobj
= Py_None
;
17787 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17788 PyObject
*resultobj
;
17789 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17791 PyObject
* obj0
= 0 ;
17792 char *kwnames
[] = {
17793 (char *) "self", NULL
17796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
17797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17801 result
= (bool)(arg1
)->GetDefaultMinMargins();
17803 wxPyEndAllowThreads(__tstate
);
17804 if (PyErr_Occurred()) SWIG_fail
;
17806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17813 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17814 PyObject
*resultobj
;
17815 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17817 PyObject
* obj0
= 0 ;
17818 char *kwnames
[] = {
17819 (char *) "self", NULL
17822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
17823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17827 result
= (bool)(arg1
)->GetEnableMargins();
17829 wxPyEndAllowThreads(__tstate
);
17830 if (PyErr_Occurred()) SWIG_fail
;
17832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17839 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17840 PyObject
*resultobj
;
17841 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17843 PyObject
* obj0
= 0 ;
17844 char *kwnames
[] = {
17845 (char *) "self", NULL
17848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
17849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17853 result
= (bool)(arg1
)->GetEnableOrientation();
17855 wxPyEndAllowThreads(__tstate
);
17856 if (PyErr_Occurred()) SWIG_fail
;
17858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17865 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17866 PyObject
*resultobj
;
17867 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17869 PyObject
* obj0
= 0 ;
17870 char *kwnames
[] = {
17871 (char *) "self", NULL
17874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
17875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17879 result
= (bool)(arg1
)->GetEnablePaper();
17881 wxPyEndAllowThreads(__tstate
);
17882 if (PyErr_Occurred()) SWIG_fail
;
17884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17891 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17892 PyObject
*resultobj
;
17893 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17895 PyObject
* obj0
= 0 ;
17896 char *kwnames
[] = {
17897 (char *) "self", NULL
17900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
17901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17905 result
= (bool)(arg1
)->GetEnablePrinter();
17907 wxPyEndAllowThreads(__tstate
);
17908 if (PyErr_Occurred()) SWIG_fail
;
17910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17917 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17918 PyObject
*resultobj
;
17919 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17921 PyObject
* obj0
= 0 ;
17922 char *kwnames
[] = {
17923 (char *) "self", NULL
17926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
17927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17931 result
= (bool)(arg1
)->GetEnableHelp();
17933 wxPyEndAllowThreads(__tstate
);
17934 if (PyErr_Occurred()) SWIG_fail
;
17936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17943 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17944 PyObject
*resultobj
;
17945 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17947 PyObject
* obj0
= 0 ;
17948 char *kwnames
[] = {
17949 (char *) "self", NULL
17952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
17953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17957 result
= (bool)(arg1
)->GetDefaultInfo();
17959 wxPyEndAllowThreads(__tstate
);
17960 if (PyErr_Occurred()) SWIG_fail
;
17962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17969 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17970 PyObject
*resultobj
;
17971 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17973 PyObject
* obj0
= 0 ;
17974 char *kwnames
[] = {
17975 (char *) "self", NULL
17978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
17979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17983 result
= (arg1
)->GetMarginTopLeft();
17985 wxPyEndAllowThreads(__tstate
);
17986 if (PyErr_Occurred()) SWIG_fail
;
17989 wxPoint
* resultptr
;
17990 resultptr
= new wxPoint((wxPoint
&) result
);
17991 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17999 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18000 PyObject
*resultobj
;
18001 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18003 PyObject
* obj0
= 0 ;
18004 char *kwnames
[] = {
18005 (char *) "self", NULL
18008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
18009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18013 result
= (arg1
)->GetMarginBottomRight();
18015 wxPyEndAllowThreads(__tstate
);
18016 if (PyErr_Occurred()) SWIG_fail
;
18019 wxPoint
* resultptr
;
18020 resultptr
= new wxPoint((wxPoint
&) result
);
18021 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18029 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18030 PyObject
*resultobj
;
18031 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18033 PyObject
* obj0
= 0 ;
18034 char *kwnames
[] = {
18035 (char *) "self", NULL
18038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
18039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18043 result
= (arg1
)->GetMinMarginTopLeft();
18045 wxPyEndAllowThreads(__tstate
);
18046 if (PyErr_Occurred()) SWIG_fail
;
18049 wxPoint
* resultptr
;
18050 resultptr
= new wxPoint((wxPoint
&) result
);
18051 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18059 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18060 PyObject
*resultobj
;
18061 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18063 PyObject
* obj0
= 0 ;
18064 char *kwnames
[] = {
18065 (char *) "self", NULL
18068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
18069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18073 result
= (arg1
)->GetMinMarginBottomRight();
18075 wxPyEndAllowThreads(__tstate
);
18076 if (PyErr_Occurred()) SWIG_fail
;
18079 wxPoint
* resultptr
;
18080 resultptr
= new wxPoint((wxPoint
&) result
);
18081 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18089 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18090 PyObject
*resultobj
;
18091 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18093 PyObject
* obj0
= 0 ;
18094 char *kwnames
[] = {
18095 (char *) "self", NULL
18098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18103 result
= (int)(arg1
)->GetPaperId();
18105 wxPyEndAllowThreads(__tstate
);
18106 if (PyErr_Occurred()) SWIG_fail
;
18108 resultobj
= SWIG_FromInt((int)result
);
18115 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18116 PyObject
*resultobj
;
18117 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18119 PyObject
* obj0
= 0 ;
18120 char *kwnames
[] = {
18121 (char *) "self", NULL
18124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18129 result
= (arg1
)->GetPaperSize();
18131 wxPyEndAllowThreads(__tstate
);
18132 if (PyErr_Occurred()) SWIG_fail
;
18135 wxSize
* resultptr
;
18136 resultptr
= new wxSize((wxSize
&) result
);
18137 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18145 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18146 PyObject
*resultobj
;
18147 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18148 wxPrintData
*result
;
18149 PyObject
* obj0
= 0 ;
18150 char *kwnames
[] = {
18151 (char *) "self", NULL
18154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
18155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18160 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
18161 result
= (wxPrintData
*) &_result_ref
;
18164 wxPyEndAllowThreads(__tstate
);
18165 if (PyErr_Occurred()) SWIG_fail
;
18167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
18174 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18175 PyObject
*resultobj
;
18176 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18178 PyObject
* obj0
= 0 ;
18179 char *kwnames
[] = {
18180 (char *) "self", NULL
18183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
18184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18188 result
= (bool)(arg1
)->Ok();
18190 wxPyEndAllowThreads(__tstate
);
18191 if (PyErr_Occurred()) SWIG_fail
;
18193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18200 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18201 PyObject
*resultobj
;
18202 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18204 PyObject
* obj0
= 0 ;
18205 PyObject
* obj1
= 0 ;
18206 char *kwnames
[] = {
18207 (char *) "self",(char *) "flag", NULL
18210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
18211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18213 arg2
= (bool) SWIG_AsBool(obj1
);
18214 if (PyErr_Occurred()) SWIG_fail
;
18216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18217 (arg1
)->SetDefaultInfo(arg2
);
18219 wxPyEndAllowThreads(__tstate
);
18220 if (PyErr_Occurred()) SWIG_fail
;
18222 Py_INCREF(Py_None
); resultobj
= Py_None
;
18229 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18230 PyObject
*resultobj
;
18231 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18233 PyObject
* obj0
= 0 ;
18234 PyObject
* obj1
= 0 ;
18235 char *kwnames
[] = {
18236 (char *) "self",(char *) "flag", NULL
18239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18242 arg2
= (bool) SWIG_AsBool(obj1
);
18243 if (PyErr_Occurred()) SWIG_fail
;
18245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18246 (arg1
)->SetDefaultMinMargins(arg2
);
18248 wxPyEndAllowThreads(__tstate
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18251 Py_INCREF(Py_None
); resultobj
= Py_None
;
18258 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18259 PyObject
*resultobj
;
18260 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18261 wxPoint
*arg2
= 0 ;
18263 PyObject
* obj0
= 0 ;
18264 PyObject
* obj1
= 0 ;
18265 char *kwnames
[] = {
18266 (char *) "self",(char *) "pt", NULL
18269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
18270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18274 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18278 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
18280 wxPyEndAllowThreads(__tstate
);
18281 if (PyErr_Occurred()) SWIG_fail
;
18283 Py_INCREF(Py_None
); resultobj
= Py_None
;
18290 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18291 PyObject
*resultobj
;
18292 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18293 wxPoint
*arg2
= 0 ;
18295 PyObject
* obj0
= 0 ;
18296 PyObject
* obj1
= 0 ;
18297 char *kwnames
[] = {
18298 (char *) "self",(char *) "pt", NULL
18301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
18302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18306 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18310 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
18312 wxPyEndAllowThreads(__tstate
);
18313 if (PyErr_Occurred()) SWIG_fail
;
18315 Py_INCREF(Py_None
); resultobj
= Py_None
;
18322 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18323 PyObject
*resultobj
;
18324 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18325 wxPoint
*arg2
= 0 ;
18327 PyObject
* obj0
= 0 ;
18328 PyObject
* obj1
= 0 ;
18329 char *kwnames
[] = {
18330 (char *) "self",(char *) "pt", NULL
18333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
18334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18338 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18342 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
18344 wxPyEndAllowThreads(__tstate
);
18345 if (PyErr_Occurred()) SWIG_fail
;
18347 Py_INCREF(Py_None
); resultobj
= Py_None
;
18354 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18355 PyObject
*resultobj
;
18356 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18357 wxPoint
*arg2
= 0 ;
18359 PyObject
* obj0
= 0 ;
18360 PyObject
* obj1
= 0 ;
18361 char *kwnames
[] = {
18362 (char *) "self",(char *) "pt", NULL
18365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
18366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18370 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18374 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
18376 wxPyEndAllowThreads(__tstate
);
18377 if (PyErr_Occurred()) SWIG_fail
;
18379 Py_INCREF(Py_None
); resultobj
= Py_None
;
18386 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18387 PyObject
*resultobj
;
18388 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18390 PyObject
* obj0
= 0 ;
18391 PyObject
* obj1
= 0 ;
18392 char *kwnames
[] = {
18393 (char *) "self",(char *) "id", NULL
18396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18399 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
18400 if (PyErr_Occurred()) SWIG_fail
;
18402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18403 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18405 wxPyEndAllowThreads(__tstate
);
18406 if (PyErr_Occurred()) SWIG_fail
;
18408 Py_INCREF(Py_None
); resultobj
= Py_None
;
18415 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18416 PyObject
*resultobj
;
18417 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18420 PyObject
* obj0
= 0 ;
18421 PyObject
* obj1
= 0 ;
18422 char *kwnames
[] = {
18423 (char *) "self",(char *) "size", NULL
18426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18431 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18435 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18437 wxPyEndAllowThreads(__tstate
);
18438 if (PyErr_Occurred()) SWIG_fail
;
18440 Py_INCREF(Py_None
); resultobj
= Py_None
;
18447 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18448 PyObject
*resultobj
;
18449 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18450 wxPrintData
*arg2
= 0 ;
18451 PyObject
* obj0
= 0 ;
18452 PyObject
* obj1
= 0 ;
18453 char *kwnames
[] = {
18454 (char *) "self",(char *) "printData", NULL
18457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
18458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18460 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
18461 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18463 if (arg2
== NULL
) {
18464 PyErr_SetString(PyExc_TypeError
,"null reference");
18468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18469 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
18471 wxPyEndAllowThreads(__tstate
);
18472 if (PyErr_Occurred()) SWIG_fail
;
18474 Py_INCREF(Py_None
); resultobj
= Py_None
;
18481 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
18483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18484 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
18486 return Py_BuildValue((char *)"");
18488 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18489 PyObject
*resultobj
;
18490 wxWindow
*arg1
= (wxWindow
*) 0 ;
18491 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
18492 wxPageSetupDialog
*result
;
18493 PyObject
* obj0
= 0 ;
18494 PyObject
* obj1
= 0 ;
18495 char *kwnames
[] = {
18496 (char *) "parent",(char *) "data", NULL
18499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
18500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
18504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18508 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
18510 wxPyEndAllowThreads(__tstate
);
18511 if (PyErr_Occurred()) SWIG_fail
;
18513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
18520 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18521 PyObject
*resultobj
;
18522 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
18523 wxPageSetupDialogData
*result
;
18524 PyObject
* obj0
= 0 ;
18525 char *kwnames
[] = {
18526 (char *) "self", NULL
18529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
18530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
18531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18535 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
18536 result
= (wxPageSetupDialogData
*) &_result_ref
;
18539 wxPyEndAllowThreads(__tstate
);
18540 if (PyErr_Occurred()) SWIG_fail
;
18542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
18549 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18550 PyObject
*resultobj
;
18551 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
18553 PyObject
* obj0
= 0 ;
18554 char *kwnames
[] = {
18555 (char *) "self", NULL
18558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
18559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
18560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18563 result
= (int)(arg1
)->ShowModal();
18565 wxPyEndAllowThreads(__tstate
);
18566 if (PyErr_Occurred()) SWIG_fail
;
18568 resultobj
= SWIG_FromInt((int)result
);
18575 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
18577 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18578 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
18580 return Py_BuildValue((char *)"");
18582 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
18583 PyObject
*resultobj
;
18584 wxPrintDialogData
*result
;
18586 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
18588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18589 result
= (wxPrintDialogData
*)new wxPrintDialogData();
18591 wxPyEndAllowThreads(__tstate
);
18592 if (PyErr_Occurred()) SWIG_fail
;
18594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
18601 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
18602 PyObject
*resultobj
;
18603 wxPrintData
*arg1
= 0 ;
18604 wxPrintDialogData
*result
;
18605 PyObject
* obj0
= 0 ;
18607 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
18608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18609 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18611 if (arg1
== NULL
) {
18612 PyErr_SetString(PyExc_TypeError
,"null reference");
18616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18617 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
18619 wxPyEndAllowThreads(__tstate
);
18620 if (PyErr_Occurred()) SWIG_fail
;
18622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
18629 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
18634 argc
= PyObject_Length(args
);
18635 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
18636 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18639 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
18645 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
18653 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
18657 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
18662 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18663 PyObject
*resultobj
;
18664 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18665 PyObject
* obj0
= 0 ;
18666 char *kwnames
[] = {
18667 (char *) "self", NULL
18670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
18671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18677 wxPyEndAllowThreads(__tstate
);
18678 if (PyErr_Occurred()) SWIG_fail
;
18680 Py_INCREF(Py_None
); resultobj
= Py_None
;
18687 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18688 PyObject
*resultobj
;
18689 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18691 PyObject
* obj0
= 0 ;
18692 char *kwnames
[] = {
18693 (char *) "self", NULL
18696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
18697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18701 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
18703 wxPyEndAllowThreads(__tstate
);
18704 if (PyErr_Occurred()) SWIG_fail
;
18706 resultobj
= SWIG_FromInt((int)result
);
18713 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18714 PyObject
*resultobj
;
18715 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18717 PyObject
* obj0
= 0 ;
18718 char *kwnames
[] = {
18719 (char *) "self", NULL
18722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
18723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18727 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
18729 wxPyEndAllowThreads(__tstate
);
18730 if (PyErr_Occurred()) SWIG_fail
;
18732 resultobj
= SWIG_FromInt((int)result
);
18739 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18740 PyObject
*resultobj
;
18741 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18743 PyObject
* obj0
= 0 ;
18744 char *kwnames
[] = {
18745 (char *) "self", NULL
18748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
18749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18753 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
18755 wxPyEndAllowThreads(__tstate
);
18756 if (PyErr_Occurred()) SWIG_fail
;
18758 resultobj
= SWIG_FromInt((int)result
);
18765 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18766 PyObject
*resultobj
;
18767 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18769 PyObject
* obj0
= 0 ;
18770 char *kwnames
[] = {
18771 (char *) "self", NULL
18774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
18775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18779 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
18781 wxPyEndAllowThreads(__tstate
);
18782 if (PyErr_Occurred()) SWIG_fail
;
18784 resultobj
= SWIG_FromInt((int)result
);
18791 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18792 PyObject
*resultobj
;
18793 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18795 PyObject
* obj0
= 0 ;
18796 char *kwnames
[] = {
18797 (char *) "self", NULL
18800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18805 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
18807 wxPyEndAllowThreads(__tstate
);
18808 if (PyErr_Occurred()) SWIG_fail
;
18810 resultobj
= SWIG_FromInt((int)result
);
18817 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18818 PyObject
*resultobj
;
18819 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18821 PyObject
* obj0
= 0 ;
18822 char *kwnames
[] = {
18823 (char *) "self", NULL
18826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
18827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18831 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
18833 wxPyEndAllowThreads(__tstate
);
18834 if (PyErr_Occurred()) SWIG_fail
;
18836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18843 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18844 PyObject
*resultobj
;
18845 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18847 PyObject
* obj0
= 0 ;
18848 char *kwnames
[] = {
18849 (char *) "self", NULL
18852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
18853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18857 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
18859 wxPyEndAllowThreads(__tstate
);
18860 if (PyErr_Occurred()) SWIG_fail
;
18862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18869 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18870 PyObject
*resultobj
;
18871 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18873 PyObject
* obj0
= 0 ;
18874 char *kwnames
[] = {
18875 (char *) "self", NULL
18878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
18879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18883 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
18885 wxPyEndAllowThreads(__tstate
);
18886 if (PyErr_Occurred()) SWIG_fail
;
18888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18895 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18896 PyObject
*resultobj
;
18897 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18899 PyObject
* obj0
= 0 ;
18900 char *kwnames
[] = {
18901 (char *) "self", NULL
18904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
18905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18909 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
18911 wxPyEndAllowThreads(__tstate
);
18912 if (PyErr_Occurred()) SWIG_fail
;
18914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18921 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18922 PyObject
*resultobj
;
18923 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18925 PyObject
* obj0
= 0 ;
18926 char *kwnames
[] = {
18927 (char *) "self", NULL
18930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
18931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18935 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
18937 wxPyEndAllowThreads(__tstate
);
18938 if (PyErr_Occurred()) SWIG_fail
;
18940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18947 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18948 PyObject
*resultobj
;
18949 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18951 PyObject
* obj0
= 0 ;
18952 PyObject
* obj1
= 0 ;
18953 char *kwnames
[] = {
18954 (char *) "self",(char *) "v", NULL
18957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
18958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18960 arg2
= (int) SWIG_AsInt(obj1
);
18961 if (PyErr_Occurred()) SWIG_fail
;
18963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18964 (arg1
)->SetFromPage(arg2
);
18966 wxPyEndAllowThreads(__tstate
);
18967 if (PyErr_Occurred()) SWIG_fail
;
18969 Py_INCREF(Py_None
); resultobj
= Py_None
;
18976 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18977 PyObject
*resultobj
;
18978 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18980 PyObject
* obj0
= 0 ;
18981 PyObject
* obj1
= 0 ;
18982 char *kwnames
[] = {
18983 (char *) "self",(char *) "v", NULL
18986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
18987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18989 arg2
= (int) SWIG_AsInt(obj1
);
18990 if (PyErr_Occurred()) SWIG_fail
;
18992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18993 (arg1
)->SetToPage(arg2
);
18995 wxPyEndAllowThreads(__tstate
);
18996 if (PyErr_Occurred()) SWIG_fail
;
18998 Py_INCREF(Py_None
); resultobj
= Py_None
;
19005 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19006 PyObject
*resultobj
;
19007 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19009 PyObject
* obj0
= 0 ;
19010 PyObject
* obj1
= 0 ;
19011 char *kwnames
[] = {
19012 (char *) "self",(char *) "v", NULL
19015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
19016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19018 arg2
= (int) SWIG_AsInt(obj1
);
19019 if (PyErr_Occurred()) SWIG_fail
;
19021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19022 (arg1
)->SetMinPage(arg2
);
19024 wxPyEndAllowThreads(__tstate
);
19025 if (PyErr_Occurred()) SWIG_fail
;
19027 Py_INCREF(Py_None
); resultobj
= Py_None
;
19034 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19035 PyObject
*resultobj
;
19036 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19038 PyObject
* obj0
= 0 ;
19039 PyObject
* obj1
= 0 ;
19040 char *kwnames
[] = {
19041 (char *) "self",(char *) "v", NULL
19044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
19045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19047 arg2
= (int) SWIG_AsInt(obj1
);
19048 if (PyErr_Occurred()) SWIG_fail
;
19050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19051 (arg1
)->SetMaxPage(arg2
);
19053 wxPyEndAllowThreads(__tstate
);
19054 if (PyErr_Occurred()) SWIG_fail
;
19056 Py_INCREF(Py_None
); resultobj
= Py_None
;
19063 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19064 PyObject
*resultobj
;
19065 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19067 PyObject
* obj0
= 0 ;
19068 PyObject
* obj1
= 0 ;
19069 char *kwnames
[] = {
19070 (char *) "self",(char *) "v", NULL
19073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
19074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19076 arg2
= (int) SWIG_AsInt(obj1
);
19077 if (PyErr_Occurred()) SWIG_fail
;
19079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19080 (arg1
)->SetNoCopies(arg2
);
19082 wxPyEndAllowThreads(__tstate
);
19083 if (PyErr_Occurred()) SWIG_fail
;
19085 Py_INCREF(Py_None
); resultobj
= Py_None
;
19092 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19093 PyObject
*resultobj
;
19094 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19096 PyObject
* obj0
= 0 ;
19097 PyObject
* obj1
= 0 ;
19098 char *kwnames
[] = {
19099 (char *) "self",(char *) "flag", NULL
19102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
19103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19105 arg2
= (bool) SWIG_AsBool(obj1
);
19106 if (PyErr_Occurred()) SWIG_fail
;
19108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19109 (arg1
)->SetAllPages(arg2
);
19111 wxPyEndAllowThreads(__tstate
);
19112 if (PyErr_Occurred()) SWIG_fail
;
19114 Py_INCREF(Py_None
); resultobj
= Py_None
;
19121 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19122 PyObject
*resultobj
;
19123 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19125 PyObject
* obj0
= 0 ;
19126 PyObject
* obj1
= 0 ;
19127 char *kwnames
[] = {
19128 (char *) "self",(char *) "flag", NULL
19131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
19132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19134 arg2
= (bool) SWIG_AsBool(obj1
);
19135 if (PyErr_Occurred()) SWIG_fail
;
19137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19138 (arg1
)->SetSelection(arg2
);
19140 wxPyEndAllowThreads(__tstate
);
19141 if (PyErr_Occurred()) SWIG_fail
;
19143 Py_INCREF(Py_None
); resultobj
= Py_None
;
19150 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19151 PyObject
*resultobj
;
19152 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19154 PyObject
* obj0
= 0 ;
19155 PyObject
* obj1
= 0 ;
19156 char *kwnames
[] = {
19157 (char *) "self",(char *) "flag", NULL
19160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
19161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19163 arg2
= (bool) SWIG_AsBool(obj1
);
19164 if (PyErr_Occurred()) SWIG_fail
;
19166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19167 (arg1
)->SetCollate(arg2
);
19169 wxPyEndAllowThreads(__tstate
);
19170 if (PyErr_Occurred()) SWIG_fail
;
19172 Py_INCREF(Py_None
); resultobj
= Py_None
;
19179 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19180 PyObject
*resultobj
;
19181 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19183 PyObject
* obj0
= 0 ;
19184 PyObject
* obj1
= 0 ;
19185 char *kwnames
[] = {
19186 (char *) "self",(char *) "flag", NULL
19189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
19190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19192 arg2
= (bool) SWIG_AsBool(obj1
);
19193 if (PyErr_Occurred()) SWIG_fail
;
19195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19196 (arg1
)->SetPrintToFile(arg2
);
19198 wxPyEndAllowThreads(__tstate
);
19199 if (PyErr_Occurred()) SWIG_fail
;
19201 Py_INCREF(Py_None
); resultobj
= Py_None
;
19208 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19209 PyObject
*resultobj
;
19210 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19212 PyObject
* obj0
= 0 ;
19213 PyObject
* obj1
= 0 ;
19214 char *kwnames
[] = {
19215 (char *) "self",(char *) "flag", NULL
19218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19221 arg2
= (bool) SWIG_AsBool(obj1
);
19222 if (PyErr_Occurred()) SWIG_fail
;
19224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19225 (arg1
)->SetSetupDialog(arg2
);
19227 wxPyEndAllowThreads(__tstate
);
19228 if (PyErr_Occurred()) SWIG_fail
;
19230 Py_INCREF(Py_None
); resultobj
= Py_None
;
19237 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19238 PyObject
*resultobj
;
19239 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19241 PyObject
* obj0
= 0 ;
19242 PyObject
* obj1
= 0 ;
19243 char *kwnames
[] = {
19244 (char *) "self",(char *) "flag", NULL
19247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
19248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19250 arg2
= (bool) SWIG_AsBool(obj1
);
19251 if (PyErr_Occurred()) SWIG_fail
;
19253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19254 (arg1
)->EnablePrintToFile(arg2
);
19256 wxPyEndAllowThreads(__tstate
);
19257 if (PyErr_Occurred()) SWIG_fail
;
19259 Py_INCREF(Py_None
); resultobj
= Py_None
;
19266 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19267 PyObject
*resultobj
;
19268 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19270 PyObject
* obj0
= 0 ;
19271 PyObject
* obj1
= 0 ;
19272 char *kwnames
[] = {
19273 (char *) "self",(char *) "flag", NULL
19276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
19277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19279 arg2
= (bool) SWIG_AsBool(obj1
);
19280 if (PyErr_Occurred()) SWIG_fail
;
19282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19283 (arg1
)->EnableSelection(arg2
);
19285 wxPyEndAllowThreads(__tstate
);
19286 if (PyErr_Occurred()) SWIG_fail
;
19288 Py_INCREF(Py_None
); resultobj
= Py_None
;
19295 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19296 PyObject
*resultobj
;
19297 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19299 PyObject
* obj0
= 0 ;
19300 PyObject
* obj1
= 0 ;
19301 char *kwnames
[] = {
19302 (char *) "self",(char *) "flag", NULL
19305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
19306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19308 arg2
= (bool) SWIG_AsBool(obj1
);
19309 if (PyErr_Occurred()) SWIG_fail
;
19311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19312 (arg1
)->EnablePageNumbers(arg2
);
19314 wxPyEndAllowThreads(__tstate
);
19315 if (PyErr_Occurred()) SWIG_fail
;
19317 Py_INCREF(Py_None
); resultobj
= Py_None
;
19324 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19325 PyObject
*resultobj
;
19326 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19328 PyObject
* obj0
= 0 ;
19329 PyObject
* obj1
= 0 ;
19330 char *kwnames
[] = {
19331 (char *) "self",(char *) "flag", NULL
19334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19337 arg2
= (bool) SWIG_AsBool(obj1
);
19338 if (PyErr_Occurred()) SWIG_fail
;
19340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19341 (arg1
)->EnableHelp(arg2
);
19343 wxPyEndAllowThreads(__tstate
);
19344 if (PyErr_Occurred()) SWIG_fail
;
19346 Py_INCREF(Py_None
); resultobj
= Py_None
;
19353 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19354 PyObject
*resultobj
;
19355 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19357 PyObject
* obj0
= 0 ;
19358 char *kwnames
[] = {
19359 (char *) "self", NULL
19362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
19363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19367 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
19369 wxPyEndAllowThreads(__tstate
);
19370 if (PyErr_Occurred()) SWIG_fail
;
19372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19379 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19380 PyObject
*resultobj
;
19381 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19383 PyObject
* obj0
= 0 ;
19384 char *kwnames
[] = {
19385 (char *) "self", NULL
19388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
19389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19393 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
19395 wxPyEndAllowThreads(__tstate
);
19396 if (PyErr_Occurred()) SWIG_fail
;
19398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19405 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19406 PyObject
*resultobj
;
19407 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19409 PyObject
* obj0
= 0 ;
19410 char *kwnames
[] = {
19411 (char *) "self", NULL
19414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
19415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19419 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
19421 wxPyEndAllowThreads(__tstate
);
19422 if (PyErr_Occurred()) SWIG_fail
;
19424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19431 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19432 PyObject
*resultobj
;
19433 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19435 PyObject
* obj0
= 0 ;
19436 char *kwnames
[] = {
19437 (char *) "self", NULL
19440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19445 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
19447 wxPyEndAllowThreads(__tstate
);
19448 if (PyErr_Occurred()) SWIG_fail
;
19450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19457 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19458 PyObject
*resultobj
;
19459 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19461 PyObject
* obj0
= 0 ;
19462 char *kwnames
[] = {
19463 (char *) "self", NULL
19466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19471 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
19473 wxPyEndAllowThreads(__tstate
);
19474 if (PyErr_Occurred()) SWIG_fail
;
19476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19483 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19484 PyObject
*resultobj
;
19485 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19486 wxPrintData
*result
;
19487 PyObject
* obj0
= 0 ;
19488 char *kwnames
[] = {
19489 (char *) "self", NULL
19492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19498 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19499 result
= (wxPrintData
*) &_result_ref
;
19502 wxPyEndAllowThreads(__tstate
);
19503 if (PyErr_Occurred()) SWIG_fail
;
19505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
19512 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19513 PyObject
*resultobj
;
19514 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19515 wxPrintData
*arg2
= 0 ;
19516 PyObject
* obj0
= 0 ;
19517 PyObject
* obj1
= 0 ;
19518 char *kwnames
[] = {
19519 (char *) "self",(char *) "printData", NULL
19522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
19523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
19526 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19528 if (arg2
== NULL
) {
19529 PyErr_SetString(PyExc_TypeError
,"null reference");
19533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19534 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
19536 wxPyEndAllowThreads(__tstate
);
19537 if (PyErr_Occurred()) SWIG_fail
;
19539 Py_INCREF(Py_None
); resultobj
= Py_None
;
19546 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
19548 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19549 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
19551 return Py_BuildValue((char *)"");
19553 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19554 PyObject
*resultobj
;
19555 wxWindow
*arg1
= (wxWindow
*) 0 ;
19556 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
19557 wxPrintDialog
*result
;
19558 PyObject
* obj0
= 0 ;
19559 PyObject
* obj1
= 0 ;
19560 char *kwnames
[] = {
19561 (char *) "parent",(char *) "data", NULL
19564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19568 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
19569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19573 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
19575 wxPyEndAllowThreads(__tstate
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
19585 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19586 PyObject
*resultobj
;
19587 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19588 wxPrintDialogData
*result
;
19589 PyObject
* obj0
= 0 ;
19590 char *kwnames
[] = {
19591 (char *) "self", NULL
19594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
19595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
19596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19600 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
19601 result
= (wxPrintDialogData
*) &_result_ref
;
19604 wxPyEndAllowThreads(__tstate
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
19614 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19615 PyObject
*resultobj
;
19616 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19618 PyObject
* obj0
= 0 ;
19619 char *kwnames
[] = {
19620 (char *) "self", NULL
19623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
19624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
19625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19628 result
= (wxDC
*)(arg1
)->GetPrintDC();
19630 wxPyEndAllowThreads(__tstate
);
19631 if (PyErr_Occurred()) SWIG_fail
;
19634 resultobj
= wxPyMake_wxObject(result
);
19642 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19643 PyObject
*resultobj
;
19644 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19646 PyObject
* obj0
= 0 ;
19647 char *kwnames
[] = {
19648 (char *) "self", NULL
19651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
19652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
19653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19656 result
= (int)(arg1
)->ShowModal();
19658 wxPyEndAllowThreads(__tstate
);
19659 if (PyErr_Occurred()) SWIG_fail
;
19661 resultobj
= SWIG_FromInt((int)result
);
19668 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
19670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19671 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
19673 return Py_BuildValue((char *)"");
19675 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19676 PyObject
*resultobj
;
19677 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
19679 PyObject
* obj0
= 0 ;
19680 char *kwnames
[] = {
19681 (char *) "data", NULL
19684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
19686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19691 result
= (wxPrinter
*)new wxPrinter(arg1
);
19693 wxPyEndAllowThreads(__tstate
);
19694 if (PyErr_Occurred()) SWIG_fail
;
19696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
19703 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19704 PyObject
*resultobj
;
19705 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19706 PyObject
* obj0
= 0 ;
19707 char *kwnames
[] = {
19708 (char *) "self", NULL
19711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
19712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19718 wxPyEndAllowThreads(__tstate
);
19719 if (PyErr_Occurred()) SWIG_fail
;
19721 Py_INCREF(Py_None
); resultobj
= Py_None
;
19728 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19729 PyObject
*resultobj
;
19730 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19731 wxWindow
*arg2
= (wxWindow
*) 0 ;
19732 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19733 PyObject
* obj0
= 0 ;
19734 PyObject
* obj1
= 0 ;
19735 PyObject
* obj2
= 0 ;
19736 char *kwnames
[] = {
19737 (char *) "self",(char *) "parent",(char *) "printout", NULL
19740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19743 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19745 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
19746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19749 (arg1
)->CreateAbortWindow(arg2
,arg3
);
19751 wxPyEndAllowThreads(__tstate
);
19752 if (PyErr_Occurred()) SWIG_fail
;
19754 Py_INCREF(Py_None
); resultobj
= Py_None
;
19761 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19762 PyObject
*resultobj
;
19763 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19764 wxPrintDialogData
*result
;
19765 PyObject
* obj0
= 0 ;
19766 char *kwnames
[] = {
19767 (char *) "self", NULL
19770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
19771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19776 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
19777 result
= (wxPrintDialogData
*) &_result_ref
;
19780 wxPyEndAllowThreads(__tstate
);
19781 if (PyErr_Occurred()) SWIG_fail
;
19783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
19790 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19791 PyObject
*resultobj
;
19792 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19793 wxWindow
*arg2
= (wxWindow
*) 0 ;
19794 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19795 int arg4
= (int) True
;
19797 PyObject
* obj0
= 0 ;
19798 PyObject
* obj1
= 0 ;
19799 PyObject
* obj2
= 0 ;
19800 PyObject
* obj3
= 0 ;
19801 char *kwnames
[] = {
19802 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
19805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19808 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19810 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
19811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19813 arg4
= (int) SWIG_AsInt(obj3
);
19814 if (PyErr_Occurred()) SWIG_fail
;
19817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19818 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
19820 wxPyEndAllowThreads(__tstate
);
19821 if (PyErr_Occurred()) SWIG_fail
;
19823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19830 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19831 PyObject
*resultobj
;
19832 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19833 wxWindow
*arg2
= (wxWindow
*) 0 ;
19835 PyObject
* obj0
= 0 ;
19836 PyObject
* obj1
= 0 ;
19837 char *kwnames
[] = {
19838 (char *) "self",(char *) "parent", NULL
19841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19844 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19848 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
19850 wxPyEndAllowThreads(__tstate
);
19851 if (PyErr_Occurred()) SWIG_fail
;
19854 resultobj
= wxPyMake_wxObject(result
);
19862 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19863 PyObject
*resultobj
;
19864 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19865 wxWindow
*arg2
= (wxWindow
*) 0 ;
19866 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19867 wxString
*arg4
= 0 ;
19868 bool temp4
= False
;
19869 PyObject
* obj0
= 0 ;
19870 PyObject
* obj1
= 0 ;
19871 PyObject
* obj2
= 0 ;
19872 PyObject
* obj3
= 0 ;
19873 char *kwnames
[] = {
19874 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
19877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19880 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19882 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
19883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19885 arg4
= wxString_in_helper(obj3
);
19886 if (arg4
== NULL
) SWIG_fail
;
19890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19891 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
19893 wxPyEndAllowThreads(__tstate
);
19894 if (PyErr_Occurred()) SWIG_fail
;
19896 Py_INCREF(Py_None
); resultobj
= Py_None
;
19911 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19912 PyObject
*resultobj
;
19913 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19914 wxWindow
*arg2
= (wxWindow
*) 0 ;
19916 PyObject
* obj0
= 0 ;
19917 PyObject
* obj1
= 0 ;
19918 char *kwnames
[] = {
19919 (char *) "self",(char *) "parent", NULL
19922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
19923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19925 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19929 result
= (bool)(arg1
)->Setup(arg2
);
19931 wxPyEndAllowThreads(__tstate
);
19932 if (PyErr_Occurred()) SWIG_fail
;
19934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19941 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19942 PyObject
*resultobj
;
19943 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19945 PyObject
* obj0
= 0 ;
19946 char *kwnames
[] = {
19947 (char *) "self", NULL
19950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
19951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19955 result
= (bool)(arg1
)->GetAbort();
19957 wxPyEndAllowThreads(__tstate
);
19958 if (PyErr_Occurred()) SWIG_fail
;
19960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19967 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19968 PyObject
*resultobj
;
19970 char *kwnames
[] = {
19974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
19976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19977 result
= (int)wxPrinter::GetLastError();
19979 wxPyEndAllowThreads(__tstate
);
19980 if (PyErr_Occurred()) SWIG_fail
;
19982 resultobj
= SWIG_FromInt((int)result
);
19989 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
19991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19992 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
19994 return Py_BuildValue((char *)"");
19996 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19997 PyObject
*resultobj
;
19998 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
19999 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
20000 wxPyPrintout
*result
;
20001 bool temp1
= False
;
20002 PyObject
* obj0
= 0 ;
20003 char *kwnames
[] = {
20004 (char *) "title", NULL
20007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
20010 arg1
= wxString_in_helper(obj0
);
20011 if (arg1
== NULL
) SWIG_fail
;
20016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20017 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
20019 wxPyEndAllowThreads(__tstate
);
20020 if (PyErr_Occurred()) SWIG_fail
;
20023 resultobj
= wxPyMake_wxObject(result
);
20039 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20040 PyObject
*resultobj
;
20041 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20042 PyObject
*arg2
= (PyObject
*) 0 ;
20043 PyObject
*arg3
= (PyObject
*) 0 ;
20044 PyObject
* obj0
= 0 ;
20045 PyObject
* obj1
= 0 ;
20046 PyObject
* obj2
= 0 ;
20047 char *kwnames
[] = {
20048 (char *) "self",(char *) "self",(char *) "_class", NULL
20051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20058 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20060 wxPyEndAllowThreads(__tstate
);
20061 if (PyErr_Occurred()) SWIG_fail
;
20063 Py_INCREF(Py_None
); resultobj
= Py_None
;
20070 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20071 PyObject
*resultobj
;
20072 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20074 PyObject
* obj0
= 0 ;
20075 char *kwnames
[] = {
20076 (char *) "self", NULL
20079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
20080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20084 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
20086 wxPyEndAllowThreads(__tstate
);
20087 if (PyErr_Occurred()) SWIG_fail
;
20091 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20093 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20102 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20103 PyObject
*resultobj
;
20104 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20106 PyObject
* obj0
= 0 ;
20107 char *kwnames
[] = {
20108 (char *) "self", NULL
20111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
20112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20116 result
= (wxDC
*)(arg1
)->GetDC();
20118 wxPyEndAllowThreads(__tstate
);
20119 if (PyErr_Occurred()) SWIG_fail
;
20122 resultobj
= wxPyMake_wxObject(result
);
20130 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20131 PyObject
*resultobj
;
20132 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20133 wxDC
*arg2
= (wxDC
*) 0 ;
20134 PyObject
* obj0
= 0 ;
20135 PyObject
* obj1
= 0 ;
20136 char *kwnames
[] = {
20137 (char *) "self",(char *) "dc", NULL
20140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
20141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20143 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
20144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20147 (arg1
)->SetDC(arg2
);
20149 wxPyEndAllowThreads(__tstate
);
20150 if (PyErr_Occurred()) SWIG_fail
;
20152 Py_INCREF(Py_None
); resultobj
= Py_None
;
20159 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20160 PyObject
*resultobj
;
20161 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20164 PyObject
* obj0
= 0 ;
20165 PyObject
* obj1
= 0 ;
20166 PyObject
* obj2
= 0 ;
20167 char *kwnames
[] = {
20168 (char *) "self",(char *) "w",(char *) "h", NULL
20171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20174 arg2
= (int) SWIG_AsInt(obj1
);
20175 if (PyErr_Occurred()) SWIG_fail
;
20176 arg3
= (int) SWIG_AsInt(obj2
);
20177 if (PyErr_Occurred()) SWIG_fail
;
20179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20180 (arg1
)->SetPageSizePixels(arg2
,arg3
);
20182 wxPyEndAllowThreads(__tstate
);
20183 if (PyErr_Occurred()) SWIG_fail
;
20185 Py_INCREF(Py_None
); resultobj
= Py_None
;
20192 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20193 PyObject
*resultobj
;
20194 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20195 int *arg2
= (int *) 0 ;
20196 int *arg3
= (int *) 0 ;
20199 PyObject
* obj0
= 0 ;
20200 char *kwnames
[] = {
20201 (char *) "self", NULL
20206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
20207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20211 (arg1
)->GetPageSizePixels(arg2
,arg3
);
20213 wxPyEndAllowThreads(__tstate
);
20214 if (PyErr_Occurred()) SWIG_fail
;
20216 Py_INCREF(Py_None
); resultobj
= Py_None
;
20218 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20219 resultobj
= t_output_helper(resultobj
,o
);
20222 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20223 resultobj
= t_output_helper(resultobj
,o
);
20231 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20232 PyObject
*resultobj
;
20233 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20236 PyObject
* obj0
= 0 ;
20237 PyObject
* obj1
= 0 ;
20238 PyObject
* obj2
= 0 ;
20239 char *kwnames
[] = {
20240 (char *) "self",(char *) "w",(char *) "h", NULL
20243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20246 arg2
= (int) SWIG_AsInt(obj1
);
20247 if (PyErr_Occurred()) SWIG_fail
;
20248 arg3
= (int) SWIG_AsInt(obj2
);
20249 if (PyErr_Occurred()) SWIG_fail
;
20251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20252 (arg1
)->SetPageSizeMM(arg2
,arg3
);
20254 wxPyEndAllowThreads(__tstate
);
20255 if (PyErr_Occurred()) SWIG_fail
;
20257 Py_INCREF(Py_None
); resultobj
= Py_None
;
20264 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20265 PyObject
*resultobj
;
20266 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20267 int *arg2
= (int *) 0 ;
20268 int *arg3
= (int *) 0 ;
20271 PyObject
* obj0
= 0 ;
20272 char *kwnames
[] = {
20273 (char *) "self", NULL
20278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
20279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20283 (arg1
)->GetPageSizeMM(arg2
,arg3
);
20285 wxPyEndAllowThreads(__tstate
);
20286 if (PyErr_Occurred()) SWIG_fail
;
20288 Py_INCREF(Py_None
); resultobj
= Py_None
;
20290 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20291 resultobj
= t_output_helper(resultobj
,o
);
20294 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20295 resultobj
= t_output_helper(resultobj
,o
);
20303 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20304 PyObject
*resultobj
;
20305 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20308 PyObject
* obj0
= 0 ;
20309 PyObject
* obj1
= 0 ;
20310 PyObject
* obj2
= 0 ;
20311 char *kwnames
[] = {
20312 (char *) "self",(char *) "x",(char *) "y", NULL
20315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20318 arg2
= (int) SWIG_AsInt(obj1
);
20319 if (PyErr_Occurred()) SWIG_fail
;
20320 arg3
= (int) SWIG_AsInt(obj2
);
20321 if (PyErr_Occurred()) SWIG_fail
;
20323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20324 (arg1
)->SetPPIScreen(arg2
,arg3
);
20326 wxPyEndAllowThreads(__tstate
);
20327 if (PyErr_Occurred()) SWIG_fail
;
20329 Py_INCREF(Py_None
); resultobj
= Py_None
;
20336 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20337 PyObject
*resultobj
;
20338 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20339 int *arg2
= (int *) 0 ;
20340 int *arg3
= (int *) 0 ;
20343 PyObject
* obj0
= 0 ;
20344 char *kwnames
[] = {
20345 (char *) "self", NULL
20350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
20351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20355 (arg1
)->GetPPIScreen(arg2
,arg3
);
20357 wxPyEndAllowThreads(__tstate
);
20358 if (PyErr_Occurred()) SWIG_fail
;
20360 Py_INCREF(Py_None
); resultobj
= Py_None
;
20362 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20363 resultobj
= t_output_helper(resultobj
,o
);
20366 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20367 resultobj
= t_output_helper(resultobj
,o
);
20375 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20376 PyObject
*resultobj
;
20377 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20380 PyObject
* obj0
= 0 ;
20381 PyObject
* obj1
= 0 ;
20382 PyObject
* obj2
= 0 ;
20383 char *kwnames
[] = {
20384 (char *) "self",(char *) "x",(char *) "y", NULL
20387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20390 arg2
= (int) SWIG_AsInt(obj1
);
20391 if (PyErr_Occurred()) SWIG_fail
;
20392 arg3
= (int) SWIG_AsInt(obj2
);
20393 if (PyErr_Occurred()) SWIG_fail
;
20395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20396 (arg1
)->SetPPIPrinter(arg2
,arg3
);
20398 wxPyEndAllowThreads(__tstate
);
20399 if (PyErr_Occurred()) SWIG_fail
;
20401 Py_INCREF(Py_None
); resultobj
= Py_None
;
20408 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20409 PyObject
*resultobj
;
20410 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20411 int *arg2
= (int *) 0 ;
20412 int *arg3
= (int *) 0 ;
20415 PyObject
* obj0
= 0 ;
20416 char *kwnames
[] = {
20417 (char *) "self", NULL
20422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
20423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20427 (arg1
)->GetPPIPrinter(arg2
,arg3
);
20429 wxPyEndAllowThreads(__tstate
);
20430 if (PyErr_Occurred()) SWIG_fail
;
20432 Py_INCREF(Py_None
); resultobj
= Py_None
;
20434 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20435 resultobj
= t_output_helper(resultobj
,o
);
20438 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20439 resultobj
= t_output_helper(resultobj
,o
);
20447 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20448 PyObject
*resultobj
;
20449 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20451 PyObject
* obj0
= 0 ;
20452 char *kwnames
[] = {
20453 (char *) "self", NULL
20456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
20457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20461 result
= (bool)(arg1
)->IsPreview();
20463 wxPyEndAllowThreads(__tstate
);
20464 if (PyErr_Occurred()) SWIG_fail
;
20466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20473 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20474 PyObject
*resultobj
;
20475 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20477 PyObject
* obj0
= 0 ;
20478 PyObject
* obj1
= 0 ;
20479 char *kwnames
[] = {
20480 (char *) "self",(char *) "p", NULL
20483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
20484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20486 arg2
= (bool) SWIG_AsBool(obj1
);
20487 if (PyErr_Occurred()) SWIG_fail
;
20489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20490 (arg1
)->SetIsPreview(arg2
);
20492 wxPyEndAllowThreads(__tstate
);
20493 if (PyErr_Occurred()) SWIG_fail
;
20495 Py_INCREF(Py_None
); resultobj
= Py_None
;
20502 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20503 PyObject
*resultobj
;
20504 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20508 PyObject
* obj0
= 0 ;
20509 PyObject
* obj1
= 0 ;
20510 PyObject
* obj2
= 0 ;
20511 char *kwnames
[] = {
20512 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
20515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20518 arg2
= (int) SWIG_AsInt(obj1
);
20519 if (PyErr_Occurred()) SWIG_fail
;
20520 arg3
= (int) SWIG_AsInt(obj2
);
20521 if (PyErr_Occurred()) SWIG_fail
;
20523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20524 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
20526 wxPyEndAllowThreads(__tstate
);
20527 if (PyErr_Occurred()) SWIG_fail
;
20529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20536 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20537 PyObject
*resultobj
;
20538 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20539 PyObject
* obj0
= 0 ;
20540 char *kwnames
[] = {
20541 (char *) "self", NULL
20544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
20545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20549 (arg1
)->base_OnEndDocument();
20551 wxPyEndAllowThreads(__tstate
);
20552 if (PyErr_Occurred()) SWIG_fail
;
20554 Py_INCREF(Py_None
); resultobj
= Py_None
;
20561 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20562 PyObject
*resultobj
;
20563 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20564 PyObject
* obj0
= 0 ;
20565 char *kwnames
[] = {
20566 (char *) "self", NULL
20569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
20570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20574 (arg1
)->base_OnBeginPrinting();
20576 wxPyEndAllowThreads(__tstate
);
20577 if (PyErr_Occurred()) SWIG_fail
;
20579 Py_INCREF(Py_None
); resultobj
= Py_None
;
20586 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20587 PyObject
*resultobj
;
20588 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20589 PyObject
* obj0
= 0 ;
20590 char *kwnames
[] = {
20591 (char *) "self", NULL
20594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
20595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20599 (arg1
)->base_OnEndPrinting();
20601 wxPyEndAllowThreads(__tstate
);
20602 if (PyErr_Occurred()) SWIG_fail
;
20604 Py_INCREF(Py_None
); resultobj
= Py_None
;
20611 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20612 PyObject
*resultobj
;
20613 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20614 PyObject
* obj0
= 0 ;
20615 char *kwnames
[] = {
20616 (char *) "self", NULL
20619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
20620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20624 (arg1
)->base_OnPreparePrinting();
20626 wxPyEndAllowThreads(__tstate
);
20627 if (PyErr_Occurred()) SWIG_fail
;
20629 Py_INCREF(Py_None
); resultobj
= Py_None
;
20636 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20637 PyObject
*resultobj
;
20638 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20641 PyObject
* obj0
= 0 ;
20642 PyObject
* obj1
= 0 ;
20643 char *kwnames
[] = {
20644 (char *) "self",(char *) "page", NULL
20647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) 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
;
20653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20654 result
= (bool)(arg1
)->base_HasPage(arg2
);
20656 wxPyEndAllowThreads(__tstate
);
20657 if (PyErr_Occurred()) SWIG_fail
;
20659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20666 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20667 PyObject
*resultobj
;
20668 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20669 int *arg2
= (int *) 0 ;
20670 int *arg3
= (int *) 0 ;
20671 int *arg4
= (int *) 0 ;
20672 int *arg5
= (int *) 0 ;
20677 PyObject
* obj0
= 0 ;
20678 char *kwnames
[] = {
20679 (char *) "self", NULL
20686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
20687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20691 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
20693 wxPyEndAllowThreads(__tstate
);
20694 if (PyErr_Occurred()) SWIG_fail
;
20696 Py_INCREF(Py_None
); resultobj
= Py_None
;
20698 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20699 resultobj
= t_output_helper(resultobj
,o
);
20702 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20703 resultobj
= t_output_helper(resultobj
,o
);
20706 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
20707 resultobj
= t_output_helper(resultobj
,o
);
20710 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
20711 resultobj
= t_output_helper(resultobj
,o
);
20719 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
20721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20722 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
20724 return Py_BuildValue((char *)"");
20726 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20727 PyObject
*resultobj
;
20728 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20729 wxWindow
*arg2
= (wxWindow
*) 0 ;
20730 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20731 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20732 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20733 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20734 long arg5
= (long) 0 ;
20735 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
20736 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20737 wxPreviewCanvas
*result
;
20740 bool temp6
= False
;
20741 PyObject
* obj0
= 0 ;
20742 PyObject
* obj1
= 0 ;
20743 PyObject
* obj2
= 0 ;
20744 PyObject
* obj3
= 0 ;
20745 PyObject
* obj4
= 0 ;
20746 PyObject
* obj5
= 0 ;
20747 char *kwnames
[] = {
20748 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
20753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20754 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20759 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20765 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20769 arg5
= (long) SWIG_AsLong(obj4
);
20770 if (PyErr_Occurred()) SWIG_fail
;
20774 arg6
= wxString_in_helper(obj5
);
20775 if (arg6
== NULL
) SWIG_fail
;
20780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20781 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20783 wxPyEndAllowThreads(__tstate
);
20784 if (PyErr_Occurred()) SWIG_fail
;
20786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
20801 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
20803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20804 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
20806 return Py_BuildValue((char *)"");
20808 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20809 PyObject
*resultobj
;
20810 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20811 wxFrame
*arg2
= (wxFrame
*) 0 ;
20812 wxString
*arg3
= 0 ;
20813 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20814 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20815 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20816 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20817 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20818 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20819 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20820 wxPreviewFrame
*result
;
20821 bool temp3
= False
;
20824 bool temp7
= False
;
20825 PyObject
* obj0
= 0 ;
20826 PyObject
* obj1
= 0 ;
20827 PyObject
* obj2
= 0 ;
20828 PyObject
* obj3
= 0 ;
20829 PyObject
* obj4
= 0 ;
20830 PyObject
* obj5
= 0 ;
20831 PyObject
* obj6
= 0 ;
20832 char *kwnames
[] = {
20833 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
20838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20839 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
20840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20842 arg3
= wxString_in_helper(obj2
);
20843 if (arg3
== NULL
) SWIG_fail
;
20849 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20855 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20859 arg6
= (long) SWIG_AsLong(obj5
);
20860 if (PyErr_Occurred()) SWIG_fail
;
20864 arg7
= wxString_in_helper(obj6
);
20865 if (arg7
== NULL
) SWIG_fail
;
20870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20871 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20873 wxPyEndAllowThreads(__tstate
);
20874 if (PyErr_Occurred()) SWIG_fail
;
20876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
20899 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20900 PyObject
*resultobj
;
20901 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20902 PyObject
* obj0
= 0 ;
20903 char *kwnames
[] = {
20904 (char *) "self", NULL
20907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
20908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
20909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20912 (arg1
)->Initialize();
20914 wxPyEndAllowThreads(__tstate
);
20915 if (PyErr_Occurred()) SWIG_fail
;
20917 Py_INCREF(Py_None
); resultobj
= Py_None
;
20924 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20925 PyObject
*resultobj
;
20926 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20927 PyObject
* obj0
= 0 ;
20928 char *kwnames
[] = {
20929 (char *) "self", NULL
20932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
20933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
20934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20937 (arg1
)->CreateControlBar();
20939 wxPyEndAllowThreads(__tstate
);
20940 if (PyErr_Occurred()) SWIG_fail
;
20942 Py_INCREF(Py_None
); resultobj
= Py_None
;
20949 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20950 PyObject
*resultobj
;
20951 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20952 PyObject
* obj0
= 0 ;
20953 char *kwnames
[] = {
20954 (char *) "self", NULL
20957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
20958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
20959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20962 (arg1
)->CreateCanvas();
20964 wxPyEndAllowThreads(__tstate
);
20965 if (PyErr_Occurred()) SWIG_fail
;
20967 Py_INCREF(Py_None
); resultobj
= Py_None
;
20974 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20975 PyObject
*resultobj
;
20976 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
20977 wxPreviewControlBar
*result
;
20978 PyObject
* obj0
= 0 ;
20979 char *kwnames
[] = {
20980 (char *) "self", NULL
20983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
20984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
20985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20988 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
20990 wxPyEndAllowThreads(__tstate
);
20991 if (PyErr_Occurred()) SWIG_fail
;
20993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
21000 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
21002 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21003 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
21005 return Py_BuildValue((char *)"");
21007 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21008 PyObject
*resultobj
;
21009 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21011 wxWindow
*arg3
= (wxWindow
*) 0 ;
21012 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21013 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21014 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21015 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21016 long arg6
= (long) wxTAB_TRAVERSAL
;
21017 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21018 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21019 wxPreviewControlBar
*result
;
21022 bool temp7
= False
;
21023 PyObject
* obj0
= 0 ;
21024 PyObject
* obj1
= 0 ;
21025 PyObject
* obj2
= 0 ;
21026 PyObject
* obj3
= 0 ;
21027 PyObject
* obj4
= 0 ;
21028 PyObject
* obj5
= 0 ;
21029 PyObject
* obj6
= 0 ;
21030 char *kwnames
[] = {
21031 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21037 arg2
= (long) SWIG_AsLong(obj1
);
21038 if (PyErr_Occurred()) SWIG_fail
;
21039 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
21040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21044 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21050 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21054 arg6
= (long) SWIG_AsLong(obj5
);
21055 if (PyErr_Occurred()) SWIG_fail
;
21059 arg7
= wxString_in_helper(obj6
);
21060 if (arg7
== NULL
) SWIG_fail
;
21065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21066 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21068 wxPyEndAllowThreads(__tstate
);
21069 if (PyErr_Occurred()) SWIG_fail
;
21071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
21086 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21087 PyObject
*resultobj
;
21088 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21090 PyObject
* obj0
= 0 ;
21091 char *kwnames
[] = {
21092 (char *) "self", NULL
21095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
21096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21100 result
= (int)(arg1
)->GetZoomControl();
21102 wxPyEndAllowThreads(__tstate
);
21103 if (PyErr_Occurred()) SWIG_fail
;
21105 resultobj
= SWIG_FromInt((int)result
);
21112 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21113 PyObject
*resultobj
;
21114 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21116 PyObject
* obj0
= 0 ;
21117 PyObject
* obj1
= 0 ;
21118 char *kwnames
[] = {
21119 (char *) "self",(char *) "zoom", NULL
21122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
21123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21125 arg2
= (int) SWIG_AsInt(obj1
);
21126 if (PyErr_Occurred()) SWIG_fail
;
21128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21129 (arg1
)->SetZoomControl(arg2
);
21131 wxPyEndAllowThreads(__tstate
);
21132 if (PyErr_Occurred()) SWIG_fail
;
21134 Py_INCREF(Py_None
); resultobj
= Py_None
;
21141 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21142 PyObject
*resultobj
;
21143 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21144 wxPrintPreview
*result
;
21145 PyObject
* obj0
= 0 ;
21146 char *kwnames
[] = {
21147 (char *) "self", NULL
21150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
21151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21155 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
21157 wxPyEndAllowThreads(__tstate
);
21158 if (PyErr_Occurred()) SWIG_fail
;
21160 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
21167 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21168 PyObject
*resultobj
;
21169 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21170 PyObject
* obj0
= 0 ;
21171 char *kwnames
[] = {
21172 (char *) "self", NULL
21175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
21176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21182 wxPyEndAllowThreads(__tstate
);
21183 if (PyErr_Occurred()) SWIG_fail
;
21185 Py_INCREF(Py_None
); resultobj
= Py_None
;
21192 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21193 PyObject
*resultobj
;
21194 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21195 PyObject
* obj0
= 0 ;
21196 char *kwnames
[] = {
21197 (char *) "self", NULL
21200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
21201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21205 (arg1
)->OnPrevious();
21207 wxPyEndAllowThreads(__tstate
);
21208 if (PyErr_Occurred()) SWIG_fail
;
21210 Py_INCREF(Py_None
); resultobj
= Py_None
;
21217 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21218 PyObject
*resultobj
;
21219 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21220 PyObject
* obj0
= 0 ;
21221 char *kwnames
[] = {
21222 (char *) "self", NULL
21225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
21226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21232 wxPyEndAllowThreads(__tstate
);
21233 if (PyErr_Occurred()) SWIG_fail
;
21235 Py_INCREF(Py_None
); resultobj
= Py_None
;
21242 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21243 PyObject
*resultobj
;
21244 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21245 PyObject
* obj0
= 0 ;
21246 char *kwnames
[] = {
21247 (char *) "self", NULL
21250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
21251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21257 wxPyEndAllowThreads(__tstate
);
21258 if (PyErr_Occurred()) SWIG_fail
;
21260 Py_INCREF(Py_None
); resultobj
= Py_None
;
21267 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21268 PyObject
*resultobj
;
21269 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21270 PyObject
* obj0
= 0 ;
21271 char *kwnames
[] = {
21272 (char *) "self", NULL
21275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
21276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21282 wxPyEndAllowThreads(__tstate
);
21283 if (PyErr_Occurred()) SWIG_fail
;
21285 Py_INCREF(Py_None
); resultobj
= Py_None
;
21292 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
21294 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21295 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
21297 return Py_BuildValue((char *)"");
21299 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
21300 PyObject
*resultobj
;
21301 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21302 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21303 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
21304 wxPrintPreview
*result
;
21305 PyObject
* obj0
= 0 ;
21306 PyObject
* obj1
= 0 ;
21307 PyObject
* obj2
= 0 ;
21309 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
21310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21312 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
21313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21315 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
21316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21320 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
21322 wxPyEndAllowThreads(__tstate
);
21323 if (PyErr_Occurred()) SWIG_fail
;
21325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
21332 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
21333 PyObject
*resultobj
;
21334 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21335 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21336 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
21337 wxPrintPreview
*result
;
21338 PyObject
* obj0
= 0 ;
21339 PyObject
* obj1
= 0 ;
21340 PyObject
* obj2
= 0 ;
21342 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
21343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21345 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
21346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21347 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
21348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21351 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
21353 wxPyEndAllowThreads(__tstate
);
21354 if (PyErr_Occurred()) SWIG_fail
;
21356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
21363 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
21368 argc
= PyObject_Length(args
);
21369 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
21370 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21372 if ((argc
>= 2) && (argc
<= 3)) {
21376 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
21386 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
21395 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
21399 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
21407 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
21416 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
21426 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
21436 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
21444 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
21450 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
21455 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21456 PyObject
*resultobj
;
21457 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21460 PyObject
* obj0
= 0 ;
21461 PyObject
* obj1
= 0 ;
21462 char *kwnames
[] = {
21463 (char *) "self",(char *) "pageNum", NULL
21466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21469 arg2
= (int) SWIG_AsInt(obj1
);
21470 if (PyErr_Occurred()) SWIG_fail
;
21472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21473 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
21475 wxPyEndAllowThreads(__tstate
);
21476 if (PyErr_Occurred()) SWIG_fail
;
21478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21485 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21486 PyObject
*resultobj
;
21487 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21489 PyObject
* obj0
= 0 ;
21490 char *kwnames
[] = {
21491 (char *) "self", NULL
21494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
21495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21499 result
= (int)(arg1
)->GetCurrentPage();
21501 wxPyEndAllowThreads(__tstate
);
21502 if (PyErr_Occurred()) SWIG_fail
;
21504 resultobj
= SWIG_FromInt((int)result
);
21511 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21512 PyObject
*resultobj
;
21513 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21514 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21515 PyObject
* obj0
= 0 ;
21516 PyObject
* obj1
= 0 ;
21517 char *kwnames
[] = {
21518 (char *) "self",(char *) "printout", NULL
21521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
21522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21524 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
21525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21528 (arg1
)->SetPrintout(arg2
);
21530 wxPyEndAllowThreads(__tstate
);
21531 if (PyErr_Occurred()) SWIG_fail
;
21533 Py_INCREF(Py_None
); resultobj
= Py_None
;
21540 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21541 PyObject
*resultobj
;
21542 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21543 wxPyPrintout
*result
;
21544 PyObject
* obj0
= 0 ;
21545 char *kwnames
[] = {
21546 (char *) "self", NULL
21549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
21550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21554 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
21556 wxPyEndAllowThreads(__tstate
);
21557 if (PyErr_Occurred()) SWIG_fail
;
21560 resultobj
= wxPyMake_wxObject(result
);
21568 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21569 PyObject
*resultobj
;
21570 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21571 wxPyPrintout
*result
;
21572 PyObject
* obj0
= 0 ;
21573 char *kwnames
[] = {
21574 (char *) "self", NULL
21577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
21578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21582 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
21584 wxPyEndAllowThreads(__tstate
);
21585 if (PyErr_Occurred()) SWIG_fail
;
21588 resultobj
= wxPyMake_wxObject(result
);
21596 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21597 PyObject
*resultobj
;
21598 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21599 wxFrame
*arg2
= (wxFrame
*) 0 ;
21600 PyObject
* obj0
= 0 ;
21601 PyObject
* obj1
= 0 ;
21602 char *kwnames
[] = {
21603 (char *) "self",(char *) "frame", NULL
21606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
21607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21609 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
21610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21613 (arg1
)->SetFrame(arg2
);
21615 wxPyEndAllowThreads(__tstate
);
21616 if (PyErr_Occurred()) SWIG_fail
;
21618 Py_INCREF(Py_None
); resultobj
= Py_None
;
21625 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21626 PyObject
*resultobj
;
21627 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21628 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21629 PyObject
* obj0
= 0 ;
21630 PyObject
* obj1
= 0 ;
21631 char *kwnames
[] = {
21632 (char *) "self",(char *) "canvas", NULL
21635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
21636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21638 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
21639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21642 (arg1
)->SetCanvas(arg2
);
21644 wxPyEndAllowThreads(__tstate
);
21645 if (PyErr_Occurred()) SWIG_fail
;
21647 Py_INCREF(Py_None
); resultobj
= Py_None
;
21654 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21655 PyObject
*resultobj
;
21656 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21658 PyObject
* obj0
= 0 ;
21659 char *kwnames
[] = {
21660 (char *) "self", NULL
21663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
21664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21668 result
= (wxFrame
*)(arg1
)->GetFrame();
21670 wxPyEndAllowThreads(__tstate
);
21671 if (PyErr_Occurred()) SWIG_fail
;
21674 resultobj
= wxPyMake_wxObject(result
);
21682 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21683 PyObject
*resultobj
;
21684 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21685 wxPreviewCanvas
*result
;
21686 PyObject
* obj0
= 0 ;
21687 char *kwnames
[] = {
21688 (char *) "self", NULL
21691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
21692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21696 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
21698 wxPyEndAllowThreads(__tstate
);
21699 if (PyErr_Occurred()) SWIG_fail
;
21701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
21708 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21709 PyObject
*resultobj
;
21710 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21711 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21714 PyObject
* obj0
= 0 ;
21715 PyObject
* obj1
= 0 ;
21716 PyObject
* obj2
= 0 ;
21717 char *kwnames
[] = {
21718 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
21725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21726 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
21727 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21729 if (arg3
== NULL
) {
21730 PyErr_SetString(PyExc_TypeError
,"null reference");
21734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21735 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
21737 wxPyEndAllowThreads(__tstate
);
21738 if (PyErr_Occurred()) SWIG_fail
;
21740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21747 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21748 PyObject
*resultobj
;
21749 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21750 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21753 PyObject
* obj0
= 0 ;
21754 PyObject
* obj1
= 0 ;
21755 PyObject
* obj2
= 0 ;
21756 char *kwnames
[] = {
21757 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
21764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21765 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
21766 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21768 if (arg3
== NULL
) {
21769 PyErr_SetString(PyExc_TypeError
,"null reference");
21773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21774 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
21776 wxPyEndAllowThreads(__tstate
);
21777 if (PyErr_Occurred()) SWIG_fail
;
21779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21786 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21787 PyObject
*resultobj
;
21788 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21791 PyObject
* obj0
= 0 ;
21792 PyObject
* obj1
= 0 ;
21793 char *kwnames
[] = {
21794 (char *) "self",(char *) "pageNum", NULL
21797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21800 arg2
= (int) SWIG_AsInt(obj1
);
21801 if (PyErr_Occurred()) SWIG_fail
;
21803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21804 result
= (bool)(arg1
)->RenderPage(arg2
);
21806 wxPyEndAllowThreads(__tstate
);
21807 if (PyErr_Occurred()) SWIG_fail
;
21809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21816 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21817 PyObject
*resultobj
;
21818 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21819 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21820 PyObject
* obj0
= 0 ;
21821 PyObject
* obj1
= 0 ;
21822 char *kwnames
[] = {
21823 (char *) "self",(char *) "canvas", NULL
21826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
21827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21829 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
21830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21833 (arg1
)->AdjustScrollbars(arg2
);
21835 wxPyEndAllowThreads(__tstate
);
21836 if (PyErr_Occurred()) SWIG_fail
;
21838 Py_INCREF(Py_None
); resultobj
= Py_None
;
21845 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21846 PyObject
*resultobj
;
21847 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21848 wxPrintDialogData
*result
;
21849 PyObject
* obj0
= 0 ;
21850 char *kwnames
[] = {
21851 (char *) "self", NULL
21854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21860 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21861 result
= (wxPrintDialogData
*) &_result_ref
;
21864 wxPyEndAllowThreads(__tstate
);
21865 if (PyErr_Occurred()) SWIG_fail
;
21867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21874 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21875 PyObject
*resultobj
;
21876 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21878 PyObject
* obj0
= 0 ;
21879 PyObject
* obj1
= 0 ;
21880 char *kwnames
[] = {
21881 (char *) "self",(char *) "percent", NULL
21884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
21885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21887 arg2
= (int) SWIG_AsInt(obj1
);
21888 if (PyErr_Occurred()) SWIG_fail
;
21890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21891 (arg1
)->SetZoom(arg2
);
21893 wxPyEndAllowThreads(__tstate
);
21894 if (PyErr_Occurred()) SWIG_fail
;
21896 Py_INCREF(Py_None
); resultobj
= Py_None
;
21903 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21904 PyObject
*resultobj
;
21905 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21907 PyObject
* obj0
= 0 ;
21908 char *kwnames
[] = {
21909 (char *) "self", NULL
21912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
21913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21917 result
= (int)(arg1
)->GetZoom();
21919 wxPyEndAllowThreads(__tstate
);
21920 if (PyErr_Occurred()) SWIG_fail
;
21922 resultobj
= SWIG_FromInt((int)result
);
21929 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21930 PyObject
*resultobj
;
21931 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21933 PyObject
* obj0
= 0 ;
21934 char *kwnames
[] = {
21935 (char *) "self", NULL
21938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
21939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21943 result
= (int)(arg1
)->GetMaxPage();
21945 wxPyEndAllowThreads(__tstate
);
21946 if (PyErr_Occurred()) SWIG_fail
;
21948 resultobj
= SWIG_FromInt((int)result
);
21955 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21956 PyObject
*resultobj
;
21957 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21959 PyObject
* obj0
= 0 ;
21960 char *kwnames
[] = {
21961 (char *) "self", NULL
21964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
21965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21969 result
= (int)(arg1
)->GetMinPage();
21971 wxPyEndAllowThreads(__tstate
);
21972 if (PyErr_Occurred()) SWIG_fail
;
21974 resultobj
= SWIG_FromInt((int)result
);
21981 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21982 PyObject
*resultobj
;
21983 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21985 PyObject
* obj0
= 0 ;
21986 char *kwnames
[] = {
21987 (char *) "self", NULL
21990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
21991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21995 result
= (bool)(arg1
)->Ok();
21997 wxPyEndAllowThreads(__tstate
);
21998 if (PyErr_Occurred()) SWIG_fail
;
22000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22007 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22008 PyObject
*resultobj
;
22009 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22011 PyObject
* obj0
= 0 ;
22012 PyObject
* obj1
= 0 ;
22013 char *kwnames
[] = {
22014 (char *) "self",(char *) "ok", NULL
22017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
22018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22020 arg2
= (bool) SWIG_AsBool(obj1
);
22021 if (PyErr_Occurred()) SWIG_fail
;
22023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22024 (arg1
)->SetOk(arg2
);
22026 wxPyEndAllowThreads(__tstate
);
22027 if (PyErr_Occurred()) SWIG_fail
;
22029 Py_INCREF(Py_None
); resultobj
= Py_None
;
22036 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22037 PyObject
*resultobj
;
22038 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22041 PyObject
* obj0
= 0 ;
22042 PyObject
* obj1
= 0 ;
22043 char *kwnames
[] = {
22044 (char *) "self",(char *) "interactive", NULL
22047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
22048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22050 arg2
= (bool) SWIG_AsBool(obj1
);
22051 if (PyErr_Occurred()) SWIG_fail
;
22053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22054 result
= (bool)(arg1
)->Print(arg2
);
22056 wxPyEndAllowThreads(__tstate
);
22057 if (PyErr_Occurred()) SWIG_fail
;
22059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22066 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22067 PyObject
*resultobj
;
22068 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22069 PyObject
* obj0
= 0 ;
22070 char *kwnames
[] = {
22071 (char *) "self", NULL
22074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
22075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22079 (arg1
)->DetermineScaling();
22081 wxPyEndAllowThreads(__tstate
);
22082 if (PyErr_Occurred()) SWIG_fail
;
22084 Py_INCREF(Py_None
); resultobj
= Py_None
;
22091 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
22093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22094 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
22096 return Py_BuildValue((char *)"");
22098 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
22099 PyObject
*resultobj
;
22100 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22101 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22102 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
22103 wxPyPrintPreview
*result
;
22104 PyObject
* obj0
= 0 ;
22105 PyObject
* obj1
= 0 ;
22106 PyObject
* obj2
= 0 ;
22108 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22114 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
22115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22119 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
22121 wxPyEndAllowThreads(__tstate
);
22122 if (PyErr_Occurred()) SWIG_fail
;
22124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
22131 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
22132 PyObject
*resultobj
;
22133 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22134 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22135 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
22136 wxPyPrintPreview
*result
;
22137 PyObject
* obj0
= 0 ;
22138 PyObject
* obj1
= 0 ;
22139 PyObject
* obj2
= 0 ;
22141 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22144 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22146 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
22147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22150 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
22152 wxPyEndAllowThreads(__tstate
);
22153 if (PyErr_Occurred()) SWIG_fail
;
22155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
22162 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
22167 argc
= PyObject_Length(args
);
22168 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
22169 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22171 if ((argc
>= 2) && (argc
<= 3)) {
22175 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22185 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22194 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
22198 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
22206 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
22215 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22225 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22235 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22243 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
22249 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
22254 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22255 PyObject
*resultobj
;
22256 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22257 PyObject
*arg2
= (PyObject
*) 0 ;
22258 PyObject
*arg3
= (PyObject
*) 0 ;
22259 PyObject
* obj0
= 0 ;
22260 PyObject
* obj1
= 0 ;
22261 PyObject
* obj2
= 0 ;
22262 char *kwnames
[] = {
22263 (char *) "self",(char *) "self",(char *) "_class", NULL
22266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22273 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22275 wxPyEndAllowThreads(__tstate
);
22276 if (PyErr_Occurred()) SWIG_fail
;
22278 Py_INCREF(Py_None
); resultobj
= Py_None
;
22285 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22286 PyObject
*resultobj
;
22287 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22290 PyObject
* obj0
= 0 ;
22291 PyObject
* obj1
= 0 ;
22292 char *kwnames
[] = {
22293 (char *) "self",(char *) "pageNum", NULL
22296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22299 arg2
= (int) SWIG_AsInt(obj1
);
22300 if (PyErr_Occurred()) SWIG_fail
;
22302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22303 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
22305 wxPyEndAllowThreads(__tstate
);
22306 if (PyErr_Occurred()) SWIG_fail
;
22308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22315 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22316 PyObject
*resultobj
;
22317 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22318 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22321 PyObject
* obj0
= 0 ;
22322 PyObject
* obj1
= 0 ;
22323 PyObject
* obj2
= 0 ;
22324 char *kwnames
[] = {
22325 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22333 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
22334 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22336 if (arg3
== NULL
) {
22337 PyErr_SetString(PyExc_TypeError
,"null reference");
22341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22342 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
22344 wxPyEndAllowThreads(__tstate
);
22345 if (PyErr_Occurred()) SWIG_fail
;
22347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22354 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22355 PyObject
*resultobj
;
22356 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22357 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22360 PyObject
* obj0
= 0 ;
22361 PyObject
* obj1
= 0 ;
22362 PyObject
* obj2
= 0 ;
22363 char *kwnames
[] = {
22364 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22370 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22372 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
22373 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22375 if (arg3
== NULL
) {
22376 PyErr_SetString(PyExc_TypeError
,"null reference");
22380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22381 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
22383 wxPyEndAllowThreads(__tstate
);
22384 if (PyErr_Occurred()) SWIG_fail
;
22386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22393 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22394 PyObject
*resultobj
;
22395 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22398 PyObject
* obj0
= 0 ;
22399 PyObject
* obj1
= 0 ;
22400 char *kwnames
[] = {
22401 (char *) "self",(char *) "pageNum", NULL
22404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22407 arg2
= (int) SWIG_AsInt(obj1
);
22408 if (PyErr_Occurred()) SWIG_fail
;
22410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22411 result
= (bool)(arg1
)->base_RenderPage(arg2
);
22413 wxPyEndAllowThreads(__tstate
);
22414 if (PyErr_Occurred()) SWIG_fail
;
22416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22423 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22424 PyObject
*resultobj
;
22425 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22427 PyObject
* obj0
= 0 ;
22428 PyObject
* obj1
= 0 ;
22429 char *kwnames
[] = {
22430 (char *) "self",(char *) "percent", NULL
22433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
22434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22436 arg2
= (int) SWIG_AsInt(obj1
);
22437 if (PyErr_Occurred()) SWIG_fail
;
22439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22440 (arg1
)->base_SetZoom(arg2
);
22442 wxPyEndAllowThreads(__tstate
);
22443 if (PyErr_Occurred()) SWIG_fail
;
22445 Py_INCREF(Py_None
); resultobj
= Py_None
;
22452 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22453 PyObject
*resultobj
;
22454 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22457 PyObject
* obj0
= 0 ;
22458 PyObject
* obj1
= 0 ;
22459 char *kwnames
[] = {
22460 (char *) "self",(char *) "interactive", NULL
22463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
22464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22466 arg2
= (bool) SWIG_AsBool(obj1
);
22467 if (PyErr_Occurred()) SWIG_fail
;
22469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22470 result
= (bool)(arg1
)->base_Print(arg2
);
22472 wxPyEndAllowThreads(__tstate
);
22473 if (PyErr_Occurred()) SWIG_fail
;
22475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22482 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22483 PyObject
*resultobj
;
22484 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22485 PyObject
* obj0
= 0 ;
22486 char *kwnames
[] = {
22487 (char *) "self", NULL
22490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
22491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22495 (arg1
)->base_DetermineScaling();
22497 wxPyEndAllowThreads(__tstate
);
22498 if (PyErr_Occurred()) SWIG_fail
;
22500 Py_INCREF(Py_None
); resultobj
= Py_None
;
22507 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
22509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22510 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
22512 return Py_BuildValue((char *)"");
22514 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22515 PyObject
*resultobj
;
22516 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22517 wxFrame
*arg2
= (wxFrame
*) 0 ;
22518 wxString
*arg3
= 0 ;
22519 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22520 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22521 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22522 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22523 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22524 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22525 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22526 wxPyPreviewFrame
*result
;
22527 bool temp3
= False
;
22530 bool temp7
= False
;
22531 PyObject
* obj0
= 0 ;
22532 PyObject
* obj1
= 0 ;
22533 PyObject
* obj2
= 0 ;
22534 PyObject
* obj3
= 0 ;
22535 PyObject
* obj4
= 0 ;
22536 PyObject
* obj5
= 0 ;
22537 PyObject
* obj6
= 0 ;
22538 char *kwnames
[] = {
22539 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22545 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22548 arg3
= wxString_in_helper(obj2
);
22549 if (arg3
== NULL
) SWIG_fail
;
22555 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22561 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22565 arg6
= (long) SWIG_AsLong(obj5
);
22566 if (PyErr_Occurred()) SWIG_fail
;
22570 arg7
= wxString_in_helper(obj6
);
22571 if (arg7
== NULL
) SWIG_fail
;
22576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22577 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22579 wxPyEndAllowThreads(__tstate
);
22580 if (PyErr_Occurred()) SWIG_fail
;
22582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
22605 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22606 PyObject
*resultobj
;
22607 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22608 PyObject
*arg2
= (PyObject
*) 0 ;
22609 PyObject
*arg3
= (PyObject
*) 0 ;
22610 PyObject
* obj0
= 0 ;
22611 PyObject
* obj1
= 0 ;
22612 PyObject
* obj2
= 0 ;
22613 char *kwnames
[] = {
22614 (char *) "self",(char *) "self",(char *) "_class", NULL
22617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22624 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22626 wxPyEndAllowThreads(__tstate
);
22627 if (PyErr_Occurred()) SWIG_fail
;
22629 Py_INCREF(Py_None
); resultobj
= Py_None
;
22636 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22637 PyObject
*resultobj
;
22638 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22639 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22640 PyObject
* obj0
= 0 ;
22641 PyObject
* obj1
= 0 ;
22642 char *kwnames
[] = {
22643 (char *) "self",(char *) "canvas", NULL
22646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
22647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22649 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22653 (arg1
)->SetPreviewCanvas(arg2
);
22655 wxPyEndAllowThreads(__tstate
);
22656 if (PyErr_Occurred()) SWIG_fail
;
22658 Py_INCREF(Py_None
); resultobj
= Py_None
;
22665 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22666 PyObject
*resultobj
;
22667 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22668 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
22669 PyObject
* obj0
= 0 ;
22670 PyObject
* obj1
= 0 ;
22671 char *kwnames
[] = {
22672 (char *) "self",(char *) "bar", NULL
22675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
22676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22678 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
22679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22682 (arg1
)->SetControlBar(arg2
);
22684 wxPyEndAllowThreads(__tstate
);
22685 if (PyErr_Occurred()) SWIG_fail
;
22687 Py_INCREF(Py_None
); resultobj
= Py_None
;
22694 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22695 PyObject
*resultobj
;
22696 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22697 PyObject
* obj0
= 0 ;
22698 char *kwnames
[] = {
22699 (char *) "self", NULL
22702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
22703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22707 (arg1
)->base_Initialize();
22709 wxPyEndAllowThreads(__tstate
);
22710 if (PyErr_Occurred()) SWIG_fail
;
22712 Py_INCREF(Py_None
); resultobj
= Py_None
;
22719 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22720 PyObject
*resultobj
;
22721 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22722 PyObject
* obj0
= 0 ;
22723 char *kwnames
[] = {
22724 (char *) "self", NULL
22727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22732 (arg1
)->base_CreateCanvas();
22734 wxPyEndAllowThreads(__tstate
);
22735 if (PyErr_Occurred()) SWIG_fail
;
22737 Py_INCREF(Py_None
); resultobj
= Py_None
;
22744 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22745 PyObject
*resultobj
;
22746 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22747 PyObject
* obj0
= 0 ;
22748 char *kwnames
[] = {
22749 (char *) "self", NULL
22752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22757 (arg1
)->base_CreateControlBar();
22759 wxPyEndAllowThreads(__tstate
);
22760 if (PyErr_Occurred()) SWIG_fail
;
22762 Py_INCREF(Py_None
); resultobj
= Py_None
;
22769 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22771 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22772 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
22774 return Py_BuildValue((char *)"");
22776 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22777 PyObject
*resultobj
;
22778 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22780 wxWindow
*arg3
= (wxWindow
*) 0 ;
22781 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22782 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22783 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22784 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22785 long arg6
= (long) 0 ;
22786 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22787 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22788 wxPyPreviewControlBar
*result
;
22791 bool temp7
= False
;
22792 PyObject
* obj0
= 0 ;
22793 PyObject
* obj1
= 0 ;
22794 PyObject
* obj2
= 0 ;
22795 PyObject
* obj3
= 0 ;
22796 PyObject
* obj4
= 0 ;
22797 PyObject
* obj5
= 0 ;
22798 PyObject
* obj6
= 0 ;
22799 char *kwnames
[] = {
22800 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22806 arg2
= (long) SWIG_AsLong(obj1
);
22807 if (PyErr_Occurred()) SWIG_fail
;
22808 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
22809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22813 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22819 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22823 arg6
= (long) SWIG_AsLong(obj5
);
22824 if (PyErr_Occurred()) SWIG_fail
;
22828 arg7
= wxString_in_helper(obj6
);
22829 if (arg7
== NULL
) SWIG_fail
;
22834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22835 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22837 wxPyEndAllowThreads(__tstate
);
22838 if (PyErr_Occurred()) SWIG_fail
;
22840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
22855 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22856 PyObject
*resultobj
;
22857 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22858 PyObject
*arg2
= (PyObject
*) 0 ;
22859 PyObject
*arg3
= (PyObject
*) 0 ;
22860 PyObject
* obj0
= 0 ;
22861 PyObject
* obj1
= 0 ;
22862 PyObject
* obj2
= 0 ;
22863 char *kwnames
[] = {
22864 (char *) "self",(char *) "self",(char *) "_class", NULL
22867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
22869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22874 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22876 wxPyEndAllowThreads(__tstate
);
22877 if (PyErr_Occurred()) SWIG_fail
;
22879 Py_INCREF(Py_None
); resultobj
= Py_None
;
22886 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22887 PyObject
*resultobj
;
22888 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22889 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
22890 PyObject
* obj0
= 0 ;
22891 PyObject
* obj1
= 0 ;
22892 char *kwnames
[] = {
22893 (char *) "self",(char *) "preview", NULL
22896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
22898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22899 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
22900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22903 (arg1
)->SetPrintPreview(arg2
);
22905 wxPyEndAllowThreads(__tstate
);
22906 if (PyErr_Occurred()) SWIG_fail
;
22908 Py_INCREF(Py_None
); resultobj
= Py_None
;
22915 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22916 PyObject
*resultobj
;
22917 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22918 PyObject
* obj0
= 0 ;
22919 char *kwnames
[] = {
22920 (char *) "self", NULL
22923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
22924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
22925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22928 (arg1
)->base_CreateButtons();
22930 wxPyEndAllowThreads(__tstate
);
22931 if (PyErr_Occurred()) SWIG_fail
;
22933 Py_INCREF(Py_None
); resultobj
= Py_None
;
22940 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22941 PyObject
*resultobj
;
22942 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
22944 PyObject
* obj0
= 0 ;
22945 PyObject
* obj1
= 0 ;
22946 char *kwnames
[] = {
22947 (char *) "self",(char *) "zoom", NULL
22950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
22952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22953 arg2
= (int) SWIG_AsInt(obj1
);
22954 if (PyErr_Occurred()) SWIG_fail
;
22956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22957 (arg1
)->base_SetZoomControl(arg2
);
22959 wxPyEndAllowThreads(__tstate
);
22960 if (PyErr_Occurred()) SWIG_fail
;
22962 Py_INCREF(Py_None
); resultobj
= Py_None
;
22969 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
22971 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22972 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
22974 return Py_BuildValue((char *)"");
22976 static PyMethodDef SwigMethods
[] = {
22977 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
22978 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
22979 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
22980 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
22981 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
22982 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
22983 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
22984 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
22985 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
22986 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
22987 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
22988 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
22989 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
22990 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
22991 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
22992 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
22993 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
22994 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
22995 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
22996 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
22997 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
22998 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
22999 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
23000 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
23001 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
23002 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
23003 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
23004 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
23005 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
23006 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
23007 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
23008 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
23009 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
23010 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
23011 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
23012 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
23013 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
23014 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
23015 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
23016 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
23017 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
23018 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
23019 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
23020 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
23021 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
23022 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
23023 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
23024 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
23025 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
23026 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
23027 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
23028 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
23029 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
23030 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
23031 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
23032 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
23033 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
23034 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
23035 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
23036 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
23037 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
23038 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
23039 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
23040 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
23041 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
23042 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
23043 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
23044 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
23045 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
23046 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
23047 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
23048 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23049 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
23050 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
},
23051 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
23052 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
23053 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
23054 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
23055 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
23056 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
23057 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
23058 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
23059 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
23060 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
23061 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
23062 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
23063 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
23064 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
23065 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
23066 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
23067 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
23068 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
23069 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
23070 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
23071 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
23072 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
23073 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
23074 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
23075 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
23076 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
23077 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
23078 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
23079 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
23080 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
23081 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
23082 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
23083 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
23084 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
23085 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
23086 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
23087 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
23088 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
23089 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
23090 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
23091 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
23092 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
23093 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
23094 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
23095 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
23096 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
23097 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
23098 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
23099 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
23100 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
23101 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
23102 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
23103 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
23104 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
23105 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
23106 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
23107 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
23108 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
23109 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
23110 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
23111 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
23112 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
23113 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
23114 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
23115 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
23116 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
23117 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
23118 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
23119 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
23120 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
23121 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
23122 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
23123 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
23124 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
23125 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
23126 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
23127 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
23128 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
23129 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
23130 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
23131 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
23132 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
23133 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
23134 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
23135 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
23136 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
23137 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
23138 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
23139 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
23140 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
23141 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
23142 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
23143 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
23144 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
23145 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
23146 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
23147 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23148 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23149 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
23150 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
23151 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23152 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23153 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
23154 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
23155 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
23156 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
23157 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23158 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23159 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
23160 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
23161 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
23162 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
23163 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
23164 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
23165 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
23166 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23167 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
23168 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
23169 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23170 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
23171 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
23172 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
23173 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
23174 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
23175 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
23176 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
23177 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
23178 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
23179 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
23180 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
23181 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
23182 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23183 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23184 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23185 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
23186 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
23187 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
23188 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
23189 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
23190 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
23191 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
23192 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
23193 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
23194 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23195 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
23196 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
23197 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
23198 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
23199 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
23200 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
23201 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
23202 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
23203 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
23204 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
23205 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
23206 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
23207 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
23208 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
23209 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
23210 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
23211 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
23212 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23213 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
23214 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
23215 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
23216 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23217 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
23218 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
23219 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
23220 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
23221 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
23222 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
23223 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
23224 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
23225 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
23226 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23227 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
23228 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
23229 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
23230 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
23231 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
23232 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
23233 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
23234 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
23235 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
23236 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
23237 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
23238 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23239 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
23240 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
23241 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
23242 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
23243 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
23244 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
23245 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
23246 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
23247 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
23248 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
23249 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
23250 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
23251 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
23252 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
23253 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
23254 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
23255 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
23256 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
23257 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
23258 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
23259 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
23260 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
23261 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
23262 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
23263 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
23264 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
23265 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
23266 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
23267 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
23268 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
23269 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
23270 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
23271 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
23272 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
23273 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
23274 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
23275 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
23276 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
23277 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
23278 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
23279 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
23280 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
23281 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
23282 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
23283 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
23284 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
23285 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
23286 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
23287 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
23288 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
23289 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
23290 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
23291 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
23292 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
23293 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
23294 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
23295 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23296 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
23297 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23298 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
23299 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
23300 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
23301 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
23302 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
23303 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
23304 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
23305 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
23306 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
23307 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
23308 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
23309 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
23310 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
23311 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
23312 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
23313 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
23314 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
23315 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
23316 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
23317 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
23318 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
23319 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
23320 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
23321 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
23322 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
23323 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
23324 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
23325 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
23326 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
23327 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
23328 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
23329 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23330 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
23331 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
23332 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
23333 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23334 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
23335 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
23336 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
23337 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
23338 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
23339 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
23340 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
23341 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23342 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23343 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
23344 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
23345 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
23346 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
23347 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
23348 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
23349 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
23350 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
23351 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
23352 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
23353 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
23354 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
23355 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
23356 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
23357 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
23358 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
23359 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
23360 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23361 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
23362 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
23363 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
23364 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
23365 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
23366 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
23367 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
23368 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
23369 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
23370 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
23371 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23372 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23373 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
23374 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
23375 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
23376 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23377 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
23378 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
23379 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23380 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23381 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
23382 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23383 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
23384 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23385 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
23386 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
23387 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
23388 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
23389 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
23390 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
23391 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
23392 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
23393 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
23394 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
23395 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
23396 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
23397 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23398 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
23399 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
23400 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23401 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23402 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
23403 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23404 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
23405 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23406 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
23407 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
23408 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
23409 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
23410 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
23411 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
23412 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
23413 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
23414 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
23415 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
23416 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
23417 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
23418 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
23419 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23420 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23421 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23422 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23423 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
23424 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
23425 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
23426 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23427 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23428 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
23429 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23430 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23431 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23432 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
23433 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
23434 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
23435 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23436 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23437 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
23438 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
23439 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
23440 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
23441 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
23442 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
23443 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
23444 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
23445 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
23446 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
23447 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
23448 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
23449 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
23450 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
23451 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
23452 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
23453 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
23454 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
23455 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
23456 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
23457 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
23458 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
23459 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
23460 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
23461 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
23462 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
23463 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23464 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23465 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23466 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
23467 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23468 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
23469 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
23470 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
23471 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
23472 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23473 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
23474 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
23475 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23476 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
23477 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23478 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23479 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23480 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23481 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23482 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23483 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23484 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23485 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
23486 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
23487 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23488 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23489 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23490 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23491 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23492 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23493 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23494 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
23495 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
23496 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
23497 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23498 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
23499 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
},
23500 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23501 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
23502 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
23503 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
23504 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
23505 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23506 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
23507 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23508 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23509 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23510 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
23511 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
23512 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
23513 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
23514 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
23515 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23516 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
23517 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23518 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23519 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23520 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
23521 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23522 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
23523 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
23524 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23525 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23526 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
23527 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
23528 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23529 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23530 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23531 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23532 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
23533 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
23534 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23535 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
23536 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23537 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
23538 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
23539 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
23540 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
23541 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23542 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
23543 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
23544 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
23545 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
23546 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
23547 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
23548 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
23549 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
23550 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23551 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
23552 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
23553 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
23554 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
23555 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
23556 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
23557 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
23558 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
23559 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
23560 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
23561 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
23562 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
23563 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
23564 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
23565 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
23566 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
23567 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
23568 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
23569 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
23570 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
23571 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
23572 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23573 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
23574 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
23575 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
23576 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23577 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23578 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23579 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
23580 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23581 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
23582 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
23583 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
23584 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
23585 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
23586 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
23587 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
23588 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
23589 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
23590 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
},
23591 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
23592 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
23593 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
23594 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
23595 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
23596 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
23597 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23598 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
23599 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23600 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
23601 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
23602 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
23603 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
23604 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23605 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
23606 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
23607 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
23608 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
23609 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23610 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
23611 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
23612 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
23613 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
23614 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
},
23615 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23616 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
23617 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
23618 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
23619 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
23620 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
23621 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
23622 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
23623 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
23624 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
23625 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23626 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23627 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23628 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
23629 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23630 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23631 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
23632 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23633 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23634 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
23635 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
23636 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
23637 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
23642 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
23644 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
23645 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23647 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
23648 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
23650 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
23651 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
23653 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
23654 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
23656 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
23657 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
23659 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
23660 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
23662 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
23663 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
23665 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
23666 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23668 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
23669 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
23671 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
23672 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
23674 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
23675 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
23677 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
23678 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
23680 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
23681 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
23683 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
23684 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
23686 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
23687 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
23689 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
23690 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
23692 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
23693 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
23695 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
23696 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
23698 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
23699 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
23701 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
23702 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
23704 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
23705 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
23707 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
23708 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
23710 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
23711 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
23713 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
23714 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
23716 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
23717 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
23719 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
23720 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
23722 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
23723 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
23725 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
23726 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
23728 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
23729 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
23731 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
23732 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
23734 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
23735 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
23737 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
23738 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
23740 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
23741 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
23743 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
23744 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
23746 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
23747 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
23749 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
23750 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
23752 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
23753 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
23755 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
23756 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
23758 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
23759 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
23761 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
23762 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
23764 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
23765 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
23767 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
23768 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
23770 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
23771 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23773 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
23774 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
23776 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
23777 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
23779 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
23780 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
23782 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
23783 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
23785 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
23786 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
23788 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
23789 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
23791 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
23792 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
23794 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
23795 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
23797 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
23798 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
23800 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
23801 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
23803 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
23804 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
23806 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
23807 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
23809 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
23810 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
23812 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
23813 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
23815 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
23816 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
23818 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
23819 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
23821 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
23822 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
23824 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
23825 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
23827 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
23828 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
23830 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
23831 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
23833 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
23834 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
23836 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
23837 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
23839 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
23840 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
23842 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
23843 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
23845 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
23846 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
23848 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
23849 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
23851 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
23852 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
23854 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
23855 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
23857 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
23858 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
23860 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
23861 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
23863 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
23864 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23866 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
23867 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
23869 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
23870 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
23872 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
23873 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
23875 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
23876 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
23878 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
23879 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
23881 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
23882 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23884 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
23885 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
23887 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
23888 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
23890 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
23891 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
23893 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
23894 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
23896 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
23897 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
23899 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
23900 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
23902 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
23903 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
23905 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
23906 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
23908 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
23909 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
23911 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
23912 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
23914 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
23915 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
23917 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
23918 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
23920 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
23921 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
23923 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
23924 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
23926 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
23927 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
23929 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
23930 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
23932 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
23933 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23935 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
23936 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
23938 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
23939 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
23941 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
23942 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
23944 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
23945 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
23947 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
23948 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
23950 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
23951 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
23953 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
23954 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23956 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
23957 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
23959 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
23960 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
23962 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
23963 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
23965 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
23966 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
23968 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
23969 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
23971 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
23972 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
23974 static void *_p_wxSizerTo_p_wxObject(void *x
) {
23975 return (void *)((wxObject
*) ((wxSizer
*) x
));
23977 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
23978 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
23980 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
23981 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
23983 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
23984 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
23986 static void *_p_wxEventTo_p_wxObject(void *x
) {
23987 return (void *)((wxObject
*) ((wxEvent
*) x
));
23989 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
23990 return (void *)((wxObject
*) ((wxFontData
*) x
));
23992 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
23993 return (void *)((wxObject
*) ((wxPrintData
*) x
));
23995 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
23996 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
23998 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
23999 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
24001 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
24002 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
24004 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
24005 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
24007 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
24008 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
24010 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
24011 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
24013 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
24014 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
24016 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
24017 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
24019 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
24020 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
24022 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
24023 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
24025 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
24026 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
24028 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
24029 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
24031 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
24032 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24034 static void *_p_wxControlTo_p_wxObject(void *x
) {
24035 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
24037 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
24038 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
24040 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
24041 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
24043 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
24044 return (void *)((wxObject
*) ((wxFSFile
*) x
));
24046 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
24047 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
24049 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
24050 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
24052 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
24053 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
24055 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
24056 return (void *)((wxObject
*) ((wxColourData
*) x
));
24058 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
24059 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
24061 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
24062 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
24064 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
24065 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
24067 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
24068 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
24070 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
24071 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
24073 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
24074 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24076 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
24077 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24079 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
24080 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
24082 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
24083 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
24085 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
24086 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
24088 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
24089 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
24091 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
24092 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
24094 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
24095 return (void *)((wxObject
*) ((wxPrinter
*) x
));
24097 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
24098 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
24100 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
24101 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
24103 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
24104 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
24106 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
24107 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
24109 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
24110 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
24112 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
24113 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
24115 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
24116 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
24118 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
24119 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
24121 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
24122 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
24124 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
24125 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
24127 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
24128 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
24130 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
24131 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
24133 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
24134 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
24136 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
24137 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
24139 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
24140 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
24142 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
24143 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
24145 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
24146 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
24148 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
24149 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
24151 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
24152 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
24154 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
24155 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
24157 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
24158 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
24160 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
24161 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
24163 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
24164 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
24166 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
24167 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24169 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
24170 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24172 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
24173 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
24175 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
24176 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
24178 static void *_p_wxImageTo_p_wxObject(void *x
) {
24179 return (void *)((wxObject
*) ((wxImage
*) x
));
24181 static void *_p_wxFrameTo_p_wxObject(void *x
) {
24182 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
24184 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
24185 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
24187 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
24188 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
24190 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
24191 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
24193 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
24194 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
24196 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
24197 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
24199 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
24200 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
24202 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
24203 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
24205 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
24206 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
24208 static void *_p_wxWindowTo_p_wxObject(void *x
) {
24209 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
24211 static void *_p_wxMenuTo_p_wxObject(void *x
) {
24212 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
24214 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
24215 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
24217 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
24218 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
24220 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
24221 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
24223 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
24224 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
24226 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
24227 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
24229 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
24230 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
24232 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
24233 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24235 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
24236 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
24238 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
24239 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24241 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
24242 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
24244 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
24245 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24247 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
24248 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
24250 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
24251 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
24253 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
24254 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
24256 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
24257 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
24259 static void *_p_wxPanelTo_p_wxObject(void *x
) {
24260 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
24262 static void *_p_wxDialogTo_p_wxObject(void *x
) {
24263 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
24265 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
24266 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
24268 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
24269 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
24271 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
24272 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
24274 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
24275 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
24277 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
24278 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
24280 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
24281 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
24283 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
24284 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
24286 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
24287 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
24289 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
24290 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
24292 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
24293 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
24295 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
24296 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
24298 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
24299 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
24301 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
24302 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
24304 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
24305 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
24307 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
24308 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
24310 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
24311 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24313 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
24314 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
24316 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
24317 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
24319 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
24320 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
24322 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
24323 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
24325 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
24326 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
24328 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
24329 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
24331 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
24332 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
24334 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
24335 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
24337 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
24338 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24340 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
24341 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24343 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
24344 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
24346 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
24347 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24349 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
24350 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
24352 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
24353 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24355 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
24356 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
24358 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
24359 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
24361 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
24362 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
24364 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
24365 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
24367 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
24368 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
24370 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
24371 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
24373 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
24374 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
24376 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
24377 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
24379 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
24380 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
24382 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
24383 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
24385 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
24386 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
24388 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
24389 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
24391 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
24392 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
24394 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
24395 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
24397 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
24398 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
24400 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
24401 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24403 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
24404 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24406 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
24407 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
24409 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
24410 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
24412 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
24413 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24415 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
24416 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
24418 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
24419 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
24421 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
24422 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
24424 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
24425 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
24427 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
24428 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
24430 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
24431 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
24433 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
24434 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
24436 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
24437 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
24439 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
24440 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24442 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
24443 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24445 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
24446 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
24448 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
24449 return (void *)((wxWindow
*) ((wxPanel
*) x
));
24451 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
24452 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
24454 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
24455 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
24457 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
24458 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24460 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
24461 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
24463 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
24464 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24466 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
24467 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
24469 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
24470 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24472 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
24473 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
24475 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
24476 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
24478 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
24479 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
24481 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
24482 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
24484 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
24485 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
24487 static void *_p_wxControlTo_p_wxWindow(void *x
) {
24488 return (void *)((wxWindow
*) ((wxControl
*) x
));
24490 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
24491 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
24493 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
24494 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24496 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
24497 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
24499 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
24500 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
24502 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
24503 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
24505 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
24506 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24508 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
24509 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24511 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
24512 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24514 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
24515 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
24517 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
24518 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24520 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
24521 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
24523 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
24524 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
24526 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
24527 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
24529 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
24530 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
24532 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
24533 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
24535 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
24536 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
24538 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
24539 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
24541 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
24542 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
24544 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
24545 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24547 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
24548 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
24550 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
24551 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
24553 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
24554 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
24556 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
24557 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
24559 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
24560 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
24562 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
24563 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
24565 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
24566 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
24568 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
24569 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24571 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
24572 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24574 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
24575 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
24577 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
24578 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
24580 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
24581 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
24583 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
24584 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
24586 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
24587 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24589 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
24590 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24592 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
24593 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24595 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
24596 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
24598 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
24599 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24601 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
24602 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
24604 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
24605 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24607 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
24608 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
24610 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
24611 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
24613 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
24614 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
24616 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
24617 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
24619 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
24620 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
24622 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
24623 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
24625 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
24626 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
24628 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
24629 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
24631 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
24632 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
24634 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
24635 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
24637 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
24638 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
24640 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
24641 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24643 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}};
24644 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}};
24645 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}};
24646 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}};
24647 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}};
24648 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}};
24649 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}};
24650 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}};
24651 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}};
24652 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}};
24653 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}};
24654 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}};
24655 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}};
24656 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}};
24657 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}};
24658 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}};
24659 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}};
24660 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}};
24661 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}};
24662 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}};
24663 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}};
24664 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}};
24665 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}};
24666 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}};
24667 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}};
24668 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}};
24669 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}};
24670 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}};
24671 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}};
24672 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}};
24673 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}};
24674 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}};
24675 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}};
24676 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}};
24677 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}};
24678 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}};
24679 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}};
24680 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}};
24681 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}};
24682 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}};
24683 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}};
24684 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}};
24685 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}};
24686 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}};
24687 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}};
24688 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}};
24689 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}};
24690 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}};
24691 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}};
24692 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}};
24693 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}};
24694 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}};
24695 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}};
24696 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}};
24697 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}};
24698 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}};
24699 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}};
24700 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}};
24701 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}};
24702 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}};
24703 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}};
24704 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}};
24705 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}};
24706 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}};
24707 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}};
24708 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}};
24709 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}};
24710 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}};
24711 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}};
24712 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}};
24713 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}};
24714 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}};
24715 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}};
24716 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}};
24717 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}};
24718 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}};
24719 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}};
24720 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}};
24721 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}};
24722 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}};
24723 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}};
24724 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}};
24725 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}};
24726 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}};
24728 static swig_type_info
*swig_types_initial
[] = {
24729 _swigt__p_wxQueryLayoutInfoEvent
,
24730 _swigt__p_wxPreviewFrame
,
24731 _swigt__p_wxPyPreviewFrame
,
24732 _swigt__p_wxPyPanel
,
24734 _swigt__p_wxPrintData
,
24735 _swigt__p_wxFontData
,
24737 _swigt__p_wxTaskBarIcon
,
24738 _swigt__p_wxIconBundle
,
24739 _swigt__p_wxLayoutAlgorithm
,
24740 _swigt__p_wxFindDialogEvent
,
24741 _swigt__p_wxPreviewCanvas
,
24743 _swigt__p_wxSplitterEvent
,
24744 _swigt__p_wxRegion
,
24745 _swigt__p_wxFindReplaceData
,
24750 _swigt__p_wxMDIChildFrame
,
24751 _swigt__p_wxColourData
,
24752 _swigt__p_wxNotifyEvent
,
24753 _swigt__p_wxPyWindow
,
24754 _swigt__p_wxSplashScreen
,
24755 _swigt__p_wxFindReplaceDialog
,
24756 _swigt__p_wxProgressDialog
,
24757 _swigt__p_wxMessageDialog
,
24758 _swigt__p_wxTextEntryDialog
,
24759 _swigt__p_wxSingleChoiceDialog
,
24760 _swigt__p_wxMultiChoiceDialog
,
24761 _swigt__p_wxFileDialog
,
24762 _swigt__p_wxPrinter
,
24763 _swigt__p_wxArrayInt
,
24764 _swigt__p_wxEvtHandler
,
24765 _swigt__p_wxCalculateLayoutEvent
,
24766 _swigt__p_wxPyHtmlListBox
,
24767 _swigt__p_wxPyVListBox
,
24770 _swigt__p_wxMiniFrame
,
24772 _swigt__p_wxPyPrintout
,
24773 _swigt__p_wxTaskBarIconEvent
,
24774 _swigt__p_wxScrollWinEvent
,
24775 _swigt__p_wxStatusBar
,
24776 _swigt__p_wxMDIParentFrame
,
24778 _swigt__p_wxObject
,
24779 _swigt__p_wxOutputStream
,
24780 _swigt__p_unsigned_long
,
24781 _swigt__p_wxMDIClientWindow
,
24782 _swigt__p_wxTipWindow
,
24783 _swigt__p_wxSashLayoutWindow
,
24784 _swigt__p_wxSplitterWindow
,
24785 _swigt__p_wxPyVScrolledWindow
,
24786 _swigt__p_wxPyPopupTransientWindow
,
24787 _swigt__p_wxPopupWindow
,
24788 _swigt__p_wxSashWindow
,
24789 _swigt__p_wxTopLevelWindow
,
24790 _swigt__p_wxWindow
,
24791 _swigt__p_wxScrolledWindow
,
24792 _swigt__p_wxSplashScreenWindow
,
24793 _swigt__p_wxMenuBar
,
24794 _swigt__p_wxPrintPreview
,
24795 _swigt__p_wxSashEvent
,
24796 _swigt__p_wxString
,
24797 _swigt__p_wxPyPrintPreview
,
24798 _swigt__p_wxFontDialog
,
24799 _swigt__p_wxDirDialog
,
24800 _swigt__p_wxColourDialog
,
24801 _swigt__p_wxDialog
,
24803 _swigt__p_wxPageSetupDialog
,
24804 _swigt__p_wxPrintDialog
,
24805 _swigt__p_wxBitmap
,
24806 _swigt__p_wxCommandEvent
,
24807 _swigt__p_wxPreviewControlBar
,
24808 _swigt__p_wxPyPreviewControlBar
,
24809 _swigt__p_wxColour
,
24810 _swigt__p_wxToolBar
,
24811 _swigt__p_wxPageSetupDialogData
,
24812 _swigt__p_wxPrintDialogData
,
24817 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
24819 static swig_const_info swig_const_table
[] = {
24829 SWIGEXPORT(void) SWIG_init(void) {
24830 static PyObject
*SWIG_globals
= 0;
24831 static int typeinit
= 0;
24834 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
24835 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
24836 d
= PyModule_GetDict(m
);
24839 for (i
= 0; swig_types_initial
[i
]; i
++) {
24840 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
24844 SWIG_InstallConstants(d
,swig_const_table
);
24846 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
24847 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
24848 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
24849 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
24850 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
24851 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
24852 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
24853 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
24854 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
24855 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
24856 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
24857 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
24858 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
24859 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
24860 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
24861 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
24862 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
24863 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
24864 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
24865 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
24866 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
24867 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
24868 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
24869 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
24870 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
24871 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
24872 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
24873 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
24874 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
24875 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
24876 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
24877 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
24878 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
24879 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
24880 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
24881 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
24882 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
24883 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
24884 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
24885 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
24886 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
24887 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
24888 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
24889 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
24890 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
24891 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
24892 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
24893 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
24894 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
24895 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
24896 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
24897 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
24898 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
24899 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
24900 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
24901 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
24902 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
24903 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
24904 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
24905 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
24906 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
24907 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
24908 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
24909 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
24910 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
24911 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
24912 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
24913 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
24915 // Map renamed classes back to their common name for OOR
24916 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
24917 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
24918 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
24920 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
24921 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
24922 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
24923 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
24924 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
24925 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
24926 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
24927 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
24928 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
24929 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
24930 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
24931 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
24932 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
24933 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
24934 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
24935 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
24936 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
24937 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
24938 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
24939 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
24940 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
24941 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
24942 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
24943 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
24944 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
24945 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
24946 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
24947 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
24948 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
24949 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
24950 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
24951 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
24952 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
24953 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
24954 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
24955 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
24956 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
24957 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
24958 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
24959 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
24960 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
24961 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
24962 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
24963 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
24964 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
24965 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
24966 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
24967 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
24968 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
24969 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
24970 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
24971 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
24972 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
24973 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
24974 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
24975 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
24976 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
24977 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
24978 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
24979 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
24981 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");