1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
210 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
211 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
212 #define SWIGTYPE_p_wxPyPanel swig_types[3]
213 #define SWIGTYPE_p_wxMenu swig_types[4]
214 #define SWIGTYPE_p_wxPrintData swig_types[5]
215 #define SWIGTYPE_p_wxFontData swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
218 #define SWIGTYPE_p_wxIconBundle swig_types[9]
219 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
220 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
221 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
224 #define SWIGTYPE_p_wxRegion swig_types[15]
225 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
226 #define SWIGTYPE_p_int swig_types[17]
227 #define SWIGTYPE_p_wxSize swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxIcon swig_types[20]
230 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
231 #define SWIGTYPE_p_wxColourData swig_types[22]
232 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
233 #define SWIGTYPE_p_wxPyWindow swig_types[24]
234 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
235 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
236 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
237 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
238 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
239 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
240 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
241 #define SWIGTYPE_p_wxFileDialog swig_types[32]
242 #define SWIGTYPE_p_wxPrinter swig_types[33]
243 #define SWIGTYPE_p_wxArrayInt swig_types[34]
244 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
245 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
246 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
247 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
248 #define SWIGTYPE_p_wxRect swig_types[39]
249 #define SWIGTYPE_p_char swig_types[40]
250 #define SWIGTYPE_p_wxMiniFrame swig_types[41]
251 #define SWIGTYPE_p_wxFrame swig_types[42]
252 #define SWIGTYPE_p_wxPyPrintout swig_types[43]
253 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[44]
254 #define SWIGTYPE_p_wxScrollWinEvent swig_types[45]
255 #define SWIGTYPE_p_wxStatusBar swig_types[46]
256 #define SWIGTYPE_p_wxMDIParentFrame swig_types[47]
257 #define SWIGTYPE_p_wxPoint swig_types[48]
258 #define SWIGTYPE_p_wxObject swig_types[49]
259 #define SWIGTYPE_p_wxOutputStream swig_types[50]
260 #define SWIGTYPE_p_unsigned_long swig_types[51]
261 #define SWIGTYPE_p_wxMDIClientWindow swig_types[52]
262 #define SWIGTYPE_p_wxTipWindow swig_types[53]
263 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[54]
264 #define SWIGTYPE_p_wxSplitterWindow swig_types[55]
265 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[56]
266 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[57]
267 #define SWIGTYPE_p_wxPopupWindow swig_types[58]
268 #define SWIGTYPE_p_wxSashWindow swig_types[59]
269 #define SWIGTYPE_p_wxTopLevelWindow swig_types[60]
270 #define SWIGTYPE_p_wxWindow swig_types[61]
271 #define SWIGTYPE_p_wxScrolledWindow swig_types[62]
272 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[63]
273 #define SWIGTYPE_p_wxMenuBar swig_types[64]
274 #define SWIGTYPE_p_wxPrintPreview swig_types[65]
275 #define SWIGTYPE_p_wxSashEvent swig_types[66]
276 #define SWIGTYPE_p_wxString swig_types[67]
277 #define SWIGTYPE_p_wxPyPrintPreview swig_types[68]
278 #define SWIGTYPE_p_wxFontDialog swig_types[69]
279 #define SWIGTYPE_p_wxDirDialog swig_types[70]
280 #define SWIGTYPE_p_wxColourDialog swig_types[71]
281 #define SWIGTYPE_p_wxDialog swig_types[72]
282 #define SWIGTYPE_p_wxPanel swig_types[73]
283 #define SWIGTYPE_p_wxPageSetupDialog swig_types[74]
284 #define SWIGTYPE_p_wxPrintDialog swig_types[75]
285 #define SWIGTYPE_p_wxBitmap swig_types[76]
286 #define SWIGTYPE_p_wxCommandEvent swig_types[77]
287 #define SWIGTYPE_p_wxPreviewControlBar swig_types[78]
288 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[79]
289 #define SWIGTYPE_p_wxColour swig_types[80]
290 #define SWIGTYPE_p_wxToolBar swig_types[81]
291 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[82]
292 #define SWIGTYPE_p_wxPrintDialogData swig_types[83]
293 static swig_type_info
*swig_types
[85];
295 /* -------- TYPES TABLE (END) -------- */
298 /*-----------------------------------------------
299 @(target):= _windows.so
300 ------------------------------------------------*/
301 #define SWIG_init init_windows
303 #define SWIG_name "_windows"
305 /* Auxiliar swig macros */
308 #define SWIGSTATICINLINE(a) static inline a
309 #define SWIGSTATIC(a) static a
310 #define swig_new_array(type, size) (new type[(size)])
311 #define swig_delete_array(cptr) delete[] cptr
312 #define swig_const_cast(type,a) const_cast<type>(a)
313 #define swig_static_cast(type,a) static_cast<type>(a)
314 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
316 #ifdef HAVE_NUMERIC_CAST
317 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
319 #define swig_numeric_cast(type,a) static_cast<type>(a)
324 #define SWIGSTATICINLINE(a) static a
325 #define SWIGSTATIC(a) static a
326 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
327 #define swig_delete_array(cptr) free((char*)cptr)
328 #define swig_const_cast(type,a) (type)(a)
329 #define swig_static_cast(type,a) (type)(a)
330 #define swig_reinterpret_cast(type,a) (type)(a)
331 #define swig_numeric_cast(type,a) (type)(a)
333 #endif /* __cplusplus */
336 #define SWIG_FromSignedChar PyInt_FromLong
337 #define SWIG_FromUnsignedChar PyInt_FromLong
338 #define SWIG_FromShort PyInt_FromLong
339 #define SWIG_FromUnsignedShort PyInt_FromLong
340 #define SWIG_FromInt PyInt_FromLong
341 #define SWIG_FromLong PyInt_FromLong
342 #define SWIG_FromFloat PyFloat_FromDouble
343 #define SWIG_FromDouble PyFloat_FromDouble
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
348 #include "wx/wxPython/wxPython.h"
349 #include "wx/wxPython/pyclasses.h"
352 static const wxString
wxPyEmptyString(wxEmptyString
);
353 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
360 SWIGSTATICINLINE(long)
361 SWIG_CheckLongInRange(long value
, const char* type
,
362 long min_value
, long max_value
)
364 if (!PyErr_Occurred()) {
365 if (value
< min_value
) {
367 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
368 value
, type
, min_value
);
370 PyErr_SetObject(PyExc_OverflowError
, err
);
372 } else if (value
> max_value
) {
374 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
375 value
, type
, max_value
);
376 PyErr_SetObject(PyExc_OverflowError
, err
);
384 SWIGSTATICINLINE(long)
385 SWIG_AsLong(PyObject
* obj
)
387 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
391 #if INT_MAX != LONG_MAX
392 SWIGSTATICINLINE(int)
393 SWIG_AsInt(PyObject
*obj
)
395 return swig_numeric_cast(int,
396 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
397 "int", INT_MIN
, INT_MAX
));
400 #define SWIG_AsInt SWIG_AsLong
404 SWIGSTATICINLINE(int)
405 SWIG_CheckInt(PyObject
* obj
)
408 if (PyErr_Occurred()) {
417 SWIGSTATICINLINE(int)
418 SWIG_CheckLong(PyObject
* obj
)
421 if (PyErr_Occurred()) {
430 SWIGSTATICINLINE(bool)
431 SWIG_AsBool(PyObject
*obj
)
433 return PyObject_IsTrue(obj
) ? true : false;
437 SWIGSTATICINLINE(int)
438 SWIG_CheckBool(PyObject
* obj
)
441 if (PyErr_Occurred()) {
450 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
456 } else if (target
== Py_None
) {
460 if (!PyTuple_Check(target
)) {
462 target
= PyTuple_New(1);
463 PyTuple_SetItem(target
, 0, o2
);
466 PyTuple_SetItem(o3
, 0, o
);
469 target
= PySequence_Concat(o2
, o3
);
477 SWIGSTATICINLINE(double)
478 SWIG_AsDouble(PyObject
*obj
)
480 double val
= (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
482 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
484 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
486 if (PyErr_Occurred()) {
488 PyErr_SetString(PyExc_TypeError
, "a double is expected");
494 SWIGSTATICINLINE(int)
495 SWIG_CheckDouble(PyObject
* obj
)
498 if (PyErr_Occurred()) {
506 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
507 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
508 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
509 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
510 bool wxDialog_IsModalShowing(wxDialog
*self
){
514 return self
->IsModalShowing();
519 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
521 self
->GetFieldRect(i
, r
);
524 static const wxString
wxPySplitterNameStr(wxT("splitter"));
525 static const wxString
wxPySashNameStr(wxT("sashWindow"));
526 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
528 #include <wx/popupwin.h>
531 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
534 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
535 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
536 : wxPopupTransientWindow(parent
, style
) {}
538 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
539 DEC_PYCALLBACK__(OnDismiss
);
540 DEC_PYCALLBACK_BOOL_(CanDismiss
);
545 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
546 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
547 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
550 #include <wx/tipwin.h>
552 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
553 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
556 #include <wx/tipwin.h>
559 #include <wx/vscroll.h>
562 class wxPyVScrolledWindow
: public wxVScrolledWindow
564 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
566 wxPyVScrolledWindow() : wxVScrolledWindow() {}
568 wxPyVScrolledWindow(wxWindow
*parent
,
569 wxWindowID id
= wxID_ANY
,
570 const wxPoint
& pos
= wxDefaultPosition
,
571 const wxSize
& size
= wxDefaultSize
,
573 const wxString
& name
= wxPyPanelNameStr
)
574 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
577 // Overridable virtuals
579 // this function must be overridden in the derived class and it should
580 // return the height of the given line in pixels
581 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
584 // this function doesn't have to be overridden but it may be useful to do
585 // it if calculating the lines heights is a relatively expensive operation
586 // as it gives the user code a possibility to calculate several of them at
589 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
590 // shouldn't rely on the latter being called for all lines in the interval
591 // specified here. It is also possible that OnGetLineHeight() will be
592 // called for the lines outside of this interval, so this is really just a
593 // hint, not a promise.
595 // finally note that lineMin is inclusive, while lineMax is exclusive, as
597 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
600 // when the number of lines changes, we try to estimate the total height
601 // of all lines which is a rather expensive operation in terms of lines
602 // access, so if the user code may estimate the average height
603 // better/faster than we do, it should override this function to implement
606 // this function should return the best guess for the total height it may
608 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
611 // Also expose some other interesting protected methods
614 // find the index of the line we need to show at the top of the window such
615 // that the last (fully or partially) visible line is the given one
616 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
617 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
619 // get the total height of the lines between lineMin (inclusive) and
620 // lineMax (exclusive)
621 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
622 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
628 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
630 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
631 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
632 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
635 SWIGSTATICINLINE(unsigned long)
636 SWIG_AsUnsignedLong(PyObject
* obj
)
638 if (PyLong_Check(obj
)) {
639 return PyLong_AsUnsignedLong(obj
);
641 long i
= PyInt_AsLong(obj
);
642 if ( !PyErr_Occurred() && (i
< 0)) {
643 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
650 SWIGSTATICINLINE(int)
651 SWIG_CheckUnsignedLong(PyObject
* obj
)
653 SWIG_AsUnsignedLong(obj
);
654 if (PyErr_Occurred()) {
663 SWIGSTATICINLINE(PyObject
* )
664 SWIG_FromUnsignedLong(unsigned long value
)
666 return (value
> LONG_MAX
) ?
667 PyLong_FromUnsignedLong(value
)
668 : PyInt_FromLong(swig_numeric_cast(long,value
));
672 #include <wx/vlbox.h>
674 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
676 class wxPyVListBox
: public wxVListBox
678 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
680 wxPyVListBox() : wxVListBox() {}
682 wxPyVListBox(wxWindow
*parent
,
683 wxWindowID id
= wxID_ANY
,
684 const wxPoint
& pos
= wxDefaultPosition
,
685 const wxSize
& size
= wxDefaultSize
,
687 const wxString
& name
= wxPyVListBoxNameStr
)
688 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
691 // Overridable virtuals
693 // the derived class must implement this function to actually draw the item
694 // with the given index on the provided DC
695 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
696 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
699 // the derived class must implement this method to return the height of the
701 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
702 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
705 // this method may be used to draw separators between the lines; note that
706 // the rectangle may be modified, typically to deflate it a bit before
707 // passing to OnDrawItem()
709 // the base class version doesn't do anything
710 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
711 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
714 // this method is used to draw the items background and, maybe, a border
717 // the base class version implements a reasonable default behaviour which
718 // consists in drawing the selected item with the standard background
719 // colour and drawing a border around the item if it is either selected or
721 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
722 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
728 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
730 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
731 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
732 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
733 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
737 #include <wx/htmllbox.h>
740 class wxPyHtmlListBox
: public wxHtmlListBox
742 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
744 wxPyHtmlListBox() : wxHtmlListBox() {}
746 wxPyHtmlListBox(wxWindow
*parent
,
747 wxWindowID id
= wxID_ANY
,
748 const wxPoint
& pos
= wxDefaultPosition
,
749 const wxSize
& size
= wxDefaultSize
,
751 const wxString
& name
= wxPyVListBoxNameStr
)
752 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
755 // Overridable virtuals
757 // this method must be implemented in the derived class and should return
758 // the body (i.e. without <html>) of the HTML for the given item
759 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
761 // this function may be overridden to decorate HTML returned by OnGetItem()
762 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
765 // // this method allows to customize the selection appearance: it may be used
766 // // to specify the colour of the text which normally has the given colour
767 // // colFg when it is inside the selection
769 // // by default, the original colour is not used at all and all text has the
770 // // same (default for this system) colour inside selection
771 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
773 // // this is the same as GetSelectedTextColour() but allows to customize the
774 // // background colour -- this is even more rarely used as you can change it
775 // // globally using SetSelectionBackground()
776 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
783 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
785 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
786 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
793 // implement dummy classes and such for wxMac
795 class wxTaskBarIcon
: public wxEvtHandler
798 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
802 class wxTaskBarIconEvent
: public wxEvent
805 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
806 { wxPyRaiseNotImplemented(); }
807 virtual wxEvent
* Clone() const { return NULL
; }
811 wxEVT_TASKBAR_MOVE
= 0,
812 wxEVT_TASKBAR_LEFT_DOWN
= 0,
813 wxEVT_TASKBAR_LEFT_UP
= 0,
814 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
815 wxEVT_TASKBAR_RIGHT_UP
= 0,
816 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
817 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
821 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
822 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
823 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
824 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
825 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
826 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
827 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
829 self
->GetFilenames(arr
);
830 return wxArrayString2PyList_helper(arr
);
832 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
835 return wxArrayString2PyList_helper(arr
);
837 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
838 return wxArrayInt2PyList_helper(self
->GetSelections());
840 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
841 return new wxSingleChoiceDialog(parent
, message
, caption
,
842 choices
, choices_array
, NULL
, style
, pos
);
847 // C++ version of Python aware wxWindow
848 class wxPyWindow
: public wxWindow
850 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
852 wxPyWindow() : wxWindow() {}
853 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
854 const wxPoint
& pos
= wxDefaultPosition
,
855 const wxSize
& size
= wxDefaultSize
,
857 const wxString
& name
= wxPyPanelNameStr
)
858 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
861 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
862 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
863 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
864 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
866 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
867 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
868 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
870 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
871 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
873 DEC_PYCALLBACK__(InitDialog
);
874 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
875 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
876 DEC_PYCALLBACK_BOOL_(Validate
);
878 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
879 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
880 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
882 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
883 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
885 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
890 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
892 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
893 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
894 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
895 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
897 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
898 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
899 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
901 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
902 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
904 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
905 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
906 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
907 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
909 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
910 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
911 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
913 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
914 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
916 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, ShouldInheritColours
);
918 // C++ version of Python aware wxPanel
919 class wxPyPanel
: public wxPanel
921 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
923 wxPyPanel() : wxPanel() {}
924 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
925 const wxPoint
& pos
= wxDefaultPosition
,
926 const wxSize
& size
= wxDefaultSize
,
928 const wxString
& name
= wxPyPanelNameStr
)
929 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
932 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
933 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
934 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
935 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
937 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
938 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
939 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
941 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
942 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
944 DEC_PYCALLBACK__(InitDialog
);
945 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
946 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
947 DEC_PYCALLBACK_BOOL_(Validate
);
949 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
950 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
951 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
953 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
954 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
956 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
961 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
963 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
964 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
965 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
966 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
968 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
969 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
970 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
972 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
973 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
975 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
976 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
977 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
978 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
980 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
981 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
982 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
984 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
985 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
987 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, ShouldInheritColours
);
990 #include "wx/wxPython/printfw.h"
993 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
994 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
998 // Since this one would be tough and ugly to do with the Macros...
999 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1000 bool hadErr
= False
;
1003 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
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2348 PyObject
*resultobj
;
2349 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2352 PyObject
* obj0
= 0 ;
2353 PyObject
* obj1
= 0 ;
2355 (char *) "self",(char *) "rect", NULL
2358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2363 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2367 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2369 wxPyEndAllowThreads(__tstate
);
2370 if (PyErr_Occurred()) SWIG_fail
;
2372 Py_INCREF(Py_None
); resultobj
= Py_None
;
2379 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2380 PyObject
*resultobj
;
2381 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2383 PyObject
* obj0
= 0 ;
2385 (char *) "self", NULL
2388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2393 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2395 wxPyEndAllowThreads(__tstate
);
2396 if (PyErr_Occurred()) SWIG_fail
;
2400 resultptr
= new wxRect((wxRect
&) result
);
2401 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
2409 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2411 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2412 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2414 return Py_BuildValue((char *)"");
2416 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2417 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2422 static PyObject
*_wrap_FrameNameStr_get() {
2427 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2429 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2436 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2437 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2442 static PyObject
*_wrap_DialogNameStr_get() {
2447 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2449 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2456 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2457 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2462 static PyObject
*_wrap_StatusLineNameStr_get() {
2467 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2469 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2476 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2477 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2482 static PyObject
*_wrap_ToolBarNameStr_get() {
2487 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2489 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2496 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2497 PyObject
*resultobj
;
2498 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2499 bool arg2
= (bool) True
;
2500 PyObject
* obj0
= 0 ;
2501 PyObject
* obj1
= 0 ;
2503 (char *) "self",(char *) "maximize", NULL
2506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2510 arg2
= (bool) SWIG_AsBool(obj1
);
2511 if (PyErr_Occurred()) SWIG_fail
;
2514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2515 (arg1
)->Maximize(arg2
);
2517 wxPyEndAllowThreads(__tstate
);
2518 if (PyErr_Occurred()) SWIG_fail
;
2520 Py_INCREF(Py_None
); resultobj
= Py_None
;
2527 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2528 PyObject
*resultobj
;
2529 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2530 PyObject
* obj0
= 0 ;
2532 (char *) "self", NULL
2535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2542 wxPyEndAllowThreads(__tstate
);
2543 if (PyErr_Occurred()) SWIG_fail
;
2545 Py_INCREF(Py_None
); resultobj
= Py_None
;
2552 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2553 PyObject
*resultobj
;
2554 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2555 bool arg2
= (bool) True
;
2556 PyObject
* obj0
= 0 ;
2557 PyObject
* obj1
= 0 ;
2559 (char *) "self",(char *) "iconize", NULL
2562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2566 arg2
= (bool) SWIG_AsBool(obj1
);
2567 if (PyErr_Occurred()) SWIG_fail
;
2570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2571 (arg1
)->Iconize(arg2
);
2573 wxPyEndAllowThreads(__tstate
);
2574 if (PyErr_Occurred()) SWIG_fail
;
2576 Py_INCREF(Py_None
); resultobj
= Py_None
;
2583 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2584 PyObject
*resultobj
;
2585 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2587 PyObject
* obj0
= 0 ;
2589 (char *) "self", NULL
2592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2597 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2599 wxPyEndAllowThreads(__tstate
);
2600 if (PyErr_Occurred()) SWIG_fail
;
2602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2609 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2610 PyObject
*resultobj
;
2611 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2613 PyObject
* obj0
= 0 ;
2615 (char *) "self", NULL
2618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2623 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2625 wxPyEndAllowThreads(__tstate
);
2626 if (PyErr_Occurred()) SWIG_fail
;
2628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2635 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2636 PyObject
*resultobj
;
2637 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2639 PyObject
* obj0
= 0 ;
2641 (char *) "self", NULL
2644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2649 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2651 wxPyEndAllowThreads(__tstate
);
2652 if (PyErr_Occurred()) SWIG_fail
;
2656 resultptr
= new wxIcon((wxIcon
&) result
);
2657 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2665 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2666 PyObject
*resultobj
;
2667 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2669 PyObject
* obj0
= 0 ;
2670 PyObject
* obj1
= 0 ;
2672 (char *) "self",(char *) "icon", NULL
2675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2678 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2679 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2682 PyErr_SetString(PyExc_TypeError
,"null reference");
2686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2687 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2689 wxPyEndAllowThreads(__tstate
);
2690 if (PyErr_Occurred()) SWIG_fail
;
2692 Py_INCREF(Py_None
); resultobj
= Py_None
;
2699 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2700 PyObject
*resultobj
;
2701 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2702 wxIconBundle
*arg2
= 0 ;
2703 PyObject
* obj0
= 0 ;
2704 PyObject
* obj1
= 0 ;
2706 (char *) "self",(char *) "icons", NULL
2709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2712 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2713 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2716 PyErr_SetString(PyExc_TypeError
,"null reference");
2720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2721 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2723 wxPyEndAllowThreads(__tstate
);
2724 if (PyErr_Occurred()) SWIG_fail
;
2726 Py_INCREF(Py_None
); resultobj
= Py_None
;
2733 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2734 PyObject
*resultobj
;
2735 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2737 long arg3
= (long) wxFULLSCREEN_ALL
;
2739 PyObject
* obj0
= 0 ;
2740 PyObject
* obj1
= 0 ;
2741 PyObject
* obj2
= 0 ;
2743 (char *) "self",(char *) "show",(char *) "style", NULL
2746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2749 arg2
= (bool) SWIG_AsBool(obj1
);
2750 if (PyErr_Occurred()) SWIG_fail
;
2752 arg3
= (long) SWIG_AsLong(obj2
);
2753 if (PyErr_Occurred()) SWIG_fail
;
2756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2757 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2759 wxPyEndAllowThreads(__tstate
);
2760 if (PyErr_Occurred()) SWIG_fail
;
2762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2769 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2770 PyObject
*resultobj
;
2771 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2773 PyObject
* obj0
= 0 ;
2775 (char *) "self", NULL
2778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2783 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2785 wxPyEndAllowThreads(__tstate
);
2786 if (PyErr_Occurred()) SWIG_fail
;
2788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2795 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2796 PyObject
*resultobj
;
2797 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2798 wxString
*arg2
= 0 ;
2799 bool temp2
= False
;
2800 PyObject
* obj0
= 0 ;
2801 PyObject
* obj1
= 0 ;
2803 (char *) "self",(char *) "title", NULL
2806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2810 arg2
= wxString_in_helper(obj1
);
2811 if (arg2
== NULL
) SWIG_fail
;
2815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2816 (arg1
)->SetTitle((wxString
const &)*arg2
);
2818 wxPyEndAllowThreads(__tstate
);
2819 if (PyErr_Occurred()) SWIG_fail
;
2821 Py_INCREF(Py_None
); resultobj
= Py_None
;
2836 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2837 PyObject
*resultobj
;
2838 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2840 PyObject
* obj0
= 0 ;
2842 (char *) "self", NULL
2845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2850 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2852 wxPyEndAllowThreads(__tstate
);
2853 if (PyErr_Occurred()) SWIG_fail
;
2857 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2859 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2868 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2869 PyObject
*resultobj
;
2870 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2871 wxRegion
*arg2
= 0 ;
2873 PyObject
* obj0
= 0 ;
2874 PyObject
* obj1
= 0 ;
2876 (char *) "self",(char *) "region", NULL
2879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2882 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
2883 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2886 PyErr_SetString(PyExc_TypeError
,"null reference");
2890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2891 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2893 wxPyEndAllowThreads(__tstate
);
2894 if (PyErr_Occurred()) SWIG_fail
;
2896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2903 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2906 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
2908 return Py_BuildValue((char *)"");
2910 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2911 PyObject
*resultobj
;
2912 wxWindow
*arg1
= (wxWindow
*) 0 ;
2914 wxString
*arg3
= 0 ;
2915 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2916 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2917 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2918 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2919 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
2920 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
2921 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2923 bool temp3
= False
;
2926 bool temp7
= False
;
2927 PyObject
* obj0
= 0 ;
2928 PyObject
* obj1
= 0 ;
2929 PyObject
* obj2
= 0 ;
2930 PyObject
* obj3
= 0 ;
2931 PyObject
* obj4
= 0 ;
2932 PyObject
* obj5
= 0 ;
2933 PyObject
* obj6
= 0 ;
2935 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2941 arg2
= (int const) SWIG_AsInt(obj1
);
2942 if (PyErr_Occurred()) SWIG_fail
;
2944 arg3
= wxString_in_helper(obj2
);
2945 if (arg3
== NULL
) SWIG_fail
;
2951 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2957 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2961 arg6
= (long) SWIG_AsLong(obj5
);
2962 if (PyErr_Occurred()) SWIG_fail
;
2966 arg7
= wxString_in_helper(obj6
);
2967 if (arg7
== NULL
) SWIG_fail
;
2972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2973 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2975 wxPyEndAllowThreads(__tstate
);
2976 if (PyErr_Occurred()) SWIG_fail
;
2979 resultobj
= wxPyMake_wxObject(result
);
3003 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3004 PyObject
*resultobj
;
3010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3013 result
= (wxFrame
*)new wxFrame();
3015 wxPyEndAllowThreads(__tstate
);
3016 if (PyErr_Occurred()) SWIG_fail
;
3019 resultobj
= wxPyMake_wxObject(result
);
3027 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3028 PyObject
*resultobj
;
3029 wxFrame
*arg1
= (wxFrame
*) 0 ;
3030 wxWindow
*arg2
= (wxWindow
*) 0 ;
3032 wxString
*arg4
= 0 ;
3033 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3034 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3035 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3036 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3037 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3038 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3039 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3041 bool temp4
= False
;
3044 bool temp8
= False
;
3045 PyObject
* obj0
= 0 ;
3046 PyObject
* obj1
= 0 ;
3047 PyObject
* obj2
= 0 ;
3048 PyObject
* obj3
= 0 ;
3049 PyObject
* obj4
= 0 ;
3050 PyObject
* obj5
= 0 ;
3051 PyObject
* obj6
= 0 ;
3052 PyObject
* obj7
= 0 ;
3054 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3060 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3062 arg3
= (int const) SWIG_AsInt(obj2
);
3063 if (PyErr_Occurred()) SWIG_fail
;
3065 arg4
= wxString_in_helper(obj3
);
3066 if (arg4
== NULL
) SWIG_fail
;
3072 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3078 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3082 arg7
= (long) SWIG_AsLong(obj6
);
3083 if (PyErr_Occurred()) SWIG_fail
;
3087 arg8
= wxString_in_helper(obj7
);
3088 if (arg8
== NULL
) SWIG_fail
;
3093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3094 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3096 wxPyEndAllowThreads(__tstate
);
3097 if (PyErr_Occurred()) SWIG_fail
;
3099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3122 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3123 PyObject
*resultobj
;
3124 wxFrame
*arg1
= (wxFrame
*) 0 ;
3126 PyObject
* obj0
= 0 ;
3128 (char *) "self", NULL
3131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3136 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3138 wxPyEndAllowThreads(__tstate
);
3139 if (PyErr_Occurred()) SWIG_fail
;
3142 wxPoint
* resultptr
;
3143 resultptr
= new wxPoint((wxPoint
&) result
);
3144 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3152 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3153 PyObject
*resultobj
;
3154 wxFrame
*arg1
= (wxFrame
*) 0 ;
3155 PyObject
* obj0
= 0 ;
3157 (char *) "self", NULL
3160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3165 (arg1
)->SendSizeEvent();
3167 wxPyEndAllowThreads(__tstate
);
3168 if (PyErr_Occurred()) SWIG_fail
;
3170 Py_INCREF(Py_None
); resultobj
= Py_None
;
3177 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3178 PyObject
*resultobj
;
3179 wxFrame
*arg1
= (wxFrame
*) 0 ;
3180 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3181 PyObject
* obj0
= 0 ;
3182 PyObject
* obj1
= 0 ;
3184 (char *) "self",(char *) "menubar", NULL
3187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3194 (arg1
)->SetMenuBar(arg2
);
3196 wxPyEndAllowThreads(__tstate
);
3197 if (PyErr_Occurred()) SWIG_fail
;
3199 Py_INCREF(Py_None
); resultobj
= Py_None
;
3206 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3207 PyObject
*resultobj
;
3208 wxFrame
*arg1
= (wxFrame
*) 0 ;
3210 PyObject
* obj0
= 0 ;
3212 (char *) "self", NULL
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3220 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3222 wxPyEndAllowThreads(__tstate
);
3223 if (PyErr_Occurred()) SWIG_fail
;
3226 resultobj
= wxPyMake_wxObject(result
);
3234 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3235 PyObject
*resultobj
;
3236 wxFrame
*arg1
= (wxFrame
*) 0 ;
3239 PyObject
* obj0
= 0 ;
3240 PyObject
* obj1
= 0 ;
3242 (char *) "self",(char *) "winid", NULL
3245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3248 arg2
= (int) SWIG_AsInt(obj1
);
3249 if (PyErr_Occurred()) SWIG_fail
;
3251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3252 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3254 wxPyEndAllowThreads(__tstate
);
3255 if (PyErr_Occurred()) SWIG_fail
;
3257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3264 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3265 PyObject
*resultobj
;
3266 wxFrame
*arg1
= (wxFrame
*) 0 ;
3267 int arg2
= (int) 1 ;
3268 long arg3
= (long) wxST_SIZEGRIP
;
3269 int arg4
= (int) 0 ;
3270 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3271 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3272 wxStatusBar
*result
;
3273 bool temp5
= False
;
3274 PyObject
* obj0
= 0 ;
3275 PyObject
* obj1
= 0 ;
3276 PyObject
* obj2
= 0 ;
3277 PyObject
* obj3
= 0 ;
3278 PyObject
* obj4
= 0 ;
3280 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3287 arg2
= (int) SWIG_AsInt(obj1
);
3288 if (PyErr_Occurred()) SWIG_fail
;
3291 arg3
= (long) SWIG_AsLong(obj2
);
3292 if (PyErr_Occurred()) SWIG_fail
;
3295 arg4
= (int) SWIG_AsInt(obj3
);
3296 if (PyErr_Occurred()) SWIG_fail
;
3300 arg5
= wxString_in_helper(obj4
);
3301 if (arg5
== NULL
) SWIG_fail
;
3306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3307 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3309 wxPyEndAllowThreads(__tstate
);
3310 if (PyErr_Occurred()) SWIG_fail
;
3313 resultobj
= wxPyMake_wxObject(result
);
3329 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3330 PyObject
*resultobj
;
3331 wxFrame
*arg1
= (wxFrame
*) 0 ;
3332 wxStatusBar
*result
;
3333 PyObject
* obj0
= 0 ;
3335 (char *) "self", NULL
3338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3343 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3345 wxPyEndAllowThreads(__tstate
);
3346 if (PyErr_Occurred()) SWIG_fail
;
3349 resultobj
= wxPyMake_wxObject(result
);
3357 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3358 PyObject
*resultobj
;
3359 wxFrame
*arg1
= (wxFrame
*) 0 ;
3360 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3361 PyObject
* obj0
= 0 ;
3362 PyObject
* obj1
= 0 ;
3364 (char *) "self",(char *) "statBar", NULL
3367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3370 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3374 (arg1
)->SetStatusBar(arg2
);
3376 wxPyEndAllowThreads(__tstate
);
3377 if (PyErr_Occurred()) SWIG_fail
;
3379 Py_INCREF(Py_None
); resultobj
= Py_None
;
3386 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3387 PyObject
*resultobj
;
3388 wxFrame
*arg1
= (wxFrame
*) 0 ;
3389 wxString
*arg2
= 0 ;
3390 int arg3
= (int) 0 ;
3391 bool temp2
= False
;
3392 PyObject
* obj0
= 0 ;
3393 PyObject
* obj1
= 0 ;
3394 PyObject
* obj2
= 0 ;
3396 (char *) "self",(char *) "text",(char *) "number", NULL
3399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3403 arg2
= wxString_in_helper(obj1
);
3404 if (arg2
== NULL
) SWIG_fail
;
3408 arg3
= (int) SWIG_AsInt(obj2
);
3409 if (PyErr_Occurred()) SWIG_fail
;
3412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3413 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3415 wxPyEndAllowThreads(__tstate
);
3416 if (PyErr_Occurred()) SWIG_fail
;
3418 Py_INCREF(Py_None
); resultobj
= Py_None
;
3433 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3434 PyObject
*resultobj
;
3435 wxFrame
*arg1
= (wxFrame
*) 0 ;
3437 int *arg3
= (int *) 0 ;
3438 PyObject
* obj0
= 0 ;
3439 PyObject
* obj1
= 0 ;
3441 (char *) "self",(char *) "widths", NULL
3444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3448 arg2
= PyList_Size(obj1
);
3449 arg3
= int_LIST_helper(obj1
);
3450 if (arg3
== NULL
) SWIG_fail
;
3453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3454 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3456 wxPyEndAllowThreads(__tstate
);
3457 if (PyErr_Occurred()) SWIG_fail
;
3459 Py_INCREF(Py_None
); resultobj
= Py_None
;
3461 if (arg3
) delete [] arg3
;
3466 if (arg3
) delete [] arg3
;
3472 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
*resultobj
;
3474 wxFrame
*arg1
= (wxFrame
*) 0 ;
3475 wxString
*arg2
= 0 ;
3476 int arg3
= (int) 0 ;
3477 bool temp2
= False
;
3478 PyObject
* obj0
= 0 ;
3479 PyObject
* obj1
= 0 ;
3480 PyObject
* obj2
= 0 ;
3482 (char *) "self",(char *) "text",(char *) "number", NULL
3485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3489 arg2
= wxString_in_helper(obj1
);
3490 if (arg2
== NULL
) SWIG_fail
;
3494 arg3
= (int) SWIG_AsInt(obj2
);
3495 if (PyErr_Occurred()) SWIG_fail
;
3498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3499 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3501 wxPyEndAllowThreads(__tstate
);
3502 if (PyErr_Occurred()) SWIG_fail
;
3504 Py_INCREF(Py_None
); resultobj
= Py_None
;
3519 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3520 PyObject
*resultobj
;
3521 wxFrame
*arg1
= (wxFrame
*) 0 ;
3522 int arg2
= (int) 0 ;
3523 PyObject
* obj0
= 0 ;
3524 PyObject
* obj1
= 0 ;
3526 (char *) "self",(char *) "number", NULL
3529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3533 arg2
= (int) SWIG_AsInt(obj1
);
3534 if (PyErr_Occurred()) SWIG_fail
;
3537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3538 (arg1
)->PopStatusText(arg2
);
3540 wxPyEndAllowThreads(__tstate
);
3541 if (PyErr_Occurred()) SWIG_fail
;
3543 Py_INCREF(Py_None
); resultobj
= Py_None
;
3550 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3551 PyObject
*resultobj
;
3552 wxFrame
*arg1
= (wxFrame
*) 0 ;
3554 PyObject
* obj0
= 0 ;
3555 PyObject
* obj1
= 0 ;
3557 (char *) "self",(char *) "n", NULL
3560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3563 arg2
= (int) SWIG_AsInt(obj1
);
3564 if (PyErr_Occurred()) SWIG_fail
;
3566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3567 (arg1
)->SetStatusBarPane(arg2
);
3569 wxPyEndAllowThreads(__tstate
);
3570 if (PyErr_Occurred()) SWIG_fail
;
3572 Py_INCREF(Py_None
); resultobj
= Py_None
;
3579 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3580 PyObject
*resultobj
;
3581 wxFrame
*arg1
= (wxFrame
*) 0 ;
3583 PyObject
* obj0
= 0 ;
3585 (char *) "self", NULL
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3593 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3595 wxPyEndAllowThreads(__tstate
);
3596 if (PyErr_Occurred()) SWIG_fail
;
3598 resultobj
= SWIG_FromInt((int)result
);
3605 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3606 PyObject
*resultobj
;
3607 wxFrame
*arg1
= (wxFrame
*) 0 ;
3608 long arg2
= (long) -1 ;
3609 int arg3
= (int) -1 ;
3610 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3611 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3613 bool temp4
= False
;
3614 PyObject
* obj0
= 0 ;
3615 PyObject
* obj1
= 0 ;
3616 PyObject
* obj2
= 0 ;
3617 PyObject
* obj3
= 0 ;
3619 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3626 arg2
= (long) SWIG_AsLong(obj1
);
3627 if (PyErr_Occurred()) SWIG_fail
;
3630 arg3
= (int) SWIG_AsInt(obj2
);
3631 if (PyErr_Occurred()) SWIG_fail
;
3635 arg4
= wxString_in_helper(obj3
);
3636 if (arg4
== NULL
) SWIG_fail
;
3641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3642 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3644 wxPyEndAllowThreads(__tstate
);
3645 if (PyErr_Occurred()) SWIG_fail
;
3648 resultobj
= wxPyMake_wxObject(result
);
3664 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3665 PyObject
*resultobj
;
3666 wxFrame
*arg1
= (wxFrame
*) 0 ;
3668 PyObject
* obj0
= 0 ;
3670 (char *) "self", NULL
3673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3678 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3680 wxPyEndAllowThreads(__tstate
);
3681 if (PyErr_Occurred()) SWIG_fail
;
3684 resultobj
= wxPyMake_wxObject(result
);
3692 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3693 PyObject
*resultobj
;
3694 wxFrame
*arg1
= (wxFrame
*) 0 ;
3695 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3696 PyObject
* obj0
= 0 ;
3697 PyObject
* obj1
= 0 ;
3699 (char *) "self",(char *) "toolbar", NULL
3702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3705 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
3706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3709 (arg1
)->SetToolBar(arg2
);
3711 wxPyEndAllowThreads(__tstate
);
3712 if (PyErr_Occurred()) SWIG_fail
;
3714 Py_INCREF(Py_None
); resultobj
= Py_None
;
3721 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3722 PyObject
*resultobj
;
3723 wxFrame
*arg1
= (wxFrame
*) 0 ;
3724 wxString
*arg2
= 0 ;
3726 bool temp2
= False
;
3727 PyObject
* obj0
= 0 ;
3728 PyObject
* obj1
= 0 ;
3729 PyObject
* obj2
= 0 ;
3731 (char *) "self",(char *) "text",(char *) "show", NULL
3734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3738 arg2
= wxString_in_helper(obj1
);
3739 if (arg2
== NULL
) SWIG_fail
;
3742 arg3
= (bool) SWIG_AsBool(obj2
);
3743 if (PyErr_Occurred()) SWIG_fail
;
3745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3746 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3748 wxPyEndAllowThreads(__tstate
);
3749 if (PyErr_Occurred()) SWIG_fail
;
3751 Py_INCREF(Py_None
); resultobj
= Py_None
;
3766 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3767 PyObject
*resultobj
;
3768 wxFrame
*arg1
= (wxFrame
*) 0 ;
3769 wxMenu
*arg2
= (wxMenu
*) NULL
;
3770 PyObject
* obj0
= 0 ;
3771 PyObject
* obj1
= 0 ;
3773 (char *) "self",(char *) "menu", NULL
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3780 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
3781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3785 (arg1
)->DoMenuUpdates(arg2
);
3787 wxPyEndAllowThreads(__tstate
);
3788 if (PyErr_Occurred()) SWIG_fail
;
3790 Py_INCREF(Py_None
); resultobj
= Py_None
;
3797 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3799 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3800 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3802 return Py_BuildValue((char *)"");
3804 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
*resultobj
;
3806 wxWindow
*arg1
= (wxWindow
*) 0 ;
3808 wxString
*arg3
= 0 ;
3809 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3810 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3811 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3812 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3813 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3814 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3815 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3817 bool temp3
= False
;
3820 bool temp7
= False
;
3821 PyObject
* obj0
= 0 ;
3822 PyObject
* obj1
= 0 ;
3823 PyObject
* obj2
= 0 ;
3824 PyObject
* obj3
= 0 ;
3825 PyObject
* obj4
= 0 ;
3826 PyObject
* obj5
= 0 ;
3827 PyObject
* obj6
= 0 ;
3829 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3835 arg2
= (int const) SWIG_AsInt(obj1
);
3836 if (PyErr_Occurred()) SWIG_fail
;
3838 arg3
= wxString_in_helper(obj2
);
3839 if (arg3
== NULL
) SWIG_fail
;
3845 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3851 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3855 arg6
= (long) SWIG_AsLong(obj5
);
3856 if (PyErr_Occurred()) SWIG_fail
;
3860 arg7
= wxString_in_helper(obj6
);
3861 if (arg7
== NULL
) SWIG_fail
;
3866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3867 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3869 wxPyEndAllowThreads(__tstate
);
3870 if (PyErr_Occurred()) SWIG_fail
;
3872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
3895 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3896 PyObject
*resultobj
;
3902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
3904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3905 result
= (wxDialog
*)new wxDialog();
3907 wxPyEndAllowThreads(__tstate
);
3908 if (PyErr_Occurred()) SWIG_fail
;
3910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
3917 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3918 PyObject
*resultobj
;
3919 wxDialog
*arg1
= (wxDialog
*) 0 ;
3920 wxWindow
*arg2
= (wxWindow
*) 0 ;
3922 wxString
*arg4
= 0 ;
3923 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3924 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3925 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3926 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3927 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
3928 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
3929 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3931 bool temp4
= False
;
3934 bool temp8
= False
;
3935 PyObject
* obj0
= 0 ;
3936 PyObject
* obj1
= 0 ;
3937 PyObject
* obj2
= 0 ;
3938 PyObject
* obj3
= 0 ;
3939 PyObject
* obj4
= 0 ;
3940 PyObject
* obj5
= 0 ;
3941 PyObject
* obj6
= 0 ;
3942 PyObject
* obj7
= 0 ;
3944 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
3949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3950 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3952 arg3
= (int const) SWIG_AsInt(obj2
);
3953 if (PyErr_Occurred()) SWIG_fail
;
3955 arg4
= wxString_in_helper(obj3
);
3956 if (arg4
== NULL
) SWIG_fail
;
3962 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3968 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3972 arg7
= (long) SWIG_AsLong(obj6
);
3973 if (PyErr_Occurred()) SWIG_fail
;
3977 arg8
= wxString_in_helper(obj7
);
3978 if (arg8
== NULL
) SWIG_fail
;
3983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3984 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3986 wxPyEndAllowThreads(__tstate
);
3987 if (PyErr_Occurred()) SWIG_fail
;
3989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4012 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4013 PyObject
*resultobj
;
4014 wxDialog
*arg1
= (wxDialog
*) 0 ;
4016 PyObject
* obj0
= 0 ;
4017 PyObject
* obj1
= 0 ;
4019 (char *) "self",(char *) "returnCode", NULL
4022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4025 arg2
= (int) SWIG_AsInt(obj1
);
4026 if (PyErr_Occurred()) SWIG_fail
;
4028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4029 (arg1
)->SetReturnCode(arg2
);
4031 wxPyEndAllowThreads(__tstate
);
4032 if (PyErr_Occurred()) SWIG_fail
;
4034 Py_INCREF(Py_None
); resultobj
= Py_None
;
4041 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4042 PyObject
*resultobj
;
4043 wxDialog
*arg1
= (wxDialog
*) 0 ;
4045 PyObject
* obj0
= 0 ;
4047 (char *) "self", NULL
4050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4055 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4057 wxPyEndAllowThreads(__tstate
);
4058 if (PyErr_Occurred()) SWIG_fail
;
4060 resultobj
= SWIG_FromInt((int)result
);
4067 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4068 PyObject
*resultobj
;
4069 wxDialog
*arg1
= (wxDialog
*) 0 ;
4070 wxString
*arg2
= 0 ;
4072 bool temp2
= False
;
4073 PyObject
* obj0
= 0 ;
4074 PyObject
* obj1
= 0 ;
4076 (char *) "self",(char *) "message", NULL
4079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4083 arg2
= wxString_in_helper(obj1
);
4084 if (arg2
== NULL
) SWIG_fail
;
4088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4089 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4091 wxPyEndAllowThreads(__tstate
);
4092 if (PyErr_Occurred()) SWIG_fail
;
4095 resultobj
= wxPyMake_wxSizer(result
);
4111 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4112 PyObject
*resultobj
;
4113 wxDialog
*arg1
= (wxDialog
*) 0 ;
4116 PyObject
* obj0
= 0 ;
4117 PyObject
* obj1
= 0 ;
4119 (char *) "self",(char *) "flags", NULL
4122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4125 arg2
= (long) SWIG_AsLong(obj1
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4129 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4131 wxPyEndAllowThreads(__tstate
);
4132 if (PyErr_Occurred()) SWIG_fail
;
4135 resultobj
= wxPyMake_wxSizer(result
);
4143 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4144 PyObject
*resultobj
;
4145 wxDialog
*arg1
= (wxDialog
*) 0 ;
4147 PyObject
* obj0
= 0 ;
4149 (char *) "self", NULL
4152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4157 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4159 wxPyEndAllowThreads(__tstate
);
4160 if (PyErr_Occurred()) SWIG_fail
;
4162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4169 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4170 PyObject
*resultobj
;
4171 wxDialog
*arg1
= (wxDialog
*) 0 ;
4173 PyObject
* obj0
= 0 ;
4175 (char *) "self", NULL
4178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4183 result
= (int)(arg1
)->ShowModal();
4185 wxPyEndAllowThreads(__tstate
);
4186 if (PyErr_Occurred()) SWIG_fail
;
4188 resultobj
= SWIG_FromInt((int)result
);
4195 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4196 PyObject
*resultobj
;
4197 wxDialog
*arg1
= (wxDialog
*) 0 ;
4199 PyObject
* obj0
= 0 ;
4200 PyObject
* obj1
= 0 ;
4202 (char *) "self",(char *) "retCode", NULL
4205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4208 arg2
= (int) SWIG_AsInt(obj1
);
4209 if (PyErr_Occurred()) SWIG_fail
;
4211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4212 (arg1
)->EndModal(arg2
);
4214 wxPyEndAllowThreads(__tstate
);
4215 if (PyErr_Occurred()) SWIG_fail
;
4217 Py_INCREF(Py_None
); resultobj
= Py_None
;
4224 static PyObject
*_wrap_Dialog_IsModalShowing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4225 PyObject
*resultobj
;
4226 wxDialog
*arg1
= (wxDialog
*) 0 ;
4228 PyObject
* obj0
= 0 ;
4230 (char *) "self", NULL
4233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModalShowing",kwnames
,&obj0
)) goto fail
;
4234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4238 result
= (bool)wxDialog_IsModalShowing(arg1
);
4240 wxPyEndAllowThreads(__tstate
);
4241 if (PyErr_Occurred()) SWIG_fail
;
4243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4250 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4253 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4255 return Py_BuildValue((char *)"");
4257 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4258 PyObject
*resultobj
;
4259 wxWindow
*arg1
= (wxWindow
*) 0 ;
4261 wxString
*arg3
= 0 ;
4262 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4263 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4264 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4265 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4266 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4267 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4268 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4269 wxMiniFrame
*result
;
4270 bool temp3
= False
;
4273 bool temp7
= False
;
4274 PyObject
* obj0
= 0 ;
4275 PyObject
* obj1
= 0 ;
4276 PyObject
* obj2
= 0 ;
4277 PyObject
* obj3
= 0 ;
4278 PyObject
* obj4
= 0 ;
4279 PyObject
* obj5
= 0 ;
4280 PyObject
* obj6
= 0 ;
4282 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4288 arg2
= (int const) SWIG_AsInt(obj1
);
4289 if (PyErr_Occurred()) SWIG_fail
;
4291 arg3
= wxString_in_helper(obj2
);
4292 if (arg3
== NULL
) SWIG_fail
;
4298 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4304 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4308 arg6
= (long) SWIG_AsLong(obj5
);
4309 if (PyErr_Occurred()) SWIG_fail
;
4313 arg7
= wxString_in_helper(obj6
);
4314 if (arg7
== NULL
) SWIG_fail
;
4319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4320 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4322 wxPyEndAllowThreads(__tstate
);
4323 if (PyErr_Occurred()) SWIG_fail
;
4325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4348 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4349 PyObject
*resultobj
;
4350 wxMiniFrame
*result
;
4355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4358 result
= (wxMiniFrame
*)new wxMiniFrame();
4360 wxPyEndAllowThreads(__tstate
);
4361 if (PyErr_Occurred()) SWIG_fail
;
4363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4370 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4371 PyObject
*resultobj
;
4372 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4373 wxWindow
*arg2
= (wxWindow
*) 0 ;
4375 wxString
*arg4
= 0 ;
4376 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4377 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4378 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4379 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4380 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4381 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4382 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4384 bool temp4
= False
;
4387 bool temp8
= False
;
4388 PyObject
* obj0
= 0 ;
4389 PyObject
* obj1
= 0 ;
4390 PyObject
* obj2
= 0 ;
4391 PyObject
* obj3
= 0 ;
4392 PyObject
* obj4
= 0 ;
4393 PyObject
* obj5
= 0 ;
4394 PyObject
* obj6
= 0 ;
4395 PyObject
* obj7
= 0 ;
4397 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4403 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4405 arg3
= (int const) SWIG_AsInt(obj2
);
4406 if (PyErr_Occurred()) SWIG_fail
;
4408 arg4
= wxString_in_helper(obj3
);
4409 if (arg4
== NULL
) SWIG_fail
;
4415 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4421 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4425 arg7
= (long) SWIG_AsLong(obj6
);
4426 if (PyErr_Occurred()) SWIG_fail
;
4430 arg8
= wxString_in_helper(obj7
);
4431 if (arg8
== NULL
) SWIG_fail
;
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4437 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4439 wxPyEndAllowThreads(__tstate
);
4440 if (PyErr_Occurred()) SWIG_fail
;
4442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4465 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4468 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4470 return Py_BuildValue((char *)"");
4472 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
*resultobj
;
4474 wxBitmap
*arg1
= 0 ;
4475 wxWindow
*arg2
= (wxWindow
*) 0 ;
4477 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4478 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4479 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4480 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4481 long arg6
= (long) wxNO_BORDER
;
4482 wxSplashScreenWindow
*result
;
4485 PyObject
* obj0
= 0 ;
4486 PyObject
* obj1
= 0 ;
4487 PyObject
* obj2
= 0 ;
4488 PyObject
* obj3
= 0 ;
4489 PyObject
* obj4
= 0 ;
4490 PyObject
* obj5
= 0 ;
4492 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4497 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4500 PyErr_SetString(PyExc_TypeError
,"null reference");
4503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4505 arg3
= (int) SWIG_AsInt(obj2
);
4506 if (PyErr_Occurred()) SWIG_fail
;
4510 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4516 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4520 arg6
= (long) SWIG_AsLong(obj5
);
4521 if (PyErr_Occurred()) SWIG_fail
;
4524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4525 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4527 wxPyEndAllowThreads(__tstate
);
4528 if (PyErr_Occurred()) SWIG_fail
;
4530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4537 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4538 PyObject
*resultobj
;
4539 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4540 wxBitmap
*arg2
= 0 ;
4541 PyObject
* obj0
= 0 ;
4542 PyObject
* obj1
= 0 ;
4544 (char *) "self",(char *) "bitmap", NULL
4547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4550 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4551 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4554 PyErr_SetString(PyExc_TypeError
,"null reference");
4558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4559 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4561 wxPyEndAllowThreads(__tstate
);
4562 if (PyErr_Occurred()) SWIG_fail
;
4564 Py_INCREF(Py_None
); resultobj
= Py_None
;
4571 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4572 PyObject
*resultobj
;
4573 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4575 PyObject
* obj0
= 0 ;
4577 (char *) "self", NULL
4580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4586 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4587 result
= (wxBitmap
*) &_result_ref
;
4590 wxPyEndAllowThreads(__tstate
);
4591 if (PyErr_Occurred()) SWIG_fail
;
4594 wxBitmap
* resultptr
= new wxBitmap(*result
);
4595 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4603 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4606 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4608 return Py_BuildValue((char *)"");
4610 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4611 PyObject
*resultobj
;
4612 wxBitmap
*arg1
= 0 ;
4615 wxWindow
*arg4
= (wxWindow
*) 0 ;
4617 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4618 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4619 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4620 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4621 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4622 wxSplashScreen
*result
;
4625 PyObject
* obj0
= 0 ;
4626 PyObject
* obj1
= 0 ;
4627 PyObject
* obj2
= 0 ;
4628 PyObject
* obj3
= 0 ;
4629 PyObject
* obj4
= 0 ;
4630 PyObject
* obj5
= 0 ;
4631 PyObject
* obj6
= 0 ;
4632 PyObject
* obj7
= 0 ;
4634 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4639 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4642 PyErr_SetString(PyExc_TypeError
,"null reference");
4645 arg2
= (long) SWIG_AsLong(obj1
);
4646 if (PyErr_Occurred()) SWIG_fail
;
4647 arg3
= (int) SWIG_AsInt(obj2
);
4648 if (PyErr_Occurred()) SWIG_fail
;
4649 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4651 arg5
= (int) SWIG_AsInt(obj4
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4656 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4662 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4666 arg8
= (long) SWIG_AsLong(obj7
);
4667 if (PyErr_Occurred()) SWIG_fail
;
4670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4671 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4673 wxPyEndAllowThreads(__tstate
);
4674 if (PyErr_Occurred()) SWIG_fail
;
4676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
4683 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4684 PyObject
*resultobj
;
4685 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4687 PyObject
* obj0
= 0 ;
4689 (char *) "self", NULL
4692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4697 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4699 wxPyEndAllowThreads(__tstate
);
4700 if (PyErr_Occurred()) SWIG_fail
;
4702 resultobj
= SWIG_FromLong((long)result
);
4709 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4710 PyObject
*resultobj
;
4711 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4712 wxSplashScreenWindow
*result
;
4713 PyObject
* obj0
= 0 ;
4715 (char *) "self", NULL
4718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4723 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4725 wxPyEndAllowThreads(__tstate
);
4726 if (PyErr_Occurred()) SWIG_fail
;
4728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
4735 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4736 PyObject
*resultobj
;
4737 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4739 PyObject
* obj0
= 0 ;
4741 (char *) "self", NULL
4744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4749 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4751 wxPyEndAllowThreads(__tstate
);
4752 if (PyErr_Occurred()) SWIG_fail
;
4754 resultobj
= SWIG_FromInt((int)result
);
4761 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4763 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4764 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4766 return Py_BuildValue((char *)"");
4768 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4769 PyObject
*resultobj
;
4770 wxWindow
*arg1
= (wxWindow
*) 0 ;
4771 int arg2
= (int) -1 ;
4772 long arg3
= (long) wxST_SIZEGRIP
;
4773 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4774 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4775 wxStatusBar
*result
;
4776 bool temp4
= False
;
4777 PyObject
* obj0
= 0 ;
4778 PyObject
* obj1
= 0 ;
4779 PyObject
* obj2
= 0 ;
4780 PyObject
* obj3
= 0 ;
4782 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4789 arg2
= (int) SWIG_AsInt(obj1
);
4790 if (PyErr_Occurred()) SWIG_fail
;
4793 arg3
= (long) SWIG_AsLong(obj2
);
4794 if (PyErr_Occurred()) SWIG_fail
;
4798 arg4
= wxString_in_helper(obj3
);
4799 if (arg4
== NULL
) SWIG_fail
;
4804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4805 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4807 wxPyEndAllowThreads(__tstate
);
4808 if (PyErr_Occurred()) SWIG_fail
;
4811 resultobj
= wxPyMake_wxObject(result
);
4827 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4828 PyObject
*resultobj
;
4829 wxStatusBar
*result
;
4834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4837 result
= (wxStatusBar
*)new wxStatusBar();
4839 wxPyEndAllowThreads(__tstate
);
4840 if (PyErr_Occurred()) SWIG_fail
;
4843 resultobj
= wxPyMake_wxObject(result
);
4851 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4852 PyObject
*resultobj
;
4853 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4854 wxWindow
*arg2
= (wxWindow
*) 0 ;
4856 long arg4
= (long) wxST_SIZEGRIP
;
4857 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4858 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4860 bool temp5
= False
;
4861 PyObject
* obj0
= 0 ;
4862 PyObject
* obj1
= 0 ;
4863 PyObject
* obj2
= 0 ;
4864 PyObject
* obj3
= 0 ;
4865 PyObject
* obj4
= 0 ;
4867 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4873 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4875 arg3
= (int) SWIG_AsInt(obj2
);
4876 if (PyErr_Occurred()) SWIG_fail
;
4878 arg4
= (long) SWIG_AsLong(obj3
);
4879 if (PyErr_Occurred()) SWIG_fail
;
4883 arg5
= wxString_in_helper(obj4
);
4884 if (arg5
== NULL
) SWIG_fail
;
4889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4890 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4892 wxPyEndAllowThreads(__tstate
);
4893 if (PyErr_Occurred()) SWIG_fail
;
4895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4910 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4911 PyObject
*resultobj
;
4912 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4913 int arg2
= (int) 1 ;
4914 PyObject
* obj0
= 0 ;
4915 PyObject
* obj1
= 0 ;
4917 (char *) "self",(char *) "number", NULL
4920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
4921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4924 arg2
= (int) SWIG_AsInt(obj1
);
4925 if (PyErr_Occurred()) SWIG_fail
;
4928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4929 (arg1
)->SetFieldsCount(arg2
);
4931 wxPyEndAllowThreads(__tstate
);
4932 if (PyErr_Occurred()) SWIG_fail
;
4934 Py_INCREF(Py_None
); resultobj
= Py_None
;
4941 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4942 PyObject
*resultobj
;
4943 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4945 PyObject
* obj0
= 0 ;
4947 (char *) "self", NULL
4950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
4951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4955 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
4957 wxPyEndAllowThreads(__tstate
);
4958 if (PyErr_Occurred()) SWIG_fail
;
4960 resultobj
= SWIG_FromInt((int)result
);
4967 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4968 PyObject
*resultobj
;
4969 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4970 wxString
*arg2
= 0 ;
4971 int arg3
= (int) 0 ;
4972 bool temp2
= False
;
4973 PyObject
* obj0
= 0 ;
4974 PyObject
* obj1
= 0 ;
4975 PyObject
* obj2
= 0 ;
4977 (char *) "self",(char *) "text",(char *) "number", NULL
4980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4984 arg2
= wxString_in_helper(obj1
);
4985 if (arg2
== NULL
) SWIG_fail
;
4989 arg3
= (int) SWIG_AsInt(obj2
);
4990 if (PyErr_Occurred()) SWIG_fail
;
4993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4994 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
4996 wxPyEndAllowThreads(__tstate
);
4997 if (PyErr_Occurred()) SWIG_fail
;
4999 Py_INCREF(Py_None
); resultobj
= Py_None
;
5014 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5015 PyObject
*resultobj
;
5016 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5017 int arg2
= (int) 0 ;
5019 PyObject
* obj0
= 0 ;
5020 PyObject
* obj1
= 0 ;
5022 (char *) "self",(char *) "number", NULL
5025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5029 arg2
= (int) SWIG_AsInt(obj1
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5034 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5036 wxPyEndAllowThreads(__tstate
);
5037 if (PyErr_Occurred()) SWIG_fail
;
5041 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5043 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5052 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5053 PyObject
*resultobj
;
5054 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5055 wxString
*arg2
= 0 ;
5056 int arg3
= (int) 0 ;
5057 bool temp2
= False
;
5058 PyObject
* obj0
= 0 ;
5059 PyObject
* obj1
= 0 ;
5060 PyObject
* obj2
= 0 ;
5062 (char *) "self",(char *) "text",(char *) "number", NULL
5065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5069 arg2
= wxString_in_helper(obj1
);
5070 if (arg2
== NULL
) SWIG_fail
;
5074 arg3
= (int) SWIG_AsInt(obj2
);
5075 if (PyErr_Occurred()) SWIG_fail
;
5078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5079 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5081 wxPyEndAllowThreads(__tstate
);
5082 if (PyErr_Occurred()) SWIG_fail
;
5084 Py_INCREF(Py_None
); resultobj
= Py_None
;
5099 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5100 PyObject
*resultobj
;
5101 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5102 int arg2
= (int) 0 ;
5103 PyObject
* obj0
= 0 ;
5104 PyObject
* obj1
= 0 ;
5106 (char *) "self",(char *) "number", NULL
5109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5113 arg2
= (int) SWIG_AsInt(obj1
);
5114 if (PyErr_Occurred()) SWIG_fail
;
5117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5118 (arg1
)->PopStatusText(arg2
);
5120 wxPyEndAllowThreads(__tstate
);
5121 if (PyErr_Occurred()) SWIG_fail
;
5123 Py_INCREF(Py_None
); resultobj
= Py_None
;
5130 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5131 PyObject
*resultobj
;
5132 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5134 int *arg3
= (int *) 0 ;
5135 PyObject
* obj0
= 0 ;
5136 PyObject
* obj1
= 0 ;
5138 (char *) "self",(char *) "widths", NULL
5141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5145 arg2
= PyList_Size(obj1
);
5146 arg3
= int_LIST_helper(obj1
);
5147 if (arg3
== NULL
) SWIG_fail
;
5150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5151 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5153 wxPyEndAllowThreads(__tstate
);
5154 if (PyErr_Occurred()) SWIG_fail
;
5156 Py_INCREF(Py_None
); resultobj
= Py_None
;
5158 if (arg3
) delete [] arg3
;
5163 if (arg3
) delete [] arg3
;
5169 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5170 PyObject
*resultobj
;
5171 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5174 PyObject
* obj0
= 0 ;
5175 PyObject
* obj1
= 0 ;
5177 (char *) "self",(char *) "i", NULL
5180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5183 arg2
= (int) SWIG_AsInt(obj1
);
5184 if (PyErr_Occurred()) SWIG_fail
;
5186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5187 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5189 wxPyEndAllowThreads(__tstate
);
5190 if (PyErr_Occurred()) SWIG_fail
;
5194 resultptr
= new wxRect((wxRect
&) result
);
5195 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5203 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5204 PyObject
*resultobj
;
5205 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5207 PyObject
* obj0
= 0 ;
5208 PyObject
* obj1
= 0 ;
5210 (char *) "self",(char *) "height", NULL
5213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5216 arg2
= (int) SWIG_AsInt(obj1
);
5217 if (PyErr_Occurred()) SWIG_fail
;
5219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5220 (arg1
)->SetMinHeight(arg2
);
5222 wxPyEndAllowThreads(__tstate
);
5223 if (PyErr_Occurred()) SWIG_fail
;
5225 Py_INCREF(Py_None
); resultobj
= Py_None
;
5232 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5233 PyObject
*resultobj
;
5234 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5236 PyObject
* obj0
= 0 ;
5238 (char *) "self", NULL
5241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5246 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5248 wxPyEndAllowThreads(__tstate
);
5249 if (PyErr_Occurred()) SWIG_fail
;
5251 resultobj
= SWIG_FromInt((int)result
);
5258 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5259 PyObject
*resultobj
;
5260 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5262 PyObject
* obj0
= 0 ;
5264 (char *) "self", NULL
5267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5272 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5274 wxPyEndAllowThreads(__tstate
);
5275 if (PyErr_Occurred()) SWIG_fail
;
5277 resultobj
= SWIG_FromInt((int)result
);
5284 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5287 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5289 return Py_BuildValue((char *)"");
5291 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5292 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5297 static PyObject
*_wrap_SplitterNameStr_get() {
5302 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5304 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5311 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
*resultobj
;
5313 wxWindow
*arg1
= (wxWindow
*) 0 ;
5315 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5316 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5317 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5318 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5319 long arg5
= (long) wxSP_3D
;
5320 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5321 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5322 wxSplitterWindow
*result
;
5325 bool temp6
= False
;
5326 PyObject
* obj0
= 0 ;
5327 PyObject
* obj1
= 0 ;
5328 PyObject
* obj2
= 0 ;
5329 PyObject
* obj3
= 0 ;
5330 PyObject
* obj4
= 0 ;
5331 PyObject
* obj5
= 0 ;
5333 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5339 arg2
= (int) SWIG_AsInt(obj1
);
5340 if (PyErr_Occurred()) SWIG_fail
;
5344 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5350 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5354 arg5
= (long) SWIG_AsLong(obj4
);
5355 if (PyErr_Occurred()) SWIG_fail
;
5359 arg6
= wxString_in_helper(obj5
);
5360 if (arg6
== NULL
) SWIG_fail
;
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5366 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5386 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5387 PyObject
*resultobj
;
5388 wxSplitterWindow
*result
;
5393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5396 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5398 wxPyEndAllowThreads(__tstate
);
5399 if (PyErr_Occurred()) SWIG_fail
;
5401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5408 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5409 PyObject
*resultobj
;
5410 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5411 wxWindow
*arg2
= (wxWindow
*) 0 ;
5413 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5414 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5415 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5416 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5417 long arg6
= (long) wxSP_3D
;
5418 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5419 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5423 bool temp7
= False
;
5424 PyObject
* obj0
= 0 ;
5425 PyObject
* obj1
= 0 ;
5426 PyObject
* obj2
= 0 ;
5427 PyObject
* obj3
= 0 ;
5428 PyObject
* obj4
= 0 ;
5429 PyObject
* obj5
= 0 ;
5430 PyObject
* obj6
= 0 ;
5432 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5438 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5440 arg3
= (int) SWIG_AsInt(obj2
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5445 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5451 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5455 arg6
= (long) SWIG_AsLong(obj5
);
5456 if (PyErr_Occurred()) SWIG_fail
;
5460 arg7
= wxString_in_helper(obj6
);
5461 if (arg7
== NULL
) SWIG_fail
;
5466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5467 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5469 wxPyEndAllowThreads(__tstate
);
5470 if (PyErr_Occurred()) SWIG_fail
;
5472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5487 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5488 PyObject
*resultobj
;
5489 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5491 PyObject
* obj0
= 0 ;
5493 (char *) "self", NULL
5496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5501 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5503 wxPyEndAllowThreads(__tstate
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5507 resultobj
= wxPyMake_wxObject(result
);
5515 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5516 PyObject
*resultobj
;
5517 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5519 PyObject
* obj0
= 0 ;
5521 (char *) "self", NULL
5524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5529 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5531 wxPyEndAllowThreads(__tstate
);
5532 if (PyErr_Occurred()) SWIG_fail
;
5535 resultobj
= wxPyMake_wxObject(result
);
5543 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5544 PyObject
*resultobj
;
5545 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5547 PyObject
* obj0
= 0 ;
5548 PyObject
* obj1
= 0 ;
5550 (char *) "self",(char *) "mode", NULL
5553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5556 arg2
= (int) SWIG_AsInt(obj1
);
5557 if (PyErr_Occurred()) SWIG_fail
;
5559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5560 (arg1
)->SetSplitMode(arg2
);
5562 wxPyEndAllowThreads(__tstate
);
5563 if (PyErr_Occurred()) SWIG_fail
;
5565 Py_INCREF(Py_None
); resultobj
= Py_None
;
5572 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5573 PyObject
*resultobj
;
5574 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5576 PyObject
* obj0
= 0 ;
5578 (char *) "self", NULL
5581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5586 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5588 wxPyEndAllowThreads(__tstate
);
5589 if (PyErr_Occurred()) SWIG_fail
;
5591 resultobj
= SWIG_FromInt((int)result
);
5598 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5599 PyObject
*resultobj
;
5600 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5601 wxWindow
*arg2
= (wxWindow
*) 0 ;
5602 PyObject
* obj0
= 0 ;
5603 PyObject
* obj1
= 0 ;
5605 (char *) "self",(char *) "window", NULL
5608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5611 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5615 (arg1
)->Initialize(arg2
);
5617 wxPyEndAllowThreads(__tstate
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5620 Py_INCREF(Py_None
); resultobj
= Py_None
;
5627 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5628 PyObject
*resultobj
;
5629 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5630 wxWindow
*arg2
= (wxWindow
*) 0 ;
5631 wxWindow
*arg3
= (wxWindow
*) 0 ;
5632 int arg4
= (int) 0 ;
5634 PyObject
* obj0
= 0 ;
5635 PyObject
* obj1
= 0 ;
5636 PyObject
* obj2
= 0 ;
5637 PyObject
* obj3
= 0 ;
5639 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5645 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5647 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5650 arg4
= (int) SWIG_AsInt(obj3
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5667 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
*resultobj
;
5669 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5670 wxWindow
*arg2
= (wxWindow
*) 0 ;
5671 wxWindow
*arg3
= (wxWindow
*) 0 ;
5672 int arg4
= (int) 0 ;
5674 PyObject
* obj0
= 0 ;
5675 PyObject
* obj1
= 0 ;
5676 PyObject
* obj2
= 0 ;
5677 PyObject
* obj3
= 0 ;
5679 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5687 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5690 arg4
= (int) SWIG_AsInt(obj3
);
5691 if (PyErr_Occurred()) SWIG_fail
;
5694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5697 wxPyEndAllowThreads(__tstate
);
5698 if (PyErr_Occurred()) SWIG_fail
;
5700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5707 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5708 PyObject
*resultobj
;
5709 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5710 wxWindow
*arg2
= (wxWindow
*) NULL
;
5712 PyObject
* obj0
= 0 ;
5713 PyObject
* obj1
= 0 ;
5715 (char *) "self",(char *) "toRemove", NULL
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5727 result
= (bool)(arg1
)->Unsplit(arg2
);
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5739 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5740 PyObject
*resultobj
;
5741 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5742 wxWindow
*arg2
= (wxWindow
*) 0 ;
5743 wxWindow
*arg3
= (wxWindow
*) 0 ;
5745 PyObject
* obj0
= 0 ;
5746 PyObject
* obj1
= 0 ;
5747 PyObject
* obj2
= 0 ;
5749 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5755 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5757 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5761 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5763 wxPyEndAllowThreads(__tstate
);
5764 if (PyErr_Occurred()) SWIG_fail
;
5766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5773 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5774 PyObject
*resultobj
;
5775 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5777 PyObject
* obj0
= 0 ;
5779 (char *) "self", NULL
5782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5787 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5789 wxPyEndAllowThreads(__tstate
);
5790 if (PyErr_Occurred()) SWIG_fail
;
5792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5799 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5800 PyObject
*resultobj
;
5801 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5803 PyObject
* obj0
= 0 ;
5804 PyObject
* obj1
= 0 ;
5806 (char *) "self",(char *) "width", NULL
5809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5812 arg2
= (int) SWIG_AsInt(obj1
);
5813 if (PyErr_Occurred()) SWIG_fail
;
5815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5816 (arg1
)->SetSashSize(arg2
);
5818 wxPyEndAllowThreads(__tstate
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5821 Py_INCREF(Py_None
); resultobj
= Py_None
;
5828 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5829 PyObject
*resultobj
;
5830 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5832 PyObject
* obj0
= 0 ;
5833 PyObject
* obj1
= 0 ;
5835 (char *) "self",(char *) "width", NULL
5838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5841 arg2
= (int) SWIG_AsInt(obj1
);
5842 if (PyErr_Occurred()) SWIG_fail
;
5844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5845 (arg1
)->SetBorderSize(arg2
);
5847 wxPyEndAllowThreads(__tstate
);
5848 if (PyErr_Occurred()) SWIG_fail
;
5850 Py_INCREF(Py_None
); resultobj
= Py_None
;
5857 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5858 PyObject
*resultobj
;
5859 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5861 PyObject
* obj0
= 0 ;
5863 (char *) "self", NULL
5866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
5867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5871 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
5873 wxPyEndAllowThreads(__tstate
);
5874 if (PyErr_Occurred()) SWIG_fail
;
5876 resultobj
= SWIG_FromInt((int)result
);
5883 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5884 PyObject
*resultobj
;
5885 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5887 PyObject
* obj0
= 0 ;
5889 (char *) "self", NULL
5892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
5893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5897 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
5899 wxPyEndAllowThreads(__tstate
);
5900 if (PyErr_Occurred()) SWIG_fail
;
5902 resultobj
= SWIG_FromInt((int)result
);
5909 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5910 PyObject
*resultobj
;
5911 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5913 bool arg3
= (bool) True
;
5914 PyObject
* obj0
= 0 ;
5915 PyObject
* obj1
= 0 ;
5916 PyObject
* obj2
= 0 ;
5918 (char *) "self",(char *) "position",(char *) "redraw", NULL
5921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5924 arg2
= (int) SWIG_AsInt(obj1
);
5925 if (PyErr_Occurred()) SWIG_fail
;
5927 arg3
= (bool) SWIG_AsBool(obj2
);
5928 if (PyErr_Occurred()) SWIG_fail
;
5931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5932 (arg1
)->SetSashPosition(arg2
,arg3
);
5934 wxPyEndAllowThreads(__tstate
);
5935 if (PyErr_Occurred()) SWIG_fail
;
5937 Py_INCREF(Py_None
); resultobj
= Py_None
;
5944 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5945 PyObject
*resultobj
;
5946 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5948 PyObject
* obj0
= 0 ;
5950 (char *) "self", NULL
5953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
5954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5958 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
5960 wxPyEndAllowThreads(__tstate
);
5961 if (PyErr_Occurred()) SWIG_fail
;
5963 resultobj
= SWIG_FromInt((int)result
);
5970 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5971 PyObject
*resultobj
;
5972 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5974 PyObject
* obj0
= 0 ;
5975 PyObject
* obj1
= 0 ;
5977 (char *) "self",(char *) "min", NULL
5980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5983 arg2
= (int) SWIG_AsInt(obj1
);
5984 if (PyErr_Occurred()) SWIG_fail
;
5986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5987 (arg1
)->SetMinimumPaneSize(arg2
);
5989 wxPyEndAllowThreads(__tstate
);
5990 if (PyErr_Occurred()) SWIG_fail
;
5992 Py_INCREF(Py_None
); resultobj
= Py_None
;
5999 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6000 PyObject
*resultobj
;
6001 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6003 PyObject
* obj0
= 0 ;
6005 (char *) "self", NULL
6008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6013 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6015 wxPyEndAllowThreads(__tstate
);
6016 if (PyErr_Occurred()) SWIG_fail
;
6018 resultobj
= SWIG_FromInt((int)result
);
6025 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6026 PyObject
*resultobj
;
6027 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6030 int arg4
= (int) 5 ;
6032 PyObject
* obj0
= 0 ;
6033 PyObject
* obj1
= 0 ;
6034 PyObject
* obj2
= 0 ;
6035 PyObject
* obj3
= 0 ;
6037 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6043 arg2
= (int) SWIG_AsInt(obj1
);
6044 if (PyErr_Occurred()) SWIG_fail
;
6045 arg3
= (int) SWIG_AsInt(obj2
);
6046 if (PyErr_Occurred()) SWIG_fail
;
6048 arg4
= (int) SWIG_AsInt(obj3
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6053 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6055 wxPyEndAllowThreads(__tstate
);
6056 if (PyErr_Occurred()) SWIG_fail
;
6058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6065 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
*resultobj
;
6067 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6068 PyObject
* obj0
= 0 ;
6070 (char *) "self", NULL
6073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6078 (arg1
)->SizeWindows();
6080 wxPyEndAllowThreads(__tstate
);
6081 if (PyErr_Occurred()) SWIG_fail
;
6083 Py_INCREF(Py_None
); resultobj
= Py_None
;
6090 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6091 PyObject
*resultobj
;
6092 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6094 PyObject
* obj0
= 0 ;
6095 PyObject
* obj1
= 0 ;
6097 (char *) "self",(char *) "needUpdating", NULL
6100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6103 arg2
= (bool) SWIG_AsBool(obj1
);
6104 if (PyErr_Occurred()) SWIG_fail
;
6106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6107 (arg1
)->SetNeedUpdating(arg2
);
6109 wxPyEndAllowThreads(__tstate
);
6110 if (PyErr_Occurred()) SWIG_fail
;
6112 Py_INCREF(Py_None
); resultobj
= Py_None
;
6119 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6120 PyObject
*resultobj
;
6121 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6123 PyObject
* obj0
= 0 ;
6125 (char *) "self", NULL
6128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6133 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6135 wxPyEndAllowThreads(__tstate
);
6136 if (PyErr_Occurred()) SWIG_fail
;
6138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6145 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6148 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6150 return Py_BuildValue((char *)"");
6152 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6153 PyObject
*resultobj
;
6154 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6155 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6156 wxSplitterEvent
*result
;
6157 PyObject
* obj0
= 0 ;
6158 PyObject
* obj1
= 0 ;
6160 (char *) "type",(char *) "splitter", NULL
6163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6165 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6166 if (PyErr_Occurred()) SWIG_fail
;
6169 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6176 wxPyEndAllowThreads(__tstate
);
6177 if (PyErr_Occurred()) SWIG_fail
;
6179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6186 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6187 PyObject
*resultobj
;
6188 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6190 PyObject
* obj0
= 0 ;
6191 PyObject
* obj1
= 0 ;
6193 (char *) "self",(char *) "pos", NULL
6196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6199 arg2
= (int) SWIG_AsInt(obj1
);
6200 if (PyErr_Occurred()) SWIG_fail
;
6202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6203 (arg1
)->SetSashPosition(arg2
);
6205 wxPyEndAllowThreads(__tstate
);
6206 if (PyErr_Occurred()) SWIG_fail
;
6208 Py_INCREF(Py_None
); resultobj
= Py_None
;
6215 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6216 PyObject
*resultobj
;
6217 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6219 PyObject
* obj0
= 0 ;
6221 (char *) "self", NULL
6224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6229 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6231 wxPyEndAllowThreads(__tstate
);
6232 if (PyErr_Occurred()) SWIG_fail
;
6234 resultobj
= SWIG_FromInt((int)result
);
6241 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6242 PyObject
*resultobj
;
6243 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6245 PyObject
* obj0
= 0 ;
6247 (char *) "self", NULL
6250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6255 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6257 wxPyEndAllowThreads(__tstate
);
6258 if (PyErr_Occurred()) SWIG_fail
;
6261 resultobj
= wxPyMake_wxObject(result
);
6269 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
*resultobj
;
6271 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6273 PyObject
* obj0
= 0 ;
6275 (char *) "self", NULL
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6283 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6285 wxPyEndAllowThreads(__tstate
);
6286 if (PyErr_Occurred()) SWIG_fail
;
6288 resultobj
= SWIG_FromInt((int)result
);
6295 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6296 PyObject
*resultobj
;
6297 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6299 PyObject
* obj0
= 0 ;
6301 (char *) "self", NULL
6304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6309 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6311 wxPyEndAllowThreads(__tstate
);
6312 if (PyErr_Occurred()) SWIG_fail
;
6314 resultobj
= SWIG_FromInt((int)result
);
6321 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6324 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6326 return Py_BuildValue((char *)"");
6328 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6329 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6334 static PyObject
*_wrap_SashNameStr_get() {
6339 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6341 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6348 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6349 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6354 static PyObject
*_wrap_SashLayoutNameStr_get() {
6359 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6361 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6368 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6369 PyObject
*resultobj
;
6370 wxWindow
*arg1
= (wxWindow
*) 0 ;
6372 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6373 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6374 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6375 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6376 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6377 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6378 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6379 wxSashWindow
*result
;
6382 bool temp6
= False
;
6383 PyObject
* obj0
= 0 ;
6384 PyObject
* obj1
= 0 ;
6385 PyObject
* obj2
= 0 ;
6386 PyObject
* obj3
= 0 ;
6387 PyObject
* obj4
= 0 ;
6388 PyObject
* obj5
= 0 ;
6390 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6396 arg2
= (int) SWIG_AsInt(obj1
);
6397 if (PyErr_Occurred()) SWIG_fail
;
6401 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6407 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6411 arg5
= (long) SWIG_AsLong(obj4
);
6412 if (PyErr_Occurred()) SWIG_fail
;
6416 arg6
= wxString_in_helper(obj5
);
6417 if (arg6
== NULL
) SWIG_fail
;
6422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6423 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6425 wxPyEndAllowThreads(__tstate
);
6426 if (PyErr_Occurred()) SWIG_fail
;
6428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6443 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
*resultobj
;
6445 wxSashWindow
*result
;
6450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6453 result
= (wxSashWindow
*)new wxSashWindow();
6455 wxPyEndAllowThreads(__tstate
);
6456 if (PyErr_Occurred()) SWIG_fail
;
6458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6465 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6466 PyObject
*resultobj
;
6467 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6468 wxWindow
*arg2
= (wxWindow
*) 0 ;
6470 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6471 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6472 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6473 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6474 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6475 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6476 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6480 bool temp7
= False
;
6481 PyObject
* obj0
= 0 ;
6482 PyObject
* obj1
= 0 ;
6483 PyObject
* obj2
= 0 ;
6484 PyObject
* obj3
= 0 ;
6485 PyObject
* obj4
= 0 ;
6486 PyObject
* obj5
= 0 ;
6487 PyObject
* obj6
= 0 ;
6489 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6495 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6497 arg3
= (int) SWIG_AsInt(obj2
);
6498 if (PyErr_Occurred()) SWIG_fail
;
6502 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6508 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6512 arg6
= (long) SWIG_AsLong(obj5
);
6513 if (PyErr_Occurred()) SWIG_fail
;
6517 arg7
= wxString_in_helper(obj6
);
6518 if (arg7
== NULL
) SWIG_fail
;
6523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6524 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6526 wxPyEndAllowThreads(__tstate
);
6527 if (PyErr_Occurred()) SWIG_fail
;
6529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6544 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6545 PyObject
*resultobj
;
6546 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6549 PyObject
* obj0
= 0 ;
6550 PyObject
* obj1
= 0 ;
6551 PyObject
* obj2
= 0 ;
6553 (char *) "self",(char *) "edge",(char *) "sash", NULL
6556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6559 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6560 if (PyErr_Occurred()) SWIG_fail
;
6561 arg3
= (bool) SWIG_AsBool(obj2
);
6562 if (PyErr_Occurred()) SWIG_fail
;
6564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6565 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6567 wxPyEndAllowThreads(__tstate
);
6568 if (PyErr_Occurred()) SWIG_fail
;
6570 Py_INCREF(Py_None
); resultobj
= Py_None
;
6577 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6578 PyObject
*resultobj
;
6579 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6582 PyObject
* obj0
= 0 ;
6583 PyObject
* obj1
= 0 ;
6585 (char *) "self",(char *) "edge", NULL
6588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6591 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6592 if (PyErr_Occurred()) SWIG_fail
;
6594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6595 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6597 wxPyEndAllowThreads(__tstate
);
6598 if (PyErr_Occurred()) SWIG_fail
;
6600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6607 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6608 PyObject
*resultobj
;
6609 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6612 PyObject
* obj0
= 0 ;
6613 PyObject
* obj1
= 0 ;
6614 PyObject
* obj2
= 0 ;
6616 (char *) "self",(char *) "edge",(char *) "border", NULL
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
6624 arg3
= (bool) SWIG_AsBool(obj2
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6628 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6630 wxPyEndAllowThreads(__tstate
);
6631 if (PyErr_Occurred()) SWIG_fail
;
6633 Py_INCREF(Py_None
); resultobj
= Py_None
;
6640 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
*resultobj
;
6642 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6645 PyObject
* obj0
= 0 ;
6646 PyObject
* obj1
= 0 ;
6648 (char *) "self",(char *) "edge", NULL
6651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
6652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6654 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6655 if (PyErr_Occurred()) SWIG_fail
;
6657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6658 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
6660 wxPyEndAllowThreads(__tstate
);
6661 if (PyErr_Occurred()) SWIG_fail
;
6663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6670 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6671 PyObject
*resultobj
;
6672 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6675 PyObject
* obj0
= 0 ;
6676 PyObject
* obj1
= 0 ;
6678 (char *) "self",(char *) "edge", NULL
6681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
6682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6684 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6685 if (PyErr_Occurred()) SWIG_fail
;
6687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6688 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
6690 wxPyEndAllowThreads(__tstate
);
6691 if (PyErr_Occurred()) SWIG_fail
;
6693 resultobj
= SWIG_FromInt((int)result
);
6700 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6701 PyObject
*resultobj
;
6702 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6704 PyObject
* obj0
= 0 ;
6705 PyObject
* obj1
= 0 ;
6707 (char *) "self",(char *) "width", NULL
6710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6713 arg2
= (int) SWIG_AsInt(obj1
);
6714 if (PyErr_Occurred()) SWIG_fail
;
6716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6717 (arg1
)->SetDefaultBorderSize(arg2
);
6719 wxPyEndAllowThreads(__tstate
);
6720 if (PyErr_Occurred()) SWIG_fail
;
6722 Py_INCREF(Py_None
); resultobj
= Py_None
;
6729 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6730 PyObject
*resultobj
;
6731 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6733 PyObject
* obj0
= 0 ;
6735 (char *) "self", NULL
6738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
6739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6743 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
6745 wxPyEndAllowThreads(__tstate
);
6746 if (PyErr_Occurred()) SWIG_fail
;
6748 resultobj
= SWIG_FromInt((int)result
);
6755 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6756 PyObject
*resultobj
;
6757 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6759 PyObject
* obj0
= 0 ;
6760 PyObject
* obj1
= 0 ;
6762 (char *) "self",(char *) "width", NULL
6765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6768 arg2
= (int) SWIG_AsInt(obj1
);
6769 if (PyErr_Occurred()) SWIG_fail
;
6771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6772 (arg1
)->SetExtraBorderSize(arg2
);
6774 wxPyEndAllowThreads(__tstate
);
6775 if (PyErr_Occurred()) SWIG_fail
;
6777 Py_INCREF(Py_None
); resultobj
= Py_None
;
6784 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6785 PyObject
*resultobj
;
6786 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6788 PyObject
* obj0
= 0 ;
6790 (char *) "self", NULL
6793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
6794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6798 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
6800 wxPyEndAllowThreads(__tstate
);
6801 if (PyErr_Occurred()) SWIG_fail
;
6803 resultobj
= SWIG_FromInt((int)result
);
6810 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6811 PyObject
*resultobj
;
6812 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6814 PyObject
* obj0
= 0 ;
6815 PyObject
* obj1
= 0 ;
6817 (char *) "self",(char *) "min", NULL
6820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6823 arg2
= (int) SWIG_AsInt(obj1
);
6824 if (PyErr_Occurred()) SWIG_fail
;
6826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6827 (arg1
)->SetMinimumSizeX(arg2
);
6829 wxPyEndAllowThreads(__tstate
);
6830 if (PyErr_Occurred()) SWIG_fail
;
6832 Py_INCREF(Py_None
); resultobj
= Py_None
;
6839 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6840 PyObject
*resultobj
;
6841 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6843 PyObject
* obj0
= 0 ;
6844 PyObject
* obj1
= 0 ;
6846 (char *) "self",(char *) "min", NULL
6849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
6850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6852 arg2
= (int) SWIG_AsInt(obj1
);
6853 if (PyErr_Occurred()) SWIG_fail
;
6855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6856 (arg1
)->SetMinimumSizeY(arg2
);
6858 wxPyEndAllowThreads(__tstate
);
6859 if (PyErr_Occurred()) SWIG_fail
;
6861 Py_INCREF(Py_None
); resultobj
= Py_None
;
6868 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6869 PyObject
*resultobj
;
6870 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6872 PyObject
* obj0
= 0 ;
6874 (char *) "self", NULL
6877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
6878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6882 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
6884 wxPyEndAllowThreads(__tstate
);
6885 if (PyErr_Occurred()) SWIG_fail
;
6887 resultobj
= SWIG_FromInt((int)result
);
6894 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6895 PyObject
*resultobj
;
6896 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6898 PyObject
* obj0
= 0 ;
6900 (char *) "self", NULL
6903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
6904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6908 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
6910 wxPyEndAllowThreads(__tstate
);
6911 if (PyErr_Occurred()) SWIG_fail
;
6913 resultobj
= SWIG_FromInt((int)result
);
6920 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6921 PyObject
*resultobj
;
6922 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6924 PyObject
* obj0
= 0 ;
6925 PyObject
* obj1
= 0 ;
6927 (char *) "self",(char *) "max", NULL
6930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6933 arg2
= (int) SWIG_AsInt(obj1
);
6934 if (PyErr_Occurred()) SWIG_fail
;
6936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6937 (arg1
)->SetMaximumSizeX(arg2
);
6939 wxPyEndAllowThreads(__tstate
);
6940 if (PyErr_Occurred()) SWIG_fail
;
6942 Py_INCREF(Py_None
); resultobj
= Py_None
;
6949 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6950 PyObject
*resultobj
;
6951 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6953 PyObject
* obj0
= 0 ;
6954 PyObject
* obj1
= 0 ;
6956 (char *) "self",(char *) "max", NULL
6959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
6960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6962 arg2
= (int) SWIG_AsInt(obj1
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6966 (arg1
)->SetMaximumSizeY(arg2
);
6968 wxPyEndAllowThreads(__tstate
);
6969 if (PyErr_Occurred()) SWIG_fail
;
6971 Py_INCREF(Py_None
); resultobj
= Py_None
;
6978 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6979 PyObject
*resultobj
;
6980 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6982 PyObject
* obj0
= 0 ;
6984 (char *) "self", NULL
6987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
6988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6992 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
6994 wxPyEndAllowThreads(__tstate
);
6995 if (PyErr_Occurred()) SWIG_fail
;
6997 resultobj
= SWIG_FromInt((int)result
);
7004 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7005 PyObject
*resultobj
;
7006 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7008 PyObject
* obj0
= 0 ;
7010 (char *) "self", NULL
7013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7018 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7020 wxPyEndAllowThreads(__tstate
);
7021 if (PyErr_Occurred()) SWIG_fail
;
7023 resultobj
= SWIG_FromInt((int)result
);
7030 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7031 PyObject
*resultobj
;
7032 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7035 int arg4
= (int) 2 ;
7037 PyObject
* obj0
= 0 ;
7038 PyObject
* obj1
= 0 ;
7039 PyObject
* obj2
= 0 ;
7040 PyObject
* obj3
= 0 ;
7042 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7048 arg2
= (int) SWIG_AsInt(obj1
);
7049 if (PyErr_Occurred()) SWIG_fail
;
7050 arg3
= (int) SWIG_AsInt(obj2
);
7051 if (PyErr_Occurred()) SWIG_fail
;
7053 arg4
= (int) SWIG_AsInt(obj3
);
7054 if (PyErr_Occurred()) SWIG_fail
;
7057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7058 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7060 wxPyEndAllowThreads(__tstate
);
7061 if (PyErr_Occurred()) SWIG_fail
;
7063 resultobj
= SWIG_FromInt((int)result
);
7070 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
*resultobj
;
7072 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7073 PyObject
* obj0
= 0 ;
7075 (char *) "self", NULL
7078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7083 (arg1
)->SizeWindows();
7085 wxPyEndAllowThreads(__tstate
);
7086 if (PyErr_Occurred()) SWIG_fail
;
7088 Py_INCREF(Py_None
); resultobj
= Py_None
;
7095 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7098 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7100 return Py_BuildValue((char *)"");
7102 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7103 PyObject
*resultobj
;
7104 int arg1
= (int) 0 ;
7105 int arg2
= (int) wxSASH_NONE
;
7106 wxSashEvent
*result
;
7107 PyObject
* obj0
= 0 ;
7108 PyObject
* obj1
= 0 ;
7110 (char *) "id",(char *) "edge", NULL
7113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7115 arg1
= (int) SWIG_AsInt(obj0
);
7116 if (PyErr_Occurred()) SWIG_fail
;
7119 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7120 if (PyErr_Occurred()) SWIG_fail
;
7123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7124 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7126 wxPyEndAllowThreads(__tstate
);
7127 if (PyErr_Occurred()) SWIG_fail
;
7129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7136 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7137 PyObject
*resultobj
;
7138 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7140 PyObject
* obj0
= 0 ;
7141 PyObject
* obj1
= 0 ;
7143 (char *) "self",(char *) "edge", NULL
7146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7149 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7150 if (PyErr_Occurred()) SWIG_fail
;
7152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7153 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7155 wxPyEndAllowThreads(__tstate
);
7156 if (PyErr_Occurred()) SWIG_fail
;
7158 Py_INCREF(Py_None
); resultobj
= Py_None
;
7165 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7166 PyObject
*resultobj
;
7167 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7169 PyObject
* obj0
= 0 ;
7171 (char *) "self", NULL
7174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7179 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7181 wxPyEndAllowThreads(__tstate
);
7182 if (PyErr_Occurred()) SWIG_fail
;
7184 resultobj
= SWIG_FromInt((int)result
);
7191 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7192 PyObject
*resultobj
;
7193 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7196 PyObject
* obj0
= 0 ;
7197 PyObject
* obj1
= 0 ;
7199 (char *) "self",(char *) "rect", NULL
7202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7207 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7211 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7216 Py_INCREF(Py_None
); resultobj
= Py_None
;
7223 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7224 PyObject
*resultobj
;
7225 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7227 PyObject
* obj0
= 0 ;
7229 (char *) "self", NULL
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7237 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7239 wxPyEndAllowThreads(__tstate
);
7240 if (PyErr_Occurred()) SWIG_fail
;
7244 resultptr
= new wxRect((wxRect
&) result
);
7245 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7253 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7254 PyObject
*resultobj
;
7255 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7257 PyObject
* obj0
= 0 ;
7258 PyObject
* obj1
= 0 ;
7260 (char *) "self",(char *) "status", NULL
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7266 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7267 if (PyErr_Occurred()) SWIG_fail
;
7269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7270 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7272 wxPyEndAllowThreads(__tstate
);
7273 if (PyErr_Occurred()) SWIG_fail
;
7275 Py_INCREF(Py_None
); resultobj
= Py_None
;
7282 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7283 PyObject
*resultobj
;
7284 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7286 PyObject
* obj0
= 0 ;
7288 (char *) "self", NULL
7291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7296 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7298 wxPyEndAllowThreads(__tstate
);
7299 if (PyErr_Occurred()) SWIG_fail
;
7301 resultobj
= SWIG_FromInt((int)result
);
7308 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7310 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7311 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7313 return Py_BuildValue((char *)"");
7315 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
*resultobj
;
7317 int arg1
= (int) 0 ;
7318 wxQueryLayoutInfoEvent
*result
;
7319 PyObject
* obj0
= 0 ;
7324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7326 arg1
= (int) SWIG_AsInt(obj0
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7331 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7333 wxPyEndAllowThreads(__tstate
);
7334 if (PyErr_Occurred()) SWIG_fail
;
7336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7343 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7344 PyObject
*resultobj
;
7345 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7347 PyObject
* obj0
= 0 ;
7348 PyObject
* obj1
= 0 ;
7350 (char *) "self",(char *) "length", NULL
7353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7356 arg2
= (int) SWIG_AsInt(obj1
);
7357 if (PyErr_Occurred()) SWIG_fail
;
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7360 (arg1
)->SetRequestedLength(arg2
);
7362 wxPyEndAllowThreads(__tstate
);
7363 if (PyErr_Occurred()) SWIG_fail
;
7365 Py_INCREF(Py_None
); resultobj
= Py_None
;
7372 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7373 PyObject
*resultobj
;
7374 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7376 PyObject
* obj0
= 0 ;
7378 (char *) "self", NULL
7381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7386 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7388 wxPyEndAllowThreads(__tstate
);
7389 if (PyErr_Occurred()) SWIG_fail
;
7391 resultobj
= SWIG_FromInt((int)result
);
7398 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7399 PyObject
*resultobj
;
7400 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7402 PyObject
* obj0
= 0 ;
7403 PyObject
* obj1
= 0 ;
7405 (char *) "self",(char *) "flags", NULL
7408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7411 arg2
= (int) SWIG_AsInt(obj1
);
7412 if (PyErr_Occurred()) SWIG_fail
;
7414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7415 (arg1
)->SetFlags(arg2
);
7417 wxPyEndAllowThreads(__tstate
);
7418 if (PyErr_Occurred()) SWIG_fail
;
7420 Py_INCREF(Py_None
); resultobj
= Py_None
;
7427 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7428 PyObject
*resultobj
;
7429 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7431 PyObject
* obj0
= 0 ;
7433 (char *) "self", NULL
7436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7441 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7443 wxPyEndAllowThreads(__tstate
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7446 resultobj
= SWIG_FromInt((int)result
);
7453 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
*resultobj
;
7455 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7458 PyObject
* obj0
= 0 ;
7459 PyObject
* obj1
= 0 ;
7461 (char *) "self",(char *) "size", NULL
7464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7469 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7473 (arg1
)->SetSize((wxSize
const &)*arg2
);
7475 wxPyEndAllowThreads(__tstate
);
7476 if (PyErr_Occurred()) SWIG_fail
;
7478 Py_INCREF(Py_None
); resultobj
= Py_None
;
7485 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7486 PyObject
*resultobj
;
7487 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7489 PyObject
* obj0
= 0 ;
7491 (char *) "self", NULL
7494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7501 wxPyEndAllowThreads(__tstate
);
7502 if (PyErr_Occurred()) SWIG_fail
;
7506 resultptr
= new wxSize((wxSize
&) result
);
7507 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7515 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7516 PyObject
*resultobj
;
7517 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7519 PyObject
* obj0
= 0 ;
7520 PyObject
* obj1
= 0 ;
7522 (char *) "self",(char *) "orient", NULL
7525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7528 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
7529 if (PyErr_Occurred()) SWIG_fail
;
7531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7532 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7534 wxPyEndAllowThreads(__tstate
);
7535 if (PyErr_Occurred()) SWIG_fail
;
7537 Py_INCREF(Py_None
); resultobj
= Py_None
;
7544 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7545 PyObject
*resultobj
;
7546 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7548 PyObject
* obj0
= 0 ;
7550 (char *) "self", NULL
7553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7558 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7560 wxPyEndAllowThreads(__tstate
);
7561 if (PyErr_Occurred()) SWIG_fail
;
7563 resultobj
= SWIG_FromInt((int)result
);
7570 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7571 PyObject
*resultobj
;
7572 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7574 PyObject
* obj0
= 0 ;
7575 PyObject
* obj1
= 0 ;
7577 (char *) "self",(char *) "align", NULL
7580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7583 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
7584 if (PyErr_Occurred()) SWIG_fail
;
7586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7587 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7589 wxPyEndAllowThreads(__tstate
);
7590 if (PyErr_Occurred()) SWIG_fail
;
7592 Py_INCREF(Py_None
); resultobj
= Py_None
;
7599 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7600 PyObject
*resultobj
;
7601 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7603 PyObject
* obj0
= 0 ;
7605 (char *) "self", NULL
7608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7613 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
7615 wxPyEndAllowThreads(__tstate
);
7616 if (PyErr_Occurred()) SWIG_fail
;
7618 resultobj
= SWIG_FromInt((int)result
);
7625 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7628 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7630 return Py_BuildValue((char *)"");
7632 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7633 PyObject
*resultobj
;
7634 int arg1
= (int) 0 ;
7635 wxCalculateLayoutEvent
*result
;
7636 PyObject
* obj0
= 0 ;
7641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
7643 arg1
= (int) SWIG_AsInt(obj0
);
7644 if (PyErr_Occurred()) SWIG_fail
;
7647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7648 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
7650 wxPyEndAllowThreads(__tstate
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
7660 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7661 PyObject
*resultobj
;
7662 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7664 PyObject
* obj0
= 0 ;
7665 PyObject
* obj1
= 0 ;
7667 (char *) "self",(char *) "flags", NULL
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7673 arg2
= (int) SWIG_AsInt(obj1
);
7674 if (PyErr_Occurred()) SWIG_fail
;
7676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7677 (arg1
)->SetFlags(arg2
);
7679 wxPyEndAllowThreads(__tstate
);
7680 if (PyErr_Occurred()) SWIG_fail
;
7682 Py_INCREF(Py_None
); resultobj
= Py_None
;
7689 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7690 PyObject
*resultobj
;
7691 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7693 PyObject
* obj0
= 0 ;
7695 (char *) "self", NULL
7698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7703 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
7705 wxPyEndAllowThreads(__tstate
);
7706 if (PyErr_Occurred()) SWIG_fail
;
7708 resultobj
= SWIG_FromInt((int)result
);
7715 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7716 PyObject
*resultobj
;
7717 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7720 PyObject
* obj0
= 0 ;
7721 PyObject
* obj1
= 0 ;
7723 (char *) "self",(char *) "rect", NULL
7726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7731 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7735 (arg1
)->SetRect((wxRect
const &)*arg2
);
7737 wxPyEndAllowThreads(__tstate
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7740 Py_INCREF(Py_None
); resultobj
= Py_None
;
7747 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7748 PyObject
*resultobj
;
7749 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7751 PyObject
* obj0
= 0 ;
7753 (char *) "self", NULL
7756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
7757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7761 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
7763 wxPyEndAllowThreads(__tstate
);
7764 if (PyErr_Occurred()) SWIG_fail
;
7768 resultptr
= new wxRect((wxRect
&) result
);
7769 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7777 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7780 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
7782 return Py_BuildValue((char *)"");
7784 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
;
7786 wxWindow
*arg1
= (wxWindow
*) 0 ;
7788 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7789 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7790 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7791 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7792 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7793 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
7794 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7795 wxSashLayoutWindow
*result
;
7798 bool temp6
= False
;
7799 PyObject
* obj0
= 0 ;
7800 PyObject
* obj1
= 0 ;
7801 PyObject
* obj2
= 0 ;
7802 PyObject
* obj3
= 0 ;
7803 PyObject
* obj4
= 0 ;
7804 PyObject
* obj5
= 0 ;
7806 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7812 arg2
= (int) SWIG_AsInt(obj1
);
7813 if (PyErr_Occurred()) SWIG_fail
;
7817 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7823 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7827 arg5
= (long) SWIG_AsLong(obj4
);
7828 if (PyErr_Occurred()) SWIG_fail
;
7832 arg6
= wxString_in_helper(obj5
);
7833 if (arg6
== NULL
) SWIG_fail
;
7838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7839 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7841 wxPyEndAllowThreads(__tstate
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
7859 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7860 PyObject
*resultobj
;
7861 wxSashLayoutWindow
*result
;
7866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
7868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7869 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
7871 wxPyEndAllowThreads(__tstate
);
7872 if (PyErr_Occurred()) SWIG_fail
;
7874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
7881 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7882 PyObject
*resultobj
;
7883 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7884 wxWindow
*arg2
= (wxWindow
*) 0 ;
7886 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7887 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7888 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7889 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7890 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7891 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
7892 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7896 bool temp7
= False
;
7897 PyObject
* obj0
= 0 ;
7898 PyObject
* obj1
= 0 ;
7899 PyObject
* obj2
= 0 ;
7900 PyObject
* obj3
= 0 ;
7901 PyObject
* obj4
= 0 ;
7902 PyObject
* obj5
= 0 ;
7903 PyObject
* obj6
= 0 ;
7905 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
7910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7911 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7913 arg3
= (int) SWIG_AsInt(obj2
);
7914 if (PyErr_Occurred()) SWIG_fail
;
7918 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7924 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7928 arg6
= (long) SWIG_AsLong(obj5
);
7929 if (PyErr_Occurred()) SWIG_fail
;
7933 arg7
= wxString_in_helper(obj6
);
7934 if (arg7
== NULL
) SWIG_fail
;
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7942 wxPyEndAllowThreads(__tstate
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7960 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7961 PyObject
*resultobj
;
7962 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7964 PyObject
* obj0
= 0 ;
7966 (char *) "self", NULL
7969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
7970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
7971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7974 result
= (int)(arg1
)->GetAlignment();
7976 wxPyEndAllowThreads(__tstate
);
7977 if (PyErr_Occurred()) SWIG_fail
;
7979 resultobj
= SWIG_FromInt((int)result
);
7986 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7987 PyObject
*resultobj
;
7988 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7990 PyObject
* obj0
= 0 ;
7992 (char *) "self", NULL
7995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
7996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
7997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8000 result
= (int)(arg1
)->GetOrientation();
8002 wxPyEndAllowThreads(__tstate
);
8003 if (PyErr_Occurred()) SWIG_fail
;
8005 resultobj
= SWIG_FromInt((int)result
);
8012 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8013 PyObject
*resultobj
;
8014 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8016 PyObject
* obj0
= 0 ;
8017 PyObject
* obj1
= 0 ;
8019 (char *) "self",(char *) "alignment", NULL
8022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8025 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8026 if (PyErr_Occurred()) SWIG_fail
;
8028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8029 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8031 wxPyEndAllowThreads(__tstate
);
8032 if (PyErr_Occurred()) SWIG_fail
;
8034 Py_INCREF(Py_None
); resultobj
= Py_None
;
8041 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8042 PyObject
*resultobj
;
8043 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8046 PyObject
* obj0
= 0 ;
8047 PyObject
* obj1
= 0 ;
8049 (char *) "self",(char *) "size", NULL
8052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8057 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8061 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8063 wxPyEndAllowThreads(__tstate
);
8064 if (PyErr_Occurred()) SWIG_fail
;
8066 Py_INCREF(Py_None
); resultobj
= Py_None
;
8073 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8074 PyObject
*resultobj
;
8075 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8077 PyObject
* obj0
= 0 ;
8078 PyObject
* obj1
= 0 ;
8080 (char *) "self",(char *) "orientation", NULL
8083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8086 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8087 if (PyErr_Occurred()) SWIG_fail
;
8089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8090 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8092 wxPyEndAllowThreads(__tstate
);
8093 if (PyErr_Occurred()) SWIG_fail
;
8095 Py_INCREF(Py_None
); resultobj
= Py_None
;
8102 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8104 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8105 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8107 return Py_BuildValue((char *)"");
8109 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8110 PyObject
*resultobj
;
8111 wxLayoutAlgorithm
*result
;
8116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8119 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8121 wxPyEndAllowThreads(__tstate
);
8122 if (PyErr_Occurred()) SWIG_fail
;
8124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8131 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8132 PyObject
*resultobj
;
8133 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8134 PyObject
* obj0
= 0 ;
8136 (char *) "self", NULL
8139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8146 wxPyEndAllowThreads(__tstate
);
8147 if (PyErr_Occurred()) SWIG_fail
;
8149 Py_INCREF(Py_None
); resultobj
= Py_None
;
8156 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8157 PyObject
*resultobj
;
8158 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8159 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8160 wxRect
*arg3
= (wxRect
*) NULL
;
8162 PyObject
* obj0
= 0 ;
8163 PyObject
* obj1
= 0 ;
8164 PyObject
* obj2
= 0 ;
8166 (char *) "self",(char *) "frame",(char *) "rect", NULL
8169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8172 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8175 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8180 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8182 wxPyEndAllowThreads(__tstate
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8192 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
*resultobj
;
8194 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8195 wxFrame
*arg2
= (wxFrame
*) 0 ;
8196 wxWindow
*arg3
= (wxWindow
*) NULL
;
8198 PyObject
* obj0
= 0 ;
8199 PyObject
* obj1
= 0 ;
8200 PyObject
* obj2
= 0 ;
8202 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8208 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8211 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8216 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8218 wxPyEndAllowThreads(__tstate
);
8219 if (PyErr_Occurred()) SWIG_fail
;
8221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8228 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8229 PyObject
*resultobj
;
8230 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8231 wxWindow
*arg2
= (wxWindow
*) 0 ;
8232 wxWindow
*arg3
= (wxWindow
*) NULL
;
8234 PyObject
* obj0
= 0 ;
8235 PyObject
* obj1
= 0 ;
8236 PyObject
* obj2
= 0 ;
8238 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8244 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8247 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8252 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8254 wxPyEndAllowThreads(__tstate
);
8255 if (PyErr_Occurred()) SWIG_fail
;
8257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8264 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8267 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8269 return Py_BuildValue((char *)"");
8271 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8272 PyObject
*resultobj
;
8273 wxWindow
*arg1
= (wxWindow
*) 0 ;
8274 int arg2
= (int) wxBORDER_NONE
;
8275 wxPopupWindow
*result
;
8276 PyObject
* obj0
= 0 ;
8277 PyObject
* obj1
= 0 ;
8279 (char *) "parent",(char *) "flags", NULL
8282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8286 arg2
= (int) SWIG_AsInt(obj1
);
8287 if (PyErr_Occurred()) SWIG_fail
;
8290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8291 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8293 wxPyEndAllowThreads(__tstate
);
8294 if (PyErr_Occurred()) SWIG_fail
;
8296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8303 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8304 PyObject
*resultobj
;
8305 wxPopupWindow
*result
;
8310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8313 result
= (wxPopupWindow
*)new wxPopupWindow();
8315 wxPyEndAllowThreads(__tstate
);
8316 if (PyErr_Occurred()) SWIG_fail
;
8318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8325 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8326 PyObject
*resultobj
;
8327 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8328 wxWindow
*arg2
= (wxWindow
*) 0 ;
8329 int arg3
= (int) wxBORDER_NONE
;
8331 PyObject
* obj0
= 0 ;
8332 PyObject
* obj1
= 0 ;
8333 PyObject
* obj2
= 0 ;
8335 (char *) "self",(char *) "parent",(char *) "flags", NULL
8338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8341 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8344 arg3
= (int) SWIG_AsInt(obj2
);
8345 if (PyErr_Occurred()) SWIG_fail
;
8348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8349 result
= (bool)(arg1
)->Create(arg2
,arg3
);
8351 wxPyEndAllowThreads(__tstate
);
8352 if (PyErr_Occurred()) SWIG_fail
;
8354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8361 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8362 PyObject
*resultobj
;
8363 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8368 PyObject
* obj0
= 0 ;
8369 PyObject
* obj1
= 0 ;
8370 PyObject
* obj2
= 0 ;
8372 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8380 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8384 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
8387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8388 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8390 wxPyEndAllowThreads(__tstate
);
8391 if (PyErr_Occurred()) SWIG_fail
;
8393 Py_INCREF(Py_None
); resultobj
= Py_None
;
8400 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8402 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8403 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8405 return Py_BuildValue((char *)"");
8407 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8408 PyObject
*resultobj
;
8409 wxWindow
*arg1
= (wxWindow
*) 0 ;
8410 int arg2
= (int) wxBORDER_NONE
;
8411 wxPyPopupTransientWindow
*result
;
8412 PyObject
* obj0
= 0 ;
8413 PyObject
* obj1
= 0 ;
8415 (char *) "parent",(char *) "style", NULL
8418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8422 arg2
= (int) SWIG_AsInt(obj1
);
8423 if (PyErr_Occurred()) SWIG_fail
;
8426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8427 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8429 wxPyEndAllowThreads(__tstate
);
8430 if (PyErr_Occurred()) SWIG_fail
;
8432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8439 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8440 PyObject
*resultobj
;
8441 wxPyPopupTransientWindow
*result
;
8446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8449 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8451 wxPyEndAllowThreads(__tstate
);
8452 if (PyErr_Occurred()) SWIG_fail
;
8454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8461 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8462 PyObject
*resultobj
;
8463 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8464 PyObject
*arg2
= (PyObject
*) 0 ;
8465 PyObject
*arg3
= (PyObject
*) 0 ;
8466 PyObject
* obj0
= 0 ;
8467 PyObject
* obj1
= 0 ;
8468 PyObject
* obj2
= 0 ;
8470 (char *) "self",(char *) "self",(char *) "_class", NULL
8473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8480 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8482 wxPyEndAllowThreads(__tstate
);
8483 if (PyErr_Occurred()) SWIG_fail
;
8485 Py_INCREF(Py_None
); resultobj
= Py_None
;
8492 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8493 PyObject
*resultobj
;
8494 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8495 wxWindow
*arg2
= (wxWindow
*) NULL
;
8496 PyObject
* obj0
= 0 ;
8497 PyObject
* obj1
= 0 ;
8499 (char *) "self",(char *) "focus", NULL
8502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
8503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8506 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8511 (arg1
)->Popup(arg2
);
8513 wxPyEndAllowThreads(__tstate
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8516 Py_INCREF(Py_None
); resultobj
= Py_None
;
8523 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8524 PyObject
*resultobj
;
8525 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8526 PyObject
* obj0
= 0 ;
8528 (char *) "self", NULL
8531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
8532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8538 wxPyEndAllowThreads(__tstate
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8541 Py_INCREF(Py_None
); resultobj
= Py_None
;
8548 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8551 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8553 return Py_BuildValue((char *)"");
8555 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8556 PyObject
*resultobj
;
8557 wxWindow
*arg1
= (wxWindow
*) 0 ;
8558 wxString
*arg2
= 0 ;
8559 int arg3
= (int) 100 ;
8560 wxRect
*arg4
= (wxRect
*) NULL
;
8561 wxTipWindow
*result
;
8562 bool temp2
= False
;
8563 PyObject
* obj0
= 0 ;
8564 PyObject
* obj1
= 0 ;
8565 PyObject
* obj2
= 0 ;
8566 PyObject
* obj3
= 0 ;
8568 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8575 arg2
= wxString_in_helper(obj1
);
8576 if (arg2
== NULL
) SWIG_fail
;
8580 arg3
= (int) SWIG_AsInt(obj2
);
8581 if (PyErr_Occurred()) SWIG_fail
;
8584 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
8585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8589 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8591 wxPyEndAllowThreads(__tstate
);
8592 if (PyErr_Occurred()) SWIG_fail
;
8594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
8609 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8610 PyObject
*resultobj
;
8611 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8614 PyObject
* obj0
= 0 ;
8615 PyObject
* obj1
= 0 ;
8617 (char *) "self",(char *) "rectBound", NULL
8620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8625 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8629 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
8631 wxPyEndAllowThreads(__tstate
);
8632 if (PyErr_Occurred()) SWIG_fail
;
8634 Py_INCREF(Py_None
); resultobj
= Py_None
;
8641 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8642 PyObject
*resultobj
;
8643 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8644 PyObject
* obj0
= 0 ;
8646 (char *) "self", NULL
8649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
8650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8656 wxPyEndAllowThreads(__tstate
);
8657 if (PyErr_Occurred()) SWIG_fail
;
8659 Py_INCREF(Py_None
); resultobj
= Py_None
;
8666 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8668 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8669 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
8671 return Py_BuildValue((char *)"");
8673 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8674 PyObject
*resultobj
;
8675 wxWindow
*arg1
= (wxWindow
*) 0 ;
8676 int arg2
= (int) wxID_ANY
;
8677 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8678 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8679 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8680 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8681 long arg5
= (long) 0 ;
8682 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8683 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8684 wxPyVScrolledWindow
*result
;
8687 bool temp6
= False
;
8688 PyObject
* obj0
= 0 ;
8689 PyObject
* obj1
= 0 ;
8690 PyObject
* obj2
= 0 ;
8691 PyObject
* obj3
= 0 ;
8692 PyObject
* obj4
= 0 ;
8693 PyObject
* obj5
= 0 ;
8695 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8702 arg2
= (int) SWIG_AsInt(obj1
);
8703 if (PyErr_Occurred()) SWIG_fail
;
8708 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8714 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8718 arg5
= (long) SWIG_AsLong(obj4
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8723 arg6
= wxString_in_helper(obj5
);
8724 if (arg6
== NULL
) SWIG_fail
;
8729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8730 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8732 wxPyEndAllowThreads(__tstate
);
8733 if (PyErr_Occurred()) SWIG_fail
;
8735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8750 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8751 PyObject
*resultobj
;
8752 wxPyVScrolledWindow
*result
;
8757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
8759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8760 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
8762 wxPyEndAllowThreads(__tstate
);
8763 if (PyErr_Occurred()) SWIG_fail
;
8765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8772 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8773 PyObject
*resultobj
;
8774 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8775 PyObject
*arg2
= (PyObject
*) 0 ;
8776 PyObject
*arg3
= (PyObject
*) 0 ;
8777 PyObject
* obj0
= 0 ;
8778 PyObject
* obj1
= 0 ;
8779 PyObject
* obj2
= 0 ;
8781 (char *) "self",(char *) "self",(char *) "_class", NULL
8784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8791 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8793 wxPyEndAllowThreads(__tstate
);
8794 if (PyErr_Occurred()) SWIG_fail
;
8796 Py_INCREF(Py_None
); resultobj
= Py_None
;
8803 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8804 PyObject
*resultobj
;
8805 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8806 wxWindow
*arg2
= (wxWindow
*) 0 ;
8807 int arg3
= (int) wxID_ANY
;
8808 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8809 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8810 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8811 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8812 long arg6
= (long) 0 ;
8813 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
8814 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8818 bool temp7
= False
;
8819 PyObject
* obj0
= 0 ;
8820 PyObject
* obj1
= 0 ;
8821 PyObject
* obj2
= 0 ;
8822 PyObject
* obj3
= 0 ;
8823 PyObject
* obj4
= 0 ;
8824 PyObject
* obj5
= 0 ;
8825 PyObject
* obj6
= 0 ;
8827 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8833 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8836 arg3
= (int) SWIG_AsInt(obj2
);
8837 if (PyErr_Occurred()) SWIG_fail
;
8842 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8848 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8852 arg6
= (long) SWIG_AsLong(obj5
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8857 arg7
= wxString_in_helper(obj6
);
8858 if (arg7
== NULL
) SWIG_fail
;
8863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8864 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8866 wxPyEndAllowThreads(__tstate
);
8867 if (PyErr_Occurred()) SWIG_fail
;
8869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8884 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8885 PyObject
*resultobj
;
8886 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8888 PyObject
* obj0
= 0 ;
8889 PyObject
* obj1
= 0 ;
8891 (char *) "self",(char *) "count", NULL
8894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8897 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8898 if (PyErr_Occurred()) SWIG_fail
;
8900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8901 (arg1
)->SetLineCount(arg2
);
8903 wxPyEndAllowThreads(__tstate
);
8904 if (PyErr_Occurred()) SWIG_fail
;
8906 Py_INCREF(Py_None
); resultobj
= Py_None
;
8913 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8914 PyObject
*resultobj
;
8915 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8918 PyObject
* obj0
= 0 ;
8919 PyObject
* obj1
= 0 ;
8921 (char *) "self",(char *) "line", NULL
8924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8927 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8928 if (PyErr_Occurred()) SWIG_fail
;
8930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8931 result
= (bool)(arg1
)->ScrollToLine(arg2
);
8933 wxPyEndAllowThreads(__tstate
);
8934 if (PyErr_Occurred()) SWIG_fail
;
8936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8943 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8944 PyObject
*resultobj
;
8945 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8948 PyObject
* obj0
= 0 ;
8949 PyObject
* obj1
= 0 ;
8951 (char *) "self",(char *) "lines", NULL
8954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
8955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8957 arg2
= (int) SWIG_AsInt(obj1
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8961 result
= (bool)(arg1
)->ScrollLines(arg2
);
8963 wxPyEndAllowThreads(__tstate
);
8964 if (PyErr_Occurred()) SWIG_fail
;
8966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8973 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8974 PyObject
*resultobj
;
8975 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8978 PyObject
* obj0
= 0 ;
8979 PyObject
* obj1
= 0 ;
8981 (char *) "self",(char *) "pages", NULL
8984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
8985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8987 arg2
= (int) SWIG_AsInt(obj1
);
8988 if (PyErr_Occurred()) SWIG_fail
;
8990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8991 result
= (bool)(arg1
)->ScrollPages(arg2
);
8993 wxPyEndAllowThreads(__tstate
);
8994 if (PyErr_Occurred()) SWIG_fail
;
8996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9003 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9004 PyObject
*resultobj
;
9005 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9007 PyObject
* obj0
= 0 ;
9008 PyObject
* obj1
= 0 ;
9010 (char *) "self",(char *) "line", NULL
9013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9016 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9017 if (PyErr_Occurred()) SWIG_fail
;
9019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9020 (arg1
)->RefreshLine(arg2
);
9022 wxPyEndAllowThreads(__tstate
);
9023 if (PyErr_Occurred()) SWIG_fail
;
9025 Py_INCREF(Py_None
); resultobj
= Py_None
;
9032 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9033 PyObject
*resultobj
;
9034 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9037 PyObject
* obj0
= 0 ;
9038 PyObject
* obj1
= 0 ;
9039 PyObject
* obj2
= 0 ;
9041 (char *) "self",(char *) "from",(char *) "to", NULL
9044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9047 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9048 if (PyErr_Occurred()) SWIG_fail
;
9049 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9053 (arg1
)->RefreshLines(arg2
,arg3
);
9055 wxPyEndAllowThreads(__tstate
);
9056 if (PyErr_Occurred()) SWIG_fail
;
9058 Py_INCREF(Py_None
); resultobj
= Py_None
;
9065 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9066 PyObject
*resultobj
;
9067 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9071 PyObject
* obj0
= 0 ;
9072 PyObject
* obj1
= 0 ;
9073 PyObject
* obj2
= 0 ;
9075 (char *) "self",(char *) "x",(char *) "y", NULL
9078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9081 arg2
= (int) SWIG_AsInt(obj1
);
9082 if (PyErr_Occurred()) SWIG_fail
;
9083 arg3
= (int) SWIG_AsInt(obj2
);
9084 if (PyErr_Occurred()) SWIG_fail
;
9086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9087 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9089 wxPyEndAllowThreads(__tstate
);
9090 if (PyErr_Occurred()) SWIG_fail
;
9092 resultobj
= SWIG_FromInt((int)result
);
9099 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9100 PyObject
*resultobj
;
9101 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9105 PyObject
* obj0
= 0 ;
9106 PyObject
* obj1
= 0 ;
9108 (char *) "self",(char *) "pt", NULL
9111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9116 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9125 resultobj
= SWIG_FromInt((int)result
);
9132 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9133 PyObject
*resultobj
;
9134 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9135 PyObject
* obj0
= 0 ;
9137 (char *) "self", NULL
9140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9145 (arg1
)->RefreshAll();
9147 wxPyEndAllowThreads(__tstate
);
9148 if (PyErr_Occurred()) SWIG_fail
;
9150 Py_INCREF(Py_None
); resultobj
= Py_None
;
9157 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9158 PyObject
*resultobj
;
9159 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9161 PyObject
* obj0
= 0 ;
9163 (char *) "self", NULL
9166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9171 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9173 wxPyEndAllowThreads(__tstate
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9176 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9183 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9184 PyObject
*resultobj
;
9185 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9187 PyObject
* obj0
= 0 ;
9189 (char *) "self", NULL
9192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9197 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9199 wxPyEndAllowThreads(__tstate
);
9200 if (PyErr_Occurred()) SWIG_fail
;
9202 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9209 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9210 PyObject
*resultobj
;
9211 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9213 PyObject
* obj0
= 0 ;
9215 (char *) "self", NULL
9218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9223 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9225 wxPyEndAllowThreads(__tstate
);
9226 if (PyErr_Occurred()) SWIG_fail
;
9228 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9235 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9236 PyObject
*resultobj
;
9237 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9240 PyObject
* obj0
= 0 ;
9241 PyObject
* obj1
= 0 ;
9243 (char *) "self",(char *) "line", NULL
9246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9249 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9253 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9255 wxPyEndAllowThreads(__tstate
);
9256 if (PyErr_Occurred()) SWIG_fail
;
9258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9265 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9267 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9268 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9270 return Py_BuildValue((char *)"");
9272 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9273 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9278 static PyObject
*_wrap_VListBoxNameStr_get() {
9283 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9285 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9292 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9293 PyObject
*resultobj
;
9294 wxWindow
*arg1
= (wxWindow
*) 0 ;
9295 int arg2
= (int) wxID_ANY
;
9296 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9297 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9298 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9299 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9300 long arg5
= (long) 0 ;
9301 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9302 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9303 wxPyVListBox
*result
;
9306 bool temp6
= False
;
9307 PyObject
* obj0
= 0 ;
9308 PyObject
* obj1
= 0 ;
9309 PyObject
* obj2
= 0 ;
9310 PyObject
* obj3
= 0 ;
9311 PyObject
* obj4
= 0 ;
9312 PyObject
* obj5
= 0 ;
9314 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9321 arg2
= (int) SWIG_AsInt(obj1
);
9322 if (PyErr_Occurred()) SWIG_fail
;
9327 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9333 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9337 arg5
= (long) SWIG_AsLong(obj4
);
9338 if (PyErr_Occurred()) SWIG_fail
;
9342 arg6
= wxString_in_helper(obj5
);
9343 if (arg6
== NULL
) SWIG_fail
;
9348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9349 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9351 wxPyEndAllowThreads(__tstate
);
9352 if (PyErr_Occurred()) SWIG_fail
;
9354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9369 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9370 PyObject
*resultobj
;
9371 wxPyVListBox
*result
;
9376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9379 result
= (wxPyVListBox
*)new wxPyVListBox();
9381 wxPyEndAllowThreads(__tstate
);
9382 if (PyErr_Occurred()) SWIG_fail
;
9384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9391 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9392 PyObject
*resultobj
;
9393 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9394 PyObject
*arg2
= (PyObject
*) 0 ;
9395 PyObject
*arg3
= (PyObject
*) 0 ;
9396 PyObject
* obj0
= 0 ;
9397 PyObject
* obj1
= 0 ;
9398 PyObject
* obj2
= 0 ;
9400 (char *) "self",(char *) "self",(char *) "_class", NULL
9403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9410 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9412 wxPyEndAllowThreads(__tstate
);
9413 if (PyErr_Occurred()) SWIG_fail
;
9415 Py_INCREF(Py_None
); resultobj
= Py_None
;
9422 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9423 PyObject
*resultobj
;
9424 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9425 wxWindow
*arg2
= (wxWindow
*) 0 ;
9426 int arg3
= (int) wxID_ANY
;
9427 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9428 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9429 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9430 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9431 long arg6
= (long) 0 ;
9432 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9433 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9437 bool temp7
= False
;
9438 PyObject
* obj0
= 0 ;
9439 PyObject
* obj1
= 0 ;
9440 PyObject
* obj2
= 0 ;
9441 PyObject
* obj3
= 0 ;
9442 PyObject
* obj4
= 0 ;
9443 PyObject
* obj5
= 0 ;
9444 PyObject
* obj6
= 0 ;
9446 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9452 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9455 arg3
= (int) SWIG_AsInt(obj2
);
9456 if (PyErr_Occurred()) SWIG_fail
;
9461 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9467 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9471 arg6
= (long) SWIG_AsLong(obj5
);
9472 if (PyErr_Occurred()) SWIG_fail
;
9476 arg7
= wxString_in_helper(obj6
);
9477 if (arg7
== NULL
) SWIG_fail
;
9482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9483 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9485 wxPyEndAllowThreads(__tstate
);
9486 if (PyErr_Occurred()) SWIG_fail
;
9488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9503 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9504 PyObject
*resultobj
;
9505 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9507 PyObject
* obj0
= 0 ;
9509 (char *) "self", NULL
9512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9517 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9519 wxPyEndAllowThreads(__tstate
);
9520 if (PyErr_Occurred()) SWIG_fail
;
9522 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9529 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
*resultobj
;
9531 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9533 PyObject
* obj0
= 0 ;
9535 (char *) "self", NULL
9538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9543 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9545 wxPyEndAllowThreads(__tstate
);
9546 if (PyErr_Occurred()) SWIG_fail
;
9548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9555 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9556 PyObject
*resultobj
;
9557 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9559 PyObject
* obj0
= 0 ;
9561 (char *) "self", NULL
9564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9569 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9571 wxPyEndAllowThreads(__tstate
);
9572 if (PyErr_Occurred()) SWIG_fail
;
9574 resultobj
= SWIG_FromInt((int)result
);
9581 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9582 PyObject
*resultobj
;
9583 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9586 PyObject
* obj0
= 0 ;
9587 PyObject
* obj1
= 0 ;
9589 (char *) "self",(char *) "item", NULL
9592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9595 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9596 if (PyErr_Occurred()) SWIG_fail
;
9598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9599 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9611 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9612 PyObject
*resultobj
;
9613 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9616 PyObject
* obj0
= 0 ;
9617 PyObject
* obj1
= 0 ;
9619 (char *) "self",(char *) "item", NULL
9622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9625 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9626 if (PyErr_Occurred()) SWIG_fail
;
9628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9629 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
9631 wxPyEndAllowThreads(__tstate
);
9632 if (PyErr_Occurred()) SWIG_fail
;
9634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9641 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9642 PyObject
*resultobj
;
9643 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9645 PyObject
* obj0
= 0 ;
9647 (char *) "self", NULL
9650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
9651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
9657 wxPyEndAllowThreads(__tstate
);
9658 if (PyErr_Occurred()) SWIG_fail
;
9660 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9667 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9668 PyObject
*resultobj
;
9669 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9670 unsigned long *arg2
= 0 ;
9672 PyObject
* obj0
= 0 ;
9673 PyObject
* obj1
= 0 ;
9675 (char *) "self",(char *) "cookie", NULL
9678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9681 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9682 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9685 PyErr_SetString(PyExc_TypeError
,"null reference");
9689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9690 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
9692 wxPyEndAllowThreads(__tstate
);
9693 if (PyErr_Occurred()) SWIG_fail
;
9695 resultobj
= SWIG_FromInt((int)result
);
9702 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9703 PyObject
*resultobj
;
9704 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9705 unsigned long *arg2
= 0 ;
9707 PyObject
* obj0
= 0 ;
9708 PyObject
* obj1
= 0 ;
9710 (char *) "self",(char *) "cookie", NULL
9713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9716 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9717 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9720 PyErr_SetString(PyExc_TypeError
,"null reference");
9724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
9727 wxPyEndAllowThreads(__tstate
);
9728 if (PyErr_Occurred()) SWIG_fail
;
9730 resultobj
= SWIG_FromInt((int)result
);
9737 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9738 PyObject
*resultobj
;
9739 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9741 PyObject
* obj0
= 0 ;
9743 (char *) "self", NULL
9746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
9747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9751 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
9753 wxPyEndAllowThreads(__tstate
);
9754 if (PyErr_Occurred()) SWIG_fail
;
9757 wxPoint
* resultptr
;
9758 resultptr
= new wxPoint((wxPoint
&) result
);
9759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9767 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9768 PyObject
*resultobj
;
9769 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9771 PyObject
* obj0
= 0 ;
9773 (char *) "self", NULL
9776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
9777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9782 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
9783 result
= (wxColour
*) &_result_ref
;
9786 wxPyEndAllowThreads(__tstate
);
9787 if (PyErr_Occurred()) SWIG_fail
;
9789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9796 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9797 PyObject
*resultobj
;
9798 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9800 PyObject
* obj0
= 0 ;
9801 PyObject
* obj1
= 0 ;
9803 (char *) "self",(char *) "count", NULL
9806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9809 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9810 if (PyErr_Occurred()) SWIG_fail
;
9812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9813 (arg1
)->SetItemCount(arg2
);
9815 wxPyEndAllowThreads(__tstate
);
9816 if (PyErr_Occurred()) SWIG_fail
;
9818 Py_INCREF(Py_None
); resultobj
= Py_None
;
9825 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9826 PyObject
*resultobj
;
9827 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9828 PyObject
* obj0
= 0 ;
9830 (char *) "self", NULL
9833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
9834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9840 wxPyEndAllowThreads(__tstate
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9843 Py_INCREF(Py_None
); resultobj
= Py_None
;
9850 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9851 PyObject
*resultobj
;
9852 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9854 PyObject
* obj0
= 0 ;
9855 PyObject
* obj1
= 0 ;
9857 (char *) "self",(char *) "selection", NULL
9860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9863 arg2
= (int) SWIG_AsInt(obj1
);
9864 if (PyErr_Occurred()) SWIG_fail
;
9866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9867 (arg1
)->SetSelection(arg2
);
9869 wxPyEndAllowThreads(__tstate
);
9870 if (PyErr_Occurred()) SWIG_fail
;
9872 Py_INCREF(Py_None
); resultobj
= Py_None
;
9879 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9880 PyObject
*resultobj
;
9881 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9883 bool arg3
= (bool) True
;
9885 PyObject
* obj0
= 0 ;
9886 PyObject
* obj1
= 0 ;
9887 PyObject
* obj2
= 0 ;
9889 (char *) "self",(char *) "item",(char *) "select", NULL
9892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9895 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9896 if (PyErr_Occurred()) SWIG_fail
;
9898 arg3
= (bool) SWIG_AsBool(obj2
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9903 result
= (bool)(arg1
)->Select(arg2
,arg3
);
9905 wxPyEndAllowThreads(__tstate
);
9906 if (PyErr_Occurred()) SWIG_fail
;
9908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9915 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9916 PyObject
*resultobj
;
9917 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9921 PyObject
* obj0
= 0 ;
9922 PyObject
* obj1
= 0 ;
9923 PyObject
* obj2
= 0 ;
9925 (char *) "self",(char *) "from",(char *) "to", NULL
9928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9931 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9932 if (PyErr_Occurred()) SWIG_fail
;
9933 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9934 if (PyErr_Occurred()) SWIG_fail
;
9936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9937 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
9939 wxPyEndAllowThreads(__tstate
);
9940 if (PyErr_Occurred()) SWIG_fail
;
9942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9949 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9950 PyObject
*resultobj
;
9951 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9953 PyObject
* obj0
= 0 ;
9954 PyObject
* obj1
= 0 ;
9956 (char *) "self",(char *) "item", NULL
9959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
9960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9962 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9963 if (PyErr_Occurred()) SWIG_fail
;
9965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9966 (arg1
)->Toggle(arg2
);
9968 wxPyEndAllowThreads(__tstate
);
9969 if (PyErr_Occurred()) SWIG_fail
;
9971 Py_INCREF(Py_None
); resultobj
= Py_None
;
9978 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9979 PyObject
*resultobj
;
9980 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9982 PyObject
* obj0
= 0 ;
9984 (char *) "self", NULL
9987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
9988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9992 result
= (bool)(arg1
)->SelectAll();
9994 wxPyEndAllowThreads(__tstate
);
9995 if (PyErr_Occurred()) SWIG_fail
;
9997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10004 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10005 PyObject
*resultobj
;
10006 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10008 PyObject
* obj0
= 0 ;
10009 char *kwnames
[] = {
10010 (char *) "self", NULL
10013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10018 result
= (bool)(arg1
)->DeselectAll();
10020 wxPyEndAllowThreads(__tstate
);
10021 if (PyErr_Occurred()) SWIG_fail
;
10023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10030 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10031 PyObject
*resultobj
;
10032 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10033 wxPoint
*arg2
= 0 ;
10035 PyObject
* obj0
= 0 ;
10036 PyObject
* obj1
= 0 ;
10037 char *kwnames
[] = {
10038 (char *) "self",(char *) "pt", NULL
10041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10046 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10050 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10052 wxPyEndAllowThreads(__tstate
);
10053 if (PyErr_Occurred()) SWIG_fail
;
10055 Py_INCREF(Py_None
); resultobj
= Py_None
;
10062 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10063 PyObject
*resultobj
;
10064 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10067 PyObject
* obj0
= 0 ;
10068 PyObject
* obj1
= 0 ;
10069 PyObject
* obj2
= 0 ;
10070 char *kwnames
[] = {
10071 (char *) "self",(char *) "x",(char *) "y", NULL
10074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10077 arg2
= (int) SWIG_AsInt(obj1
);
10078 if (PyErr_Occurred()) SWIG_fail
;
10079 arg3
= (int) SWIG_AsInt(obj2
);
10080 if (PyErr_Occurred()) SWIG_fail
;
10082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10083 (arg1
)->SetMargins(arg2
,arg3
);
10085 wxPyEndAllowThreads(__tstate
);
10086 if (PyErr_Occurred()) SWIG_fail
;
10088 Py_INCREF(Py_None
); resultobj
= Py_None
;
10095 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10096 PyObject
*resultobj
;
10097 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10098 wxColour
*arg2
= 0 ;
10100 PyObject
* obj0
= 0 ;
10101 PyObject
* obj1
= 0 ;
10102 char *kwnames
[] = {
10103 (char *) "self",(char *) "col", NULL
10106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10111 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10115 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10117 wxPyEndAllowThreads(__tstate
);
10118 if (PyErr_Occurred()) SWIG_fail
;
10120 Py_INCREF(Py_None
); resultobj
= Py_None
;
10127 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10130 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10132 return Py_BuildValue((char *)"");
10134 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10135 PyObject
*resultobj
;
10136 wxWindow
*arg1
= (wxWindow
*) 0 ;
10137 int arg2
= (int) wxID_ANY
;
10138 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10139 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10140 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10141 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10142 long arg5
= (long) 0 ;
10143 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10144 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10145 wxPyHtmlListBox
*result
;
10148 bool temp6
= False
;
10149 PyObject
* obj0
= 0 ;
10150 PyObject
* obj1
= 0 ;
10151 PyObject
* obj2
= 0 ;
10152 PyObject
* obj3
= 0 ;
10153 PyObject
* obj4
= 0 ;
10154 PyObject
* obj5
= 0 ;
10155 char *kwnames
[] = {
10156 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10163 arg2
= (int) SWIG_AsInt(obj1
);
10164 if (PyErr_Occurred()) SWIG_fail
;
10169 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10175 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10179 arg5
= (long) SWIG_AsLong(obj4
);
10180 if (PyErr_Occurred()) SWIG_fail
;
10184 arg6
= wxString_in_helper(obj5
);
10185 if (arg6
== NULL
) SWIG_fail
;
10190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10191 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10193 wxPyEndAllowThreads(__tstate
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10211 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10212 PyObject
*resultobj
;
10213 wxPyHtmlListBox
*result
;
10214 char *kwnames
[] = {
10218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10221 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10223 wxPyEndAllowThreads(__tstate
);
10224 if (PyErr_Occurred()) SWIG_fail
;
10226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10233 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10234 PyObject
*resultobj
;
10235 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10236 PyObject
*arg2
= (PyObject
*) 0 ;
10237 PyObject
*arg3
= (PyObject
*) 0 ;
10238 PyObject
* obj0
= 0 ;
10239 PyObject
* obj1
= 0 ;
10240 PyObject
* obj2
= 0 ;
10241 char *kwnames
[] = {
10242 (char *) "self",(char *) "self",(char *) "_class", NULL
10245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10252 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10254 wxPyEndAllowThreads(__tstate
);
10255 if (PyErr_Occurred()) SWIG_fail
;
10257 Py_INCREF(Py_None
); resultobj
= Py_None
;
10264 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10265 PyObject
*resultobj
;
10266 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10267 wxWindow
*arg2
= (wxWindow
*) 0 ;
10268 int arg3
= (int) wxID_ANY
;
10269 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10270 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10271 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10272 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10273 long arg6
= (long) 0 ;
10274 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10275 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10279 bool temp7
= False
;
10280 PyObject
* obj0
= 0 ;
10281 PyObject
* obj1
= 0 ;
10282 PyObject
* obj2
= 0 ;
10283 PyObject
* obj3
= 0 ;
10284 PyObject
* obj4
= 0 ;
10285 PyObject
* obj5
= 0 ;
10286 PyObject
* obj6
= 0 ;
10287 char *kwnames
[] = {
10288 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10294 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10297 arg3
= (int) SWIG_AsInt(obj2
);
10298 if (PyErr_Occurred()) SWIG_fail
;
10303 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10309 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10313 arg6
= (long) SWIG_AsLong(obj5
);
10314 if (PyErr_Occurred()) SWIG_fail
;
10318 arg7
= wxString_in_helper(obj6
);
10319 if (arg7
== NULL
) SWIG_fail
;
10324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10325 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10327 wxPyEndAllowThreads(__tstate
);
10328 if (PyErr_Occurred()) SWIG_fail
;
10330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10345 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10346 PyObject
*resultobj
;
10347 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10348 PyObject
* obj0
= 0 ;
10349 char *kwnames
[] = {
10350 (char *) "self", NULL
10353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10358 (arg1
)->RefreshAll();
10360 wxPyEndAllowThreads(__tstate
);
10361 if (PyErr_Occurred()) SWIG_fail
;
10363 Py_INCREF(Py_None
); resultobj
= Py_None
;
10370 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10371 PyObject
*resultobj
;
10372 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10374 PyObject
* obj0
= 0 ;
10375 PyObject
* obj1
= 0 ;
10376 char *kwnames
[] = {
10377 (char *) "self",(char *) "count", NULL
10380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10383 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10384 if (PyErr_Occurred()) SWIG_fail
;
10386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10387 (arg1
)->SetItemCount(arg2
);
10389 wxPyEndAllowThreads(__tstate
);
10390 if (PyErr_Occurred()) SWIG_fail
;
10392 Py_INCREF(Py_None
); resultobj
= Py_None
;
10399 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10402 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10404 return Py_BuildValue((char *)"");
10406 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10407 PyObject
*resultobj
;
10408 wxTaskBarIcon
*result
;
10409 char *kwnames
[] = {
10413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10416 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10418 wxPyEndAllowThreads(__tstate
);
10419 if (PyErr_Occurred()) SWIG_fail
;
10421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10428 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10429 PyObject
*resultobj
;
10430 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10431 PyObject
* obj0
= 0 ;
10432 char *kwnames
[] = {
10433 (char *) "self", NULL
10436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10443 wxPyEndAllowThreads(__tstate
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10446 Py_INCREF(Py_None
); resultobj
= Py_None
;
10453 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10454 PyObject
*resultobj
;
10455 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10457 PyObject
* obj0
= 0 ;
10458 char *kwnames
[] = {
10459 (char *) "self", NULL
10462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
10463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10467 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
10469 wxPyEndAllowThreads(__tstate
);
10470 if (PyErr_Occurred()) SWIG_fail
;
10472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10479 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10480 PyObject
*resultobj
;
10481 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10483 PyObject
* obj0
= 0 ;
10484 char *kwnames
[] = {
10485 (char *) "self", NULL
10488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
10489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10493 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
10495 wxPyEndAllowThreads(__tstate
);
10496 if (PyErr_Occurred()) SWIG_fail
;
10498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10505 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10506 PyObject
*resultobj
;
10507 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10509 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10510 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10512 bool temp3
= False
;
10513 PyObject
* obj0
= 0 ;
10514 PyObject
* obj1
= 0 ;
10515 PyObject
* obj2
= 0 ;
10516 char *kwnames
[] = {
10517 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10523 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
10524 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10526 if (arg2
== NULL
) {
10527 PyErr_SetString(PyExc_TypeError
,"null reference");
10532 arg3
= wxString_in_helper(obj2
);
10533 if (arg3
== NULL
) SWIG_fail
;
10538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10539 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
10541 wxPyEndAllowThreads(__tstate
);
10542 if (PyErr_Occurred()) SWIG_fail
;
10544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10559 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10560 PyObject
*resultobj
;
10561 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10563 PyObject
* obj0
= 0 ;
10564 char *kwnames
[] = {
10565 (char *) "self", NULL
10568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
10569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10573 result
= (bool)(arg1
)->RemoveIcon();
10575 wxPyEndAllowThreads(__tstate
);
10576 if (PyErr_Occurred()) SWIG_fail
;
10578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10585 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10586 PyObject
*resultobj
;
10587 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10588 wxMenu
*arg2
= (wxMenu
*) 0 ;
10590 PyObject
* obj0
= 0 ;
10591 PyObject
* obj1
= 0 ;
10592 char *kwnames
[] = {
10593 (char *) "self",(char *) "menu", NULL
10596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
10597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10599 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
10600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 result
= (bool)(arg1
)->PopupMenu(arg2
);
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10615 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
10617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10618 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
10620 return Py_BuildValue((char *)"");
10622 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10623 PyObject
*resultobj
;
10625 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
10626 wxTaskBarIconEvent
*result
;
10627 PyObject
* obj0
= 0 ;
10628 PyObject
* obj1
= 0 ;
10629 char *kwnames
[] = {
10630 (char *) "evtType",(char *) "tbIcon", NULL
10633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10634 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10635 if (PyErr_Occurred()) SWIG_fail
;
10636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
10637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10640 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
10642 wxPyEndAllowThreads(__tstate
);
10643 if (PyErr_Occurred()) SWIG_fail
;
10645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
10652 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10654 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10655 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
10657 return Py_BuildValue((char *)"");
10659 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
10660 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
10665 static PyObject
*_wrap_FileSelectorPromptStr_get() {
10670 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10672 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10679 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
10680 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
10685 static PyObject
*_wrap_DirSelectorPromptStr_get() {
10690 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10692 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10699 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
10700 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
10705 static PyObject
*_wrap_DirDialogNameStr_get() {
10710 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10712 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10719 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
10720 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
10725 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
10730 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10732 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10739 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
10740 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
10745 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
10750 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10752 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10759 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
10760 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
10765 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
10770 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10772 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10779 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10780 PyObject
*resultobj
;
10781 wxColourData
*result
;
10782 char *kwnames
[] = {
10786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
10788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10789 result
= (wxColourData
*)new wxColourData();
10791 wxPyEndAllowThreads(__tstate
);
10792 if (PyErr_Occurred()) SWIG_fail
;
10794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
10801 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10802 PyObject
*resultobj
;
10803 wxColourData
*arg1
= (wxColourData
*) 0 ;
10804 PyObject
* obj0
= 0 ;
10805 char *kwnames
[] = {
10806 (char *) "self", NULL
10809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
10810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10816 wxPyEndAllowThreads(__tstate
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10819 Py_INCREF(Py_None
); resultobj
= Py_None
;
10826 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10827 PyObject
*resultobj
;
10828 wxColourData
*arg1
= (wxColourData
*) 0 ;
10830 PyObject
* obj0
= 0 ;
10831 char *kwnames
[] = {
10832 (char *) "self", NULL
10835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
10836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10840 result
= (bool)(arg1
)->GetChooseFull();
10842 wxPyEndAllowThreads(__tstate
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10852 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10853 PyObject
*resultobj
;
10854 wxColourData
*arg1
= (wxColourData
*) 0 ;
10856 PyObject
* obj0
= 0 ;
10857 char *kwnames
[] = {
10858 (char *) "self", NULL
10861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
10862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10866 result
= (arg1
)->GetColour();
10868 wxPyEndAllowThreads(__tstate
);
10869 if (PyErr_Occurred()) SWIG_fail
;
10872 wxColour
* resultptr
;
10873 resultptr
= new wxColour((wxColour
&) result
);
10874 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10882 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10883 PyObject
*resultobj
;
10884 wxColourData
*arg1
= (wxColourData
*) 0 ;
10887 PyObject
* obj0
= 0 ;
10888 PyObject
* obj1
= 0 ;
10889 char *kwnames
[] = {
10890 (char *) "self",(char *) "i", NULL
10893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10896 arg2
= (int) SWIG_AsInt(obj1
);
10897 if (PyErr_Occurred()) SWIG_fail
;
10899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10900 result
= (arg1
)->GetCustomColour(arg2
);
10902 wxPyEndAllowThreads(__tstate
);
10903 if (PyErr_Occurred()) SWIG_fail
;
10906 wxColour
* resultptr
;
10907 resultptr
= new wxColour((wxColour
&) result
);
10908 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10916 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10917 PyObject
*resultobj
;
10918 wxColourData
*arg1
= (wxColourData
*) 0 ;
10920 PyObject
* obj0
= 0 ;
10921 PyObject
* obj1
= 0 ;
10922 char *kwnames
[] = {
10923 (char *) "self",(char *) "flag", NULL
10926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
10927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10929 arg2
= (int) SWIG_AsInt(obj1
);
10930 if (PyErr_Occurred()) SWIG_fail
;
10932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10933 (arg1
)->SetChooseFull(arg2
);
10935 wxPyEndAllowThreads(__tstate
);
10936 if (PyErr_Occurred()) SWIG_fail
;
10938 Py_INCREF(Py_None
); resultobj
= Py_None
;
10945 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10946 PyObject
*resultobj
;
10947 wxColourData
*arg1
= (wxColourData
*) 0 ;
10948 wxColour
*arg2
= 0 ;
10950 PyObject
* obj0
= 0 ;
10951 PyObject
* obj1
= 0 ;
10952 char *kwnames
[] = {
10953 (char *) "self",(char *) "colour", NULL
10956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10961 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10965 (arg1
)->SetColour((wxColour
const &)*arg2
);
10967 wxPyEndAllowThreads(__tstate
);
10968 if (PyErr_Occurred()) SWIG_fail
;
10970 Py_INCREF(Py_None
); resultobj
= Py_None
;
10977 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10978 PyObject
*resultobj
;
10979 wxColourData
*arg1
= (wxColourData
*) 0 ;
10981 wxColour
*arg3
= 0 ;
10983 PyObject
* obj0
= 0 ;
10984 PyObject
* obj1
= 0 ;
10985 PyObject
* obj2
= 0 ;
10986 char *kwnames
[] = {
10987 (char *) "self",(char *) "i",(char *) "colour", NULL
10990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10993 arg2
= (int) SWIG_AsInt(obj1
);
10994 if (PyErr_Occurred()) SWIG_fail
;
10997 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11001 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11003 wxPyEndAllowThreads(__tstate
);
11004 if (PyErr_Occurred()) SWIG_fail
;
11006 Py_INCREF(Py_None
); resultobj
= Py_None
;
11013 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
11015 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11016 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11018 return Py_BuildValue((char *)"");
11020 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11021 PyObject
*resultobj
;
11022 wxWindow
*arg1
= (wxWindow
*) 0 ;
11023 wxColourData
*arg2
= (wxColourData
*) NULL
;
11024 wxColourDialog
*result
;
11025 PyObject
* obj0
= 0 ;
11026 PyObject
* obj1
= 0 ;
11027 char *kwnames
[] = {
11028 (char *) "parent",(char *) "data", NULL
11031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11035 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11040 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11042 wxPyEndAllowThreads(__tstate
);
11043 if (PyErr_Occurred()) SWIG_fail
;
11045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11052 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11053 PyObject
*resultobj
;
11054 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11055 wxColourData
*result
;
11056 PyObject
* obj0
= 0 ;
11057 char *kwnames
[] = {
11058 (char *) "self", NULL
11061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11067 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11068 result
= (wxColourData
*) &_result_ref
;
11071 wxPyEndAllowThreads(__tstate
);
11072 if (PyErr_Occurred()) SWIG_fail
;
11074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11081 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11084 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11086 return Py_BuildValue((char *)"");
11088 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11089 PyObject
*resultobj
;
11090 wxWindow
*arg1
= (wxWindow
*) 0 ;
11091 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11092 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11093 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11094 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11095 long arg4
= (long) 0 ;
11096 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11097 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11098 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11099 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11100 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11101 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11102 wxDirDialog
*result
;
11103 bool temp2
= False
;
11104 bool temp3
= False
;
11107 bool temp7
= False
;
11108 PyObject
* obj0
= 0 ;
11109 PyObject
* obj1
= 0 ;
11110 PyObject
* obj2
= 0 ;
11111 PyObject
* obj3
= 0 ;
11112 PyObject
* obj4
= 0 ;
11113 PyObject
* obj5
= 0 ;
11114 PyObject
* obj6
= 0 ;
11115 char *kwnames
[] = {
11116 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11124 arg2
= wxString_in_helper(obj1
);
11125 if (arg2
== NULL
) SWIG_fail
;
11131 arg3
= wxString_in_helper(obj2
);
11132 if (arg3
== NULL
) SWIG_fail
;
11137 arg4
= (long) SWIG_AsLong(obj3
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11143 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11149 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11154 arg7
= wxString_in_helper(obj6
);
11155 if (arg7
== NULL
) SWIG_fail
;
11160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11161 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11163 wxPyEndAllowThreads(__tstate
);
11164 if (PyErr_Occurred()) SWIG_fail
;
11166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11197 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11198 PyObject
*resultobj
;
11199 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11201 PyObject
* obj0
= 0 ;
11202 char *kwnames
[] = {
11203 (char *) "self", NULL
11206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11211 result
= (arg1
)->GetPath();
11213 wxPyEndAllowThreads(__tstate
);
11214 if (PyErr_Occurred()) SWIG_fail
;
11218 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11220 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11229 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11230 PyObject
*resultobj
;
11231 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11233 PyObject
* obj0
= 0 ;
11234 char *kwnames
[] = {
11235 (char *) "self", NULL
11238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11243 result
= (arg1
)->GetMessage();
11245 wxPyEndAllowThreads(__tstate
);
11246 if (PyErr_Occurred()) SWIG_fail
;
11250 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11252 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11261 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11262 PyObject
*resultobj
;
11263 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11265 PyObject
* obj0
= 0 ;
11266 char *kwnames
[] = {
11267 (char *) "self", NULL
11270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11275 result
= (long)(arg1
)->GetStyle();
11277 wxPyEndAllowThreads(__tstate
);
11278 if (PyErr_Occurred()) SWIG_fail
;
11280 resultobj
= SWIG_FromLong((long)result
);
11287 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11288 PyObject
*resultobj
;
11289 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11290 wxString
*arg2
= 0 ;
11291 bool temp2
= False
;
11292 PyObject
* obj0
= 0 ;
11293 PyObject
* obj1
= 0 ;
11294 char *kwnames
[] = {
11295 (char *) "self",(char *) "message", NULL
11298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11302 arg2
= wxString_in_helper(obj1
);
11303 if (arg2
== NULL
) SWIG_fail
;
11307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11308 (arg1
)->SetMessage((wxString
const &)*arg2
);
11310 wxPyEndAllowThreads(__tstate
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11313 Py_INCREF(Py_None
); resultobj
= Py_None
;
11328 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11329 PyObject
*resultobj
;
11330 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11331 wxString
*arg2
= 0 ;
11332 bool temp2
= False
;
11333 PyObject
* obj0
= 0 ;
11334 PyObject
* obj1
= 0 ;
11335 char *kwnames
[] = {
11336 (char *) "self",(char *) "path", NULL
11339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11343 arg2
= wxString_in_helper(obj1
);
11344 if (arg2
== NULL
) SWIG_fail
;
11348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11349 (arg1
)->SetPath((wxString
const &)*arg2
);
11351 wxPyEndAllowThreads(__tstate
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11354 Py_INCREF(Py_None
); resultobj
= Py_None
;
11369 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11371 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11372 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11374 return Py_BuildValue((char *)"");
11376 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11377 PyObject
*resultobj
;
11378 wxWindow
*arg1
= (wxWindow
*) 0 ;
11379 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11380 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11381 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11382 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11383 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11384 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11385 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11386 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11387 long arg6
= (long) 0 ;
11388 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11389 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11390 wxFileDialog
*result
;
11391 bool temp2
= False
;
11392 bool temp3
= False
;
11393 bool temp4
= False
;
11394 bool temp5
= False
;
11396 PyObject
* obj0
= 0 ;
11397 PyObject
* obj1
= 0 ;
11398 PyObject
* obj2
= 0 ;
11399 PyObject
* obj3
= 0 ;
11400 PyObject
* obj4
= 0 ;
11401 PyObject
* obj5
= 0 ;
11402 PyObject
* obj6
= 0 ;
11403 char *kwnames
[] = {
11404 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11412 arg2
= wxString_in_helper(obj1
);
11413 if (arg2
== NULL
) SWIG_fail
;
11419 arg3
= wxString_in_helper(obj2
);
11420 if (arg3
== NULL
) SWIG_fail
;
11426 arg4
= wxString_in_helper(obj3
);
11427 if (arg4
== NULL
) SWIG_fail
;
11433 arg5
= wxString_in_helper(obj4
);
11434 if (arg5
== NULL
) SWIG_fail
;
11439 arg6
= (long) SWIG_AsLong(obj5
);
11440 if (PyErr_Occurred()) SWIG_fail
;
11445 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11450 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11452 wxPyEndAllowThreads(__tstate
);
11453 if (PyErr_Occurred()) SWIG_fail
;
11455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11494 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11495 PyObject
*resultobj
;
11496 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11497 wxString
*arg2
= 0 ;
11498 bool temp2
= False
;
11499 PyObject
* obj0
= 0 ;
11500 PyObject
* obj1
= 0 ;
11501 char *kwnames
[] = {
11502 (char *) "self",(char *) "message", NULL
11505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11509 arg2
= wxString_in_helper(obj1
);
11510 if (arg2
== NULL
) SWIG_fail
;
11514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11515 (arg1
)->SetMessage((wxString
const &)*arg2
);
11517 wxPyEndAllowThreads(__tstate
);
11518 if (PyErr_Occurred()) SWIG_fail
;
11520 Py_INCREF(Py_None
); resultobj
= Py_None
;
11535 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11536 PyObject
*resultobj
;
11537 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11538 wxString
*arg2
= 0 ;
11539 bool temp2
= False
;
11540 PyObject
* obj0
= 0 ;
11541 PyObject
* obj1
= 0 ;
11542 char *kwnames
[] = {
11543 (char *) "self",(char *) "path", NULL
11546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11550 arg2
= wxString_in_helper(obj1
);
11551 if (arg2
== NULL
) SWIG_fail
;
11555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11556 (arg1
)->SetPath((wxString
const &)*arg2
);
11558 wxPyEndAllowThreads(__tstate
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11561 Py_INCREF(Py_None
); resultobj
= Py_None
;
11576 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11577 PyObject
*resultobj
;
11578 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11579 wxString
*arg2
= 0 ;
11580 bool temp2
= False
;
11581 PyObject
* obj0
= 0 ;
11582 PyObject
* obj1
= 0 ;
11583 char *kwnames
[] = {
11584 (char *) "self",(char *) "dir", NULL
11587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
11588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11591 arg2
= wxString_in_helper(obj1
);
11592 if (arg2
== NULL
) SWIG_fail
;
11596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11597 (arg1
)->SetDirectory((wxString
const &)*arg2
);
11599 wxPyEndAllowThreads(__tstate
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11602 Py_INCREF(Py_None
); resultobj
= Py_None
;
11617 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11618 PyObject
*resultobj
;
11619 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11620 wxString
*arg2
= 0 ;
11621 bool temp2
= False
;
11622 PyObject
* obj0
= 0 ;
11623 PyObject
* obj1
= 0 ;
11624 char *kwnames
[] = {
11625 (char *) "self",(char *) "name", NULL
11628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11632 arg2
= wxString_in_helper(obj1
);
11633 if (arg2
== NULL
) SWIG_fail
;
11637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11638 (arg1
)->SetFilename((wxString
const &)*arg2
);
11640 wxPyEndAllowThreads(__tstate
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11643 Py_INCREF(Py_None
); resultobj
= Py_None
;
11658 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11659 PyObject
*resultobj
;
11660 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11661 wxString
*arg2
= 0 ;
11662 bool temp2
= False
;
11663 PyObject
* obj0
= 0 ;
11664 PyObject
* obj1
= 0 ;
11665 char *kwnames
[] = {
11666 (char *) "self",(char *) "wildCard", NULL
11669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
11670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11673 arg2
= wxString_in_helper(obj1
);
11674 if (arg2
== NULL
) SWIG_fail
;
11678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11679 (arg1
)->SetWildcard((wxString
const &)*arg2
);
11681 wxPyEndAllowThreads(__tstate
);
11682 if (PyErr_Occurred()) SWIG_fail
;
11684 Py_INCREF(Py_None
); resultobj
= Py_None
;
11699 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11700 PyObject
*resultobj
;
11701 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11703 PyObject
* obj0
= 0 ;
11704 PyObject
* obj1
= 0 ;
11705 char *kwnames
[] = {
11706 (char *) "self",(char *) "style", NULL
11709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11712 arg2
= (long) SWIG_AsLong(obj1
);
11713 if (PyErr_Occurred()) SWIG_fail
;
11715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11716 (arg1
)->SetStyle(arg2
);
11718 wxPyEndAllowThreads(__tstate
);
11719 if (PyErr_Occurred()) SWIG_fail
;
11721 Py_INCREF(Py_None
); resultobj
= Py_None
;
11728 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11729 PyObject
*resultobj
;
11730 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11732 PyObject
* obj0
= 0 ;
11733 PyObject
* obj1
= 0 ;
11734 char *kwnames
[] = {
11735 (char *) "self",(char *) "filterIndex", NULL
11738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
11739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11741 arg2
= (int) SWIG_AsInt(obj1
);
11742 if (PyErr_Occurred()) SWIG_fail
;
11744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11745 (arg1
)->SetFilterIndex(arg2
);
11747 wxPyEndAllowThreads(__tstate
);
11748 if (PyErr_Occurred()) SWIG_fail
;
11750 Py_INCREF(Py_None
); resultobj
= Py_None
;
11757 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11758 PyObject
*resultobj
;
11759 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11761 PyObject
* obj0
= 0 ;
11762 char *kwnames
[] = {
11763 (char *) "self", NULL
11766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11771 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
11773 wxPyEndAllowThreads(__tstate
);
11774 if (PyErr_Occurred()) SWIG_fail
;
11778 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11780 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11789 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11790 PyObject
*resultobj
;
11791 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11793 PyObject
* obj0
= 0 ;
11794 char *kwnames
[] = {
11795 (char *) "self", NULL
11798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11803 result
= ((wxFileDialog
const *)arg1
)->GetPath();
11805 wxPyEndAllowThreads(__tstate
);
11806 if (PyErr_Occurred()) SWIG_fail
;
11810 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11812 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11821 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11822 PyObject
*resultobj
;
11823 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11825 PyObject
* obj0
= 0 ;
11826 char *kwnames
[] = {
11827 (char *) "self", NULL
11830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
11831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11835 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
11837 wxPyEndAllowThreads(__tstate
);
11838 if (PyErr_Occurred()) SWIG_fail
;
11842 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11844 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11853 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11854 PyObject
*resultobj
;
11855 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11857 PyObject
* obj0
= 0 ;
11858 char *kwnames
[] = {
11859 (char *) "self", NULL
11862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
11863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11885 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11886 PyObject
*resultobj
;
11887 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11889 PyObject
* obj0
= 0 ;
11890 char *kwnames
[] = {
11891 (char *) "self", NULL
11894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
11895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11899 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
11901 wxPyEndAllowThreads(__tstate
);
11902 if (PyErr_Occurred()) SWIG_fail
;
11906 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11908 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11917 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11918 PyObject
*resultobj
;
11919 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11921 PyObject
* obj0
= 0 ;
11922 char *kwnames
[] = {
11923 (char *) "self", NULL
11926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11931 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
11933 wxPyEndAllowThreads(__tstate
);
11934 if (PyErr_Occurred()) SWIG_fail
;
11936 resultobj
= SWIG_FromLong((long)result
);
11943 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11944 PyObject
*resultobj
;
11945 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11947 PyObject
* obj0
= 0 ;
11948 char *kwnames
[] = {
11949 (char *) "self", NULL
11952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
11953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11957 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
11959 wxPyEndAllowThreads(__tstate
);
11960 if (PyErr_Occurred()) SWIG_fail
;
11962 resultobj
= SWIG_FromInt((int)result
);
11969 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11970 PyObject
*resultobj
;
11971 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11973 PyObject
* obj0
= 0 ;
11974 char *kwnames
[] = {
11975 (char *) "self", NULL
11978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
11979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11983 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
11985 wxPyEndAllowThreads(__tstate
);
11986 if (PyErr_Occurred()) SWIG_fail
;
11988 resultobj
= result
;
11995 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11996 PyObject
*resultobj
;
11997 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11999 PyObject
* obj0
= 0 ;
12000 char *kwnames
[] = {
12001 (char *) "self", NULL
12004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12009 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12011 wxPyEndAllowThreads(__tstate
);
12012 if (PyErr_Occurred()) SWIG_fail
;
12014 resultobj
= result
;
12021 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12023 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12024 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12026 return Py_BuildValue((char *)"");
12028 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12029 PyObject
*resultobj
;
12030 wxWindow
*arg1
= (wxWindow
*) 0 ;
12031 wxString
*arg2
= 0 ;
12032 wxString
*arg3
= 0 ;
12033 int arg4
= (int) 0 ;
12034 wxString
*arg5
= (wxString
*) 0 ;
12035 long arg6
= (long) wxCHOICEDLG_STYLE
;
12036 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12037 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12038 wxMultiChoiceDialog
*result
;
12039 bool temp2
= False
;
12040 bool temp3
= False
;
12042 PyObject
* obj0
= 0 ;
12043 PyObject
* obj1
= 0 ;
12044 PyObject
* obj2
= 0 ;
12045 PyObject
* obj3
= 0 ;
12046 PyObject
* obj4
= 0 ;
12047 PyObject
* obj5
= 0 ;
12048 char *kwnames
[] = {
12049 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12056 arg2
= wxString_in_helper(obj1
);
12057 if (arg2
== NULL
) SWIG_fail
;
12061 arg3
= wxString_in_helper(obj2
);
12062 if (arg3
== NULL
) SWIG_fail
;
12067 arg4
= PyList_Size(obj3
);
12068 arg5
= wxString_LIST_helper(obj3
);
12069 if (arg5
== NULL
) SWIG_fail
;
12073 arg6
= (long) SWIG_AsLong(obj4
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12079 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12084 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12086 wxPyEndAllowThreads(__tstate
);
12087 if (PyErr_Occurred()) SWIG_fail
;
12089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12099 if (arg5
) delete [] arg5
;
12112 if (arg5
) delete [] arg5
;
12118 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12119 PyObject
*resultobj
;
12120 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12121 wxArrayInt
*arg2
= 0 ;
12122 bool temp2
= False
;
12123 PyObject
* obj0
= 0 ;
12124 PyObject
* obj1
= 0 ;
12125 char *kwnames
[] = {
12126 (char *) "self",(char *) "selections", NULL
12129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12133 if (! PySequence_Check(obj1
)) {
12134 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12137 arg2
= new wxArrayInt
;
12139 int i
, len
=PySequence_Length(obj1
);
12140 for (i
=0; i
<len
; i
++) {
12141 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12142 PyObject
* number
= PyNumber_Int(item
);
12143 arg2
->Add(PyInt_AS_LONG(number
));
12149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12150 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12152 wxPyEndAllowThreads(__tstate
);
12153 if (PyErr_Occurred()) SWIG_fail
;
12155 Py_INCREF(Py_None
); resultobj
= Py_None
;
12157 if (temp2
) delete arg2
;
12162 if (temp2
) delete arg2
;
12168 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12169 PyObject
*resultobj
;
12170 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12172 PyObject
* obj0
= 0 ;
12173 char *kwnames
[] = {
12174 (char *) "self", NULL
12177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12182 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12184 wxPyEndAllowThreads(__tstate
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12187 resultobj
= result
;
12194 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12197 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12199 return Py_BuildValue((char *)"");
12201 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12202 PyObject
*resultobj
;
12203 wxWindow
*arg1
= (wxWindow
*) 0 ;
12204 wxString
*arg2
= 0 ;
12205 wxString
*arg3
= 0 ;
12207 wxString
*arg5
= (wxString
*) 0 ;
12208 long arg6
= (long) wxCHOICEDLG_STYLE
;
12209 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12210 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12211 wxSingleChoiceDialog
*result
;
12212 bool temp2
= False
;
12213 bool temp3
= False
;
12215 PyObject
* obj0
= 0 ;
12216 PyObject
* obj1
= 0 ;
12217 PyObject
* obj2
= 0 ;
12218 PyObject
* obj3
= 0 ;
12219 PyObject
* obj4
= 0 ;
12220 PyObject
* obj5
= 0 ;
12221 char *kwnames
[] = {
12222 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12229 arg2
= wxString_in_helper(obj1
);
12230 if (arg2
== NULL
) SWIG_fail
;
12234 arg3
= wxString_in_helper(obj2
);
12235 if (arg3
== NULL
) SWIG_fail
;
12239 arg4
= PyList_Size(obj3
);
12240 arg5
= wxString_LIST_helper(obj3
);
12241 if (arg5
== NULL
) SWIG_fail
;
12244 arg6
= (long) SWIG_AsLong(obj4
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12250 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12255 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12257 wxPyEndAllowThreads(__tstate
);
12258 if (PyErr_Occurred()) SWIG_fail
;
12260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12270 if (arg5
) delete [] arg5
;
12283 if (arg5
) delete [] arg5
;
12289 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12290 PyObject
*resultobj
;
12291 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12293 PyObject
* obj0
= 0 ;
12294 char *kwnames
[] = {
12295 (char *) "self", NULL
12298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12303 result
= (int)(arg1
)->GetSelection();
12305 wxPyEndAllowThreads(__tstate
);
12306 if (PyErr_Occurred()) SWIG_fail
;
12308 resultobj
= SWIG_FromInt((int)result
);
12315 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12316 PyObject
*resultobj
;
12317 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12319 PyObject
* obj0
= 0 ;
12320 char *kwnames
[] = {
12321 (char *) "self", NULL
12324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12329 result
= (arg1
)->GetStringSelection();
12331 wxPyEndAllowThreads(__tstate
);
12332 if (PyErr_Occurred()) SWIG_fail
;
12336 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12338 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12347 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12348 PyObject
*resultobj
;
12349 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12351 PyObject
* obj0
= 0 ;
12352 PyObject
* obj1
= 0 ;
12353 char *kwnames
[] = {
12354 (char *) "self",(char *) "sel", NULL
12357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12360 arg2
= (int) SWIG_AsInt(obj1
);
12361 if (PyErr_Occurred()) SWIG_fail
;
12363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12364 (arg1
)->SetSelection(arg2
);
12366 wxPyEndAllowThreads(__tstate
);
12367 if (PyErr_Occurred()) SWIG_fail
;
12369 Py_INCREF(Py_None
); resultobj
= Py_None
;
12376 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12378 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12379 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12381 return Py_BuildValue((char *)"");
12383 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12384 PyObject
*resultobj
;
12385 wxWindow
*arg1
= (wxWindow
*) 0 ;
12386 wxString
*arg2
= 0 ;
12387 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12388 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12389 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12390 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12391 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12392 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12393 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12394 wxTextEntryDialog
*result
;
12395 bool temp2
= False
;
12396 bool temp3
= False
;
12397 bool temp4
= False
;
12399 PyObject
* obj0
= 0 ;
12400 PyObject
* obj1
= 0 ;
12401 PyObject
* obj2
= 0 ;
12402 PyObject
* obj3
= 0 ;
12403 PyObject
* obj4
= 0 ;
12404 PyObject
* obj5
= 0 ;
12405 char *kwnames
[] = {
12406 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12413 arg2
= wxString_in_helper(obj1
);
12414 if (arg2
== NULL
) SWIG_fail
;
12419 arg3
= wxString_in_helper(obj2
);
12420 if (arg3
== NULL
) SWIG_fail
;
12426 arg4
= wxString_in_helper(obj3
);
12427 if (arg4
== NULL
) SWIG_fail
;
12432 arg5
= (long) SWIG_AsLong(obj4
);
12433 if (PyErr_Occurred()) SWIG_fail
;
12438 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12443 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12445 wxPyEndAllowThreads(__tstate
);
12446 if (PyErr_Occurred()) SWIG_fail
;
12448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12479 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12480 PyObject
*resultobj
;
12481 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12483 PyObject
* obj0
= 0 ;
12484 char *kwnames
[] = {
12485 (char *) "self", NULL
12488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12493 result
= (arg1
)->GetValue();
12495 wxPyEndAllowThreads(__tstate
);
12496 if (PyErr_Occurred()) SWIG_fail
;
12500 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12502 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12511 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12512 PyObject
*resultobj
;
12513 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12514 wxString
*arg2
= 0 ;
12515 bool temp2
= False
;
12516 PyObject
* obj0
= 0 ;
12517 PyObject
* obj1
= 0 ;
12518 char *kwnames
[] = {
12519 (char *) "self",(char *) "value", NULL
12522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12526 arg2
= wxString_in_helper(obj1
);
12527 if (arg2
== NULL
) SWIG_fail
;
12531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12532 (arg1
)->SetValue((wxString
const &)*arg2
);
12534 wxPyEndAllowThreads(__tstate
);
12535 if (PyErr_Occurred()) SWIG_fail
;
12537 Py_INCREF(Py_None
); resultobj
= Py_None
;
12552 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12555 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12557 return Py_BuildValue((char *)"");
12559 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12560 PyObject
*resultobj
;
12561 wxFontData
*result
;
12562 char *kwnames
[] = {
12566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
12568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12569 result
= (wxFontData
*)new wxFontData();
12571 wxPyEndAllowThreads(__tstate
);
12572 if (PyErr_Occurred()) SWIG_fail
;
12574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
12581 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12582 PyObject
*resultobj
;
12583 wxFontData
*arg1
= (wxFontData
*) 0 ;
12584 PyObject
* obj0
= 0 ;
12585 char *kwnames
[] = {
12586 (char *) "self", NULL
12589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
12590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12596 wxPyEndAllowThreads(__tstate
);
12597 if (PyErr_Occurred()) SWIG_fail
;
12599 Py_INCREF(Py_None
); resultobj
= Py_None
;
12606 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12607 PyObject
*resultobj
;
12608 wxFontData
*arg1
= (wxFontData
*) 0 ;
12610 PyObject
* obj0
= 0 ;
12611 PyObject
* obj1
= 0 ;
12612 char *kwnames
[] = {
12613 (char *) "self",(char *) "enable", NULL
12616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
12617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12619 arg2
= (bool) SWIG_AsBool(obj1
);
12620 if (PyErr_Occurred()) SWIG_fail
;
12622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12623 (arg1
)->EnableEffects(arg2
);
12625 wxPyEndAllowThreads(__tstate
);
12626 if (PyErr_Occurred()) SWIG_fail
;
12628 Py_INCREF(Py_None
); resultobj
= Py_None
;
12635 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12636 PyObject
*resultobj
;
12637 wxFontData
*arg1
= (wxFontData
*) 0 ;
12639 PyObject
* obj0
= 0 ;
12640 char *kwnames
[] = {
12641 (char *) "self", NULL
12644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
12645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12649 result
= (bool)(arg1
)->GetAllowSymbols();
12651 wxPyEndAllowThreads(__tstate
);
12652 if (PyErr_Occurred()) SWIG_fail
;
12654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12661 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12662 PyObject
*resultobj
;
12663 wxFontData
*arg1
= (wxFontData
*) 0 ;
12665 PyObject
* obj0
= 0 ;
12666 char *kwnames
[] = {
12667 (char *) "self", NULL
12670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
12671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12675 result
= (arg1
)->GetColour();
12677 wxPyEndAllowThreads(__tstate
);
12678 if (PyErr_Occurred()) SWIG_fail
;
12681 wxColour
* resultptr
;
12682 resultptr
= new wxColour((wxColour
&) result
);
12683 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12691 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12692 PyObject
*resultobj
;
12693 wxFontData
*arg1
= (wxFontData
*) 0 ;
12695 PyObject
* obj0
= 0 ;
12696 char *kwnames
[] = {
12697 (char *) "self", NULL
12700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
12701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12705 result
= (arg1
)->GetChosenFont();
12707 wxPyEndAllowThreads(__tstate
);
12708 if (PyErr_Occurred()) SWIG_fail
;
12711 wxFont
* resultptr
;
12712 resultptr
= new wxFont((wxFont
&) result
);
12713 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12721 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12722 PyObject
*resultobj
;
12723 wxFontData
*arg1
= (wxFontData
*) 0 ;
12725 PyObject
* obj0
= 0 ;
12726 char *kwnames
[] = {
12727 (char *) "self", NULL
12730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
12731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12735 result
= (bool)(arg1
)->GetEnableEffects();
12737 wxPyEndAllowThreads(__tstate
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12747 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12748 PyObject
*resultobj
;
12749 wxFontData
*arg1
= (wxFontData
*) 0 ;
12751 PyObject
* obj0
= 0 ;
12752 char *kwnames
[] = {
12753 (char *) "self", NULL
12756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
12757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12761 result
= (arg1
)->GetInitialFont();
12763 wxPyEndAllowThreads(__tstate
);
12764 if (PyErr_Occurred()) SWIG_fail
;
12767 wxFont
* resultptr
;
12768 resultptr
= new wxFont((wxFont
&) result
);
12769 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12777 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12778 PyObject
*resultobj
;
12779 wxFontData
*arg1
= (wxFontData
*) 0 ;
12781 PyObject
* obj0
= 0 ;
12782 char *kwnames
[] = {
12783 (char *) "self", NULL
12786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
12787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12791 result
= (bool)(arg1
)->GetShowHelp();
12793 wxPyEndAllowThreads(__tstate
);
12794 if (PyErr_Occurred()) SWIG_fail
;
12796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12803 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12804 PyObject
*resultobj
;
12805 wxFontData
*arg1
= (wxFontData
*) 0 ;
12807 PyObject
* obj0
= 0 ;
12808 PyObject
* obj1
= 0 ;
12809 char *kwnames
[] = {
12810 (char *) "self",(char *) "allowSymbols", NULL
12813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
12814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12816 arg2
= (bool) SWIG_AsBool(obj1
);
12817 if (PyErr_Occurred()) SWIG_fail
;
12819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12820 (arg1
)->SetAllowSymbols(arg2
);
12822 wxPyEndAllowThreads(__tstate
);
12823 if (PyErr_Occurred()) SWIG_fail
;
12825 Py_INCREF(Py_None
); resultobj
= Py_None
;
12832 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12833 PyObject
*resultobj
;
12834 wxFontData
*arg1
= (wxFontData
*) 0 ;
12836 PyObject
* obj0
= 0 ;
12837 PyObject
* obj1
= 0 ;
12838 char *kwnames
[] = {
12839 (char *) "self",(char *) "font", NULL
12842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12845 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12846 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12848 if (arg2
== NULL
) {
12849 PyErr_SetString(PyExc_TypeError
,"null reference");
12853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12854 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
12856 wxPyEndAllowThreads(__tstate
);
12857 if (PyErr_Occurred()) SWIG_fail
;
12859 Py_INCREF(Py_None
); resultobj
= Py_None
;
12866 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12867 PyObject
*resultobj
;
12868 wxFontData
*arg1
= (wxFontData
*) 0 ;
12869 wxColour
*arg2
= 0 ;
12871 PyObject
* obj0
= 0 ;
12872 PyObject
* obj1
= 0 ;
12873 char *kwnames
[] = {
12874 (char *) "self",(char *) "colour", NULL
12877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12882 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12886 (arg1
)->SetColour((wxColour
const &)*arg2
);
12888 wxPyEndAllowThreads(__tstate
);
12889 if (PyErr_Occurred()) SWIG_fail
;
12891 Py_INCREF(Py_None
); resultobj
= Py_None
;
12898 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12899 PyObject
*resultobj
;
12900 wxFontData
*arg1
= (wxFontData
*) 0 ;
12902 PyObject
* obj0
= 0 ;
12903 PyObject
* obj1
= 0 ;
12904 char *kwnames
[] = {
12905 (char *) "self",(char *) "font", NULL
12908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12911 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12912 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12914 if (arg2
== NULL
) {
12915 PyErr_SetString(PyExc_TypeError
,"null reference");
12919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12920 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
12922 wxPyEndAllowThreads(__tstate
);
12923 if (PyErr_Occurred()) SWIG_fail
;
12925 Py_INCREF(Py_None
); resultobj
= Py_None
;
12932 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12933 PyObject
*resultobj
;
12934 wxFontData
*arg1
= (wxFontData
*) 0 ;
12937 PyObject
* obj0
= 0 ;
12938 PyObject
* obj1
= 0 ;
12939 PyObject
* obj2
= 0 ;
12940 char *kwnames
[] = {
12941 (char *) "self",(char *) "min",(char *) "max", NULL
12944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12947 arg2
= (int) SWIG_AsInt(obj1
);
12948 if (PyErr_Occurred()) SWIG_fail
;
12949 arg3
= (int) SWIG_AsInt(obj2
);
12950 if (PyErr_Occurred()) SWIG_fail
;
12952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12953 (arg1
)->SetRange(arg2
,arg3
);
12955 wxPyEndAllowThreads(__tstate
);
12956 if (PyErr_Occurred()) SWIG_fail
;
12958 Py_INCREF(Py_None
); resultobj
= Py_None
;
12965 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12966 PyObject
*resultobj
;
12967 wxFontData
*arg1
= (wxFontData
*) 0 ;
12969 PyObject
* obj0
= 0 ;
12970 PyObject
* obj1
= 0 ;
12971 char *kwnames
[] = {
12972 (char *) "self",(char *) "showHelp", NULL
12975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
12976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12978 arg2
= (bool) SWIG_AsBool(obj1
);
12979 if (PyErr_Occurred()) SWIG_fail
;
12981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12982 (arg1
)->SetShowHelp(arg2
);
12984 wxPyEndAllowThreads(__tstate
);
12985 if (PyErr_Occurred()) SWIG_fail
;
12987 Py_INCREF(Py_None
); resultobj
= Py_None
;
12994 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
12996 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12997 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
12999 return Py_BuildValue((char *)"");
13001 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13002 PyObject
*resultobj
;
13003 wxWindow
*arg1
= (wxWindow
*) 0 ;
13004 wxFontData
*arg2
= 0 ;
13005 wxFontDialog
*result
;
13006 PyObject
* obj0
= 0 ;
13007 PyObject
* obj1
= 0 ;
13008 char *kwnames
[] = {
13009 (char *) "parent",(char *) "data", NULL
13012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13015 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13016 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13018 if (arg2
== NULL
) {
13019 PyErr_SetString(PyExc_TypeError
,"null reference");
13023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13024 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13026 wxPyEndAllowThreads(__tstate
);
13027 if (PyErr_Occurred()) SWIG_fail
;
13029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13036 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13037 PyObject
*resultobj
;
13038 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13039 wxFontData
*result
;
13040 PyObject
* obj0
= 0 ;
13041 char *kwnames
[] = {
13042 (char *) "self", NULL
13045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13051 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13052 result
= (wxFontData
*) &_result_ref
;
13055 wxPyEndAllowThreads(__tstate
);
13056 if (PyErr_Occurred()) SWIG_fail
;
13058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13065 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13068 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13070 return Py_BuildValue((char *)"");
13072 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13073 PyObject
*resultobj
;
13074 wxWindow
*arg1
= (wxWindow
*) 0 ;
13075 wxString
*arg2
= 0 ;
13076 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13077 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13078 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13079 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13080 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13081 wxMessageDialog
*result
;
13082 bool temp2
= False
;
13083 bool temp3
= False
;
13085 PyObject
* obj0
= 0 ;
13086 PyObject
* obj1
= 0 ;
13087 PyObject
* obj2
= 0 ;
13088 PyObject
* obj3
= 0 ;
13089 PyObject
* obj4
= 0 ;
13090 char *kwnames
[] = {
13091 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13098 arg2
= wxString_in_helper(obj1
);
13099 if (arg2
== NULL
) SWIG_fail
;
13104 arg3
= wxString_in_helper(obj2
);
13105 if (arg3
== NULL
) SWIG_fail
;
13110 arg4
= (long) SWIG_AsLong(obj3
);
13111 if (PyErr_Occurred()) SWIG_fail
;
13116 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13121 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13123 wxPyEndAllowThreads(__tstate
);
13124 if (PyErr_Occurred()) SWIG_fail
;
13126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13149 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13151 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13152 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13154 return Py_BuildValue((char *)"");
13156 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13157 PyObject
*resultobj
;
13158 wxString
*arg1
= 0 ;
13159 wxString
*arg2
= 0 ;
13160 int arg3
= (int) 100 ;
13161 wxWindow
*arg4
= (wxWindow
*) NULL
;
13162 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13163 wxProgressDialog
*result
;
13164 bool temp1
= False
;
13165 bool temp2
= False
;
13166 PyObject
* obj0
= 0 ;
13167 PyObject
* obj1
= 0 ;
13168 PyObject
* obj2
= 0 ;
13169 PyObject
* obj3
= 0 ;
13170 PyObject
* obj4
= 0 ;
13171 char *kwnames
[] = {
13172 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13177 arg1
= wxString_in_helper(obj0
);
13178 if (arg1
== NULL
) SWIG_fail
;
13182 arg2
= wxString_in_helper(obj1
);
13183 if (arg2
== NULL
) SWIG_fail
;
13187 arg3
= (int) SWIG_AsInt(obj2
);
13188 if (PyErr_Occurred()) SWIG_fail
;
13191 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13195 arg5
= (int) SWIG_AsInt(obj4
);
13196 if (PyErr_Occurred()) SWIG_fail
;
13199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13200 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13202 wxPyEndAllowThreads(__tstate
);
13203 if (PyErr_Occurred()) SWIG_fail
;
13205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13228 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13229 PyObject
*resultobj
;
13230 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13232 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13233 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13235 bool temp3
= False
;
13236 PyObject
* obj0
= 0 ;
13237 PyObject
* obj1
= 0 ;
13238 PyObject
* obj2
= 0 ;
13239 char *kwnames
[] = {
13240 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13246 arg2
= (int) SWIG_AsInt(obj1
);
13247 if (PyErr_Occurred()) SWIG_fail
;
13250 arg3
= wxString_in_helper(obj2
);
13251 if (arg3
== NULL
) SWIG_fail
;
13256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13257 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13259 wxPyEndAllowThreads(__tstate
);
13260 if (PyErr_Occurred()) SWIG_fail
;
13262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13277 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13278 PyObject
*resultobj
;
13279 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13280 PyObject
* obj0
= 0 ;
13281 char *kwnames
[] = {
13282 (char *) "self", NULL
13285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13292 wxPyEndAllowThreads(__tstate
);
13293 if (PyErr_Occurred()) SWIG_fail
;
13295 Py_INCREF(Py_None
); resultobj
= Py_None
;
13302 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13304 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13305 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13307 return Py_BuildValue((char *)"");
13309 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13310 PyObject
*resultobj
;
13311 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13312 int arg2
= (int) 0 ;
13313 wxFindDialogEvent
*result
;
13314 PyObject
* obj0
= 0 ;
13315 PyObject
* obj1
= 0 ;
13316 char *kwnames
[] = {
13317 (char *) "commandType",(char *) "id", NULL
13320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13322 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13323 if (PyErr_Occurred()) SWIG_fail
;
13326 arg2
= (int) SWIG_AsInt(obj1
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13331 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13333 wxPyEndAllowThreads(__tstate
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13343 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13344 PyObject
*resultobj
;
13345 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13347 PyObject
* obj0
= 0 ;
13348 char *kwnames
[] = {
13349 (char *) "self", NULL
13352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13357 result
= (int)(arg1
)->GetFlags();
13359 wxPyEndAllowThreads(__tstate
);
13360 if (PyErr_Occurred()) SWIG_fail
;
13362 resultobj
= SWIG_FromInt((int)result
);
13369 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13370 PyObject
*resultobj
;
13371 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13373 PyObject
* obj0
= 0 ;
13374 char *kwnames
[] = {
13375 (char *) "self", NULL
13378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13384 wxString
const &_result_ref
= (arg1
)->GetFindString();
13385 result
= (wxString
*) &_result_ref
;
13388 wxPyEndAllowThreads(__tstate
);
13389 if (PyErr_Occurred()) SWIG_fail
;
13393 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13395 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13404 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13405 PyObject
*resultobj
;
13406 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13408 PyObject
* obj0
= 0 ;
13409 char *kwnames
[] = {
13410 (char *) "self", NULL
13413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13419 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13420 result
= (wxString
*) &_result_ref
;
13423 wxPyEndAllowThreads(__tstate
);
13424 if (PyErr_Occurred()) SWIG_fail
;
13428 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13430 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13439 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13440 PyObject
*resultobj
;
13441 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13442 wxFindReplaceDialog
*result
;
13443 PyObject
* obj0
= 0 ;
13444 char *kwnames
[] = {
13445 (char *) "self", NULL
13448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13453 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13455 wxPyEndAllowThreads(__tstate
);
13456 if (PyErr_Occurred()) SWIG_fail
;
13458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13465 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13466 PyObject
*resultobj
;
13467 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13469 PyObject
* obj0
= 0 ;
13470 PyObject
* obj1
= 0 ;
13471 char *kwnames
[] = {
13472 (char *) "self",(char *) "flags", NULL
13475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13478 arg2
= (int) SWIG_AsInt(obj1
);
13479 if (PyErr_Occurred()) SWIG_fail
;
13481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13482 (arg1
)->SetFlags(arg2
);
13484 wxPyEndAllowThreads(__tstate
);
13485 if (PyErr_Occurred()) SWIG_fail
;
13487 Py_INCREF(Py_None
); resultobj
= Py_None
;
13494 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13495 PyObject
*resultobj
;
13496 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13497 wxString
*arg2
= 0 ;
13498 bool temp2
= False
;
13499 PyObject
* obj0
= 0 ;
13500 PyObject
* obj1
= 0 ;
13501 char *kwnames
[] = {
13502 (char *) "self",(char *) "str", NULL
13505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13509 arg2
= wxString_in_helper(obj1
);
13510 if (arg2
== NULL
) SWIG_fail
;
13514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13515 (arg1
)->SetFindString((wxString
const &)*arg2
);
13517 wxPyEndAllowThreads(__tstate
);
13518 if (PyErr_Occurred()) SWIG_fail
;
13520 Py_INCREF(Py_None
); resultobj
= Py_None
;
13535 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13536 PyObject
*resultobj
;
13537 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13538 wxString
*arg2
= 0 ;
13539 bool temp2
= False
;
13540 PyObject
* obj0
= 0 ;
13541 PyObject
* obj1
= 0 ;
13542 char *kwnames
[] = {
13543 (char *) "self",(char *) "str", NULL
13546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13550 arg2
= wxString_in_helper(obj1
);
13551 if (arg2
== NULL
) SWIG_fail
;
13555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13556 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13558 wxPyEndAllowThreads(__tstate
);
13559 if (PyErr_Occurred()) SWIG_fail
;
13561 Py_INCREF(Py_None
); resultobj
= Py_None
;
13576 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13578 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13579 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
13581 return Py_BuildValue((char *)"");
13583 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13584 PyObject
*resultobj
;
13585 int arg1
= (int) 0 ;
13586 wxFindReplaceData
*result
;
13587 PyObject
* obj0
= 0 ;
13588 char *kwnames
[] = {
13589 (char *) "flags", NULL
13592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13594 arg1
= (int) SWIG_AsInt(obj0
);
13595 if (PyErr_Occurred()) SWIG_fail
;
13598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13599 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
13601 wxPyEndAllowThreads(__tstate
);
13602 if (PyErr_Occurred()) SWIG_fail
;
13604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
13611 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13612 PyObject
*resultobj
;
13613 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13614 PyObject
* obj0
= 0 ;
13615 char *kwnames
[] = {
13616 (char *) "self", NULL
13619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13626 wxPyEndAllowThreads(__tstate
);
13627 if (PyErr_Occurred()) SWIG_fail
;
13629 Py_INCREF(Py_None
); resultobj
= Py_None
;
13636 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13637 PyObject
*resultobj
;
13638 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13640 PyObject
* obj0
= 0 ;
13641 char *kwnames
[] = {
13642 (char *) "self", NULL
13645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
13646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13651 wxString
const &_result_ref
= (arg1
)->GetFindString();
13652 result
= (wxString
*) &_result_ref
;
13655 wxPyEndAllowThreads(__tstate
);
13656 if (PyErr_Occurred()) SWIG_fail
;
13660 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13662 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13671 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13672 PyObject
*resultobj
;
13673 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13675 PyObject
* obj0
= 0 ;
13676 char *kwnames
[] = {
13677 (char *) "self", NULL
13680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13686 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13687 result
= (wxString
*) &_result_ref
;
13690 wxPyEndAllowThreads(__tstate
);
13691 if (PyErr_Occurred()) SWIG_fail
;
13695 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13697 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13706 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13707 PyObject
*resultobj
;
13708 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13710 PyObject
* obj0
= 0 ;
13711 char *kwnames
[] = {
13712 (char *) "self", NULL
13715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
13716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13720 result
= (int)(arg1
)->GetFlags();
13722 wxPyEndAllowThreads(__tstate
);
13723 if (PyErr_Occurred()) SWIG_fail
;
13725 resultobj
= SWIG_FromInt((int)result
);
13732 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13733 PyObject
*resultobj
;
13734 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13736 PyObject
* obj0
= 0 ;
13737 PyObject
* obj1
= 0 ;
13738 char *kwnames
[] = {
13739 (char *) "self",(char *) "flags", NULL
13742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13745 arg2
= (int) SWIG_AsInt(obj1
);
13746 if (PyErr_Occurred()) SWIG_fail
;
13748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13749 (arg1
)->SetFlags(arg2
);
13751 wxPyEndAllowThreads(__tstate
);
13752 if (PyErr_Occurred()) SWIG_fail
;
13754 Py_INCREF(Py_None
); resultobj
= Py_None
;
13761 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13762 PyObject
*resultobj
;
13763 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13764 wxString
*arg2
= 0 ;
13765 bool temp2
= False
;
13766 PyObject
* obj0
= 0 ;
13767 PyObject
* obj1
= 0 ;
13768 char *kwnames
[] = {
13769 (char *) "self",(char *) "str", NULL
13772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13776 arg2
= wxString_in_helper(obj1
);
13777 if (arg2
== NULL
) SWIG_fail
;
13781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13782 (arg1
)->SetFindString((wxString
const &)*arg2
);
13784 wxPyEndAllowThreads(__tstate
);
13785 if (PyErr_Occurred()) SWIG_fail
;
13787 Py_INCREF(Py_None
); resultobj
= Py_None
;
13802 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13803 PyObject
*resultobj
;
13804 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13805 wxString
*arg2
= 0 ;
13806 bool temp2
= False
;
13807 PyObject
* obj0
= 0 ;
13808 PyObject
* obj1
= 0 ;
13809 char *kwnames
[] = {
13810 (char *) "self",(char *) "str", NULL
13813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13817 arg2
= wxString_in_helper(obj1
);
13818 if (arg2
== NULL
) SWIG_fail
;
13822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13823 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13825 wxPyEndAllowThreads(__tstate
);
13826 if (PyErr_Occurred()) SWIG_fail
;
13828 Py_INCREF(Py_None
); resultobj
= Py_None
;
13843 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
13845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13846 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
13848 return Py_BuildValue((char *)"");
13850 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13851 PyObject
*resultobj
;
13852 wxWindow
*arg1
= (wxWindow
*) 0 ;
13853 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
13854 wxString
*arg3
= 0 ;
13855 int arg4
= (int) 0 ;
13856 wxFindReplaceDialog
*result
;
13857 bool temp3
= False
;
13858 PyObject
* obj0
= 0 ;
13859 PyObject
* obj1
= 0 ;
13860 PyObject
* obj2
= 0 ;
13861 PyObject
* obj3
= 0 ;
13862 char *kwnames
[] = {
13863 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13869 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
13870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13872 arg3
= wxString_in_helper(obj2
);
13873 if (arg3
== NULL
) SWIG_fail
;
13877 arg4
= (int) SWIG_AsInt(obj3
);
13878 if (PyErr_Occurred()) SWIG_fail
;
13881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13882 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13884 wxPyEndAllowThreads(__tstate
);
13885 if (PyErr_Occurred()) SWIG_fail
;
13887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
13902 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13903 PyObject
*resultobj
;
13904 wxFindReplaceDialog
*result
;
13905 char *kwnames
[] = {
13909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
13911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13912 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
13914 wxPyEndAllowThreads(__tstate
);
13915 if (PyErr_Occurred()) SWIG_fail
;
13917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
13924 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13925 PyObject
*resultobj
;
13926 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13927 wxWindow
*arg2
= (wxWindow
*) 0 ;
13928 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
13929 wxString
*arg4
= 0 ;
13930 int arg5
= (int) 0 ;
13932 bool temp4
= False
;
13933 PyObject
* obj0
= 0 ;
13934 PyObject
* obj1
= 0 ;
13935 PyObject
* obj2
= 0 ;
13936 PyObject
* obj3
= 0 ;
13937 PyObject
* obj4
= 0 ;
13938 char *kwnames
[] = {
13939 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
13944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13945 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13947 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
13948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13950 arg4
= wxString_in_helper(obj3
);
13951 if (arg4
== NULL
) SWIG_fail
;
13955 arg5
= (int) SWIG_AsInt(obj4
);
13956 if (PyErr_Occurred()) SWIG_fail
;
13959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13960 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13962 wxPyEndAllowThreads(__tstate
);
13963 if (PyErr_Occurred()) SWIG_fail
;
13965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13980 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13981 PyObject
*resultobj
;
13982 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
13983 wxFindReplaceData
*result
;
13984 PyObject
* obj0
= 0 ;
13985 char *kwnames
[] = {
13986 (char *) "self", NULL
13989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
13990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
13991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13994 result
= (wxFindReplaceData
*)(arg1
)->GetData();
13996 wxPyEndAllowThreads(__tstate
);
13997 if (PyErr_Occurred()) SWIG_fail
;
13999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14006 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14007 PyObject
*resultobj
;
14008 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14009 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14010 PyObject
* obj0
= 0 ;
14011 PyObject
* obj1
= 0 ;
14012 char *kwnames
[] = {
14013 (char *) "self",(char *) "data", NULL
14016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14019 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14023 (arg1
)->SetData(arg2
);
14025 wxPyEndAllowThreads(__tstate
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14028 Py_INCREF(Py_None
); resultobj
= Py_None
;
14035 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14038 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14040 return Py_BuildValue((char *)"");
14042 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14043 PyObject
*resultobj
;
14044 wxWindow
*arg1
= (wxWindow
*) 0 ;
14046 wxString
*arg3
= 0 ;
14047 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14048 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14049 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14050 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14051 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14052 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14053 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14054 wxMDIParentFrame
*result
;
14055 bool temp3
= False
;
14058 bool temp7
= False
;
14059 PyObject
* obj0
= 0 ;
14060 PyObject
* obj1
= 0 ;
14061 PyObject
* obj2
= 0 ;
14062 PyObject
* obj3
= 0 ;
14063 PyObject
* obj4
= 0 ;
14064 PyObject
* obj5
= 0 ;
14065 PyObject
* obj6
= 0 ;
14066 char *kwnames
[] = {
14067 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14073 arg2
= (int const) SWIG_AsInt(obj1
);
14074 if (PyErr_Occurred()) SWIG_fail
;
14076 arg3
= wxString_in_helper(obj2
);
14077 if (arg3
== NULL
) SWIG_fail
;
14083 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14089 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14093 arg6
= (long) SWIG_AsLong(obj5
);
14094 if (PyErr_Occurred()) SWIG_fail
;
14098 arg7
= wxString_in_helper(obj6
);
14099 if (arg7
== NULL
) SWIG_fail
;
14104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14105 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14107 wxPyEndAllowThreads(__tstate
);
14108 if (PyErr_Occurred()) SWIG_fail
;
14110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14133 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14134 PyObject
*resultobj
;
14135 wxMDIParentFrame
*result
;
14136 char *kwnames
[] = {
14140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14143 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14145 wxPyEndAllowThreads(__tstate
);
14146 if (PyErr_Occurred()) SWIG_fail
;
14148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14155 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14156 PyObject
*resultobj
;
14157 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14158 wxWindow
*arg2
= (wxWindow
*) 0 ;
14160 wxString
*arg4
= 0 ;
14161 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14162 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14163 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14164 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14165 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14166 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14167 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14169 bool temp4
= False
;
14172 bool temp8
= False
;
14173 PyObject
* obj0
= 0 ;
14174 PyObject
* obj1
= 0 ;
14175 PyObject
* obj2
= 0 ;
14176 PyObject
* obj3
= 0 ;
14177 PyObject
* obj4
= 0 ;
14178 PyObject
* obj5
= 0 ;
14179 PyObject
* obj6
= 0 ;
14180 PyObject
* obj7
= 0 ;
14181 char *kwnames
[] = {
14182 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14188 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14190 arg3
= (int const) SWIG_AsInt(obj2
);
14191 if (PyErr_Occurred()) SWIG_fail
;
14193 arg4
= wxString_in_helper(obj3
);
14194 if (arg4
== NULL
) SWIG_fail
;
14200 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14206 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14210 arg7
= (long) SWIG_AsLong(obj6
);
14211 if (PyErr_Occurred()) SWIG_fail
;
14215 arg8
= wxString_in_helper(obj7
);
14216 if (arg8
== NULL
) SWIG_fail
;
14221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14222 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14224 wxPyEndAllowThreads(__tstate
);
14225 if (PyErr_Occurred()) SWIG_fail
;
14227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14250 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14251 PyObject
*resultobj
;
14252 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14253 PyObject
* obj0
= 0 ;
14254 char *kwnames
[] = {
14255 (char *) "self", NULL
14258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14263 (arg1
)->ActivateNext();
14265 wxPyEndAllowThreads(__tstate
);
14266 if (PyErr_Occurred()) SWIG_fail
;
14268 Py_INCREF(Py_None
); resultobj
= Py_None
;
14275 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14276 PyObject
*resultobj
;
14277 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14278 PyObject
* obj0
= 0 ;
14279 char *kwnames
[] = {
14280 (char *) "self", NULL
14283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14288 (arg1
)->ActivatePrevious();
14290 wxPyEndAllowThreads(__tstate
);
14291 if (PyErr_Occurred()) SWIG_fail
;
14293 Py_INCREF(Py_None
); resultobj
= Py_None
;
14300 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14301 PyObject
*resultobj
;
14302 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14303 PyObject
* obj0
= 0 ;
14304 char *kwnames
[] = {
14305 (char *) "self", NULL
14308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14313 (arg1
)->ArrangeIcons();
14315 wxPyEndAllowThreads(__tstate
);
14316 if (PyErr_Occurred()) SWIG_fail
;
14318 Py_INCREF(Py_None
); resultobj
= Py_None
;
14325 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14326 PyObject
*resultobj
;
14327 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14328 PyObject
* obj0
= 0 ;
14329 char *kwnames
[] = {
14330 (char *) "self", NULL
14333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14340 wxPyEndAllowThreads(__tstate
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14343 Py_INCREF(Py_None
); resultobj
= Py_None
;
14350 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14351 PyObject
*resultobj
;
14352 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14353 wxMDIChildFrame
*result
;
14354 PyObject
* obj0
= 0 ;
14355 char *kwnames
[] = {
14356 (char *) "self", NULL
14359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14364 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14366 wxPyEndAllowThreads(__tstate
);
14367 if (PyErr_Occurred()) SWIG_fail
;
14370 resultobj
= wxPyMake_wxObject(result
);
14378 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14379 PyObject
*resultobj
;
14380 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14381 wxMDIClientWindow
*result
;
14382 PyObject
* obj0
= 0 ;
14383 char *kwnames
[] = {
14384 (char *) "self", NULL
14387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14392 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14394 wxPyEndAllowThreads(__tstate
);
14395 if (PyErr_Occurred()) SWIG_fail
;
14398 resultobj
= wxPyMake_wxObject(result
);
14406 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14407 PyObject
*resultobj
;
14408 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14410 PyObject
* obj0
= 0 ;
14411 char *kwnames
[] = {
14412 (char *) "self", NULL
14415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14420 result
= (wxWindow
*)(arg1
)->GetToolBar();
14422 wxPyEndAllowThreads(__tstate
);
14423 if (PyErr_Occurred()) SWIG_fail
;
14426 resultobj
= wxPyMake_wxObject(result
);
14434 static PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14435 PyObject
*resultobj
;
14436 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14438 PyObject
* obj0
= 0 ;
14439 char *kwnames
[] = {
14440 (char *) "self", NULL
14443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames
,&obj0
)) goto fail
;
14444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14448 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
14450 wxPyEndAllowThreads(__tstate
);
14451 if (PyErr_Occurred()) SWIG_fail
;
14454 resultobj
= wxPyMake_wxObject(result
);
14462 static PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14463 PyObject
*resultobj
;
14464 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14465 wxMenu
*arg2
= (wxMenu
*) 0 ;
14466 PyObject
* obj0
= 0 ;
14467 PyObject
* obj1
= 0 ;
14468 char *kwnames
[] = {
14469 (char *) "self",(char *) "menu", NULL
14472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
14473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14475 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
14476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14479 (arg1
)->SetWindowMenu(arg2
);
14481 wxPyEndAllowThreads(__tstate
);
14482 if (PyErr_Occurred()) SWIG_fail
;
14484 Py_INCREF(Py_None
); resultobj
= Py_None
;
14491 static PyObject
*_wrap_MDIParentFrame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14492 PyObject
*resultobj
;
14493 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14494 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
14495 PyObject
* obj0
= 0 ;
14496 PyObject
* obj1
= 0 ;
14497 char *kwnames
[] = {
14498 (char *) "self",(char *) "toolbar", NULL
14501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
14502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14504 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
14505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14508 (arg1
)->SetToolBar(arg2
);
14510 wxPyEndAllowThreads(__tstate
);
14511 if (PyErr_Occurred()) SWIG_fail
;
14513 Py_INCREF(Py_None
); resultobj
= Py_None
;
14520 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14521 PyObject
*resultobj
;
14522 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14523 PyObject
* obj0
= 0 ;
14524 char *kwnames
[] = {
14525 (char *) "self", NULL
14528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14535 wxPyEndAllowThreads(__tstate
);
14536 if (PyErr_Occurred()) SWIG_fail
;
14538 Py_INCREF(Py_None
); resultobj
= Py_None
;
14545 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14547 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14548 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14550 return Py_BuildValue((char *)"");
14552 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14553 PyObject
*resultobj
;
14554 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14556 wxString
*arg3
= 0 ;
14557 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14558 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14559 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14560 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14561 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14562 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14563 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14564 wxMDIChildFrame
*result
;
14565 bool temp3
= False
;
14568 bool temp7
= False
;
14569 PyObject
* obj0
= 0 ;
14570 PyObject
* obj1
= 0 ;
14571 PyObject
* obj2
= 0 ;
14572 PyObject
* obj3
= 0 ;
14573 PyObject
* obj4
= 0 ;
14574 PyObject
* obj5
= 0 ;
14575 PyObject
* obj6
= 0 ;
14576 char *kwnames
[] = {
14577 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14583 arg2
= (int const) SWIG_AsInt(obj1
);
14584 if (PyErr_Occurred()) SWIG_fail
;
14586 arg3
= wxString_in_helper(obj2
);
14587 if (arg3
== NULL
) SWIG_fail
;
14593 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14599 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14603 arg6
= (long) SWIG_AsLong(obj5
);
14604 if (PyErr_Occurred()) SWIG_fail
;
14608 arg7
= wxString_in_helper(obj6
);
14609 if (arg7
== NULL
) SWIG_fail
;
14614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14615 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14617 wxPyEndAllowThreads(__tstate
);
14618 if (PyErr_Occurred()) SWIG_fail
;
14621 resultobj
= wxPyMake_wxObject(result
);
14645 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14646 PyObject
*resultobj
;
14647 wxMDIChildFrame
*result
;
14648 char *kwnames
[] = {
14652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
14654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14655 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
14657 wxPyEndAllowThreads(__tstate
);
14658 if (PyErr_Occurred()) SWIG_fail
;
14661 resultobj
= wxPyMake_wxObject(result
);
14669 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14670 PyObject
*resultobj
;
14671 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14672 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14674 wxString
*arg4
= 0 ;
14675 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14676 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14677 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14678 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14679 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
14680 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14681 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14683 bool temp4
= False
;
14686 bool temp8
= False
;
14687 PyObject
* obj0
= 0 ;
14688 PyObject
* obj1
= 0 ;
14689 PyObject
* obj2
= 0 ;
14690 PyObject
* obj3
= 0 ;
14691 PyObject
* obj4
= 0 ;
14692 PyObject
* obj5
= 0 ;
14693 PyObject
* obj6
= 0 ;
14694 PyObject
* obj7
= 0 ;
14695 char *kwnames
[] = {
14696 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14702 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14704 arg3
= (int const) SWIG_AsInt(obj2
);
14705 if (PyErr_Occurred()) SWIG_fail
;
14707 arg4
= wxString_in_helper(obj3
);
14708 if (arg4
== NULL
) SWIG_fail
;
14714 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14720 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14724 arg7
= (long) SWIG_AsLong(obj6
);
14725 if (PyErr_Occurred()) SWIG_fail
;
14729 arg8
= wxString_in_helper(obj7
);
14730 if (arg8
== NULL
) SWIG_fail
;
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14738 wxPyEndAllowThreads(__tstate
);
14739 if (PyErr_Occurred()) SWIG_fail
;
14741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14764 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14765 PyObject
*resultobj
;
14766 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14767 PyObject
* obj0
= 0 ;
14768 char *kwnames
[] = {
14769 (char *) "self", NULL
14772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
14773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14777 (arg1
)->Activate();
14779 wxPyEndAllowThreads(__tstate
);
14780 if (PyErr_Occurred()) SWIG_fail
;
14782 Py_INCREF(Py_None
); resultobj
= Py_None
;
14789 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14790 PyObject
*resultobj
;
14791 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14793 PyObject
* obj0
= 0 ;
14794 PyObject
* obj1
= 0 ;
14795 char *kwnames
[] = {
14796 (char *) "self",(char *) "maximize", NULL
14799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
14800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14802 arg2
= (bool) SWIG_AsBool(obj1
);
14803 if (PyErr_Occurred()) SWIG_fail
;
14805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14806 (arg1
)->Maximize(arg2
);
14808 wxPyEndAllowThreads(__tstate
);
14809 if (PyErr_Occurred()) SWIG_fail
;
14811 Py_INCREF(Py_None
); resultobj
= Py_None
;
14818 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14819 PyObject
*resultobj
;
14820 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14821 PyObject
* obj0
= 0 ;
14822 char *kwnames
[] = {
14823 (char *) "self", NULL
14826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
14827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14833 wxPyEndAllowThreads(__tstate
);
14834 if (PyErr_Occurred()) SWIG_fail
;
14836 Py_INCREF(Py_None
); resultobj
= Py_None
;
14843 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14846 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
14848 return Py_BuildValue((char *)"");
14850 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14851 PyObject
*resultobj
;
14852 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14853 long arg2
= (long) 0 ;
14854 wxMDIClientWindow
*result
;
14855 PyObject
* obj0
= 0 ;
14856 PyObject
* obj1
= 0 ;
14857 char *kwnames
[] = {
14858 (char *) "parent",(char *) "style", NULL
14861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
14862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14865 arg2
= (long) SWIG_AsLong(obj1
);
14866 if (PyErr_Occurred()) SWIG_fail
;
14869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14870 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
14872 wxPyEndAllowThreads(__tstate
);
14873 if (PyErr_Occurred()) SWIG_fail
;
14876 resultobj
= wxPyMake_wxObject(result
);
14884 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14885 PyObject
*resultobj
;
14886 wxMDIClientWindow
*result
;
14887 char *kwnames
[] = {
14891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
14893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14894 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
14896 wxPyEndAllowThreads(__tstate
);
14897 if (PyErr_Occurred()) SWIG_fail
;
14900 resultobj
= wxPyMake_wxObject(result
);
14908 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14909 PyObject
*resultobj
;
14910 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
14911 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14912 long arg3
= (long) 0 ;
14914 PyObject
* obj0
= 0 ;
14915 PyObject
* obj1
= 0 ;
14916 PyObject
* obj2
= 0 ;
14917 char *kwnames
[] = {
14918 (char *) "self",(char *) "parent",(char *) "style", NULL
14921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
14923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14924 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14927 arg3
= (long) SWIG_AsLong(obj2
);
14928 if (PyErr_Occurred()) SWIG_fail
;
14931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14932 result
= (bool)(arg1
)->Create(arg2
,arg3
);
14934 wxPyEndAllowThreads(__tstate
);
14935 if (PyErr_Occurred()) SWIG_fail
;
14937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14944 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
14946 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14947 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
14949 return Py_BuildValue((char *)"");
14951 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14952 PyObject
*resultobj
;
14953 wxWindow
*arg1
= (wxWindow
*) 0 ;
14955 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14956 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14957 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14958 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14959 long arg5
= (long) 0 ;
14960 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
14961 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14962 wxPyWindow
*result
;
14965 bool temp6
= False
;
14966 PyObject
* obj0
= 0 ;
14967 PyObject
* obj1
= 0 ;
14968 PyObject
* obj2
= 0 ;
14969 PyObject
* obj3
= 0 ;
14970 PyObject
* obj4
= 0 ;
14971 PyObject
* obj5
= 0 ;
14972 char *kwnames
[] = {
14973 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14979 arg2
= (int const) SWIG_AsInt(obj1
);
14980 if (PyErr_Occurred()) SWIG_fail
;
14984 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14990 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14994 arg5
= (long) SWIG_AsLong(obj4
);
14995 if (PyErr_Occurred()) SWIG_fail
;
14999 arg6
= wxString_in_helper(obj5
);
15000 if (arg6
== NULL
) SWIG_fail
;
15005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15006 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15008 wxPyEndAllowThreads(__tstate
);
15009 if (PyErr_Occurred()) SWIG_fail
;
15011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15026 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15027 PyObject
*resultobj
;
15028 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15029 PyObject
*arg2
= (PyObject
*) 0 ;
15030 PyObject
*arg3
= (PyObject
*) 0 ;
15031 PyObject
* obj0
= 0 ;
15032 PyObject
* obj1
= 0 ;
15033 PyObject
* obj2
= 0 ;
15034 char *kwnames
[] = {
15035 (char *) "self",(char *) "self",(char *) "_class", NULL
15038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15045 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15047 wxPyEndAllowThreads(__tstate
);
15048 if (PyErr_Occurred()) SWIG_fail
;
15050 Py_INCREF(Py_None
); resultobj
= Py_None
;
15057 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15058 PyObject
*resultobj
;
15059 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15064 PyObject
* obj0
= 0 ;
15065 PyObject
* obj1
= 0 ;
15066 PyObject
* obj2
= 0 ;
15067 PyObject
* obj3
= 0 ;
15068 PyObject
* obj4
= 0 ;
15069 char *kwnames
[] = {
15070 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15076 arg2
= (int) SWIG_AsInt(obj1
);
15077 if (PyErr_Occurred()) SWIG_fail
;
15078 arg3
= (int) SWIG_AsInt(obj2
);
15079 if (PyErr_Occurred()) SWIG_fail
;
15080 arg4
= (int) SWIG_AsInt(obj3
);
15081 if (PyErr_Occurred()) SWIG_fail
;
15082 arg5
= (int) SWIG_AsInt(obj4
);
15083 if (PyErr_Occurred()) SWIG_fail
;
15085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15086 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15088 wxPyEndAllowThreads(__tstate
);
15089 if (PyErr_Occurred()) SWIG_fail
;
15091 Py_INCREF(Py_None
); resultobj
= Py_None
;
15098 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15099 PyObject
*resultobj
;
15100 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15105 int arg6
= (int) wxSIZE_AUTO
;
15106 PyObject
* obj0
= 0 ;
15107 PyObject
* obj1
= 0 ;
15108 PyObject
* obj2
= 0 ;
15109 PyObject
* obj3
= 0 ;
15110 PyObject
* obj4
= 0 ;
15111 PyObject
* obj5
= 0 ;
15112 char *kwnames
[] = {
15113 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15119 arg2
= (int) SWIG_AsInt(obj1
);
15120 if (PyErr_Occurred()) SWIG_fail
;
15121 arg3
= (int) SWIG_AsInt(obj2
);
15122 if (PyErr_Occurred()) SWIG_fail
;
15123 arg4
= (int) SWIG_AsInt(obj3
);
15124 if (PyErr_Occurred()) SWIG_fail
;
15125 arg5
= (int) SWIG_AsInt(obj4
);
15126 if (PyErr_Occurred()) SWIG_fail
;
15128 arg6
= (int) SWIG_AsInt(obj5
);
15129 if (PyErr_Occurred()) SWIG_fail
;
15132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15133 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15135 wxPyEndAllowThreads(__tstate
);
15136 if (PyErr_Occurred()) SWIG_fail
;
15138 Py_INCREF(Py_None
); resultobj
= Py_None
;
15145 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15146 PyObject
*resultobj
;
15147 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15150 PyObject
* obj0
= 0 ;
15151 PyObject
* obj1
= 0 ;
15152 PyObject
* obj2
= 0 ;
15153 char *kwnames
[] = {
15154 (char *) "self",(char *) "width",(char *) "height", NULL
15157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15160 arg2
= (int) SWIG_AsInt(obj1
);
15161 if (PyErr_Occurred()) SWIG_fail
;
15162 arg3
= (int) SWIG_AsInt(obj2
);
15163 if (PyErr_Occurred()) SWIG_fail
;
15165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15166 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15168 wxPyEndAllowThreads(__tstate
);
15169 if (PyErr_Occurred()) SWIG_fail
;
15171 Py_INCREF(Py_None
); resultobj
= Py_None
;
15178 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15179 PyObject
*resultobj
;
15180 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15183 PyObject
* obj0
= 0 ;
15184 PyObject
* obj1
= 0 ;
15185 PyObject
* obj2
= 0 ;
15186 char *kwnames
[] = {
15187 (char *) "self",(char *) "x",(char *) "y", NULL
15190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15193 arg2
= (int) SWIG_AsInt(obj1
);
15194 if (PyErr_Occurred()) SWIG_fail
;
15195 arg3
= (int) SWIG_AsInt(obj2
);
15196 if (PyErr_Occurred()) SWIG_fail
;
15198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15199 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15201 wxPyEndAllowThreads(__tstate
);
15202 if (PyErr_Occurred()) SWIG_fail
;
15204 Py_INCREF(Py_None
); resultobj
= Py_None
;
15211 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15212 PyObject
*resultobj
;
15213 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15214 int *arg2
= (int *) 0 ;
15215 int *arg3
= (int *) 0 ;
15218 PyObject
* obj0
= 0 ;
15219 char *kwnames
[] = {
15220 (char *) "self", NULL
15225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15230 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15232 wxPyEndAllowThreads(__tstate
);
15233 if (PyErr_Occurred()) SWIG_fail
;
15235 Py_INCREF(Py_None
); resultobj
= Py_None
;
15237 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15238 resultobj
= t_output_helper(resultobj
,o
);
15241 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15242 resultobj
= t_output_helper(resultobj
,o
);
15250 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15251 PyObject
*resultobj
;
15252 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15253 int *arg2
= (int *) 0 ;
15254 int *arg3
= (int *) 0 ;
15257 PyObject
* obj0
= 0 ;
15258 char *kwnames
[] = {
15259 (char *) "self", NULL
15264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15269 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15271 wxPyEndAllowThreads(__tstate
);
15272 if (PyErr_Occurred()) SWIG_fail
;
15274 Py_INCREF(Py_None
); resultobj
= Py_None
;
15276 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15277 resultobj
= t_output_helper(resultobj
,o
);
15280 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15281 resultobj
= t_output_helper(resultobj
,o
);
15289 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15290 PyObject
*resultobj
;
15291 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15292 int *arg2
= (int *) 0 ;
15293 int *arg3
= (int *) 0 ;
15296 PyObject
* obj0
= 0 ;
15297 char *kwnames
[] = {
15298 (char *) "self", NULL
15303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15308 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15310 wxPyEndAllowThreads(__tstate
);
15311 if (PyErr_Occurred()) SWIG_fail
;
15313 Py_INCREF(Py_None
); resultobj
= Py_None
;
15315 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15316 resultobj
= t_output_helper(resultobj
,o
);
15319 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15320 resultobj
= t_output_helper(resultobj
,o
);
15328 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15329 PyObject
*resultobj
;
15330 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15332 PyObject
* obj0
= 0 ;
15333 char *kwnames
[] = {
15334 (char *) "self", NULL
15337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15342 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15344 wxPyEndAllowThreads(__tstate
);
15345 if (PyErr_Occurred()) SWIG_fail
;
15348 wxSize
* resultptr
;
15349 resultptr
= new wxSize((wxSize
&) result
);
15350 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15358 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15359 PyObject
*resultobj
;
15360 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15362 PyObject
* obj0
= 0 ;
15363 char *kwnames
[] = {
15364 (char *) "self", NULL
15367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15372 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15374 wxPyEndAllowThreads(__tstate
);
15375 if (PyErr_Occurred()) SWIG_fail
;
15378 wxSize
* resultptr
;
15379 resultptr
= new wxSize((wxSize
&) result
);
15380 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15388 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15389 PyObject
*resultobj
;
15390 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15391 PyObject
* obj0
= 0 ;
15392 char *kwnames
[] = {
15393 (char *) "self", NULL
15396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15401 (arg1
)->base_InitDialog();
15403 wxPyEndAllowThreads(__tstate
);
15404 if (PyErr_Occurred()) SWIG_fail
;
15406 Py_INCREF(Py_None
); resultobj
= Py_None
;
15413 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15414 PyObject
*resultobj
;
15415 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15417 PyObject
* obj0
= 0 ;
15418 char *kwnames
[] = {
15419 (char *) "self", NULL
15422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15427 result
= (bool)(arg1
)->base_TransferDataToWindow();
15429 wxPyEndAllowThreads(__tstate
);
15430 if (PyErr_Occurred()) SWIG_fail
;
15432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15439 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15440 PyObject
*resultobj
;
15441 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15443 PyObject
* obj0
= 0 ;
15444 char *kwnames
[] = {
15445 (char *) "self", NULL
15448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15453 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15455 wxPyEndAllowThreads(__tstate
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15465 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15466 PyObject
*resultobj
;
15467 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15469 PyObject
* obj0
= 0 ;
15470 char *kwnames
[] = {
15471 (char *) "self", NULL
15474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15479 result
= (bool)(arg1
)->base_Validate();
15481 wxPyEndAllowThreads(__tstate
);
15482 if (PyErr_Occurred()) SWIG_fail
;
15484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15491 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15492 PyObject
*resultobj
;
15493 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15495 PyObject
* obj0
= 0 ;
15496 char *kwnames
[] = {
15497 (char *) "self", NULL
15500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15505 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15507 wxPyEndAllowThreads(__tstate
);
15508 if (PyErr_Occurred()) SWIG_fail
;
15510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15517 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15518 PyObject
*resultobj
;
15519 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15521 PyObject
* obj0
= 0 ;
15522 char *kwnames
[] = {
15523 (char *) "self", NULL
15526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15531 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15533 wxPyEndAllowThreads(__tstate
);
15534 if (PyErr_Occurred()) SWIG_fail
;
15536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15543 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15544 PyObject
*resultobj
;
15545 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15547 PyObject
* obj0
= 0 ;
15548 char *kwnames
[] = {
15549 (char *) "self", NULL
15552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15557 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
15559 wxPyEndAllowThreads(__tstate
);
15560 if (PyErr_Occurred()) SWIG_fail
;
15563 wxSize
* resultptr
;
15564 resultptr
= new wxSize((wxSize
&) result
);
15565 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15573 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15574 PyObject
*resultobj
;
15575 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15576 wxWindow
*arg2
= (wxWindow
*) 0 ;
15577 PyObject
* obj0
= 0 ;
15578 PyObject
* obj1
= 0 ;
15579 char *kwnames
[] = {
15580 (char *) "self",(char *) "child", NULL
15583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15590 (arg1
)->base_AddChild(arg2
);
15592 wxPyEndAllowThreads(__tstate
);
15593 if (PyErr_Occurred()) SWIG_fail
;
15595 Py_INCREF(Py_None
); resultobj
= Py_None
;
15602 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15603 PyObject
*resultobj
;
15604 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15605 wxWindow
*arg2
= (wxWindow
*) 0 ;
15606 PyObject
* obj0
= 0 ;
15607 PyObject
* obj1
= 0 ;
15608 char *kwnames
[] = {
15609 (char *) "self",(char *) "child", NULL
15612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15619 (arg1
)->base_RemoveChild(arg2
);
15621 wxPyEndAllowThreads(__tstate
);
15622 if (PyErr_Occurred()) SWIG_fail
;
15624 Py_INCREF(Py_None
); resultobj
= Py_None
;
15631 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15633 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15634 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
15636 return Py_BuildValue((char *)"");
15638 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15639 PyObject
*resultobj
;
15640 wxWindow
*arg1
= (wxWindow
*) 0 ;
15642 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15643 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15644 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15645 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15646 long arg5
= (long) 0 ;
15647 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15648 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15652 bool temp6
= False
;
15653 PyObject
* obj0
= 0 ;
15654 PyObject
* obj1
= 0 ;
15655 PyObject
* obj2
= 0 ;
15656 PyObject
* obj3
= 0 ;
15657 PyObject
* obj4
= 0 ;
15658 PyObject
* obj5
= 0 ;
15659 char *kwnames
[] = {
15660 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15666 arg2
= (int const) SWIG_AsInt(obj1
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15671 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15677 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15681 arg5
= (long) SWIG_AsLong(obj4
);
15682 if (PyErr_Occurred()) SWIG_fail
;
15686 arg6
= wxString_in_helper(obj5
);
15687 if (arg6
== NULL
) SWIG_fail
;
15692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15693 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15695 wxPyEndAllowThreads(__tstate
);
15696 if (PyErr_Occurred()) SWIG_fail
;
15698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
15713 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15714 PyObject
*resultobj
;
15715 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15716 PyObject
*arg2
= (PyObject
*) 0 ;
15717 PyObject
*arg3
= (PyObject
*) 0 ;
15718 PyObject
* obj0
= 0 ;
15719 PyObject
* obj1
= 0 ;
15720 PyObject
* obj2
= 0 ;
15721 char *kwnames
[] = {
15722 (char *) "self",(char *) "self",(char *) "_class", NULL
15725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15732 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15734 wxPyEndAllowThreads(__tstate
);
15735 if (PyErr_Occurred()) SWIG_fail
;
15737 Py_INCREF(Py_None
); resultobj
= Py_None
;
15744 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15745 PyObject
*resultobj
;
15746 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15751 PyObject
* obj0
= 0 ;
15752 PyObject
* obj1
= 0 ;
15753 PyObject
* obj2
= 0 ;
15754 PyObject
* obj3
= 0 ;
15755 PyObject
* obj4
= 0 ;
15756 char *kwnames
[] = {
15757 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15763 arg2
= (int) SWIG_AsInt(obj1
);
15764 if (PyErr_Occurred()) SWIG_fail
;
15765 arg3
= (int) SWIG_AsInt(obj2
);
15766 if (PyErr_Occurred()) SWIG_fail
;
15767 arg4
= (int) SWIG_AsInt(obj3
);
15768 if (PyErr_Occurred()) SWIG_fail
;
15769 arg5
= (int) SWIG_AsInt(obj4
);
15770 if (PyErr_Occurred()) SWIG_fail
;
15772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15773 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15775 wxPyEndAllowThreads(__tstate
);
15776 if (PyErr_Occurred()) SWIG_fail
;
15778 Py_INCREF(Py_None
); resultobj
= Py_None
;
15785 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15786 PyObject
*resultobj
;
15787 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15792 int arg6
= (int) wxSIZE_AUTO
;
15793 PyObject
* obj0
= 0 ;
15794 PyObject
* obj1
= 0 ;
15795 PyObject
* obj2
= 0 ;
15796 PyObject
* obj3
= 0 ;
15797 PyObject
* obj4
= 0 ;
15798 PyObject
* obj5
= 0 ;
15799 char *kwnames
[] = {
15800 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15806 arg2
= (int) SWIG_AsInt(obj1
);
15807 if (PyErr_Occurred()) SWIG_fail
;
15808 arg3
= (int) SWIG_AsInt(obj2
);
15809 if (PyErr_Occurred()) SWIG_fail
;
15810 arg4
= (int) SWIG_AsInt(obj3
);
15811 if (PyErr_Occurred()) SWIG_fail
;
15812 arg5
= (int) SWIG_AsInt(obj4
);
15813 if (PyErr_Occurred()) SWIG_fail
;
15815 arg6
= (int) SWIG_AsInt(obj5
);
15816 if (PyErr_Occurred()) SWIG_fail
;
15819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15820 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15822 wxPyEndAllowThreads(__tstate
);
15823 if (PyErr_Occurred()) SWIG_fail
;
15825 Py_INCREF(Py_None
); resultobj
= Py_None
;
15832 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15833 PyObject
*resultobj
;
15834 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15837 PyObject
* obj0
= 0 ;
15838 PyObject
* obj1
= 0 ;
15839 PyObject
* obj2
= 0 ;
15840 char *kwnames
[] = {
15841 (char *) "self",(char *) "width",(char *) "height", NULL
15844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15847 arg2
= (int) SWIG_AsInt(obj1
);
15848 if (PyErr_Occurred()) SWIG_fail
;
15849 arg3
= (int) SWIG_AsInt(obj2
);
15850 if (PyErr_Occurred()) SWIG_fail
;
15852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15853 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15855 wxPyEndAllowThreads(__tstate
);
15856 if (PyErr_Occurred()) SWIG_fail
;
15858 Py_INCREF(Py_None
); resultobj
= Py_None
;
15865 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15866 PyObject
*resultobj
;
15867 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15870 PyObject
* obj0
= 0 ;
15871 PyObject
* obj1
= 0 ;
15872 PyObject
* obj2
= 0 ;
15873 char *kwnames
[] = {
15874 (char *) "self",(char *) "x",(char *) "y", NULL
15877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15880 arg2
= (int) SWIG_AsInt(obj1
);
15881 if (PyErr_Occurred()) SWIG_fail
;
15882 arg3
= (int) SWIG_AsInt(obj2
);
15883 if (PyErr_Occurred()) SWIG_fail
;
15885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15886 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15888 wxPyEndAllowThreads(__tstate
);
15889 if (PyErr_Occurred()) SWIG_fail
;
15891 Py_INCREF(Py_None
); resultobj
= Py_None
;
15898 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15899 PyObject
*resultobj
;
15900 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15901 int *arg2
= (int *) 0 ;
15902 int *arg3
= (int *) 0 ;
15905 PyObject
* obj0
= 0 ;
15906 char *kwnames
[] = {
15907 (char *) "self", NULL
15912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15917 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15919 wxPyEndAllowThreads(__tstate
);
15920 if (PyErr_Occurred()) SWIG_fail
;
15922 Py_INCREF(Py_None
); resultobj
= Py_None
;
15924 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15925 resultobj
= t_output_helper(resultobj
,o
);
15928 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15929 resultobj
= t_output_helper(resultobj
,o
);
15937 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15938 PyObject
*resultobj
;
15939 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15940 int *arg2
= (int *) 0 ;
15941 int *arg3
= (int *) 0 ;
15944 PyObject
* obj0
= 0 ;
15945 char *kwnames
[] = {
15946 (char *) "self", NULL
15951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15956 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15958 wxPyEndAllowThreads(__tstate
);
15959 if (PyErr_Occurred()) SWIG_fail
;
15961 Py_INCREF(Py_None
); resultobj
= Py_None
;
15963 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15964 resultobj
= t_output_helper(resultobj
,o
);
15967 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15968 resultobj
= t_output_helper(resultobj
,o
);
15976 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15977 PyObject
*resultobj
;
15978 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15979 int *arg2
= (int *) 0 ;
15980 int *arg3
= (int *) 0 ;
15983 PyObject
* obj0
= 0 ;
15984 char *kwnames
[] = {
15985 (char *) "self", NULL
15990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15995 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15997 wxPyEndAllowThreads(__tstate
);
15998 if (PyErr_Occurred()) SWIG_fail
;
16000 Py_INCREF(Py_None
); resultobj
= Py_None
;
16002 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16003 resultobj
= t_output_helper(resultobj
,o
);
16006 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16007 resultobj
= t_output_helper(resultobj
,o
);
16015 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16016 PyObject
*resultobj
;
16017 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16019 PyObject
* obj0
= 0 ;
16020 char *kwnames
[] = {
16021 (char *) "self", NULL
16024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16029 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16031 wxPyEndAllowThreads(__tstate
);
16032 if (PyErr_Occurred()) SWIG_fail
;
16035 wxSize
* resultptr
;
16036 resultptr
= new wxSize((wxSize
&) result
);
16037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16045 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16046 PyObject
*resultobj
;
16047 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16049 PyObject
* obj0
= 0 ;
16050 char *kwnames
[] = {
16051 (char *) "self", NULL
16054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16059 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16061 wxPyEndAllowThreads(__tstate
);
16062 if (PyErr_Occurred()) SWIG_fail
;
16065 wxSize
* resultptr
;
16066 resultptr
= new wxSize((wxSize
&) result
);
16067 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16075 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16076 PyObject
*resultobj
;
16077 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16078 PyObject
* obj0
= 0 ;
16079 char *kwnames
[] = {
16080 (char *) "self", NULL
16083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16088 (arg1
)->base_InitDialog();
16090 wxPyEndAllowThreads(__tstate
);
16091 if (PyErr_Occurred()) SWIG_fail
;
16093 Py_INCREF(Py_None
); resultobj
= Py_None
;
16100 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16101 PyObject
*resultobj
;
16102 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16104 PyObject
* obj0
= 0 ;
16105 char *kwnames
[] = {
16106 (char *) "self", NULL
16109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16114 result
= (bool)(arg1
)->base_TransferDataToWindow();
16116 wxPyEndAllowThreads(__tstate
);
16117 if (PyErr_Occurred()) SWIG_fail
;
16119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16126 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16127 PyObject
*resultobj
;
16128 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16130 PyObject
* obj0
= 0 ;
16131 char *kwnames
[] = {
16132 (char *) "self", NULL
16135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16140 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16142 wxPyEndAllowThreads(__tstate
);
16143 if (PyErr_Occurred()) SWIG_fail
;
16145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16152 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16153 PyObject
*resultobj
;
16154 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16156 PyObject
* obj0
= 0 ;
16157 char *kwnames
[] = {
16158 (char *) "self", NULL
16161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16166 result
= (bool)(arg1
)->base_Validate();
16168 wxPyEndAllowThreads(__tstate
);
16169 if (PyErr_Occurred()) SWIG_fail
;
16171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16178 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16179 PyObject
*resultobj
;
16180 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16182 PyObject
* obj0
= 0 ;
16183 char *kwnames
[] = {
16184 (char *) "self", NULL
16187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16192 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16194 wxPyEndAllowThreads(__tstate
);
16195 if (PyErr_Occurred()) SWIG_fail
;
16197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16204 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16205 PyObject
*resultobj
;
16206 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16208 PyObject
* obj0
= 0 ;
16209 char *kwnames
[] = {
16210 (char *) "self", NULL
16213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16218 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16220 wxPyEndAllowThreads(__tstate
);
16221 if (PyErr_Occurred()) SWIG_fail
;
16223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16230 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16231 PyObject
*resultobj
;
16232 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16234 PyObject
* obj0
= 0 ;
16235 char *kwnames
[] = {
16236 (char *) "self", NULL
16239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16244 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16246 wxPyEndAllowThreads(__tstate
);
16247 if (PyErr_Occurred()) SWIG_fail
;
16250 wxSize
* resultptr
;
16251 resultptr
= new wxSize((wxSize
&) result
);
16252 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16260 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16261 PyObject
*resultobj
;
16262 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16263 wxWindow
*arg2
= (wxWindow
*) 0 ;
16264 PyObject
* obj0
= 0 ;
16265 PyObject
* obj1
= 0 ;
16266 char *kwnames
[] = {
16267 (char *) "self",(char *) "child", NULL
16270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16277 (arg1
)->base_AddChild(arg2
);
16279 wxPyEndAllowThreads(__tstate
);
16280 if (PyErr_Occurred()) SWIG_fail
;
16282 Py_INCREF(Py_None
); resultobj
= Py_None
;
16289 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16290 PyObject
*resultobj
;
16291 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16292 wxWindow
*arg2
= (wxWindow
*) 0 ;
16293 PyObject
* obj0
= 0 ;
16294 PyObject
* obj1
= 0 ;
16295 char *kwnames
[] = {
16296 (char *) "self",(char *) "child", NULL
16299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16302 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16306 (arg1
)->base_RemoveChild(arg2
);
16308 wxPyEndAllowThreads(__tstate
);
16309 if (PyErr_Occurred()) SWIG_fail
;
16311 Py_INCREF(Py_None
); resultobj
= Py_None
;
16318 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
16320 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16321 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
16323 return Py_BuildValue((char *)"");
16325 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
16326 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
16331 static PyObject
*_wrap_PrintoutTitleStr_get() {
16336 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
16338 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
16345 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
16346 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
16351 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
16356 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
16358 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
16365 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16366 PyObject
*resultobj
;
16367 wxPrintData
*result
;
16368 char *kwnames
[] = {
16372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
16374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16375 result
= (wxPrintData
*)new wxPrintData();
16377 wxPyEndAllowThreads(__tstate
);
16378 if (PyErr_Occurred()) SWIG_fail
;
16380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
16387 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16388 PyObject
*resultobj
;
16389 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16390 PyObject
* obj0
= 0 ;
16391 char *kwnames
[] = {
16392 (char *) "self", NULL
16395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
16396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16402 wxPyEndAllowThreads(__tstate
);
16403 if (PyErr_Occurred()) SWIG_fail
;
16405 Py_INCREF(Py_None
); resultobj
= Py_None
;
16412 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16413 PyObject
*resultobj
;
16414 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16416 PyObject
* obj0
= 0 ;
16417 char *kwnames
[] = {
16418 (char *) "self", NULL
16421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
16422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16426 result
= (int)(arg1
)->GetNoCopies();
16428 wxPyEndAllowThreads(__tstate
);
16429 if (PyErr_Occurred()) SWIG_fail
;
16431 resultobj
= SWIG_FromInt((int)result
);
16438 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16439 PyObject
*resultobj
;
16440 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16442 PyObject
* obj0
= 0 ;
16443 char *kwnames
[] = {
16444 (char *) "self", NULL
16447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
16448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16452 result
= (bool)(arg1
)->GetCollate();
16454 wxPyEndAllowThreads(__tstate
);
16455 if (PyErr_Occurred()) SWIG_fail
;
16457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16464 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16465 PyObject
*resultobj
;
16466 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16468 PyObject
* obj0
= 0 ;
16469 char *kwnames
[] = {
16470 (char *) "self", NULL
16473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
16474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16478 result
= (int)(arg1
)->GetOrientation();
16480 wxPyEndAllowThreads(__tstate
);
16481 if (PyErr_Occurred()) SWIG_fail
;
16483 resultobj
= SWIG_FromInt((int)result
);
16490 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16491 PyObject
*resultobj
;
16492 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16494 PyObject
* obj0
= 0 ;
16495 char *kwnames
[] = {
16496 (char *) "self", NULL
16499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
16500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16504 result
= (bool)(arg1
)->Ok();
16506 wxPyEndAllowThreads(__tstate
);
16507 if (PyErr_Occurred()) SWIG_fail
;
16509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16516 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16517 PyObject
*resultobj
;
16518 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16520 PyObject
* obj0
= 0 ;
16521 char *kwnames
[] = {
16522 (char *) "self", NULL
16525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
16526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16531 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
16532 result
= (wxString
*) &_result_ref
;
16535 wxPyEndAllowThreads(__tstate
);
16536 if (PyErr_Occurred()) SWIG_fail
;
16540 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16542 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16551 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16552 PyObject
*resultobj
;
16553 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16555 PyObject
* obj0
= 0 ;
16556 char *kwnames
[] = {
16557 (char *) "self", NULL
16560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
16561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16565 result
= (bool)(arg1
)->GetColour();
16567 wxPyEndAllowThreads(__tstate
);
16568 if (PyErr_Occurred()) SWIG_fail
;
16570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16577 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16578 PyObject
*resultobj
;
16579 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16581 PyObject
* obj0
= 0 ;
16582 char *kwnames
[] = {
16583 (char *) "self", NULL
16586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
16587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16591 result
= (int)(arg1
)->GetDuplex();
16593 wxPyEndAllowThreads(__tstate
);
16594 if (PyErr_Occurred()) SWIG_fail
;
16596 resultobj
= SWIG_FromInt((int)result
);
16603 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16604 PyObject
*resultobj
;
16605 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16607 PyObject
* obj0
= 0 ;
16608 char *kwnames
[] = {
16609 (char *) "self", NULL
16612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
16613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16617 result
= (int)(arg1
)->GetPaperId();
16619 wxPyEndAllowThreads(__tstate
);
16620 if (PyErr_Occurred()) SWIG_fail
;
16622 resultobj
= SWIG_FromInt((int)result
);
16629 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16630 PyObject
*resultobj
;
16631 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16633 PyObject
* obj0
= 0 ;
16634 char *kwnames
[] = {
16635 (char *) "self", NULL
16638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
16639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16644 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
16645 result
= (wxSize
*) &_result_ref
;
16648 wxPyEndAllowThreads(__tstate
);
16649 if (PyErr_Occurred()) SWIG_fail
;
16651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16658 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16659 PyObject
*resultobj
;
16660 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16662 PyObject
* obj0
= 0 ;
16663 char *kwnames
[] = {
16664 (char *) "self", NULL
16667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
16668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16672 result
= (int)(arg1
)->GetQuality();
16674 wxPyEndAllowThreads(__tstate
);
16675 if (PyErr_Occurred()) SWIG_fail
;
16677 resultobj
= SWIG_FromInt((int)result
);
16684 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16685 PyObject
*resultobj
;
16686 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16688 PyObject
* obj0
= 0 ;
16689 PyObject
* obj1
= 0 ;
16690 char *kwnames
[] = {
16691 (char *) "self",(char *) "v", NULL
16694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
16695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16697 arg2
= (int) SWIG_AsInt(obj1
);
16698 if (PyErr_Occurred()) SWIG_fail
;
16700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16701 (arg1
)->SetNoCopies(arg2
);
16703 wxPyEndAllowThreads(__tstate
);
16704 if (PyErr_Occurred()) SWIG_fail
;
16706 Py_INCREF(Py_None
); resultobj
= Py_None
;
16713 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16714 PyObject
*resultobj
;
16715 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16717 PyObject
* obj0
= 0 ;
16718 PyObject
* obj1
= 0 ;
16719 char *kwnames
[] = {
16720 (char *) "self",(char *) "flag", NULL
16723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
16724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16726 arg2
= (bool) SWIG_AsBool(obj1
);
16727 if (PyErr_Occurred()) SWIG_fail
;
16729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16730 (arg1
)->SetCollate(arg2
);
16732 wxPyEndAllowThreads(__tstate
);
16733 if (PyErr_Occurred()) SWIG_fail
;
16735 Py_INCREF(Py_None
); resultobj
= Py_None
;
16742 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16743 PyObject
*resultobj
;
16744 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16746 PyObject
* obj0
= 0 ;
16747 PyObject
* obj1
= 0 ;
16748 char *kwnames
[] = {
16749 (char *) "self",(char *) "orient", NULL
16752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16755 arg2
= (int) SWIG_AsInt(obj1
);
16756 if (PyErr_Occurred()) SWIG_fail
;
16758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16759 (arg1
)->SetOrientation(arg2
);
16761 wxPyEndAllowThreads(__tstate
);
16762 if (PyErr_Occurred()) SWIG_fail
;
16764 Py_INCREF(Py_None
); resultobj
= Py_None
;
16771 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16772 PyObject
*resultobj
;
16773 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16774 wxString
*arg2
= 0 ;
16775 bool temp2
= False
;
16776 PyObject
* obj0
= 0 ;
16777 PyObject
* obj1
= 0 ;
16778 char *kwnames
[] = {
16779 (char *) "self",(char *) "name", NULL
16782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
16783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16786 arg2
= wxString_in_helper(obj1
);
16787 if (arg2
== NULL
) SWIG_fail
;
16791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16792 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
16794 wxPyEndAllowThreads(__tstate
);
16795 if (PyErr_Occurred()) SWIG_fail
;
16797 Py_INCREF(Py_None
); resultobj
= Py_None
;
16812 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16813 PyObject
*resultobj
;
16814 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16816 PyObject
* obj0
= 0 ;
16817 PyObject
* obj1
= 0 ;
16818 char *kwnames
[] = {
16819 (char *) "self",(char *) "colour", NULL
16822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16825 arg2
= (bool) SWIG_AsBool(obj1
);
16826 if (PyErr_Occurred()) SWIG_fail
;
16828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16829 (arg1
)->SetColour(arg2
);
16831 wxPyEndAllowThreads(__tstate
);
16832 if (PyErr_Occurred()) SWIG_fail
;
16834 Py_INCREF(Py_None
); resultobj
= Py_None
;
16841 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16842 PyObject
*resultobj
;
16843 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16845 PyObject
* obj0
= 0 ;
16846 PyObject
* obj1
= 0 ;
16847 char *kwnames
[] = {
16848 (char *) "self",(char *) "duplex", NULL
16851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
16852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16854 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
16855 if (PyErr_Occurred()) SWIG_fail
;
16857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16858 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
16860 wxPyEndAllowThreads(__tstate
);
16861 if (PyErr_Occurred()) SWIG_fail
;
16863 Py_INCREF(Py_None
); resultobj
= Py_None
;
16870 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16871 PyObject
*resultobj
;
16872 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16874 PyObject
* obj0
= 0 ;
16875 PyObject
* obj1
= 0 ;
16876 char *kwnames
[] = {
16877 (char *) "self",(char *) "sizeId", NULL
16880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
16881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16883 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
16884 if (PyErr_Occurred()) SWIG_fail
;
16886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16887 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
16889 wxPyEndAllowThreads(__tstate
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16892 Py_INCREF(Py_None
); resultobj
= Py_None
;
16899 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16900 PyObject
*resultobj
;
16901 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16904 PyObject
* obj0
= 0 ;
16905 PyObject
* obj1
= 0 ;
16906 char *kwnames
[] = {
16907 (char *) "self",(char *) "sz", NULL
16910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16915 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16919 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
16921 wxPyEndAllowThreads(__tstate
);
16922 if (PyErr_Occurred()) SWIG_fail
;
16924 Py_INCREF(Py_None
); resultobj
= Py_None
;
16931 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16932 PyObject
*resultobj
;
16933 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16935 PyObject
* obj0
= 0 ;
16936 PyObject
* obj1
= 0 ;
16937 char *kwnames
[] = {
16938 (char *) "self",(char *) "quality", NULL
16941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
16942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16944 arg2
= (int) SWIG_AsInt(obj1
);
16945 if (PyErr_Occurred()) SWIG_fail
;
16947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16948 (arg1
)->SetQuality(arg2
);
16950 wxPyEndAllowThreads(__tstate
);
16951 if (PyErr_Occurred()) SWIG_fail
;
16953 Py_INCREF(Py_None
); resultobj
= Py_None
;
16960 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16961 PyObject
*resultobj
;
16962 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16964 PyObject
* obj0
= 0 ;
16965 char *kwnames
[] = {
16966 (char *) "self", NULL
16969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
16970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16975 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
16976 result
= (wxString
*) &_result_ref
;
16979 wxPyEndAllowThreads(__tstate
);
16980 if (PyErr_Occurred()) SWIG_fail
;
16984 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16986 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16995 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16996 PyObject
*resultobj
;
16997 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
16999 PyObject
* obj0
= 0 ;
17000 char *kwnames
[] = {
17001 (char *) "self", NULL
17004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
17005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17010 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
17011 result
= (wxString
*) &_result_ref
;
17014 wxPyEndAllowThreads(__tstate
);
17015 if (PyErr_Occurred()) SWIG_fail
;
17019 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17021 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17030 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17031 PyObject
*resultobj
;
17032 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17034 PyObject
* obj0
= 0 ;
17035 char *kwnames
[] = {
17036 (char *) "self", NULL
17039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
17040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17045 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
17046 result
= (wxString
*) &_result_ref
;
17049 wxPyEndAllowThreads(__tstate
);
17050 if (PyErr_Occurred()) SWIG_fail
;
17054 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17056 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17065 static PyObject
*_wrap_PrintData_GetFilename(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_GetFilename",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();
17080 wxString
const &_result_ref
= (arg1
)->GetFilename();
17081 result
= (wxString
*) &_result_ref
;
17084 wxPyEndAllowThreads(__tstate
);
17085 if (PyErr_Occurred()) SWIG_fail
;
17089 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17091 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17100 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17101 PyObject
*resultobj
;
17102 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17104 PyObject
* obj0
= 0 ;
17105 char *kwnames
[] = {
17106 (char *) "self", NULL
17109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
17110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17115 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
17116 result
= (wxString
*) &_result_ref
;
17119 wxPyEndAllowThreads(__tstate
);
17120 if (PyErr_Occurred()) SWIG_fail
;
17124 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17126 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17135 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17136 PyObject
*resultobj
;
17137 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17139 PyObject
* obj0
= 0 ;
17140 char *kwnames
[] = {
17141 (char *) "self", NULL
17144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
17145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17149 result
= (double)(arg1
)->GetPrinterScaleX();
17151 wxPyEndAllowThreads(__tstate
);
17152 if (PyErr_Occurred()) SWIG_fail
;
17154 resultobj
= SWIG_FromDouble((double)result
);
17161 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17162 PyObject
*resultobj
;
17163 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17165 PyObject
* obj0
= 0 ;
17166 char *kwnames
[] = {
17167 (char *) "self", NULL
17170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
17171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17175 result
= (double)(arg1
)->GetPrinterScaleY();
17177 wxPyEndAllowThreads(__tstate
);
17178 if (PyErr_Occurred()) SWIG_fail
;
17180 resultobj
= SWIG_FromDouble((double)result
);
17187 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17188 PyObject
*resultobj
;
17189 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17191 PyObject
* obj0
= 0 ;
17192 char *kwnames
[] = {
17193 (char *) "self", NULL
17196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
17197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17201 result
= (long)(arg1
)->GetPrinterTranslateX();
17203 wxPyEndAllowThreads(__tstate
);
17204 if (PyErr_Occurred()) SWIG_fail
;
17206 resultobj
= SWIG_FromLong((long)result
);
17213 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17214 PyObject
*resultobj
;
17215 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17217 PyObject
* obj0
= 0 ;
17218 char *kwnames
[] = {
17219 (char *) "self", NULL
17222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
17223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17227 result
= (long)(arg1
)->GetPrinterTranslateY();
17229 wxPyEndAllowThreads(__tstate
);
17230 if (PyErr_Occurred()) SWIG_fail
;
17232 resultobj
= SWIG_FromLong((long)result
);
17239 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17240 PyObject
*resultobj
;
17241 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17243 PyObject
* obj0
= 0 ;
17244 char *kwnames
[] = {
17245 (char *) "self", NULL
17248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
17249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17253 result
= (int)(arg1
)->GetPrintMode();
17255 wxPyEndAllowThreads(__tstate
);
17256 if (PyErr_Occurred()) SWIG_fail
;
17258 resultobj
= SWIG_FromInt((int)result
);
17265 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17266 PyObject
*resultobj
;
17267 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17268 wxString
*arg2
= 0 ;
17269 bool temp2
= False
;
17270 PyObject
* obj0
= 0 ;
17271 PyObject
* obj1
= 0 ;
17272 char *kwnames
[] = {
17273 (char *) "self",(char *) "command", NULL
17276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
17277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17280 arg2
= wxString_in_helper(obj1
);
17281 if (arg2
== NULL
) SWIG_fail
;
17285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17286 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
17288 wxPyEndAllowThreads(__tstate
);
17289 if (PyErr_Occurred()) SWIG_fail
;
17291 Py_INCREF(Py_None
); resultobj
= Py_None
;
17306 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17307 PyObject
*resultobj
;
17308 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17309 wxString
*arg2
= 0 ;
17310 bool temp2
= False
;
17311 PyObject
* obj0
= 0 ;
17312 PyObject
* obj1
= 0 ;
17313 char *kwnames
[] = {
17314 (char *) "self",(char *) "options", NULL
17317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
17318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17321 arg2
= wxString_in_helper(obj1
);
17322 if (arg2
== NULL
) SWIG_fail
;
17326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17327 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
17329 wxPyEndAllowThreads(__tstate
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17332 Py_INCREF(Py_None
); resultobj
= Py_None
;
17347 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17348 PyObject
*resultobj
;
17349 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17350 wxString
*arg2
= 0 ;
17351 bool temp2
= False
;
17352 PyObject
* obj0
= 0 ;
17353 PyObject
* obj1
= 0 ;
17354 char *kwnames
[] = {
17355 (char *) "self",(char *) "command", NULL
17358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
17359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17362 arg2
= wxString_in_helper(obj1
);
17363 if (arg2
== NULL
) SWIG_fail
;
17367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17368 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
17370 wxPyEndAllowThreads(__tstate
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17373 Py_INCREF(Py_None
); resultobj
= Py_None
;
17388 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17389 PyObject
*resultobj
;
17390 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17391 wxString
*arg2
= 0 ;
17392 bool temp2
= False
;
17393 PyObject
* obj0
= 0 ;
17394 PyObject
* obj1
= 0 ;
17395 char *kwnames
[] = {
17396 (char *) "self",(char *) "filename", NULL
17399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
17400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17403 arg2
= wxString_in_helper(obj1
);
17404 if (arg2
== NULL
) SWIG_fail
;
17408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17409 (arg1
)->SetFilename((wxString
const &)*arg2
);
17411 wxPyEndAllowThreads(__tstate
);
17412 if (PyErr_Occurred()) SWIG_fail
;
17414 Py_INCREF(Py_None
); resultobj
= Py_None
;
17429 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17430 PyObject
*resultobj
;
17431 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17432 wxString
*arg2
= 0 ;
17433 bool temp2
= False
;
17434 PyObject
* obj0
= 0 ;
17435 PyObject
* obj1
= 0 ;
17436 char *kwnames
[] = {
17437 (char *) "self",(char *) "path", NULL
17440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
17441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17444 arg2
= wxString_in_helper(obj1
);
17445 if (arg2
== NULL
) SWIG_fail
;
17449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17450 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
17452 wxPyEndAllowThreads(__tstate
);
17453 if (PyErr_Occurred()) SWIG_fail
;
17455 Py_INCREF(Py_None
); resultobj
= Py_None
;
17470 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17471 PyObject
*resultobj
;
17472 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17474 PyObject
* obj0
= 0 ;
17475 PyObject
* obj1
= 0 ;
17476 char *kwnames
[] = {
17477 (char *) "self",(char *) "x", NULL
17480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
17481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17483 arg2
= (double) SWIG_AsDouble(obj1
);
17484 if (PyErr_Occurred()) SWIG_fail
;
17486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17487 (arg1
)->SetPrinterScaleX(arg2
);
17489 wxPyEndAllowThreads(__tstate
);
17490 if (PyErr_Occurred()) SWIG_fail
;
17492 Py_INCREF(Py_None
); resultobj
= Py_None
;
17499 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17500 PyObject
*resultobj
;
17501 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17503 PyObject
* obj0
= 0 ;
17504 PyObject
* obj1
= 0 ;
17505 char *kwnames
[] = {
17506 (char *) "self",(char *) "y", NULL
17509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
17510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17512 arg2
= (double) SWIG_AsDouble(obj1
);
17513 if (PyErr_Occurred()) SWIG_fail
;
17515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17516 (arg1
)->SetPrinterScaleY(arg2
);
17518 wxPyEndAllowThreads(__tstate
);
17519 if (PyErr_Occurred()) SWIG_fail
;
17521 Py_INCREF(Py_None
); resultobj
= Py_None
;
17528 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17529 PyObject
*resultobj
;
17530 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17533 PyObject
* obj0
= 0 ;
17534 PyObject
* obj1
= 0 ;
17535 PyObject
* obj2
= 0 ;
17536 char *kwnames
[] = {
17537 (char *) "self",(char *) "x",(char *) "y", NULL
17540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17543 arg2
= (double) SWIG_AsDouble(obj1
);
17544 if (PyErr_Occurred()) SWIG_fail
;
17545 arg3
= (double) SWIG_AsDouble(obj2
);
17546 if (PyErr_Occurred()) SWIG_fail
;
17548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17549 (arg1
)->SetPrinterScaling(arg2
,arg3
);
17551 wxPyEndAllowThreads(__tstate
);
17552 if (PyErr_Occurred()) SWIG_fail
;
17554 Py_INCREF(Py_None
); resultobj
= Py_None
;
17561 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17562 PyObject
*resultobj
;
17563 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17565 PyObject
* obj0
= 0 ;
17566 PyObject
* obj1
= 0 ;
17567 char *kwnames
[] = {
17568 (char *) "self",(char *) "x", NULL
17571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
17572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17574 arg2
= (long) SWIG_AsLong(obj1
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17578 (arg1
)->SetPrinterTranslateX(arg2
);
17580 wxPyEndAllowThreads(__tstate
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17583 Py_INCREF(Py_None
); resultobj
= Py_None
;
17590 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17591 PyObject
*resultobj
;
17592 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17594 PyObject
* obj0
= 0 ;
17595 PyObject
* obj1
= 0 ;
17596 char *kwnames
[] = {
17597 (char *) "self",(char *) "y", NULL
17600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
17601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17603 arg2
= (long) SWIG_AsLong(obj1
);
17604 if (PyErr_Occurred()) SWIG_fail
;
17606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17607 (arg1
)->SetPrinterTranslateY(arg2
);
17609 wxPyEndAllowThreads(__tstate
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17612 Py_INCREF(Py_None
); resultobj
= Py_None
;
17619 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17620 PyObject
*resultobj
;
17621 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17624 PyObject
* obj0
= 0 ;
17625 PyObject
* obj1
= 0 ;
17626 PyObject
* obj2
= 0 ;
17627 char *kwnames
[] = {
17628 (char *) "self",(char *) "x",(char *) "y", NULL
17631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17634 arg2
= (long) SWIG_AsLong(obj1
);
17635 if (PyErr_Occurred()) SWIG_fail
;
17636 arg3
= (long) SWIG_AsLong(obj2
);
17637 if (PyErr_Occurred()) SWIG_fail
;
17639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17640 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
17642 wxPyEndAllowThreads(__tstate
);
17643 if (PyErr_Occurred()) SWIG_fail
;
17645 Py_INCREF(Py_None
); resultobj
= Py_None
;
17652 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17653 PyObject
*resultobj
;
17654 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17656 PyObject
* obj0
= 0 ;
17657 PyObject
* obj1
= 0 ;
17658 char *kwnames
[] = {
17659 (char *) "self",(char *) "printMode", NULL
17662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
17663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17665 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
17666 if (PyErr_Occurred()) SWIG_fail
;
17668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17669 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
17671 wxPyEndAllowThreads(__tstate
);
17672 if (PyErr_Occurred()) SWIG_fail
;
17674 Py_INCREF(Py_None
); resultobj
= Py_None
;
17681 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17682 PyObject
*resultobj
;
17683 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17684 wxOutputStream
*result
;
17685 PyObject
* obj0
= 0 ;
17686 char *kwnames
[] = {
17687 (char *) "self", NULL
17690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
17691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17695 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
17697 wxPyEndAllowThreads(__tstate
);
17698 if (PyErr_Occurred()) SWIG_fail
;
17700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
17707 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17708 PyObject
*resultobj
;
17709 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17710 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
17711 PyObject
* obj0
= 0 ;
17712 PyObject
* obj1
= 0 ;
17713 char *kwnames
[] = {
17714 (char *) "self",(char *) "outputstream", NULL
17717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
17718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
17721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17724 (arg1
)->SetOutputStream(arg2
);
17726 wxPyEndAllowThreads(__tstate
);
17727 if (PyErr_Occurred()) SWIG_fail
;
17729 Py_INCREF(Py_None
); resultobj
= Py_None
;
17736 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
17738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17739 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
17741 return Py_BuildValue((char *)"");
17743 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17744 PyObject
*resultobj
;
17745 wxPageSetupDialogData
*result
;
17746 char *kwnames
[] = {
17750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
17752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17753 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
17755 wxPyEndAllowThreads(__tstate
);
17756 if (PyErr_Occurred()) SWIG_fail
;
17758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
17765 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17766 PyObject
*resultobj
;
17767 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17768 PyObject
* obj0
= 0 ;
17769 char *kwnames
[] = {
17770 (char *) "self", NULL
17773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
17774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17780 wxPyEndAllowThreads(__tstate
);
17781 if (PyErr_Occurred()) SWIG_fail
;
17783 Py_INCREF(Py_None
); resultobj
= Py_None
;
17790 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17791 PyObject
*resultobj
;
17792 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17794 PyObject
* obj0
= 0 ;
17795 PyObject
* obj1
= 0 ;
17796 char *kwnames
[] = {
17797 (char *) "self",(char *) "flag", NULL
17800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17803 arg2
= (bool) SWIG_AsBool(obj1
);
17804 if (PyErr_Occurred()) SWIG_fail
;
17806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17807 (arg1
)->EnableHelp(arg2
);
17809 wxPyEndAllowThreads(__tstate
);
17810 if (PyErr_Occurred()) SWIG_fail
;
17812 Py_INCREF(Py_None
); resultobj
= Py_None
;
17819 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17820 PyObject
*resultobj
;
17821 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17823 PyObject
* obj0
= 0 ;
17824 PyObject
* obj1
= 0 ;
17825 char *kwnames
[] = {
17826 (char *) "self",(char *) "flag", NULL
17829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17832 arg2
= (bool) SWIG_AsBool(obj1
);
17833 if (PyErr_Occurred()) SWIG_fail
;
17835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17836 (arg1
)->EnableMargins(arg2
);
17838 wxPyEndAllowThreads(__tstate
);
17839 if (PyErr_Occurred()) SWIG_fail
;
17841 Py_INCREF(Py_None
); resultobj
= Py_None
;
17848 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17849 PyObject
*resultobj
;
17850 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17852 PyObject
* obj0
= 0 ;
17853 PyObject
* obj1
= 0 ;
17854 char *kwnames
[] = {
17855 (char *) "self",(char *) "flag", NULL
17858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
17859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17861 arg2
= (bool) SWIG_AsBool(obj1
);
17862 if (PyErr_Occurred()) SWIG_fail
;
17864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17865 (arg1
)->EnableOrientation(arg2
);
17867 wxPyEndAllowThreads(__tstate
);
17868 if (PyErr_Occurred()) SWIG_fail
;
17870 Py_INCREF(Py_None
); resultobj
= Py_None
;
17877 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17878 PyObject
*resultobj
;
17879 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17881 PyObject
* obj0
= 0 ;
17882 PyObject
* obj1
= 0 ;
17883 char *kwnames
[] = {
17884 (char *) "self",(char *) "flag", NULL
17887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
17888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17890 arg2
= (bool) SWIG_AsBool(obj1
);
17891 if (PyErr_Occurred()) SWIG_fail
;
17893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17894 (arg1
)->EnablePaper(arg2
);
17896 wxPyEndAllowThreads(__tstate
);
17897 if (PyErr_Occurred()) SWIG_fail
;
17899 Py_INCREF(Py_None
); resultobj
= Py_None
;
17906 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17907 PyObject
*resultobj
;
17908 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17910 PyObject
* obj0
= 0 ;
17911 PyObject
* obj1
= 0 ;
17912 char *kwnames
[] = {
17913 (char *) "self",(char *) "flag", NULL
17916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
17917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17919 arg2
= (bool) SWIG_AsBool(obj1
);
17920 if (PyErr_Occurred()) SWIG_fail
;
17922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17923 (arg1
)->EnablePrinter(arg2
);
17925 wxPyEndAllowThreads(__tstate
);
17926 if (PyErr_Occurred()) SWIG_fail
;
17928 Py_INCREF(Py_None
); resultobj
= Py_None
;
17935 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17936 PyObject
*resultobj
;
17937 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17939 PyObject
* obj0
= 0 ;
17940 char *kwnames
[] = {
17941 (char *) "self", NULL
17944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
17945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17949 result
= (bool)(arg1
)->GetDefaultMinMargins();
17951 wxPyEndAllowThreads(__tstate
);
17952 if (PyErr_Occurred()) SWIG_fail
;
17954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17961 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17962 PyObject
*resultobj
;
17963 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17965 PyObject
* obj0
= 0 ;
17966 char *kwnames
[] = {
17967 (char *) "self", NULL
17970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
17971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17975 result
= (bool)(arg1
)->GetEnableMargins();
17977 wxPyEndAllowThreads(__tstate
);
17978 if (PyErr_Occurred()) SWIG_fail
;
17980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17987 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17988 PyObject
*resultobj
;
17989 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
17991 PyObject
* obj0
= 0 ;
17992 char *kwnames
[] = {
17993 (char *) "self", NULL
17996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
17997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
17998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18001 result
= (bool)(arg1
)->GetEnableOrientation();
18003 wxPyEndAllowThreads(__tstate
);
18004 if (PyErr_Occurred()) SWIG_fail
;
18006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18013 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18014 PyObject
*resultobj
;
18015 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18017 PyObject
* obj0
= 0 ;
18018 char *kwnames
[] = {
18019 (char *) "self", NULL
18022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
18023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18027 result
= (bool)(arg1
)->GetEnablePaper();
18029 wxPyEndAllowThreads(__tstate
);
18030 if (PyErr_Occurred()) SWIG_fail
;
18032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18039 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18040 PyObject
*resultobj
;
18041 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18043 PyObject
* obj0
= 0 ;
18044 char *kwnames
[] = {
18045 (char *) "self", NULL
18048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
18049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18053 result
= (bool)(arg1
)->GetEnablePrinter();
18055 wxPyEndAllowThreads(__tstate
);
18056 if (PyErr_Occurred()) SWIG_fail
;
18058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18065 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18066 PyObject
*resultobj
;
18067 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18069 PyObject
* obj0
= 0 ;
18070 char *kwnames
[] = {
18071 (char *) "self", NULL
18074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
18075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18079 result
= (bool)(arg1
)->GetEnableHelp();
18081 wxPyEndAllowThreads(__tstate
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18091 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18092 PyObject
*resultobj
;
18093 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18095 PyObject
* obj0
= 0 ;
18096 char *kwnames
[] = {
18097 (char *) "self", NULL
18100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
18101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18105 result
= (bool)(arg1
)->GetDefaultInfo();
18107 wxPyEndAllowThreads(__tstate
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18117 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18118 PyObject
*resultobj
;
18119 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18121 PyObject
* obj0
= 0 ;
18122 char *kwnames
[] = {
18123 (char *) "self", NULL
18126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
18127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18131 result
= (arg1
)->GetMarginTopLeft();
18133 wxPyEndAllowThreads(__tstate
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18137 wxPoint
* resultptr
;
18138 resultptr
= new wxPoint((wxPoint
&) result
);
18139 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18147 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18148 PyObject
*resultobj
;
18149 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18151 PyObject
* obj0
= 0 ;
18152 char *kwnames
[] = {
18153 (char *) "self", NULL
18156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
18157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18161 result
= (arg1
)->GetMarginBottomRight();
18163 wxPyEndAllowThreads(__tstate
);
18164 if (PyErr_Occurred()) SWIG_fail
;
18167 wxPoint
* resultptr
;
18168 resultptr
= new wxPoint((wxPoint
&) result
);
18169 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18177 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18178 PyObject
*resultobj
;
18179 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18181 PyObject
* obj0
= 0 ;
18182 char *kwnames
[] = {
18183 (char *) "self", NULL
18186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
18187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18191 result
= (arg1
)->GetMinMarginTopLeft();
18193 wxPyEndAllowThreads(__tstate
);
18194 if (PyErr_Occurred()) SWIG_fail
;
18197 wxPoint
* resultptr
;
18198 resultptr
= new wxPoint((wxPoint
&) result
);
18199 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18207 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18208 PyObject
*resultobj
;
18209 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18211 PyObject
* obj0
= 0 ;
18212 char *kwnames
[] = {
18213 (char *) "self", NULL
18216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
18217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18221 result
= (arg1
)->GetMinMarginBottomRight();
18223 wxPyEndAllowThreads(__tstate
);
18224 if (PyErr_Occurred()) SWIG_fail
;
18227 wxPoint
* resultptr
;
18228 resultptr
= new wxPoint((wxPoint
&) result
);
18229 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18237 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18238 PyObject
*resultobj
;
18239 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18241 PyObject
* obj0
= 0 ;
18242 char *kwnames
[] = {
18243 (char *) "self", NULL
18246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18251 result
= (int)(arg1
)->GetPaperId();
18253 wxPyEndAllowThreads(__tstate
);
18254 if (PyErr_Occurred()) SWIG_fail
;
18256 resultobj
= SWIG_FromInt((int)result
);
18263 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18264 PyObject
*resultobj
;
18265 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18267 PyObject
* obj0
= 0 ;
18268 char *kwnames
[] = {
18269 (char *) "self", NULL
18272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18277 result
= (arg1
)->GetPaperSize();
18279 wxPyEndAllowThreads(__tstate
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18283 wxSize
* resultptr
;
18284 resultptr
= new wxSize((wxSize
&) result
);
18285 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18293 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18294 PyObject
*resultobj
;
18295 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18296 wxPrintData
*result
;
18297 PyObject
* obj0
= 0 ;
18298 char *kwnames
[] = {
18299 (char *) "self", NULL
18302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
18303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18308 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
18309 result
= (wxPrintData
*) &_result_ref
;
18312 wxPyEndAllowThreads(__tstate
);
18313 if (PyErr_Occurred()) SWIG_fail
;
18315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
18322 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18323 PyObject
*resultobj
;
18324 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18326 PyObject
* obj0
= 0 ;
18327 char *kwnames
[] = {
18328 (char *) "self", NULL
18331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
18332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18336 result
= (bool)(arg1
)->Ok();
18338 wxPyEndAllowThreads(__tstate
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18348 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18349 PyObject
*resultobj
;
18350 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18352 PyObject
* obj0
= 0 ;
18353 PyObject
* obj1
= 0 ;
18354 char *kwnames
[] = {
18355 (char *) "self",(char *) "flag", NULL
18358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
18359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18361 arg2
= (bool) SWIG_AsBool(obj1
);
18362 if (PyErr_Occurred()) SWIG_fail
;
18364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18365 (arg1
)->SetDefaultInfo(arg2
);
18367 wxPyEndAllowThreads(__tstate
);
18368 if (PyErr_Occurred()) SWIG_fail
;
18370 Py_INCREF(Py_None
); resultobj
= Py_None
;
18377 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18378 PyObject
*resultobj
;
18379 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18381 PyObject
* obj0
= 0 ;
18382 PyObject
* obj1
= 0 ;
18383 char *kwnames
[] = {
18384 (char *) "self",(char *) "flag", NULL
18387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18390 arg2
= (bool) SWIG_AsBool(obj1
);
18391 if (PyErr_Occurred()) SWIG_fail
;
18393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18394 (arg1
)->SetDefaultMinMargins(arg2
);
18396 wxPyEndAllowThreads(__tstate
);
18397 if (PyErr_Occurred()) SWIG_fail
;
18399 Py_INCREF(Py_None
); resultobj
= Py_None
;
18406 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18407 PyObject
*resultobj
;
18408 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18409 wxPoint
*arg2
= 0 ;
18411 PyObject
* obj0
= 0 ;
18412 PyObject
* obj1
= 0 ;
18413 char *kwnames
[] = {
18414 (char *) "self",(char *) "pt", NULL
18417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
18418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18422 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18426 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
18428 wxPyEndAllowThreads(__tstate
);
18429 if (PyErr_Occurred()) SWIG_fail
;
18431 Py_INCREF(Py_None
); resultobj
= Py_None
;
18438 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18439 PyObject
*resultobj
;
18440 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18441 wxPoint
*arg2
= 0 ;
18443 PyObject
* obj0
= 0 ;
18444 PyObject
* obj1
= 0 ;
18445 char *kwnames
[] = {
18446 (char *) "self",(char *) "pt", NULL
18449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
18450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18454 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18458 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
18460 wxPyEndAllowThreads(__tstate
);
18461 if (PyErr_Occurred()) SWIG_fail
;
18463 Py_INCREF(Py_None
); resultobj
= Py_None
;
18470 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18471 PyObject
*resultobj
;
18472 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18473 wxPoint
*arg2
= 0 ;
18475 PyObject
* obj0
= 0 ;
18476 PyObject
* obj1
= 0 ;
18477 char *kwnames
[] = {
18478 (char *) "self",(char *) "pt", NULL
18481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
18482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18486 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18490 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
18492 wxPyEndAllowThreads(__tstate
);
18493 if (PyErr_Occurred()) SWIG_fail
;
18495 Py_INCREF(Py_None
); resultobj
= Py_None
;
18502 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18503 PyObject
*resultobj
;
18504 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18505 wxPoint
*arg2
= 0 ;
18507 PyObject
* obj0
= 0 ;
18508 PyObject
* obj1
= 0 ;
18509 char *kwnames
[] = {
18510 (char *) "self",(char *) "pt", NULL
18513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
18514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18518 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18522 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
18524 wxPyEndAllowThreads(__tstate
);
18525 if (PyErr_Occurred()) SWIG_fail
;
18527 Py_INCREF(Py_None
); resultobj
= Py_None
;
18534 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18535 PyObject
*resultobj
;
18536 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18538 PyObject
* obj0
= 0 ;
18539 PyObject
* obj1
= 0 ;
18540 char *kwnames
[] = {
18541 (char *) "self",(char *) "id", NULL
18544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18547 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
18548 if (PyErr_Occurred()) SWIG_fail
;
18550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18551 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18553 wxPyEndAllowThreads(__tstate
);
18554 if (PyErr_Occurred()) SWIG_fail
;
18556 Py_INCREF(Py_None
); resultobj
= Py_None
;
18563 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18564 PyObject
*resultobj
;
18565 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18568 PyObject
* obj0
= 0 ;
18569 PyObject
* obj1
= 0 ;
18570 char *kwnames
[] = {
18571 (char *) "self",(char *) "size", NULL
18574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18579 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18583 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18585 wxPyEndAllowThreads(__tstate
);
18586 if (PyErr_Occurred()) SWIG_fail
;
18588 Py_INCREF(Py_None
); resultobj
= Py_None
;
18595 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18596 PyObject
*resultobj
;
18597 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18598 wxPrintData
*arg2
= 0 ;
18599 PyObject
* obj0
= 0 ;
18600 PyObject
* obj1
= 0 ;
18601 char *kwnames
[] = {
18602 (char *) "self",(char *) "printData", NULL
18605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
18606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18608 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
18609 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18611 if (arg2
== NULL
) {
18612 PyErr_SetString(PyExc_TypeError
,"null reference");
18616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18617 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
18619 wxPyEndAllowThreads(__tstate
);
18620 if (PyErr_Occurred()) SWIG_fail
;
18622 Py_INCREF(Py_None
); resultobj
= Py_None
;
18629 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
18631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18632 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
18634 return Py_BuildValue((char *)"");
18636 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18637 PyObject
*resultobj
;
18638 wxWindow
*arg1
= (wxWindow
*) 0 ;
18639 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
18640 wxPageSetupDialog
*result
;
18641 PyObject
* obj0
= 0 ;
18642 PyObject
* obj1
= 0 ;
18643 char *kwnames
[] = {
18644 (char *) "parent",(char *) "data", NULL
18647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
18648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18651 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
18652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18656 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
18658 wxPyEndAllowThreads(__tstate
);
18659 if (PyErr_Occurred()) SWIG_fail
;
18661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
18668 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18669 PyObject
*resultobj
;
18670 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
18671 wxPageSetupDialogData
*result
;
18672 PyObject
* obj0
= 0 ;
18673 char *kwnames
[] = {
18674 (char *) "self", NULL
18677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
18678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
18679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18683 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
18684 result
= (wxPageSetupDialogData
*) &_result_ref
;
18687 wxPyEndAllowThreads(__tstate
);
18688 if (PyErr_Occurred()) SWIG_fail
;
18690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
18697 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18698 PyObject
*resultobj
;
18699 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
18701 PyObject
* obj0
= 0 ;
18702 char *kwnames
[] = {
18703 (char *) "self", NULL
18706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
18707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
18708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18711 result
= (int)(arg1
)->ShowModal();
18713 wxPyEndAllowThreads(__tstate
);
18714 if (PyErr_Occurred()) SWIG_fail
;
18716 resultobj
= SWIG_FromInt((int)result
);
18723 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
18725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18726 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
18728 return Py_BuildValue((char *)"");
18730 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
18731 PyObject
*resultobj
;
18732 wxPrintDialogData
*result
;
18734 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
18736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18737 result
= (wxPrintDialogData
*)new wxPrintDialogData();
18739 wxPyEndAllowThreads(__tstate
);
18740 if (PyErr_Occurred()) SWIG_fail
;
18742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
18749 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
18750 PyObject
*resultobj
;
18751 wxPrintData
*arg1
= 0 ;
18752 wxPrintDialogData
*result
;
18753 PyObject
* obj0
= 0 ;
18755 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
18756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18757 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18759 if (arg1
== NULL
) {
18760 PyErr_SetString(PyExc_TypeError
,"null reference");
18764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18765 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
18767 wxPyEndAllowThreads(__tstate
);
18768 if (PyErr_Occurred()) SWIG_fail
;
18770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
18777 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
18782 argc
= PyObject_Length(args
);
18783 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
18784 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18787 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
18793 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
18801 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
18805 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
18810 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18811 PyObject
*resultobj
;
18812 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18813 PyObject
* obj0
= 0 ;
18814 char *kwnames
[] = {
18815 (char *) "self", NULL
18818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
18819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18825 wxPyEndAllowThreads(__tstate
);
18826 if (PyErr_Occurred()) SWIG_fail
;
18828 Py_INCREF(Py_None
); resultobj
= Py_None
;
18835 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18836 PyObject
*resultobj
;
18837 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18839 PyObject
* obj0
= 0 ;
18840 char *kwnames
[] = {
18841 (char *) "self", NULL
18844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
18845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18849 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
18851 wxPyEndAllowThreads(__tstate
);
18852 if (PyErr_Occurred()) SWIG_fail
;
18854 resultobj
= SWIG_FromInt((int)result
);
18861 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18862 PyObject
*resultobj
;
18863 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18865 PyObject
* obj0
= 0 ;
18866 char *kwnames
[] = {
18867 (char *) "self", NULL
18870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
18871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18875 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
18877 wxPyEndAllowThreads(__tstate
);
18878 if (PyErr_Occurred()) SWIG_fail
;
18880 resultobj
= SWIG_FromInt((int)result
);
18887 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18888 PyObject
*resultobj
;
18889 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18891 PyObject
* obj0
= 0 ;
18892 char *kwnames
[] = {
18893 (char *) "self", NULL
18896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
18897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18901 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
18903 wxPyEndAllowThreads(__tstate
);
18904 if (PyErr_Occurred()) SWIG_fail
;
18906 resultobj
= SWIG_FromInt((int)result
);
18913 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18914 PyObject
*resultobj
;
18915 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18917 PyObject
* obj0
= 0 ;
18918 char *kwnames
[] = {
18919 (char *) "self", NULL
18922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
18923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18927 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
18929 wxPyEndAllowThreads(__tstate
);
18930 if (PyErr_Occurred()) SWIG_fail
;
18932 resultobj
= SWIG_FromInt((int)result
);
18939 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18940 PyObject
*resultobj
;
18941 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18943 PyObject
* obj0
= 0 ;
18944 char *kwnames
[] = {
18945 (char *) "self", NULL
18948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18953 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
18955 wxPyEndAllowThreads(__tstate
);
18956 if (PyErr_Occurred()) SWIG_fail
;
18958 resultobj
= SWIG_FromInt((int)result
);
18965 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18966 PyObject
*resultobj
;
18967 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18969 PyObject
* obj0
= 0 ;
18970 char *kwnames
[] = {
18971 (char *) "self", NULL
18974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
18975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
18976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18979 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
18981 wxPyEndAllowThreads(__tstate
);
18982 if (PyErr_Occurred()) SWIG_fail
;
18984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18991 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18992 PyObject
*resultobj
;
18993 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
18995 PyObject
* obj0
= 0 ;
18996 char *kwnames
[] = {
18997 (char *) "self", NULL
19000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
19001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19005 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
19007 wxPyEndAllowThreads(__tstate
);
19008 if (PyErr_Occurred()) SWIG_fail
;
19010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19017 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19018 PyObject
*resultobj
;
19019 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19021 PyObject
* obj0
= 0 ;
19022 char *kwnames
[] = {
19023 (char *) "self", NULL
19026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
19027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19031 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
19033 wxPyEndAllowThreads(__tstate
);
19034 if (PyErr_Occurred()) SWIG_fail
;
19036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19043 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19044 PyObject
*resultobj
;
19045 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19047 PyObject
* obj0
= 0 ;
19048 char *kwnames
[] = {
19049 (char *) "self", NULL
19052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
19053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19057 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
19059 wxPyEndAllowThreads(__tstate
);
19060 if (PyErr_Occurred()) SWIG_fail
;
19062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19069 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19070 PyObject
*resultobj
;
19071 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19073 PyObject
* obj0
= 0 ;
19074 char *kwnames
[] = {
19075 (char *) "self", NULL
19078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
19079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19083 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
19085 wxPyEndAllowThreads(__tstate
);
19086 if (PyErr_Occurred()) SWIG_fail
;
19088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19095 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19096 PyObject
*resultobj
;
19097 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19099 PyObject
* obj0
= 0 ;
19100 PyObject
* obj1
= 0 ;
19101 char *kwnames
[] = {
19102 (char *) "self",(char *) "v", NULL
19105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
19106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19108 arg2
= (int) SWIG_AsInt(obj1
);
19109 if (PyErr_Occurred()) SWIG_fail
;
19111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19112 (arg1
)->SetFromPage(arg2
);
19114 wxPyEndAllowThreads(__tstate
);
19115 if (PyErr_Occurred()) SWIG_fail
;
19117 Py_INCREF(Py_None
); resultobj
= Py_None
;
19124 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19125 PyObject
*resultobj
;
19126 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19128 PyObject
* obj0
= 0 ;
19129 PyObject
* obj1
= 0 ;
19130 char *kwnames
[] = {
19131 (char *) "self",(char *) "v", NULL
19134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
19135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19137 arg2
= (int) SWIG_AsInt(obj1
);
19138 if (PyErr_Occurred()) SWIG_fail
;
19140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19141 (arg1
)->SetToPage(arg2
);
19143 wxPyEndAllowThreads(__tstate
);
19144 if (PyErr_Occurred()) SWIG_fail
;
19146 Py_INCREF(Py_None
); resultobj
= Py_None
;
19153 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19154 PyObject
*resultobj
;
19155 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19157 PyObject
* obj0
= 0 ;
19158 PyObject
* obj1
= 0 ;
19159 char *kwnames
[] = {
19160 (char *) "self",(char *) "v", NULL
19163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
19164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19166 arg2
= (int) SWIG_AsInt(obj1
);
19167 if (PyErr_Occurred()) SWIG_fail
;
19169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19170 (arg1
)->SetMinPage(arg2
);
19172 wxPyEndAllowThreads(__tstate
);
19173 if (PyErr_Occurred()) SWIG_fail
;
19175 Py_INCREF(Py_None
); resultobj
= Py_None
;
19182 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19183 PyObject
*resultobj
;
19184 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19186 PyObject
* obj0
= 0 ;
19187 PyObject
* obj1
= 0 ;
19188 char *kwnames
[] = {
19189 (char *) "self",(char *) "v", NULL
19192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
19193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19195 arg2
= (int) SWIG_AsInt(obj1
);
19196 if (PyErr_Occurred()) SWIG_fail
;
19198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19199 (arg1
)->SetMaxPage(arg2
);
19201 wxPyEndAllowThreads(__tstate
);
19202 if (PyErr_Occurred()) SWIG_fail
;
19204 Py_INCREF(Py_None
); resultobj
= Py_None
;
19211 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19212 PyObject
*resultobj
;
19213 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19215 PyObject
* obj0
= 0 ;
19216 PyObject
* obj1
= 0 ;
19217 char *kwnames
[] = {
19218 (char *) "self",(char *) "v", NULL
19221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
19222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19224 arg2
= (int) SWIG_AsInt(obj1
);
19225 if (PyErr_Occurred()) SWIG_fail
;
19227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19228 (arg1
)->SetNoCopies(arg2
);
19230 wxPyEndAllowThreads(__tstate
);
19231 if (PyErr_Occurred()) SWIG_fail
;
19233 Py_INCREF(Py_None
); resultobj
= Py_None
;
19240 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19241 PyObject
*resultobj
;
19242 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19244 PyObject
* obj0
= 0 ;
19245 PyObject
* obj1
= 0 ;
19246 char *kwnames
[] = {
19247 (char *) "self",(char *) "flag", NULL
19250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
19251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19253 arg2
= (bool) SWIG_AsBool(obj1
);
19254 if (PyErr_Occurred()) SWIG_fail
;
19256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19257 (arg1
)->SetAllPages(arg2
);
19259 wxPyEndAllowThreads(__tstate
);
19260 if (PyErr_Occurred()) SWIG_fail
;
19262 Py_INCREF(Py_None
); resultobj
= Py_None
;
19269 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19270 PyObject
*resultobj
;
19271 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19273 PyObject
* obj0
= 0 ;
19274 PyObject
* obj1
= 0 ;
19275 char *kwnames
[] = {
19276 (char *) "self",(char *) "flag", NULL
19279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
19280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19282 arg2
= (bool) SWIG_AsBool(obj1
);
19283 if (PyErr_Occurred()) SWIG_fail
;
19285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19286 (arg1
)->SetSelection(arg2
);
19288 wxPyEndAllowThreads(__tstate
);
19289 if (PyErr_Occurred()) SWIG_fail
;
19291 Py_INCREF(Py_None
); resultobj
= Py_None
;
19298 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19299 PyObject
*resultobj
;
19300 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19302 PyObject
* obj0
= 0 ;
19303 PyObject
* obj1
= 0 ;
19304 char *kwnames
[] = {
19305 (char *) "self",(char *) "flag", NULL
19308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
19309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19311 arg2
= (bool) SWIG_AsBool(obj1
);
19312 if (PyErr_Occurred()) SWIG_fail
;
19314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19315 (arg1
)->SetCollate(arg2
);
19317 wxPyEndAllowThreads(__tstate
);
19318 if (PyErr_Occurred()) SWIG_fail
;
19320 Py_INCREF(Py_None
); resultobj
= Py_None
;
19327 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19328 PyObject
*resultobj
;
19329 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19331 PyObject
* obj0
= 0 ;
19332 PyObject
* obj1
= 0 ;
19333 char *kwnames
[] = {
19334 (char *) "self",(char *) "flag", NULL
19337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
19338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19340 arg2
= (bool) SWIG_AsBool(obj1
);
19341 if (PyErr_Occurred()) SWIG_fail
;
19343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19344 (arg1
)->SetPrintToFile(arg2
);
19346 wxPyEndAllowThreads(__tstate
);
19347 if (PyErr_Occurred()) SWIG_fail
;
19349 Py_INCREF(Py_None
); resultobj
= Py_None
;
19356 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19357 PyObject
*resultobj
;
19358 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19360 PyObject
* obj0
= 0 ;
19361 PyObject
* obj1
= 0 ;
19362 char *kwnames
[] = {
19363 (char *) "self",(char *) "flag", NULL
19366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19369 arg2
= (bool) SWIG_AsBool(obj1
);
19370 if (PyErr_Occurred()) SWIG_fail
;
19372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19373 (arg1
)->SetSetupDialog(arg2
);
19375 wxPyEndAllowThreads(__tstate
);
19376 if (PyErr_Occurred()) SWIG_fail
;
19378 Py_INCREF(Py_None
); resultobj
= Py_None
;
19385 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19386 PyObject
*resultobj
;
19387 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19389 PyObject
* obj0
= 0 ;
19390 PyObject
* obj1
= 0 ;
19391 char *kwnames
[] = {
19392 (char *) "self",(char *) "flag", NULL
19395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
19396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19398 arg2
= (bool) SWIG_AsBool(obj1
);
19399 if (PyErr_Occurred()) SWIG_fail
;
19401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19402 (arg1
)->EnablePrintToFile(arg2
);
19404 wxPyEndAllowThreads(__tstate
);
19405 if (PyErr_Occurred()) SWIG_fail
;
19407 Py_INCREF(Py_None
); resultobj
= Py_None
;
19414 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19415 PyObject
*resultobj
;
19416 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19418 PyObject
* obj0
= 0 ;
19419 PyObject
* obj1
= 0 ;
19420 char *kwnames
[] = {
19421 (char *) "self",(char *) "flag", NULL
19424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
19425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19427 arg2
= (bool) SWIG_AsBool(obj1
);
19428 if (PyErr_Occurred()) SWIG_fail
;
19430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19431 (arg1
)->EnableSelection(arg2
);
19433 wxPyEndAllowThreads(__tstate
);
19434 if (PyErr_Occurred()) SWIG_fail
;
19436 Py_INCREF(Py_None
); resultobj
= Py_None
;
19443 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19444 PyObject
*resultobj
;
19445 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19447 PyObject
* obj0
= 0 ;
19448 PyObject
* obj1
= 0 ;
19449 char *kwnames
[] = {
19450 (char *) "self",(char *) "flag", NULL
19453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
19454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19456 arg2
= (bool) SWIG_AsBool(obj1
);
19457 if (PyErr_Occurred()) SWIG_fail
;
19459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19460 (arg1
)->EnablePageNumbers(arg2
);
19462 wxPyEndAllowThreads(__tstate
);
19463 if (PyErr_Occurred()) SWIG_fail
;
19465 Py_INCREF(Py_None
); resultobj
= Py_None
;
19472 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19473 PyObject
*resultobj
;
19474 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19476 PyObject
* obj0
= 0 ;
19477 PyObject
* obj1
= 0 ;
19478 char *kwnames
[] = {
19479 (char *) "self",(char *) "flag", NULL
19482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19485 arg2
= (bool) SWIG_AsBool(obj1
);
19486 if (PyErr_Occurred()) SWIG_fail
;
19488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19489 (arg1
)->EnableHelp(arg2
);
19491 wxPyEndAllowThreads(__tstate
);
19492 if (PyErr_Occurred()) SWIG_fail
;
19494 Py_INCREF(Py_None
); resultobj
= Py_None
;
19501 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19502 PyObject
*resultobj
;
19503 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19505 PyObject
* obj0
= 0 ;
19506 char *kwnames
[] = {
19507 (char *) "self", NULL
19510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
19511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19515 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
19517 wxPyEndAllowThreads(__tstate
);
19518 if (PyErr_Occurred()) SWIG_fail
;
19520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19527 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19528 PyObject
*resultobj
;
19529 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19531 PyObject
* obj0
= 0 ;
19532 char *kwnames
[] = {
19533 (char *) "self", NULL
19536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
19537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19541 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
19543 wxPyEndAllowThreads(__tstate
);
19544 if (PyErr_Occurred()) SWIG_fail
;
19546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19553 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19554 PyObject
*resultobj
;
19555 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19557 PyObject
* obj0
= 0 ;
19558 char *kwnames
[] = {
19559 (char *) "self", NULL
19562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
19563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19567 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
19569 wxPyEndAllowThreads(__tstate
);
19570 if (PyErr_Occurred()) SWIG_fail
;
19572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19579 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19580 PyObject
*resultobj
;
19581 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19583 PyObject
* obj0
= 0 ;
19584 char *kwnames
[] = {
19585 (char *) "self", NULL
19588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19593 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
19595 wxPyEndAllowThreads(__tstate
);
19596 if (PyErr_Occurred()) SWIG_fail
;
19598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19605 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19606 PyObject
*resultobj
;
19607 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19609 PyObject
* obj0
= 0 ;
19610 char *kwnames
[] = {
19611 (char *) "self", NULL
19614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19619 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
19621 wxPyEndAllowThreads(__tstate
);
19622 if (PyErr_Occurred()) SWIG_fail
;
19624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19631 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19632 PyObject
*resultobj
;
19633 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19634 wxPrintData
*result
;
19635 PyObject
* obj0
= 0 ;
19636 char *kwnames
[] = {
19637 (char *) "self", NULL
19640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19646 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19647 result
= (wxPrintData
*) &_result_ref
;
19650 wxPyEndAllowThreads(__tstate
);
19651 if (PyErr_Occurred()) SWIG_fail
;
19653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
19660 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19661 PyObject
*resultobj
;
19662 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19663 wxPrintData
*arg2
= 0 ;
19664 PyObject
* obj0
= 0 ;
19665 PyObject
* obj1
= 0 ;
19666 char *kwnames
[] = {
19667 (char *) "self",(char *) "printData", NULL
19670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
19671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19673 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
19674 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19676 if (arg2
== NULL
) {
19677 PyErr_SetString(PyExc_TypeError
,"null reference");
19681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19682 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
19684 wxPyEndAllowThreads(__tstate
);
19685 if (PyErr_Occurred()) SWIG_fail
;
19687 Py_INCREF(Py_None
); resultobj
= Py_None
;
19694 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
19696 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19697 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
19699 return Py_BuildValue((char *)"");
19701 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19702 PyObject
*resultobj
;
19703 wxWindow
*arg1
= (wxWindow
*) 0 ;
19704 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
19705 wxPrintDialog
*result
;
19706 PyObject
* obj0
= 0 ;
19707 PyObject
* obj1
= 0 ;
19708 char *kwnames
[] = {
19709 (char *) "parent",(char *) "data", NULL
19712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19716 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
19717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19721 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
19723 wxPyEndAllowThreads(__tstate
);
19724 if (PyErr_Occurred()) SWIG_fail
;
19726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
19733 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19734 PyObject
*resultobj
;
19735 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19736 wxPrintDialogData
*result
;
19737 PyObject
* obj0
= 0 ;
19738 char *kwnames
[] = {
19739 (char *) "self", NULL
19742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
19743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
19744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19748 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
19749 result
= (wxPrintDialogData
*) &_result_ref
;
19752 wxPyEndAllowThreads(__tstate
);
19753 if (PyErr_Occurred()) SWIG_fail
;
19755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
19762 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19763 PyObject
*resultobj
;
19764 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19766 PyObject
* obj0
= 0 ;
19767 char *kwnames
[] = {
19768 (char *) "self", NULL
19771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
19772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
19773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19776 result
= (wxDC
*)(arg1
)->GetPrintDC();
19778 wxPyEndAllowThreads(__tstate
);
19779 if (PyErr_Occurred()) SWIG_fail
;
19782 resultobj
= wxPyMake_wxObject(result
);
19790 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19791 PyObject
*resultobj
;
19792 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
19794 PyObject
* obj0
= 0 ;
19795 char *kwnames
[] = {
19796 (char *) "self", NULL
19799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
19800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
19801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19804 result
= (int)(arg1
)->ShowModal();
19806 wxPyEndAllowThreads(__tstate
);
19807 if (PyErr_Occurred()) SWIG_fail
;
19809 resultobj
= SWIG_FromInt((int)result
);
19816 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
19818 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19819 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
19821 return Py_BuildValue((char *)"");
19823 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19824 PyObject
*resultobj
;
19825 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
19827 PyObject
* obj0
= 0 ;
19828 char *kwnames
[] = {
19829 (char *) "data", NULL
19832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
19834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19839 result
= (wxPrinter
*)new wxPrinter(arg1
);
19841 wxPyEndAllowThreads(__tstate
);
19842 if (PyErr_Occurred()) SWIG_fail
;
19844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
19851 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19852 PyObject
*resultobj
;
19853 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19854 PyObject
* obj0
= 0 ;
19855 char *kwnames
[] = {
19856 (char *) "self", NULL
19859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
19860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19866 wxPyEndAllowThreads(__tstate
);
19867 if (PyErr_Occurred()) SWIG_fail
;
19869 Py_INCREF(Py_None
); resultobj
= Py_None
;
19876 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19877 PyObject
*resultobj
;
19878 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19879 wxWindow
*arg2
= (wxWindow
*) 0 ;
19880 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19881 PyObject
* obj0
= 0 ;
19882 PyObject
* obj1
= 0 ;
19883 PyObject
* obj2
= 0 ;
19884 char *kwnames
[] = {
19885 (char *) "self",(char *) "parent",(char *) "printout", NULL
19888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19891 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19893 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
19894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19897 (arg1
)->CreateAbortWindow(arg2
,arg3
);
19899 wxPyEndAllowThreads(__tstate
);
19900 if (PyErr_Occurred()) SWIG_fail
;
19902 Py_INCREF(Py_None
); resultobj
= Py_None
;
19909 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19910 PyObject
*resultobj
;
19911 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19912 wxPrintDialogData
*result
;
19913 PyObject
* obj0
= 0 ;
19914 char *kwnames
[] = {
19915 (char *) "self", NULL
19918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
19919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19924 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
19925 result
= (wxPrintDialogData
*) &_result_ref
;
19928 wxPyEndAllowThreads(__tstate
);
19929 if (PyErr_Occurred()) SWIG_fail
;
19931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
19938 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19939 PyObject
*resultobj
;
19940 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19941 wxWindow
*arg2
= (wxWindow
*) 0 ;
19942 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
19943 int arg4
= (int) True
;
19945 PyObject
* obj0
= 0 ;
19946 PyObject
* obj1
= 0 ;
19947 PyObject
* obj2
= 0 ;
19948 PyObject
* obj3
= 0 ;
19949 char *kwnames
[] = {
19950 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
19953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19956 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19958 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
19959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19961 arg4
= (int) SWIG_AsInt(obj3
);
19962 if (PyErr_Occurred()) SWIG_fail
;
19965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19966 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
19968 wxPyEndAllowThreads(__tstate
);
19969 if (PyErr_Occurred()) SWIG_fail
;
19971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19978 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19979 PyObject
*resultobj
;
19980 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
19981 wxWindow
*arg2
= (wxWindow
*) 0 ;
19983 PyObject
* obj0
= 0 ;
19984 PyObject
* obj1
= 0 ;
19985 char *kwnames
[] = {
19986 (char *) "self",(char *) "parent", NULL
19989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
19991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19992 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19996 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
19998 wxPyEndAllowThreads(__tstate
);
19999 if (PyErr_Occurred()) SWIG_fail
;
20002 resultobj
= wxPyMake_wxObject(result
);
20010 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20011 PyObject
*resultobj
;
20012 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20013 wxWindow
*arg2
= (wxWindow
*) 0 ;
20014 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
20015 wxString
*arg4
= 0 ;
20016 bool temp4
= False
;
20017 PyObject
* obj0
= 0 ;
20018 PyObject
* obj1
= 0 ;
20019 PyObject
* obj2
= 0 ;
20020 PyObject
* obj3
= 0 ;
20021 char *kwnames
[] = {
20022 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
20025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20028 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20030 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
20031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20033 arg4
= wxString_in_helper(obj3
);
20034 if (arg4
== NULL
) SWIG_fail
;
20038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20039 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
20041 wxPyEndAllowThreads(__tstate
);
20042 if (PyErr_Occurred()) SWIG_fail
;
20044 Py_INCREF(Py_None
); resultobj
= Py_None
;
20059 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20060 PyObject
*resultobj
;
20061 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20062 wxWindow
*arg2
= (wxWindow
*) 0 ;
20064 PyObject
* obj0
= 0 ;
20065 PyObject
* obj1
= 0 ;
20066 char *kwnames
[] = {
20067 (char *) "self",(char *) "parent", NULL
20070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
20071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20073 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20077 result
= (bool)(arg1
)->Setup(arg2
);
20079 wxPyEndAllowThreads(__tstate
);
20080 if (PyErr_Occurred()) SWIG_fail
;
20082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20089 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20090 PyObject
*resultobj
;
20091 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20093 PyObject
* obj0
= 0 ;
20094 char *kwnames
[] = {
20095 (char *) "self", NULL
20098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
20099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20103 result
= (bool)(arg1
)->GetAbort();
20105 wxPyEndAllowThreads(__tstate
);
20106 if (PyErr_Occurred()) SWIG_fail
;
20108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20115 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20116 PyObject
*resultobj
;
20118 char *kwnames
[] = {
20122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
20124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20125 result
= (int)wxPrinter::GetLastError();
20127 wxPyEndAllowThreads(__tstate
);
20128 if (PyErr_Occurred()) SWIG_fail
;
20130 resultobj
= SWIG_FromInt((int)result
);
20137 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
20139 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20140 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
20142 return Py_BuildValue((char *)"");
20144 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20145 PyObject
*resultobj
;
20146 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
20147 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
20148 wxPyPrintout
*result
;
20149 bool temp1
= False
;
20150 PyObject
* obj0
= 0 ;
20151 char *kwnames
[] = {
20152 (char *) "title", NULL
20155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
20158 arg1
= wxString_in_helper(obj0
);
20159 if (arg1
== NULL
) SWIG_fail
;
20164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20165 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
20167 wxPyEndAllowThreads(__tstate
);
20168 if (PyErr_Occurred()) SWIG_fail
;
20171 resultobj
= wxPyMake_wxObject(result
);
20187 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20188 PyObject
*resultobj
;
20189 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20190 PyObject
*arg2
= (PyObject
*) 0 ;
20191 PyObject
*arg3
= (PyObject
*) 0 ;
20192 PyObject
* obj0
= 0 ;
20193 PyObject
* obj1
= 0 ;
20194 PyObject
* obj2
= 0 ;
20195 char *kwnames
[] = {
20196 (char *) "self",(char *) "self",(char *) "_class", NULL
20199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20206 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20208 wxPyEndAllowThreads(__tstate
);
20209 if (PyErr_Occurred()) SWIG_fail
;
20211 Py_INCREF(Py_None
); resultobj
= Py_None
;
20218 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20219 PyObject
*resultobj
;
20220 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20222 PyObject
* obj0
= 0 ;
20223 char *kwnames
[] = {
20224 (char *) "self", NULL
20227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
20228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20232 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
20234 wxPyEndAllowThreads(__tstate
);
20235 if (PyErr_Occurred()) SWIG_fail
;
20239 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20241 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20250 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20251 PyObject
*resultobj
;
20252 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20254 PyObject
* obj0
= 0 ;
20255 char *kwnames
[] = {
20256 (char *) "self", NULL
20259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
20260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20264 result
= (wxDC
*)(arg1
)->GetDC();
20266 wxPyEndAllowThreads(__tstate
);
20267 if (PyErr_Occurred()) SWIG_fail
;
20270 resultobj
= wxPyMake_wxObject(result
);
20278 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20279 PyObject
*resultobj
;
20280 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20281 wxDC
*arg2
= (wxDC
*) 0 ;
20282 PyObject
* obj0
= 0 ;
20283 PyObject
* obj1
= 0 ;
20284 char *kwnames
[] = {
20285 (char *) "self",(char *) "dc", NULL
20288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
20289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20291 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
20292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20295 (arg1
)->SetDC(arg2
);
20297 wxPyEndAllowThreads(__tstate
);
20298 if (PyErr_Occurred()) SWIG_fail
;
20300 Py_INCREF(Py_None
); resultobj
= Py_None
;
20307 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20308 PyObject
*resultobj
;
20309 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20312 PyObject
* obj0
= 0 ;
20313 PyObject
* obj1
= 0 ;
20314 PyObject
* obj2
= 0 ;
20315 char *kwnames
[] = {
20316 (char *) "self",(char *) "w",(char *) "h", NULL
20319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20322 arg2
= (int) SWIG_AsInt(obj1
);
20323 if (PyErr_Occurred()) SWIG_fail
;
20324 arg3
= (int) SWIG_AsInt(obj2
);
20325 if (PyErr_Occurred()) SWIG_fail
;
20327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20328 (arg1
)->SetPageSizePixels(arg2
,arg3
);
20330 wxPyEndAllowThreads(__tstate
);
20331 if (PyErr_Occurred()) SWIG_fail
;
20333 Py_INCREF(Py_None
); resultobj
= Py_None
;
20340 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20341 PyObject
*resultobj
;
20342 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20343 int *arg2
= (int *) 0 ;
20344 int *arg3
= (int *) 0 ;
20347 PyObject
* obj0
= 0 ;
20348 char *kwnames
[] = {
20349 (char *) "self", NULL
20354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
20355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20359 (arg1
)->GetPageSizePixels(arg2
,arg3
);
20361 wxPyEndAllowThreads(__tstate
);
20362 if (PyErr_Occurred()) SWIG_fail
;
20364 Py_INCREF(Py_None
); resultobj
= Py_None
;
20366 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20367 resultobj
= t_output_helper(resultobj
,o
);
20370 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20371 resultobj
= t_output_helper(resultobj
,o
);
20379 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20380 PyObject
*resultobj
;
20381 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20384 PyObject
* obj0
= 0 ;
20385 PyObject
* obj1
= 0 ;
20386 PyObject
* obj2
= 0 ;
20387 char *kwnames
[] = {
20388 (char *) "self",(char *) "w",(char *) "h", NULL
20391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20394 arg2
= (int) SWIG_AsInt(obj1
);
20395 if (PyErr_Occurred()) SWIG_fail
;
20396 arg3
= (int) SWIG_AsInt(obj2
);
20397 if (PyErr_Occurred()) SWIG_fail
;
20399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20400 (arg1
)->SetPageSizeMM(arg2
,arg3
);
20402 wxPyEndAllowThreads(__tstate
);
20403 if (PyErr_Occurred()) SWIG_fail
;
20405 Py_INCREF(Py_None
); resultobj
= Py_None
;
20412 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20413 PyObject
*resultobj
;
20414 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20415 int *arg2
= (int *) 0 ;
20416 int *arg3
= (int *) 0 ;
20419 PyObject
* obj0
= 0 ;
20420 char *kwnames
[] = {
20421 (char *) "self", NULL
20426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
20427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20431 (arg1
)->GetPageSizeMM(arg2
,arg3
);
20433 wxPyEndAllowThreads(__tstate
);
20434 if (PyErr_Occurred()) SWIG_fail
;
20436 Py_INCREF(Py_None
); resultobj
= Py_None
;
20438 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20439 resultobj
= t_output_helper(resultobj
,o
);
20442 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20443 resultobj
= t_output_helper(resultobj
,o
);
20451 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20452 PyObject
*resultobj
;
20453 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20456 PyObject
* obj0
= 0 ;
20457 PyObject
* obj1
= 0 ;
20458 PyObject
* obj2
= 0 ;
20459 char *kwnames
[] = {
20460 (char *) "self",(char *) "x",(char *) "y", NULL
20463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20466 arg2
= (int) SWIG_AsInt(obj1
);
20467 if (PyErr_Occurred()) SWIG_fail
;
20468 arg3
= (int) SWIG_AsInt(obj2
);
20469 if (PyErr_Occurred()) SWIG_fail
;
20471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20472 (arg1
)->SetPPIScreen(arg2
,arg3
);
20474 wxPyEndAllowThreads(__tstate
);
20475 if (PyErr_Occurred()) SWIG_fail
;
20477 Py_INCREF(Py_None
); resultobj
= Py_None
;
20484 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20485 PyObject
*resultobj
;
20486 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20487 int *arg2
= (int *) 0 ;
20488 int *arg3
= (int *) 0 ;
20491 PyObject
* obj0
= 0 ;
20492 char *kwnames
[] = {
20493 (char *) "self", NULL
20498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
20499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20503 (arg1
)->GetPPIScreen(arg2
,arg3
);
20505 wxPyEndAllowThreads(__tstate
);
20506 if (PyErr_Occurred()) SWIG_fail
;
20508 Py_INCREF(Py_None
); resultobj
= Py_None
;
20510 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20511 resultobj
= t_output_helper(resultobj
,o
);
20514 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20515 resultobj
= t_output_helper(resultobj
,o
);
20523 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20524 PyObject
*resultobj
;
20525 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20528 PyObject
* obj0
= 0 ;
20529 PyObject
* obj1
= 0 ;
20530 PyObject
* obj2
= 0 ;
20531 char *kwnames
[] = {
20532 (char *) "self",(char *) "x",(char *) "y", NULL
20535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20538 arg2
= (int) SWIG_AsInt(obj1
);
20539 if (PyErr_Occurred()) SWIG_fail
;
20540 arg3
= (int) SWIG_AsInt(obj2
);
20541 if (PyErr_Occurred()) SWIG_fail
;
20543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20544 (arg1
)->SetPPIPrinter(arg2
,arg3
);
20546 wxPyEndAllowThreads(__tstate
);
20547 if (PyErr_Occurred()) SWIG_fail
;
20549 Py_INCREF(Py_None
); resultobj
= Py_None
;
20556 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20557 PyObject
*resultobj
;
20558 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20559 int *arg2
= (int *) 0 ;
20560 int *arg3
= (int *) 0 ;
20563 PyObject
* obj0
= 0 ;
20564 char *kwnames
[] = {
20565 (char *) "self", NULL
20570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
20571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20575 (arg1
)->GetPPIPrinter(arg2
,arg3
);
20577 wxPyEndAllowThreads(__tstate
);
20578 if (PyErr_Occurred()) SWIG_fail
;
20580 Py_INCREF(Py_None
); resultobj
= Py_None
;
20582 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20583 resultobj
= t_output_helper(resultobj
,o
);
20586 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20587 resultobj
= t_output_helper(resultobj
,o
);
20595 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20596 PyObject
*resultobj
;
20597 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20599 PyObject
* obj0
= 0 ;
20600 char *kwnames
[] = {
20601 (char *) "self", NULL
20604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
20605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20609 result
= (bool)(arg1
)->IsPreview();
20611 wxPyEndAllowThreads(__tstate
);
20612 if (PyErr_Occurred()) SWIG_fail
;
20614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20621 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20622 PyObject
*resultobj
;
20623 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20625 PyObject
* obj0
= 0 ;
20626 PyObject
* obj1
= 0 ;
20627 char *kwnames
[] = {
20628 (char *) "self",(char *) "p", NULL
20631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
20632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20634 arg2
= (bool) SWIG_AsBool(obj1
);
20635 if (PyErr_Occurred()) SWIG_fail
;
20637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20638 (arg1
)->SetIsPreview(arg2
);
20640 wxPyEndAllowThreads(__tstate
);
20641 if (PyErr_Occurred()) SWIG_fail
;
20643 Py_INCREF(Py_None
); resultobj
= Py_None
;
20650 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20651 PyObject
*resultobj
;
20652 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20656 PyObject
* obj0
= 0 ;
20657 PyObject
* obj1
= 0 ;
20658 PyObject
* obj2
= 0 ;
20659 char *kwnames
[] = {
20660 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
20663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20666 arg2
= (int) SWIG_AsInt(obj1
);
20667 if (PyErr_Occurred()) SWIG_fail
;
20668 arg3
= (int) SWIG_AsInt(obj2
);
20669 if (PyErr_Occurred()) SWIG_fail
;
20671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20672 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
20674 wxPyEndAllowThreads(__tstate
);
20675 if (PyErr_Occurred()) SWIG_fail
;
20677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20684 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20685 PyObject
*resultobj
;
20686 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20687 PyObject
* obj0
= 0 ;
20688 char *kwnames
[] = {
20689 (char *) "self", NULL
20692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
20693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20697 (arg1
)->base_OnEndDocument();
20699 wxPyEndAllowThreads(__tstate
);
20700 if (PyErr_Occurred()) SWIG_fail
;
20702 Py_INCREF(Py_None
); resultobj
= Py_None
;
20709 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20710 PyObject
*resultobj
;
20711 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20712 PyObject
* obj0
= 0 ;
20713 char *kwnames
[] = {
20714 (char *) "self", NULL
20717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
20718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20722 (arg1
)->base_OnBeginPrinting();
20724 wxPyEndAllowThreads(__tstate
);
20725 if (PyErr_Occurred()) SWIG_fail
;
20727 Py_INCREF(Py_None
); resultobj
= Py_None
;
20734 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20735 PyObject
*resultobj
;
20736 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20737 PyObject
* obj0
= 0 ;
20738 char *kwnames
[] = {
20739 (char *) "self", NULL
20742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
20743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20747 (arg1
)->base_OnEndPrinting();
20749 wxPyEndAllowThreads(__tstate
);
20750 if (PyErr_Occurred()) SWIG_fail
;
20752 Py_INCREF(Py_None
); resultobj
= Py_None
;
20759 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20760 PyObject
*resultobj
;
20761 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20762 PyObject
* obj0
= 0 ;
20763 char *kwnames
[] = {
20764 (char *) "self", NULL
20767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
20768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20772 (arg1
)->base_OnPreparePrinting();
20774 wxPyEndAllowThreads(__tstate
);
20775 if (PyErr_Occurred()) SWIG_fail
;
20777 Py_INCREF(Py_None
); resultobj
= Py_None
;
20784 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20785 PyObject
*resultobj
;
20786 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20789 PyObject
* obj0
= 0 ;
20790 PyObject
* obj1
= 0 ;
20791 char *kwnames
[] = {
20792 (char *) "self",(char *) "page", NULL
20795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20798 arg2
= (int) SWIG_AsInt(obj1
);
20799 if (PyErr_Occurred()) SWIG_fail
;
20801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20802 result
= (bool)(arg1
)->base_HasPage(arg2
);
20804 wxPyEndAllowThreads(__tstate
);
20805 if (PyErr_Occurred()) SWIG_fail
;
20807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20814 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20815 PyObject
*resultobj
;
20816 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
20817 int *arg2
= (int *) 0 ;
20818 int *arg3
= (int *) 0 ;
20819 int *arg4
= (int *) 0 ;
20820 int *arg5
= (int *) 0 ;
20825 PyObject
* obj0
= 0 ;
20826 char *kwnames
[] = {
20827 (char *) "self", NULL
20834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
20835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
20836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20839 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
20841 wxPyEndAllowThreads(__tstate
);
20842 if (PyErr_Occurred()) SWIG_fail
;
20844 Py_INCREF(Py_None
); resultobj
= Py_None
;
20846 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20847 resultobj
= t_output_helper(resultobj
,o
);
20850 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20851 resultobj
= t_output_helper(resultobj
,o
);
20854 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
20855 resultobj
= t_output_helper(resultobj
,o
);
20858 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
20859 resultobj
= t_output_helper(resultobj
,o
);
20867 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
20869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20870 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
20872 return Py_BuildValue((char *)"");
20874 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20875 PyObject
*resultobj
;
20876 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20877 wxWindow
*arg2
= (wxWindow
*) 0 ;
20878 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20879 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20880 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20881 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20882 long arg5
= (long) 0 ;
20883 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
20884 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20885 wxPreviewCanvas
*result
;
20888 bool temp6
= False
;
20889 PyObject
* obj0
= 0 ;
20890 PyObject
* obj1
= 0 ;
20891 PyObject
* obj2
= 0 ;
20892 PyObject
* obj3
= 0 ;
20893 PyObject
* obj4
= 0 ;
20894 PyObject
* obj5
= 0 ;
20895 char *kwnames
[] = {
20896 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
20901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20902 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20907 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20913 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20917 arg5
= (long) SWIG_AsLong(obj4
);
20918 if (PyErr_Occurred()) SWIG_fail
;
20922 arg6
= wxString_in_helper(obj5
);
20923 if (arg6
== NULL
) SWIG_fail
;
20928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20929 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20931 wxPyEndAllowThreads(__tstate
);
20932 if (PyErr_Occurred()) SWIG_fail
;
20934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
20949 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
20951 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20952 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
20954 return Py_BuildValue((char *)"");
20956 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20957 PyObject
*resultobj
;
20958 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
20959 wxFrame
*arg2
= (wxFrame
*) 0 ;
20960 wxString
*arg3
= 0 ;
20961 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20962 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20963 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20964 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20965 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20966 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20967 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20968 wxPreviewFrame
*result
;
20969 bool temp3
= False
;
20972 bool temp7
= False
;
20973 PyObject
* obj0
= 0 ;
20974 PyObject
* obj1
= 0 ;
20975 PyObject
* obj2
= 0 ;
20976 PyObject
* obj3
= 0 ;
20977 PyObject
* obj4
= 0 ;
20978 PyObject
* obj5
= 0 ;
20979 PyObject
* obj6
= 0 ;
20980 char *kwnames
[] = {
20981 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
20986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
20988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20990 arg3
= wxString_in_helper(obj2
);
20991 if (arg3
== NULL
) SWIG_fail
;
20997 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21003 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21007 arg6
= (long) SWIG_AsLong(obj5
);
21008 if (PyErr_Occurred()) SWIG_fail
;
21012 arg7
= wxString_in_helper(obj6
);
21013 if (arg7
== NULL
) SWIG_fail
;
21018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21019 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21021 wxPyEndAllowThreads(__tstate
);
21022 if (PyErr_Occurred()) SWIG_fail
;
21024 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
21047 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21048 PyObject
*resultobj
;
21049 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
21050 PyObject
* obj0
= 0 ;
21051 char *kwnames
[] = {
21052 (char *) "self", NULL
21055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
21056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
21057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21060 (arg1
)->Initialize();
21062 wxPyEndAllowThreads(__tstate
);
21063 if (PyErr_Occurred()) SWIG_fail
;
21065 Py_INCREF(Py_None
); resultobj
= Py_None
;
21072 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21073 PyObject
*resultobj
;
21074 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
21075 PyObject
* obj0
= 0 ;
21076 char *kwnames
[] = {
21077 (char *) "self", NULL
21080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
21081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
21082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21085 (arg1
)->CreateControlBar();
21087 wxPyEndAllowThreads(__tstate
);
21088 if (PyErr_Occurred()) SWIG_fail
;
21090 Py_INCREF(Py_None
); resultobj
= Py_None
;
21097 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21098 PyObject
*resultobj
;
21099 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
21100 PyObject
* obj0
= 0 ;
21101 char *kwnames
[] = {
21102 (char *) "self", NULL
21105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
21106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
21107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21110 (arg1
)->CreateCanvas();
21112 wxPyEndAllowThreads(__tstate
);
21113 if (PyErr_Occurred()) SWIG_fail
;
21115 Py_INCREF(Py_None
); resultobj
= Py_None
;
21122 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21123 PyObject
*resultobj
;
21124 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
21125 wxPreviewControlBar
*result
;
21126 PyObject
* obj0
= 0 ;
21127 char *kwnames
[] = {
21128 (char *) "self", NULL
21131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
21132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
21133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21136 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
21138 wxPyEndAllowThreads(__tstate
);
21139 if (PyErr_Occurred()) SWIG_fail
;
21141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
21148 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
21150 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21151 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
21153 return Py_BuildValue((char *)"");
21155 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21156 PyObject
*resultobj
;
21157 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21159 wxWindow
*arg3
= (wxWindow
*) 0 ;
21160 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21161 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21162 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21163 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21164 long arg6
= (long) wxTAB_TRAVERSAL
;
21165 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21166 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21167 wxPreviewControlBar
*result
;
21170 bool temp7
= False
;
21171 PyObject
* obj0
= 0 ;
21172 PyObject
* obj1
= 0 ;
21173 PyObject
* obj2
= 0 ;
21174 PyObject
* obj3
= 0 ;
21175 PyObject
* obj4
= 0 ;
21176 PyObject
* obj5
= 0 ;
21177 PyObject
* obj6
= 0 ;
21178 char *kwnames
[] = {
21179 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21185 arg2
= (long) SWIG_AsLong(obj1
);
21186 if (PyErr_Occurred()) SWIG_fail
;
21187 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
21188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21192 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21198 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21202 arg6
= (long) SWIG_AsLong(obj5
);
21203 if (PyErr_Occurred()) SWIG_fail
;
21207 arg7
= wxString_in_helper(obj6
);
21208 if (arg7
== NULL
) SWIG_fail
;
21213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21214 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21216 wxPyEndAllowThreads(__tstate
);
21217 if (PyErr_Occurred()) SWIG_fail
;
21219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
21234 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21235 PyObject
*resultobj
;
21236 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21238 PyObject
* obj0
= 0 ;
21239 char *kwnames
[] = {
21240 (char *) "self", NULL
21243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
21244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21248 result
= (int)(arg1
)->GetZoomControl();
21250 wxPyEndAllowThreads(__tstate
);
21251 if (PyErr_Occurred()) SWIG_fail
;
21253 resultobj
= SWIG_FromInt((int)result
);
21260 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21261 PyObject
*resultobj
;
21262 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21264 PyObject
* obj0
= 0 ;
21265 PyObject
* obj1
= 0 ;
21266 char *kwnames
[] = {
21267 (char *) "self",(char *) "zoom", NULL
21270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
21271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21273 arg2
= (int) SWIG_AsInt(obj1
);
21274 if (PyErr_Occurred()) SWIG_fail
;
21276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21277 (arg1
)->SetZoomControl(arg2
);
21279 wxPyEndAllowThreads(__tstate
);
21280 if (PyErr_Occurred()) SWIG_fail
;
21282 Py_INCREF(Py_None
); resultobj
= Py_None
;
21289 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21290 PyObject
*resultobj
;
21291 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21292 wxPrintPreview
*result
;
21293 PyObject
* obj0
= 0 ;
21294 char *kwnames
[] = {
21295 (char *) "self", NULL
21298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
21299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21303 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
21305 wxPyEndAllowThreads(__tstate
);
21306 if (PyErr_Occurred()) SWIG_fail
;
21308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
21315 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21316 PyObject
*resultobj
;
21317 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21318 PyObject
* obj0
= 0 ;
21319 char *kwnames
[] = {
21320 (char *) "self", NULL
21323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
21324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21330 wxPyEndAllowThreads(__tstate
);
21331 if (PyErr_Occurred()) SWIG_fail
;
21333 Py_INCREF(Py_None
); resultobj
= Py_None
;
21340 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21341 PyObject
*resultobj
;
21342 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21343 PyObject
* obj0
= 0 ;
21344 char *kwnames
[] = {
21345 (char *) "self", NULL
21348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
21349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21353 (arg1
)->OnPrevious();
21355 wxPyEndAllowThreads(__tstate
);
21356 if (PyErr_Occurred()) SWIG_fail
;
21358 Py_INCREF(Py_None
); resultobj
= Py_None
;
21365 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21366 PyObject
*resultobj
;
21367 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21368 PyObject
* obj0
= 0 ;
21369 char *kwnames
[] = {
21370 (char *) "self", NULL
21373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
21374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21380 wxPyEndAllowThreads(__tstate
);
21381 if (PyErr_Occurred()) SWIG_fail
;
21383 Py_INCREF(Py_None
); resultobj
= Py_None
;
21390 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21391 PyObject
*resultobj
;
21392 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21393 PyObject
* obj0
= 0 ;
21394 char *kwnames
[] = {
21395 (char *) "self", NULL
21398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
21399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21405 wxPyEndAllowThreads(__tstate
);
21406 if (PyErr_Occurred()) SWIG_fail
;
21408 Py_INCREF(Py_None
); resultobj
= Py_None
;
21415 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21416 PyObject
*resultobj
;
21417 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
21418 PyObject
* obj0
= 0 ;
21419 char *kwnames
[] = {
21420 (char *) "self", NULL
21423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
21424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
21425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21430 wxPyEndAllowThreads(__tstate
);
21431 if (PyErr_Occurred()) SWIG_fail
;
21433 Py_INCREF(Py_None
); resultobj
= Py_None
;
21440 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
21442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21443 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
21445 return Py_BuildValue((char *)"");
21447 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
21448 PyObject
*resultobj
;
21449 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21450 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21451 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
21452 wxPrintPreview
*result
;
21453 PyObject
* obj0
= 0 ;
21454 PyObject
* obj1
= 0 ;
21455 PyObject
* obj2
= 0 ;
21457 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
21458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21460 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
21461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21463 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
21464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21468 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
21470 wxPyEndAllowThreads(__tstate
);
21471 if (PyErr_Occurred()) SWIG_fail
;
21473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
21480 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
21481 PyObject
*resultobj
;
21482 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21483 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21484 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
21485 wxPrintPreview
*result
;
21486 PyObject
* obj0
= 0 ;
21487 PyObject
* obj1
= 0 ;
21488 PyObject
* obj2
= 0 ;
21490 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
21491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21493 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
21494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21495 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
21496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21499 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
21501 wxPyEndAllowThreads(__tstate
);
21502 if (PyErr_Occurred()) SWIG_fail
;
21504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
21511 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
21516 argc
= PyObject_Length(args
);
21517 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
21518 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21520 if ((argc
>= 2) && (argc
<= 3)) {
21524 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
21534 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
21543 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
21547 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
21555 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
21564 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
21574 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
21584 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
21592 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
21598 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
21603 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21604 PyObject
*resultobj
;
21605 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21608 PyObject
* obj0
= 0 ;
21609 PyObject
* obj1
= 0 ;
21610 char *kwnames
[] = {
21611 (char *) "self",(char *) "pageNum", NULL
21614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21617 arg2
= (int) SWIG_AsInt(obj1
);
21618 if (PyErr_Occurred()) SWIG_fail
;
21620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21621 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
21623 wxPyEndAllowThreads(__tstate
);
21624 if (PyErr_Occurred()) SWIG_fail
;
21626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21633 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21634 PyObject
*resultobj
;
21635 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21637 PyObject
* obj0
= 0 ;
21638 char *kwnames
[] = {
21639 (char *) "self", NULL
21642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
21643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21647 result
= (int)(arg1
)->GetCurrentPage();
21649 wxPyEndAllowThreads(__tstate
);
21650 if (PyErr_Occurred()) SWIG_fail
;
21652 resultobj
= SWIG_FromInt((int)result
);
21659 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21660 PyObject
*resultobj
;
21661 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21662 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
21663 PyObject
* obj0
= 0 ;
21664 PyObject
* obj1
= 0 ;
21665 char *kwnames
[] = {
21666 (char *) "self",(char *) "printout", NULL
21669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
21670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21672 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
21673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21676 (arg1
)->SetPrintout(arg2
);
21678 wxPyEndAllowThreads(__tstate
);
21679 if (PyErr_Occurred()) SWIG_fail
;
21681 Py_INCREF(Py_None
); resultobj
= Py_None
;
21688 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21689 PyObject
*resultobj
;
21690 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21691 wxPyPrintout
*result
;
21692 PyObject
* obj0
= 0 ;
21693 char *kwnames
[] = {
21694 (char *) "self", NULL
21697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
21698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21702 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
21704 wxPyEndAllowThreads(__tstate
);
21705 if (PyErr_Occurred()) SWIG_fail
;
21708 resultobj
= wxPyMake_wxObject(result
);
21716 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21717 PyObject
*resultobj
;
21718 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21719 wxPyPrintout
*result
;
21720 PyObject
* obj0
= 0 ;
21721 char *kwnames
[] = {
21722 (char *) "self", NULL
21725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
21726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21730 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
21732 wxPyEndAllowThreads(__tstate
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21736 resultobj
= wxPyMake_wxObject(result
);
21744 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21745 PyObject
*resultobj
;
21746 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21747 wxFrame
*arg2
= (wxFrame
*) 0 ;
21748 PyObject
* obj0
= 0 ;
21749 PyObject
* obj1
= 0 ;
21750 char *kwnames
[] = {
21751 (char *) "self",(char *) "frame", NULL
21754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
21755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
21758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21761 (arg1
)->SetFrame(arg2
);
21763 wxPyEndAllowThreads(__tstate
);
21764 if (PyErr_Occurred()) SWIG_fail
;
21766 Py_INCREF(Py_None
); resultobj
= Py_None
;
21773 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21774 PyObject
*resultobj
;
21775 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21776 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21777 PyObject
* obj0
= 0 ;
21778 PyObject
* obj1
= 0 ;
21779 char *kwnames
[] = {
21780 (char *) "self",(char *) "canvas", NULL
21783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
21784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21786 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
21787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21790 (arg1
)->SetCanvas(arg2
);
21792 wxPyEndAllowThreads(__tstate
);
21793 if (PyErr_Occurred()) SWIG_fail
;
21795 Py_INCREF(Py_None
); resultobj
= Py_None
;
21802 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21803 PyObject
*resultobj
;
21804 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21806 PyObject
* obj0
= 0 ;
21807 char *kwnames
[] = {
21808 (char *) "self", NULL
21811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
21812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21816 result
= (wxFrame
*)(arg1
)->GetFrame();
21818 wxPyEndAllowThreads(__tstate
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21822 resultobj
= wxPyMake_wxObject(result
);
21830 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21831 PyObject
*resultobj
;
21832 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21833 wxPreviewCanvas
*result
;
21834 PyObject
* obj0
= 0 ;
21835 char *kwnames
[] = {
21836 (char *) "self", NULL
21839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
21840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21844 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
21846 wxPyEndAllowThreads(__tstate
);
21847 if (PyErr_Occurred()) SWIG_fail
;
21849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
21856 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21857 PyObject
*resultobj
;
21858 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21859 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21862 PyObject
* obj0
= 0 ;
21863 PyObject
* obj1
= 0 ;
21864 PyObject
* obj2
= 0 ;
21865 char *kwnames
[] = {
21866 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21872 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
21873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21874 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
21875 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21877 if (arg3
== NULL
) {
21878 PyErr_SetString(PyExc_TypeError
,"null reference");
21882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21883 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
21885 wxPyEndAllowThreads(__tstate
);
21886 if (PyErr_Occurred()) SWIG_fail
;
21888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21895 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21896 PyObject
*resultobj
;
21897 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21898 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21901 PyObject
* obj0
= 0 ;
21902 PyObject
* obj1
= 0 ;
21903 PyObject
* obj2
= 0 ;
21904 char *kwnames
[] = {
21905 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21911 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
21912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21913 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
21914 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21916 if (arg3
== NULL
) {
21917 PyErr_SetString(PyExc_TypeError
,"null reference");
21921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21922 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
21924 wxPyEndAllowThreads(__tstate
);
21925 if (PyErr_Occurred()) SWIG_fail
;
21927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21934 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21935 PyObject
*resultobj
;
21936 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21939 PyObject
* obj0
= 0 ;
21940 PyObject
* obj1
= 0 ;
21941 char *kwnames
[] = {
21942 (char *) "self",(char *) "pageNum", NULL
21945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21948 arg2
= (int) SWIG_AsInt(obj1
);
21949 if (PyErr_Occurred()) SWIG_fail
;
21951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21952 result
= (bool)(arg1
)->RenderPage(arg2
);
21954 wxPyEndAllowThreads(__tstate
);
21955 if (PyErr_Occurred()) SWIG_fail
;
21957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21964 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21965 PyObject
*resultobj
;
21966 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21967 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
21968 PyObject
* obj0
= 0 ;
21969 PyObject
* obj1
= 0 ;
21970 char *kwnames
[] = {
21971 (char *) "self",(char *) "canvas", NULL
21974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
21975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21977 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
21978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21981 (arg1
)->AdjustScrollbars(arg2
);
21983 wxPyEndAllowThreads(__tstate
);
21984 if (PyErr_Occurred()) SWIG_fail
;
21986 Py_INCREF(Py_None
); resultobj
= Py_None
;
21993 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21994 PyObject
*resultobj
;
21995 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21996 wxPrintDialogData
*result
;
21997 PyObject
* obj0
= 0 ;
21998 char *kwnames
[] = {
21999 (char *) "self", NULL
22002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
22003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22008 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
22009 result
= (wxPrintDialogData
*) &_result_ref
;
22012 wxPyEndAllowThreads(__tstate
);
22013 if (PyErr_Occurred()) SWIG_fail
;
22015 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
22022 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22023 PyObject
*resultobj
;
22024 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22026 PyObject
* obj0
= 0 ;
22027 PyObject
* obj1
= 0 ;
22028 char *kwnames
[] = {
22029 (char *) "self",(char *) "percent", NULL
22032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
22033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22035 arg2
= (int) SWIG_AsInt(obj1
);
22036 if (PyErr_Occurred()) SWIG_fail
;
22038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22039 (arg1
)->SetZoom(arg2
);
22041 wxPyEndAllowThreads(__tstate
);
22042 if (PyErr_Occurred()) SWIG_fail
;
22044 Py_INCREF(Py_None
); resultobj
= Py_None
;
22051 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22052 PyObject
*resultobj
;
22053 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22055 PyObject
* obj0
= 0 ;
22056 char *kwnames
[] = {
22057 (char *) "self", NULL
22060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
22061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22065 result
= (int)(arg1
)->GetZoom();
22067 wxPyEndAllowThreads(__tstate
);
22068 if (PyErr_Occurred()) SWIG_fail
;
22070 resultobj
= SWIG_FromInt((int)result
);
22077 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22078 PyObject
*resultobj
;
22079 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22081 PyObject
* obj0
= 0 ;
22082 char *kwnames
[] = {
22083 (char *) "self", NULL
22086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
22087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22091 result
= (int)(arg1
)->GetMaxPage();
22093 wxPyEndAllowThreads(__tstate
);
22094 if (PyErr_Occurred()) SWIG_fail
;
22096 resultobj
= SWIG_FromInt((int)result
);
22103 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22104 PyObject
*resultobj
;
22105 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22107 PyObject
* obj0
= 0 ;
22108 char *kwnames
[] = {
22109 (char *) "self", NULL
22112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
22113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22117 result
= (int)(arg1
)->GetMinPage();
22119 wxPyEndAllowThreads(__tstate
);
22120 if (PyErr_Occurred()) SWIG_fail
;
22122 resultobj
= SWIG_FromInt((int)result
);
22129 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22130 PyObject
*resultobj
;
22131 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22133 PyObject
* obj0
= 0 ;
22134 char *kwnames
[] = {
22135 (char *) "self", NULL
22138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
22139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22143 result
= (bool)(arg1
)->Ok();
22145 wxPyEndAllowThreads(__tstate
);
22146 if (PyErr_Occurred()) SWIG_fail
;
22148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22155 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22156 PyObject
*resultobj
;
22157 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22159 PyObject
* obj0
= 0 ;
22160 PyObject
* obj1
= 0 ;
22161 char *kwnames
[] = {
22162 (char *) "self",(char *) "ok", NULL
22165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
22166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22168 arg2
= (bool) SWIG_AsBool(obj1
);
22169 if (PyErr_Occurred()) SWIG_fail
;
22171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22172 (arg1
)->SetOk(arg2
);
22174 wxPyEndAllowThreads(__tstate
);
22175 if (PyErr_Occurred()) SWIG_fail
;
22177 Py_INCREF(Py_None
); resultobj
= Py_None
;
22184 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22185 PyObject
*resultobj
;
22186 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22189 PyObject
* obj0
= 0 ;
22190 PyObject
* obj1
= 0 ;
22191 char *kwnames
[] = {
22192 (char *) "self",(char *) "interactive", NULL
22195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
22196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22198 arg2
= (bool) SWIG_AsBool(obj1
);
22199 if (PyErr_Occurred()) SWIG_fail
;
22201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22202 result
= (bool)(arg1
)->Print(arg2
);
22204 wxPyEndAllowThreads(__tstate
);
22205 if (PyErr_Occurred()) SWIG_fail
;
22207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22214 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22215 PyObject
*resultobj
;
22216 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22217 PyObject
* obj0
= 0 ;
22218 char *kwnames
[] = {
22219 (char *) "self", NULL
22222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
22223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22227 (arg1
)->DetermineScaling();
22229 wxPyEndAllowThreads(__tstate
);
22230 if (PyErr_Occurred()) SWIG_fail
;
22232 Py_INCREF(Py_None
); resultobj
= Py_None
;
22239 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
22241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22242 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
22244 return Py_BuildValue((char *)"");
22246 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
22247 PyObject
*resultobj
;
22248 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22249 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22250 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
22251 wxPyPrintPreview
*result
;
22252 PyObject
* obj0
= 0 ;
22253 PyObject
* obj1
= 0 ;
22254 PyObject
* obj2
= 0 ;
22256 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22259 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22262 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
22263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22267 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
22269 wxPyEndAllowThreads(__tstate
);
22270 if (PyErr_Occurred()) SWIG_fail
;
22272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
22279 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
22280 PyObject
*resultobj
;
22281 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22282 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22283 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
22284 wxPyPrintPreview
*result
;
22285 PyObject
* obj0
= 0 ;
22286 PyObject
* obj1
= 0 ;
22287 PyObject
* obj2
= 0 ;
22289 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22292 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22294 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
22295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22298 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
22300 wxPyEndAllowThreads(__tstate
);
22301 if (PyErr_Occurred()) SWIG_fail
;
22303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
22310 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
22315 argc
= PyObject_Length(args
);
22316 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
22317 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22319 if ((argc
>= 2) && (argc
<= 3)) {
22323 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22333 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22342 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
22346 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
22354 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
22363 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22373 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22383 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22391 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
22397 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
22402 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22403 PyObject
*resultobj
;
22404 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22405 PyObject
*arg2
= (PyObject
*) 0 ;
22406 PyObject
*arg3
= (PyObject
*) 0 ;
22407 PyObject
* obj0
= 0 ;
22408 PyObject
* obj1
= 0 ;
22409 PyObject
* obj2
= 0 ;
22410 char *kwnames
[] = {
22411 (char *) "self",(char *) "self",(char *) "_class", NULL
22414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22421 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22423 wxPyEndAllowThreads(__tstate
);
22424 if (PyErr_Occurred()) SWIG_fail
;
22426 Py_INCREF(Py_None
); resultobj
= Py_None
;
22433 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22434 PyObject
*resultobj
;
22435 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22438 PyObject
* obj0
= 0 ;
22439 PyObject
* obj1
= 0 ;
22440 char *kwnames
[] = {
22441 (char *) "self",(char *) "pageNum", NULL
22444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22447 arg2
= (int) SWIG_AsInt(obj1
);
22448 if (PyErr_Occurred()) SWIG_fail
;
22450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22451 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
22453 wxPyEndAllowThreads(__tstate
);
22454 if (PyErr_Occurred()) SWIG_fail
;
22456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22463 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22464 PyObject
*resultobj
;
22465 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22466 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22469 PyObject
* obj0
= 0 ;
22470 PyObject
* obj1
= 0 ;
22471 PyObject
* obj2
= 0 ;
22472 char *kwnames
[] = {
22473 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22479 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22481 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
22482 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22484 if (arg3
== NULL
) {
22485 PyErr_SetString(PyExc_TypeError
,"null reference");
22489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22490 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
22492 wxPyEndAllowThreads(__tstate
);
22493 if (PyErr_Occurred()) SWIG_fail
;
22495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22502 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22503 PyObject
*resultobj
;
22504 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22505 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22508 PyObject
* obj0
= 0 ;
22509 PyObject
* obj1
= 0 ;
22510 PyObject
* obj2
= 0 ;
22511 char *kwnames
[] = {
22512 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22518 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22520 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
22521 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22523 if (arg3
== NULL
) {
22524 PyErr_SetString(PyExc_TypeError
,"null reference");
22528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22529 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
22531 wxPyEndAllowThreads(__tstate
);
22532 if (PyErr_Occurred()) SWIG_fail
;
22534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22541 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22542 PyObject
*resultobj
;
22543 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22546 PyObject
* obj0
= 0 ;
22547 PyObject
* obj1
= 0 ;
22548 char *kwnames
[] = {
22549 (char *) "self",(char *) "pageNum", NULL
22552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22555 arg2
= (int) SWIG_AsInt(obj1
);
22556 if (PyErr_Occurred()) SWIG_fail
;
22558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22559 result
= (bool)(arg1
)->base_RenderPage(arg2
);
22561 wxPyEndAllowThreads(__tstate
);
22562 if (PyErr_Occurred()) SWIG_fail
;
22564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22571 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22572 PyObject
*resultobj
;
22573 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22575 PyObject
* obj0
= 0 ;
22576 PyObject
* obj1
= 0 ;
22577 char *kwnames
[] = {
22578 (char *) "self",(char *) "percent", NULL
22581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
22582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22584 arg2
= (int) SWIG_AsInt(obj1
);
22585 if (PyErr_Occurred()) SWIG_fail
;
22587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22588 (arg1
)->base_SetZoom(arg2
);
22590 wxPyEndAllowThreads(__tstate
);
22591 if (PyErr_Occurred()) SWIG_fail
;
22593 Py_INCREF(Py_None
); resultobj
= Py_None
;
22600 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22601 PyObject
*resultobj
;
22602 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22605 PyObject
* obj0
= 0 ;
22606 PyObject
* obj1
= 0 ;
22607 char *kwnames
[] = {
22608 (char *) "self",(char *) "interactive", NULL
22611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
22612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22614 arg2
= (bool) SWIG_AsBool(obj1
);
22615 if (PyErr_Occurred()) SWIG_fail
;
22617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22618 result
= (bool)(arg1
)->base_Print(arg2
);
22620 wxPyEndAllowThreads(__tstate
);
22621 if (PyErr_Occurred()) SWIG_fail
;
22623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22630 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22631 PyObject
*resultobj
;
22632 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
22633 PyObject
* obj0
= 0 ;
22634 char *kwnames
[] = {
22635 (char *) "self", NULL
22638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
22639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
22640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22643 (arg1
)->base_DetermineScaling();
22645 wxPyEndAllowThreads(__tstate
);
22646 if (PyErr_Occurred()) SWIG_fail
;
22648 Py_INCREF(Py_None
); resultobj
= Py_None
;
22655 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
22657 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22658 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
22660 return Py_BuildValue((char *)"");
22662 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22663 PyObject
*resultobj
;
22664 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22665 wxFrame
*arg2
= (wxFrame
*) 0 ;
22666 wxString
*arg3
= 0 ;
22667 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22668 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22669 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22670 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22671 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22672 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22673 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22674 wxPyPreviewFrame
*result
;
22675 bool temp3
= False
;
22678 bool temp7
= False
;
22679 PyObject
* obj0
= 0 ;
22680 PyObject
* obj1
= 0 ;
22681 PyObject
* obj2
= 0 ;
22682 PyObject
* obj3
= 0 ;
22683 PyObject
* obj4
= 0 ;
22684 PyObject
* obj5
= 0 ;
22685 PyObject
* obj6
= 0 ;
22686 char *kwnames
[] = {
22687 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22693 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22696 arg3
= wxString_in_helper(obj2
);
22697 if (arg3
== NULL
) SWIG_fail
;
22703 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22709 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22713 arg6
= (long) SWIG_AsLong(obj5
);
22714 if (PyErr_Occurred()) SWIG_fail
;
22718 arg7
= wxString_in_helper(obj6
);
22719 if (arg7
== NULL
) SWIG_fail
;
22724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22725 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22727 wxPyEndAllowThreads(__tstate
);
22728 if (PyErr_Occurred()) SWIG_fail
;
22730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
22753 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22754 PyObject
*resultobj
;
22755 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22756 PyObject
*arg2
= (PyObject
*) 0 ;
22757 PyObject
*arg3
= (PyObject
*) 0 ;
22758 PyObject
* obj0
= 0 ;
22759 PyObject
* obj1
= 0 ;
22760 PyObject
* obj2
= 0 ;
22761 char *kwnames
[] = {
22762 (char *) "self",(char *) "self",(char *) "_class", NULL
22765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22772 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22774 wxPyEndAllowThreads(__tstate
);
22775 if (PyErr_Occurred()) SWIG_fail
;
22777 Py_INCREF(Py_None
); resultobj
= Py_None
;
22784 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22785 PyObject
*resultobj
;
22786 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22787 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22788 PyObject
* obj0
= 0 ;
22789 PyObject
* obj1
= 0 ;
22790 char *kwnames
[] = {
22791 (char *) "self",(char *) "canvas", NULL
22794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
22795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22801 (arg1
)->SetPreviewCanvas(arg2
);
22803 wxPyEndAllowThreads(__tstate
);
22804 if (PyErr_Occurred()) SWIG_fail
;
22806 Py_INCREF(Py_None
); resultobj
= Py_None
;
22813 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22814 PyObject
*resultobj
;
22815 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22816 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
22817 PyObject
* obj0
= 0 ;
22818 PyObject
* obj1
= 0 ;
22819 char *kwnames
[] = {
22820 (char *) "self",(char *) "bar", NULL
22823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
22824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22826 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
22827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22830 (arg1
)->SetControlBar(arg2
);
22832 wxPyEndAllowThreads(__tstate
);
22833 if (PyErr_Occurred()) SWIG_fail
;
22835 Py_INCREF(Py_None
); resultobj
= Py_None
;
22842 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22843 PyObject
*resultobj
;
22844 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22845 PyObject
* obj0
= 0 ;
22846 char *kwnames
[] = {
22847 (char *) "self", NULL
22850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
22851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22855 (arg1
)->base_Initialize();
22857 wxPyEndAllowThreads(__tstate
);
22858 if (PyErr_Occurred()) SWIG_fail
;
22860 Py_INCREF(Py_None
); resultobj
= Py_None
;
22867 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22868 PyObject
*resultobj
;
22869 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22870 PyObject
* obj0
= 0 ;
22871 char *kwnames
[] = {
22872 (char *) "self", NULL
22875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22880 (arg1
)->base_CreateCanvas();
22882 wxPyEndAllowThreads(__tstate
);
22883 if (PyErr_Occurred()) SWIG_fail
;
22885 Py_INCREF(Py_None
); resultobj
= Py_None
;
22892 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22893 PyObject
*resultobj
;
22894 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
22895 PyObject
* obj0
= 0 ;
22896 char *kwnames
[] = {
22897 (char *) "self", NULL
22900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
22902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22905 (arg1
)->base_CreateControlBar();
22907 wxPyEndAllowThreads(__tstate
);
22908 if (PyErr_Occurred()) SWIG_fail
;
22910 Py_INCREF(Py_None
); resultobj
= Py_None
;
22917 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22919 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22920 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
22922 return Py_BuildValue((char *)"");
22924 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22925 PyObject
*resultobj
;
22926 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22928 wxWindow
*arg3
= (wxWindow
*) 0 ;
22929 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22930 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22931 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22932 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22933 long arg6
= (long) 0 ;
22934 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22935 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22936 wxPyPreviewControlBar
*result
;
22939 bool temp7
= False
;
22940 PyObject
* obj0
= 0 ;
22941 PyObject
* obj1
= 0 ;
22942 PyObject
* obj2
= 0 ;
22943 PyObject
* obj3
= 0 ;
22944 PyObject
* obj4
= 0 ;
22945 PyObject
* obj5
= 0 ;
22946 PyObject
* obj6
= 0 ;
22947 char *kwnames
[] = {
22948 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22954 arg2
= (long) SWIG_AsLong(obj1
);
22955 if (PyErr_Occurred()) SWIG_fail
;
22956 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
22957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22961 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22967 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22971 arg6
= (long) SWIG_AsLong(obj5
);
22972 if (PyErr_Occurred()) SWIG_fail
;
22976 arg7
= wxString_in_helper(obj6
);
22977 if (arg7
== NULL
) SWIG_fail
;
22982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22983 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22985 wxPyEndAllowThreads(__tstate
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
23003 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23004 PyObject
*resultobj
;
23005 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
23006 PyObject
*arg2
= (PyObject
*) 0 ;
23007 PyObject
*arg3
= (PyObject
*) 0 ;
23008 PyObject
* obj0
= 0 ;
23009 PyObject
* obj1
= 0 ;
23010 PyObject
* obj2
= 0 ;
23011 char *kwnames
[] = {
23012 (char *) "self",(char *) "self",(char *) "_class", NULL
23015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
23017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23022 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23024 wxPyEndAllowThreads(__tstate
);
23025 if (PyErr_Occurred()) SWIG_fail
;
23027 Py_INCREF(Py_None
); resultobj
= Py_None
;
23034 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23035 PyObject
*resultobj
;
23036 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
23037 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
23038 PyObject
* obj0
= 0 ;
23039 PyObject
* obj1
= 0 ;
23040 char *kwnames
[] = {
23041 (char *) "self",(char *) "preview", NULL
23044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
23045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
23046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23047 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
23048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23051 (arg1
)->SetPrintPreview(arg2
);
23053 wxPyEndAllowThreads(__tstate
);
23054 if (PyErr_Occurred()) SWIG_fail
;
23056 Py_INCREF(Py_None
); resultobj
= Py_None
;
23063 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23064 PyObject
*resultobj
;
23065 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
23066 PyObject
* obj0
= 0 ;
23067 char *kwnames
[] = {
23068 (char *) "self", NULL
23071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
23072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
23073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23076 (arg1
)->base_CreateButtons();
23078 wxPyEndAllowThreads(__tstate
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23081 Py_INCREF(Py_None
); resultobj
= Py_None
;
23088 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23089 PyObject
*resultobj
;
23090 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
23092 PyObject
* obj0
= 0 ;
23093 PyObject
* obj1
= 0 ;
23094 char *kwnames
[] = {
23095 (char *) "self",(char *) "zoom", NULL
23098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
23099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
23100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23101 arg2
= (int) SWIG_AsInt(obj1
);
23102 if (PyErr_Occurred()) SWIG_fail
;
23104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23105 (arg1
)->base_SetZoomControl(arg2
);
23107 wxPyEndAllowThreads(__tstate
);
23108 if (PyErr_Occurred()) SWIG_fail
;
23110 Py_INCREF(Py_None
); resultobj
= Py_None
;
23117 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
23119 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23120 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
23122 return Py_BuildValue((char *)"");
23124 static PyMethodDef SwigMethods
[] = {
23125 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
23126 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
23127 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
23128 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
23129 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
23130 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
23131 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
23132 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
23133 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
23134 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
23135 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
23136 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
23137 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
23138 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
23139 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
23140 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
23141 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
23142 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
23143 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
23144 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
23145 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
23146 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
23147 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
23148 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
23149 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
23150 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
23151 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
23152 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
23153 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
23154 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
23155 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
23156 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
23157 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
23158 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
23159 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
23160 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
23161 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
23162 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
23163 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
23164 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
23165 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
23166 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
23167 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
23168 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
23169 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
23170 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
23171 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
23172 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
23173 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
23174 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
23175 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
23176 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
23177 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
23178 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
23179 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
23180 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
23181 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
23182 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
23183 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
23184 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
23185 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
23186 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
23187 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
23188 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
23189 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
23190 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
23191 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
23192 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
23193 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
23194 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
23195 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
23196 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
23197 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
23198 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23199 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
23200 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
},
23201 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
23202 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
23203 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
23204 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
23205 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
23206 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
23207 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
23208 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
23209 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
23210 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
23211 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
23212 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
23213 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
23214 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
23215 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
23216 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
23217 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
23218 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
23219 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
23220 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
23221 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
23222 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
23223 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
23224 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
23225 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
23226 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
23227 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
23228 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
23229 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
23230 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
23231 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
23232 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
23233 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
23234 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
23235 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
23236 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
23237 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
23238 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
23239 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
23240 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
23241 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
23242 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
23243 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
23244 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
23245 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
23246 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
23247 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
23248 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
23249 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
23250 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
23251 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
23252 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
23253 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
23254 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
23255 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
23256 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
23257 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
23258 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
23259 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
23260 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
23261 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
23262 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
23263 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
23264 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
23265 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
23266 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
23267 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
23268 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
23269 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
23270 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
23271 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
23272 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
23273 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
23274 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
23275 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
23276 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
23277 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
23278 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
23279 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
23280 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
23281 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
23282 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
23283 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
23284 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
23285 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
23286 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
23287 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
23288 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
23289 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
23290 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
23291 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
23292 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
23293 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
23294 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
23295 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
23296 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
23297 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23298 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23299 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
23300 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
23301 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23302 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23303 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
23304 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
23305 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
23306 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
23307 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23308 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23309 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
23310 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
23311 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
23312 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
23313 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
23314 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
23315 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
23316 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23317 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
23318 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
23319 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23320 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
23321 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
23322 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
23323 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
23324 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
23325 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
23326 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
23327 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
23328 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
23329 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
23330 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
23331 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
23332 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23333 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23334 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23335 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
23336 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
23337 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
23338 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
23339 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
23340 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
23341 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
23342 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
23343 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
23344 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23345 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
23346 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
23347 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
23348 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
23349 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
23350 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
23351 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
23352 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
23353 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
23354 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
23355 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
23356 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
23357 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
23358 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
23359 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
23360 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
23361 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
23362 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23363 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
23364 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
23365 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
23366 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23367 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
23368 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
23369 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
23370 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
23371 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
23372 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
23373 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
23374 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
23375 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
23376 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23377 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
23378 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
23379 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
23380 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
23381 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
23382 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
23383 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
23384 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
23385 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
23386 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
23387 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
23388 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23389 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
23390 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
23391 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
23392 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
23393 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
23394 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
23395 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
23396 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
23397 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
23398 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
23399 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
23400 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
23401 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
23402 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
23403 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
23404 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
23405 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
23406 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
23407 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
23408 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
23409 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
23410 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
23411 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
23412 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
23413 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
23414 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
23415 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
23416 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
23417 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
23418 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
23419 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
23420 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
23421 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
23422 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
23423 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
23424 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
23425 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
23426 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
23427 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
23428 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
23429 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
23430 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
23431 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
23432 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
23433 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
23434 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
23435 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
23436 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
23437 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
23438 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
23439 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
23440 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
23441 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
23442 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
23443 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
23444 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
23445 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23446 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
23447 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23448 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
23449 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
23450 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
23451 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
23452 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
23453 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
23454 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
23455 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
23456 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
23457 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
23458 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
23459 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
23460 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
23461 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
23462 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
23463 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
23464 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
23465 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
23466 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
23467 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
23468 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
23469 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
23470 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
23471 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
23472 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
23473 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
23474 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
23475 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
23476 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
23477 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
23478 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
23479 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23480 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
23481 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
23482 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
23483 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23484 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
23485 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
23486 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
23487 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
23488 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
23489 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
23490 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
23491 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23492 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
23493 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
23494 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
23495 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
23496 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
23497 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
23498 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
23499 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
23500 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
23501 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
23502 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
23503 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
23504 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
23505 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
23506 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
23507 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
23508 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
23509 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
23510 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23511 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
23512 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_GetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
23513 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
23514 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction
) _wrap_MDIParentFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
23515 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
23516 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
23517 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
23518 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
23519 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
23520 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
23521 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
23522 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
23523 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
23524 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23525 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
23526 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
23527 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
23528 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
23529 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23530 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
23531 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
23532 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23533 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23534 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
23535 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23536 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
23537 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23538 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
23539 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
23540 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
23541 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
23542 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
23543 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
23544 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
23545 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
23546 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
23547 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
23548 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
23549 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
23550 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23551 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
23552 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
23553 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23554 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23555 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
23556 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
23557 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
23558 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
23559 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
23560 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
23561 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
23562 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
23563 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
23564 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
23565 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
23566 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
23567 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
23568 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
23569 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
23570 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
23571 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
23572 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23573 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23574 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23575 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23576 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
23577 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
23578 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
23579 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23580 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23581 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
23582 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23583 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23584 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23585 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
23586 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
23587 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
23588 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23589 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23590 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
23591 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
23592 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
23593 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
23594 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
23595 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
23596 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
23597 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
23598 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
23599 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
23600 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
23601 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
23602 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
23603 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
23604 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
23605 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
23606 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
23607 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
23608 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
23609 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
23610 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
23611 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
23612 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
23613 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
23614 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
23615 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
23616 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23617 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23618 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23619 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
23620 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23621 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
23622 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
23623 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
23624 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
23625 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
23626 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
23627 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
23628 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23629 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
23630 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23631 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23632 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23633 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23634 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23635 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23636 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23637 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23638 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
23639 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
23640 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23641 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23642 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
23643 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
23644 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
23645 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
23646 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23647 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
23648 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
23649 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
23650 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23651 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
23652 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
},
23653 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23654 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
23655 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
23656 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
23657 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
23658 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23659 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
23660 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23661 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23662 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23663 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
23664 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
23665 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
23666 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
23667 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
23668 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
23669 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
23670 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
23671 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
23672 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23673 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
23674 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23675 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
23676 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
23677 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23678 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
23679 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
23680 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
23681 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
23682 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23683 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23684 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
23685 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
23686 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
23687 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23688 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
23689 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
23690 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
23691 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
23692 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
23693 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
23694 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23695 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
23696 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
23697 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
23698 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
23699 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
23700 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
23701 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
23702 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
23703 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23704 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
23705 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
23706 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
23707 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
23708 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
23709 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
23710 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
23711 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
23712 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
23713 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
23714 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
23715 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
23716 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
23717 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
23718 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
23719 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
23720 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
23721 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
23722 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
23723 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
23724 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
23725 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23726 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
23727 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
23728 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
23729 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23730 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23731 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23732 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
23733 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23734 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
23735 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
23736 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
23737 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
23738 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
23739 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
23740 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
23741 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
23742 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
23743 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
},
23744 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
23745 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
23746 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
23747 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
23748 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
23749 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
23750 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23751 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
23752 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23753 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
23754 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
23755 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
23756 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
23757 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
23758 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
23759 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
23760 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
23761 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
23762 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
23763 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
23764 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
23765 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
23766 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
23767 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
},
23768 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23769 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
23770 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
23771 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
23772 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
23773 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
23774 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
23775 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
23776 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
23777 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
23778 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23779 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23780 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23781 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
23782 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
23783 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23784 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
23785 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
23786 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
23787 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
23788 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
23789 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
23790 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
23795 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
23797 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
23798 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
23800 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
23801 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
23803 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
23804 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
23806 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
23807 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
23809 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
23810 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
23812 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
23813 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
23815 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
23816 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
23818 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
23819 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23821 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
23822 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
23824 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
23825 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
23827 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
23828 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
23830 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
23831 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
23833 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
23834 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
23836 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
23837 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
23839 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
23840 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
23842 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
23843 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
23845 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
23846 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
23848 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
23849 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
23851 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
23852 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
23854 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
23855 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
23857 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
23858 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
23860 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
23861 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
23863 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
23864 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
23866 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
23867 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
23869 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
23870 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
23872 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
23873 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
23875 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
23876 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
23878 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
23879 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
23881 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
23882 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
23884 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
23885 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
23887 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
23888 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
23890 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
23891 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
23893 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
23894 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
23896 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
23897 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
23899 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
23900 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
23902 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
23903 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
23905 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
23906 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
23908 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
23909 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
23911 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
23912 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
23914 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
23915 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
23917 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
23918 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
23920 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
23921 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
23923 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
23924 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
23926 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
23927 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
23929 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
23930 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
23932 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
23933 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
23935 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
23936 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
23938 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
23939 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
23941 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
23942 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
23944 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
23945 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
23947 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
23948 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
23950 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
23951 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
23953 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
23954 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
23956 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
23957 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
23959 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
23960 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
23962 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
23963 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
23965 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
23966 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
23968 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
23969 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
23971 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
23972 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
23974 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
23975 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
23977 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
23978 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
23980 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
23981 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
23983 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
23984 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
23986 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
23987 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
23989 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
23990 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
23992 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
23993 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
23995 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
23996 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
23998 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
23999 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
24001 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
24002 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
24004 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
24005 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
24007 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
24008 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
24010 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
24011 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
24013 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
24014 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
24016 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
24017 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24019 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
24020 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
24022 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
24023 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
24025 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
24026 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
24028 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
24029 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
24031 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
24032 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24034 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
24035 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24037 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
24038 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24040 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
24041 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
24043 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
24044 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24046 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
24047 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
24049 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
24050 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
24052 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
24053 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
24055 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
24056 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
24058 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
24059 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
24061 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
24062 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
24064 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
24065 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
24067 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
24068 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
24070 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
24071 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
24073 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
24074 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24076 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
24077 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
24079 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
24080 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
24082 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
24083 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
24085 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
24086 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24088 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
24089 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
24091 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
24092 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
24094 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
24095 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
24097 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
24098 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
24100 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
24101 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
24103 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
24104 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
24106 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
24107 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24109 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
24110 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
24112 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
24113 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
24115 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
24116 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
24118 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
24119 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
24121 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
24122 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
24124 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
24125 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
24127 static void *_p_wxSizerTo_p_wxObject(void *x
) {
24128 return (void *)((wxObject
*) ((wxSizer
*) x
));
24130 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
24131 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
24133 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
24134 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
24136 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
24137 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
24139 static void *_p_wxEventTo_p_wxObject(void *x
) {
24140 return (void *)((wxObject
*) ((wxEvent
*) x
));
24142 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
24143 return (void *)((wxObject
*) ((wxFontData
*) x
));
24145 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
24146 return (void *)((wxObject
*) ((wxPrintData
*) x
));
24148 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
24149 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
24151 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
24152 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
24154 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
24155 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
24157 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
24158 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
24160 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
24161 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
24163 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
24164 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
24166 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
24167 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
24169 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
24170 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
24172 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
24173 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
24175 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
24176 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
24178 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
24179 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
24181 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
24182 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
24184 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
24185 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24187 static void *_p_wxControlTo_p_wxObject(void *x
) {
24188 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
24190 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
24191 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
24193 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
24194 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
24196 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
24197 return (void *)((wxObject
*) ((wxFSFile
*) x
));
24199 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
24200 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
24202 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
24203 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
24205 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
24206 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
24208 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
24209 return (void *)((wxObject
*) ((wxColourData
*) x
));
24211 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
24212 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
24214 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
24215 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
24217 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
24218 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
24220 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
24221 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
24223 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
24224 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
24226 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
24227 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24229 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
24230 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24232 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
24233 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
24235 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
24236 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
24238 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
24239 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
24241 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
24242 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
24244 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
24245 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
24247 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
24248 return (void *)((wxObject
*) ((wxPrinter
*) x
));
24250 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
24251 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
24253 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
24254 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
24256 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
24257 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
24259 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
24260 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
24262 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
24263 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
24265 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
24266 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
24268 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
24269 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
24271 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
24272 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
24274 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
24275 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
24277 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
24278 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
24280 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
24281 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
24283 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
24284 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
24286 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
24287 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
24289 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
24290 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
24292 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
24293 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
24295 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
24296 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
24298 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
24299 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
24301 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
24302 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
24304 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
24305 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
24307 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
24308 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
24310 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
24311 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
24313 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
24314 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
24316 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
24317 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
24319 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
24320 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24322 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
24323 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24325 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
24326 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
24328 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
24329 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
24331 static void *_p_wxImageTo_p_wxObject(void *x
) {
24332 return (void *)((wxObject
*) ((wxImage
*) x
));
24334 static void *_p_wxFrameTo_p_wxObject(void *x
) {
24335 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
24337 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
24338 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
24340 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
24341 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
24343 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
24344 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
24346 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
24347 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
24349 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
24350 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
24352 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
24353 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
24355 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
24356 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
24358 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
24359 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
24361 static void *_p_wxWindowTo_p_wxObject(void *x
) {
24362 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
24364 static void *_p_wxMenuTo_p_wxObject(void *x
) {
24365 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
24367 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
24368 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
24370 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
24371 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
24373 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
24374 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
24376 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
24377 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
24379 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
24380 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
24382 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
24383 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
24385 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
24386 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24388 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
24389 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
24391 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
24392 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24394 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
24395 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
24397 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
24398 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24400 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
24401 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
24403 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
24404 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
24406 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
24407 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
24409 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
24410 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
24412 static void *_p_wxPanelTo_p_wxObject(void *x
) {
24413 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
24415 static void *_p_wxDialogTo_p_wxObject(void *x
) {
24416 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
24418 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
24419 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
24421 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
24422 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
24424 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
24425 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
24427 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
24428 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
24430 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
24431 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
24433 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
24434 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
24436 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
24437 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
24439 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
24440 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
24442 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
24443 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
24445 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
24446 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
24448 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
24449 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
24451 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
24452 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
24454 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
24455 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
24457 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
24458 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
24460 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
24461 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
24463 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
24464 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24466 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
24467 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
24469 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
24470 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
24472 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
24473 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
24475 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
24476 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
24478 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
24479 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
24481 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
24482 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
24484 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
24485 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
24487 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
24488 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
24490 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
24491 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24493 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
24494 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24496 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
24497 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
24499 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
24500 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24502 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
24503 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
24505 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
24506 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24508 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
24509 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
24511 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
24512 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
24514 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
24515 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
24517 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
24518 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
24520 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
24521 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
24523 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
24524 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
24526 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
24527 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
24529 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
24530 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
24532 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
24533 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
24535 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
24536 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
24538 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
24539 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
24541 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
24542 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
24544 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
24545 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
24547 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
24548 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
24550 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
24551 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
24553 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
24554 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24556 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
24557 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24559 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
24560 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
24562 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
24563 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
24565 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
24566 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24568 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
24569 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
24571 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
24572 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
24574 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
24575 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
24577 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
24578 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
24580 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
24581 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
24583 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
24584 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
24586 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
24587 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
24589 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
24590 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
24592 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
24593 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24595 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
24596 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24598 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
24599 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
24601 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
24602 return (void *)((wxWindow
*) ((wxPanel
*) x
));
24604 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
24605 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
24607 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
24608 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
24610 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
24611 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24613 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
24614 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
24616 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
24617 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
24619 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
24620 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
24622 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
24623 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
24625 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
24626 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
24628 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
24629 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
24631 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
24632 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
24634 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
24635 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
24637 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
24638 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
24640 static void *_p_wxControlTo_p_wxWindow(void *x
) {
24641 return (void *)((wxWindow
*) ((wxControl
*) x
));
24643 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
24644 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
24646 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
24647 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24649 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
24650 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
24652 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
24653 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
24655 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
24656 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
24658 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
24659 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24661 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
24662 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24664 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
24665 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24667 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
24668 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
24670 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
24671 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24673 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
24674 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
24676 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
24677 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
24679 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
24680 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
24682 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
24683 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
24685 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
24686 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
24688 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
24689 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
24691 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
24692 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
24694 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
24695 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
24697 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
24698 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24700 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
24701 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
24703 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
24704 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
24706 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
24707 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
24709 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
24710 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
24712 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
24713 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
24715 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
24716 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
24718 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
24719 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
24721 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
24722 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
24724 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
24725 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
24727 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
24728 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
24730 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
24731 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
24733 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
24734 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
24736 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
24737 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
24739 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
24740 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
24742 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
24743 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
24745 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
24746 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
24748 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
24749 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
24751 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
24752 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
24754 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
24755 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
24757 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
24758 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24760 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
24761 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
24763 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
24764 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
24766 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
24767 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
24769 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
24770 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
24772 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
24773 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
24775 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
24776 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
24778 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
24779 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
24781 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
24782 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
24784 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
24785 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
24787 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
24788 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
24790 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
24791 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
24793 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
24794 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
24796 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}};
24797 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}};
24798 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}};
24799 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}};
24800 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}};
24801 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}};
24802 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}};
24803 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}};
24804 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}};
24805 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}};
24806 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}};
24807 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}};
24808 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}};
24809 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}};
24810 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}};
24811 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}};
24812 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}};
24813 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}};
24814 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}};
24815 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}};
24816 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}};
24817 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}};
24818 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}};
24819 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}};
24820 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}};
24821 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}};
24822 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}};
24823 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}};
24824 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}};
24825 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}};
24826 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}};
24827 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}};
24828 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}};
24829 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}};
24830 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}};
24831 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}};
24832 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}};
24833 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}};
24834 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}};
24835 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}};
24836 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}};
24837 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}};
24838 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}};
24839 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}};
24840 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}};
24841 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}};
24842 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}};
24843 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}};
24844 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}};
24845 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}};
24846 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}};
24847 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}};
24848 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}};
24849 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}};
24850 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}};
24851 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}};
24852 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}};
24853 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}};
24854 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}};
24855 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}};
24856 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}};
24857 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}};
24858 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}};
24859 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}};
24860 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}};
24861 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}};
24862 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}};
24863 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}};
24864 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}};
24865 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}};
24866 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}};
24867 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}};
24868 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}};
24869 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}};
24870 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}};
24871 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}};
24872 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}};
24873 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}};
24874 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}};
24875 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}};
24876 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}};
24877 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}};
24878 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}};
24879 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}};
24881 static swig_type_info
*swig_types_initial
[] = {
24882 _swigt__p_wxQueryLayoutInfoEvent
,
24883 _swigt__p_wxPreviewFrame
,
24884 _swigt__p_wxPyPreviewFrame
,
24885 _swigt__p_wxPyPanel
,
24887 _swigt__p_wxPrintData
,
24888 _swigt__p_wxFontData
,
24890 _swigt__p_wxTaskBarIcon
,
24891 _swigt__p_wxIconBundle
,
24892 _swigt__p_wxLayoutAlgorithm
,
24893 _swigt__p_wxFindDialogEvent
,
24894 _swigt__p_wxPreviewCanvas
,
24896 _swigt__p_wxSplitterEvent
,
24897 _swigt__p_wxRegion
,
24898 _swigt__p_wxFindReplaceData
,
24903 _swigt__p_wxMDIChildFrame
,
24904 _swigt__p_wxColourData
,
24905 _swigt__p_wxNotifyEvent
,
24906 _swigt__p_wxPyWindow
,
24907 _swigt__p_wxSplashScreen
,
24908 _swigt__p_wxFindReplaceDialog
,
24909 _swigt__p_wxProgressDialog
,
24910 _swigt__p_wxMessageDialog
,
24911 _swigt__p_wxTextEntryDialog
,
24912 _swigt__p_wxSingleChoiceDialog
,
24913 _swigt__p_wxMultiChoiceDialog
,
24914 _swigt__p_wxFileDialog
,
24915 _swigt__p_wxPrinter
,
24916 _swigt__p_wxArrayInt
,
24917 _swigt__p_wxEvtHandler
,
24918 _swigt__p_wxCalculateLayoutEvent
,
24919 _swigt__p_wxPyHtmlListBox
,
24920 _swigt__p_wxPyVListBox
,
24923 _swigt__p_wxMiniFrame
,
24925 _swigt__p_wxPyPrintout
,
24926 _swigt__p_wxTaskBarIconEvent
,
24927 _swigt__p_wxScrollWinEvent
,
24928 _swigt__p_wxStatusBar
,
24929 _swigt__p_wxMDIParentFrame
,
24931 _swigt__p_wxObject
,
24932 _swigt__p_wxOutputStream
,
24933 _swigt__p_unsigned_long
,
24934 _swigt__p_wxMDIClientWindow
,
24935 _swigt__p_wxTipWindow
,
24936 _swigt__p_wxSashLayoutWindow
,
24937 _swigt__p_wxSplitterWindow
,
24938 _swigt__p_wxPyVScrolledWindow
,
24939 _swigt__p_wxPyPopupTransientWindow
,
24940 _swigt__p_wxPopupWindow
,
24941 _swigt__p_wxSashWindow
,
24942 _swigt__p_wxTopLevelWindow
,
24943 _swigt__p_wxWindow
,
24944 _swigt__p_wxScrolledWindow
,
24945 _swigt__p_wxSplashScreenWindow
,
24946 _swigt__p_wxMenuBar
,
24947 _swigt__p_wxPrintPreview
,
24948 _swigt__p_wxSashEvent
,
24949 _swigt__p_wxString
,
24950 _swigt__p_wxPyPrintPreview
,
24951 _swigt__p_wxFontDialog
,
24952 _swigt__p_wxDirDialog
,
24953 _swigt__p_wxColourDialog
,
24954 _swigt__p_wxDialog
,
24956 _swigt__p_wxPageSetupDialog
,
24957 _swigt__p_wxPrintDialog
,
24958 _swigt__p_wxBitmap
,
24959 _swigt__p_wxCommandEvent
,
24960 _swigt__p_wxPreviewControlBar
,
24961 _swigt__p_wxPyPreviewControlBar
,
24962 _swigt__p_wxColour
,
24963 _swigt__p_wxToolBar
,
24964 _swigt__p_wxPageSetupDialogData
,
24965 _swigt__p_wxPrintDialogData
,
24970 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
24972 static swig_const_info swig_const_table
[] = {
24982 SWIGEXPORT(void) SWIG_init(void) {
24983 static PyObject
*SWIG_globals
= 0;
24984 static int typeinit
= 0;
24987 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
24988 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
24989 d
= PyModule_GetDict(m
);
24992 for (i
= 0; swig_types_initial
[i
]; i
++) {
24993 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
24997 SWIG_InstallConstants(d
,swig_const_table
);
24999 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
25000 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
25001 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
25002 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
25003 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
25004 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
25005 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
25006 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
25007 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
25008 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
25009 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
25010 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
25011 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
25012 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
25013 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
25014 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
25015 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
25016 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
25017 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
25018 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
25019 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
25020 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
25021 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
25022 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
25023 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
25024 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
25025 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
25026 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
25027 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
25028 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
25029 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
25030 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
25031 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
25032 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
25033 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
25034 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
25035 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
25036 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
25037 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
25038 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
25039 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
25040 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
25041 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
25042 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
25043 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
25044 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
25045 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
25046 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
25047 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
25048 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
25049 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
25050 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
25051 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
25052 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
25053 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
25054 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
25055 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
25056 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
25057 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
25058 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
25059 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
25060 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
25061 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
25062 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
25063 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
25064 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
25065 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
25066 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
25068 // Map renamed classes back to their common name for OOR
25069 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
25070 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
25071 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
25073 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
25074 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
25075 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
25076 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
25077 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
25078 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
25079 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
25080 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
25081 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
25082 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
25083 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
25084 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
25085 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
25086 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
25087 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
25088 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
25089 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
25090 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
25091 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
25092 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
25093 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
25094 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
25095 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
25096 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
25097 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
25098 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
25099 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
25100 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
25101 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
25102 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
25103 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
25104 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
25105 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
25106 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
25107 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
25108 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
25109 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
25110 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
25111 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
25112 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
25113 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
25114 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
25115 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
25116 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
25117 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
25118 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
25119 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
25120 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
25121 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
25122 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
25123 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
25124 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
25125 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
25126 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
25127 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
25128 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
25129 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
25130 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
25131 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
25132 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
25134 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");