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_wxPyScrolledWindow swig_types[52]
262 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
263 #define SWIGTYPE_p_wxTipWindow swig_types[54]
264 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
265 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
266 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[57]
267 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[58]
268 #define SWIGTYPE_p_wxPopupWindow swig_types[59]
269 #define SWIGTYPE_p_wxSashWindow swig_types[60]
270 #define SWIGTYPE_p_wxTopLevelWindow swig_types[61]
271 #define SWIGTYPE_p_wxWindow swig_types[62]
272 #define SWIGTYPE_p_wxScrolledWindow swig_types[63]
273 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[64]
274 #define SWIGTYPE_p_wxMenuBar swig_types[65]
275 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
276 #define SWIGTYPE_p_wxSashEvent swig_types[67]
277 #define SWIGTYPE_p_wxString swig_types[68]
278 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
279 #define SWIGTYPE_p_wxFontDialog swig_types[70]
280 #define SWIGTYPE_p_wxDirDialog swig_types[71]
281 #define SWIGTYPE_p_wxColourDialog swig_types[72]
282 #define SWIGTYPE_p_wxDialog swig_types[73]
283 #define SWIGTYPE_p_wxPanel swig_types[74]
284 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
285 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
286 #define SWIGTYPE_p_wxBitmap swig_types[77]
287 #define SWIGTYPE_p_wxCommandEvent swig_types[78]
288 #define SWIGTYPE_p_wxPreviewControlBar swig_types[79]
289 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxToolBar swig_types[82]
292 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[83]
293 #define SWIGTYPE_p_wxPrintDialogData swig_types[84]
294 static swig_type_info
*swig_types
[86];
296 /* -------- TYPES TABLE (END) -------- */
299 /*-----------------------------------------------
300 @(target):= _windows.so
301 ------------------------------------------------*/
302 #define SWIG_init init_windows
304 #define SWIG_name "_windows"
306 /* Auxiliar swig macros */
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
334 #endif /* __cplusplus */
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
353 static const wxString
wxPyEmptyString(wxEmptyString
);
354 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
361 SWIGSTATICINLINE(long)
362 SWIG_CheckLongInRange(long value
, const char* type
,
363 long min_value
, long max_value
)
365 if (!PyErr_Occurred()) {
366 if (value
< min_value
) {
368 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
369 value
, type
, min_value
);
371 PyErr_SetObject(PyExc_OverflowError
, err
);
373 } else if (value
> max_value
) {
375 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
376 value
, type
, max_value
);
377 PyErr_SetObject(PyExc_OverflowError
, err
);
385 SWIGSTATICINLINE(long)
386 SWIG_AsLong(PyObject
* obj
)
388 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
392 #if INT_MAX != LONG_MAX
393 SWIGSTATICINLINE(int)
394 SWIG_AsInt(PyObject
*obj
)
396 return swig_numeric_cast(int,
397 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
398 "int", INT_MIN
, INT_MAX
));
401 #define SWIG_AsInt SWIG_AsLong
405 SWIGSTATICINLINE(int)
406 SWIG_CheckInt(PyObject
* obj
)
409 if (PyErr_Occurred()) {
418 SWIGSTATICINLINE(int)
419 SWIG_CheckLong(PyObject
* obj
)
422 if (PyErr_Occurred()) {
431 SWIGSTATICINLINE(bool)
432 SWIG_AsBool(PyObject
*obj
)
434 return PyObject_IsTrue(obj
) ? true : false;
438 SWIGSTATICINLINE(int)
439 SWIG_CheckBool(PyObject
* obj
)
442 if (PyErr_Occurred()) {
451 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
457 } else if (target
== Py_None
) {
461 if (!PyTuple_Check(target
)) {
463 target
= PyTuple_New(1);
464 PyTuple_SetItem(target
, 0, o2
);
467 PyTuple_SetItem(o3
, 0, o
);
470 target
= PySequence_Concat(o2
, o3
);
478 SWIGSTATICINLINE(double)
479 SWIG_AsDouble(PyObject
*obj
)
481 double val
= (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
483 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
485 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
487 if (PyErr_Occurred()) {
489 PyErr_SetString(PyExc_TypeError
, "a double is expected");
495 SWIGSTATICINLINE(int)
496 SWIG_CheckDouble(PyObject
* obj
)
499 if (PyErr_Occurred()) {
507 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
508 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
509 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
510 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
511 bool wxDialog_IsModalShowing(wxDialog
*self
){
513 return self
->m_modalShowing
;
520 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
522 self
->GetFieldRect(i
, r
);
525 static const wxString
wxPySplitterNameStr(wxT("splitter"));
526 static const wxString
wxPySashNameStr(wxT("sashWindow"));
527 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
529 #include <wx/popupwin.h>
532 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
535 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
536 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
537 : wxPopupTransientWindow(parent
, style
) {}
539 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
540 DEC_PYCALLBACK__(OnDismiss
);
541 DEC_PYCALLBACK_BOOL_(CanDismiss
);
546 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
547 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
548 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
551 #include <wx/tipwin.h>
553 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
554 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
557 #include <wx/tipwin.h>
560 #include <wx/vscroll.h>
563 class wxPyVScrolledWindow
: public wxVScrolledWindow
565 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
567 wxPyVScrolledWindow() : wxVScrolledWindow() {}
569 wxPyVScrolledWindow(wxWindow
*parent
,
570 wxWindowID id
= wxID_ANY
,
571 const wxPoint
& pos
= wxDefaultPosition
,
572 const wxSize
& size
= wxDefaultSize
,
574 const wxString
& name
= wxPyPanelNameStr
)
575 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
578 // Overridable virtuals
580 // this function must be overridden in the derived class and it should
581 // return the height of the given line in pixels
582 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
585 // this function doesn't have to be overridden but it may be useful to do
586 // it if calculating the lines heights is a relatively expensive operation
587 // as it gives the user code a possibility to calculate several of them at
590 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
591 // shouldn't rely on the latter being called for all lines in the interval
592 // specified here. It is also possible that OnGetLineHeight() will be
593 // called for the lines outside of this interval, so this is really just a
594 // hint, not a promise.
596 // finally note that lineMin is inclusive, while lineMax is exclusive, as
598 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
601 // when the number of lines changes, we try to estimate the total height
602 // of all lines which is a rather expensive operation in terms of lines
603 // access, so if the user code may estimate the average height
604 // better/faster than we do, it should override this function to implement
607 // this function should return the best guess for the total height it may
609 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
612 // Also expose some other interesting protected methods
615 // find the index of the line we need to show at the top of the window such
616 // that the last (fully or partially) visible line is the given one
617 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
618 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
620 // get the total height of the lines between lineMin (inclusive) and
621 // lineMax (exclusive)
622 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
623 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
629 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
631 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
632 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
633 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
636 SWIGSTATICINLINE(unsigned long)
637 SWIG_AsUnsignedLong(PyObject
* obj
)
639 if (PyLong_Check(obj
)) {
640 return PyLong_AsUnsignedLong(obj
);
642 long i
= PyInt_AsLong(obj
);
643 if ( !PyErr_Occurred() && (i
< 0)) {
644 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
651 SWIGSTATICINLINE(int)
652 SWIG_CheckUnsignedLong(PyObject
* obj
)
654 SWIG_AsUnsignedLong(obj
);
655 if (PyErr_Occurred()) {
664 SWIGSTATICINLINE(PyObject
* )
665 SWIG_FromUnsignedLong(unsigned long value
)
667 return (value
> LONG_MAX
) ?
668 PyLong_FromUnsignedLong(value
)
669 : PyInt_FromLong(swig_numeric_cast(long,value
));
673 #include <wx/vlbox.h>
675 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
677 class wxPyVListBox
: public wxVListBox
679 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
681 wxPyVListBox() : wxVListBox() {}
683 wxPyVListBox(wxWindow
*parent
,
684 wxWindowID id
= wxID_ANY
,
685 const wxPoint
& pos
= wxDefaultPosition
,
686 const wxSize
& size
= wxDefaultSize
,
688 const wxString
& name
= wxPyVListBoxNameStr
)
689 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
692 // Overridable virtuals
694 // the derived class must implement this function to actually draw the item
695 // with the given index on the provided DC
696 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
697 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
700 // the derived class must implement this method to return the height of the
702 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
703 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
706 // this method may be used to draw separators between the lines; note that
707 // the rectangle may be modified, typically to deflate it a bit before
708 // passing to OnDrawItem()
710 // the base class version doesn't do anything
711 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
712 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
715 // this method is used to draw the items background and, maybe, a border
718 // the base class version implements a reasonable default behaviour which
719 // consists in drawing the selected item with the standard background
720 // colour and drawing a border around the item if it is either selected or
722 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
723 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
729 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
731 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
732 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
733 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
734 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
738 #include <wx/htmllbox.h>
741 class wxPyHtmlListBox
: public wxHtmlListBox
743 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
745 wxPyHtmlListBox() : wxHtmlListBox() {}
747 wxPyHtmlListBox(wxWindow
*parent
,
748 wxWindowID id
= wxID_ANY
,
749 const wxPoint
& pos
= wxDefaultPosition
,
750 const wxSize
& size
= wxDefaultSize
,
752 const wxString
& name
= wxPyVListBoxNameStr
)
753 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
756 // Overridable virtuals
758 // this method must be implemented in the derived class and should return
759 // the body (i.e. without <html>) of the HTML for the given item
760 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
762 // this function may be overridden to decorate HTML returned by OnGetItem()
763 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
766 // // this method allows to customize the selection appearance: it may be used
767 // // to specify the colour of the text which normally has the given colour
768 // // colFg when it is inside the selection
770 // // by default, the original colour is not used at all and all text has the
771 // // same (default for this system) colour inside selection
772 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
774 // // this is the same as GetSelectedTextColour() but allows to customize the
775 // // background colour -- this is even more rarely used as you can change it
776 // // globally using SetSelectionBackground()
777 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
784 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
786 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
787 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
794 // implement dummy classes and such for wxMac
796 class wxTaskBarIcon
: public wxEvtHandler
799 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
803 class wxTaskBarIconEvent
: public wxEvent
806 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
807 { wxPyRaiseNotImplemented(); }
808 virtual wxEvent
* Clone() const { return NULL
; }
812 wxEVT_TASKBAR_MOVE
= 0,
813 wxEVT_TASKBAR_LEFT_DOWN
= 0,
814 wxEVT_TASKBAR_LEFT_UP
= 0,
815 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
816 wxEVT_TASKBAR_RIGHT_UP
= 0,
817 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
818 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
822 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
823 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
824 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
825 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
826 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
827 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
828 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
830 self
->GetFilenames(arr
);
831 return wxArrayString2PyList_helper(arr
);
833 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
836 return wxArrayString2PyList_helper(arr
);
838 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
839 return wxArrayInt2PyList_helper(self
->GetSelections());
841 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
842 return new wxSingleChoiceDialog(parent
, message
, caption
,
843 choices
, choices_array
, NULL
, style
, pos
);
848 // C++ version of Python aware wxWindow
849 class wxPyWindow
: public wxWindow
851 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
853 wxPyWindow() : wxWindow() {}
854 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
855 const wxPoint
& pos
= wxDefaultPosition
,
856 const wxSize
& size
= wxDefaultSize
,
858 const wxString
& name
= wxPyPanelNameStr
)
859 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
862 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
863 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
864 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
865 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
867 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
868 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
869 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
871 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
872 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
874 DEC_PYCALLBACK__(InitDialog
);
875 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
876 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
877 DEC_PYCALLBACK_BOOL_(Validate
);
879 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
880 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
881 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
883 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
884 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
886 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
887 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
892 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
894 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
895 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
896 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
897 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
899 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
900 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
901 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
903 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
904 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
906 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
907 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
908 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
909 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
911 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
912 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
913 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
915 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
916 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
918 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, ShouldInheritColours
);
919 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
922 // C++ version of Python aware wxPanel
923 class wxPyPanel
: public wxPanel
925 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
927 wxPyPanel() : wxPanel() {}
928 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
929 const wxPoint
& pos
= wxDefaultPosition
,
930 const wxSize
& size
= wxDefaultSize
,
932 const wxString
& name
= wxPyPanelNameStr
)
933 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
936 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
937 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
938 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
939 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
941 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
942 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
943 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
945 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
946 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
948 DEC_PYCALLBACK__(InitDialog
);
949 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
950 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
951 DEC_PYCALLBACK_BOOL_(Validate
);
953 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
954 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
955 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
957 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
958 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
960 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
961 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
966 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
968 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
969 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
970 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
971 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
973 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
974 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
975 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
977 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
978 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
980 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
981 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
982 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
983 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
985 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
986 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
987 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
989 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
990 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
992 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, ShouldInheritColours
);
993 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
995 // C++ version of Python aware wxScrolledWindow
996 class wxPyScrolledWindow
: public wxScrolledWindow
998 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1000 wxPyScrolledWindow() : wxScrolledWindow() {}
1001 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1002 const wxPoint
& pos
= wxDefaultPosition
,
1003 const wxSize
& size
= wxDefaultSize
,
1005 const wxString
& name
= wxPyPanelNameStr
)
1006 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1009 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1010 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1011 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1012 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1014 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1015 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1016 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1018 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1019 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1021 DEC_PYCALLBACK__(InitDialog
);
1022 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1023 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1024 DEC_PYCALLBACK_BOOL_(Validate
);
1026 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1027 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1028 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1030 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1031 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1033 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
1034 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1039 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1041 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1042 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1043 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1044 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1046 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1047 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1048 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1050 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1051 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1053 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1054 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1055 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1056 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1058 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1059 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1060 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1062 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1063 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1065 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1066 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1069 #include "wx/wxPython/printfw.h"
1072 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1073 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1077 // Since this one would be tough and ugly to do with the Macros...
1078 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1079 bool hadErr
= False
;
1082 bool blocked
= wxPyBeginBlockThreads();
1083 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1084 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1085 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1088 val
= PyTuple_GetItem(result
, 0);
1089 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1092 val
= PyTuple_GetItem(result
, 1);
1093 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1096 val
= PyTuple_GetItem(result
, 2);
1097 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1100 val
= PyTuple_GetItem(result
, 3);
1101 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1108 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1113 wxPyEndBlockThreads(blocked
);
1115 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1118 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1119 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1123 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1124 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1125 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1126 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1127 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1128 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1129 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1135 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1136 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1137 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1140 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1141 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1144 bool blocked = wxPyBeginBlockThreads(); \
1145 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1146 PyObject* win = wxPyMake_wxObject(a); \
1147 PyObject* dc = wxPyMake_wxObject(&b); \
1148 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1152 wxPyEndBlockThreads(blocked); \
1154 rval = PCLASS::CBNAME(a, b); \
1157 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1158 return PCLASS::CBNAME(a, b); \
1164 class wxPyPrintPreview
: public wxPrintPreview
1166 DECLARE_CLASS(wxPyPrintPreview
)
1168 wxPyPrintPreview(wxPyPrintout
* printout
,
1169 wxPyPrintout
* printoutForPrinting
,
1170 wxPrintDialogData
* data
=NULL
)
1171 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1173 wxPyPrintPreview(wxPyPrintout
* printout
,
1174 wxPyPrintout
* printoutForPrinting
,
1175 wxPrintData
* data
=NULL
)
1176 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1179 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1180 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1181 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1182 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1183 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1184 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1185 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1190 // Stupid renamed classes... Fix this in 2.5...
1191 #if defined(__WXMSW__)
1192 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1193 #elif defined(__WXMAC__)
1194 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1196 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1199 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1200 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1201 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1202 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1203 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1204 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1205 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1208 class wxPyPreviewFrame
: public wxPreviewFrame
1210 DECLARE_CLASS(wxPyPreviewFrame
);
1212 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1213 const wxString
& title
,
1214 const wxPoint
& pos
= wxDefaultPosition
,
1215 const wxSize
& size
= wxDefaultSize
,
1216 long style
= wxDEFAULT_FRAME_STYLE
,
1217 const wxString
& name
= wxPyFrameNameStr
)
1218 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1221 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1222 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1224 DEC_PYCALLBACK_VOID_(Initialize
);
1225 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1226 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1231 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1233 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1234 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1235 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1238 class wxPyPreviewControlBar
: public wxPreviewControlBar
1240 DECLARE_CLASS(wxPyPreviewControlBar
);
1242 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1245 const wxPoint
& pos
= wxDefaultPosition
,
1246 const wxSize
& size
= wxDefaultSize
,
1248 const wxString
& name
= wxPyPanelNameStr
)
1249 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1252 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1254 DEC_PYCALLBACK_VOID_(CreateButtons
);
1255 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1260 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1261 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1262 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1267 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1268 PyObject
*resultobj
;
1269 wxWindow
*arg1
= (wxWindow
*) 0 ;
1270 int arg2
= (int) (int)-1 ;
1271 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1272 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1273 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1274 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1275 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1276 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1277 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1281 bool temp6
= False
;
1282 PyObject
* obj0
= 0 ;
1283 PyObject
* obj1
= 0 ;
1284 PyObject
* obj2
= 0 ;
1285 PyObject
* obj3
= 0 ;
1286 PyObject
* obj4
= 0 ;
1287 PyObject
* obj5
= 0 ;
1289 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1296 arg2
= (int const) SWIG_AsInt(obj1
);
1297 if (PyErr_Occurred()) SWIG_fail
;
1302 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1308 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1312 arg5
= (long) SWIG_AsLong(obj4
);
1313 if (PyErr_Occurred()) SWIG_fail
;
1317 arg6
= wxString_in_helper(obj5
);
1318 if (arg6
== NULL
) SWIG_fail
;
1323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1324 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1326 wxPyEndAllowThreads(__tstate
);
1327 if (PyErr_Occurred()) SWIG_fail
;
1329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1344 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1345 PyObject
*resultobj
;
1351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1354 result
= (wxPanel
*)new wxPanel();
1356 wxPyEndAllowThreads(__tstate
);
1357 if (PyErr_Occurred()) SWIG_fail
;
1359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1366 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1367 PyObject
*resultobj
;
1368 wxPanel
*arg1
= (wxPanel
*) 0 ;
1369 wxWindow
*arg2
= (wxWindow
*) 0 ;
1371 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1372 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1373 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1374 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1375 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1376 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1377 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1381 bool temp7
= False
;
1382 PyObject
* obj0
= 0 ;
1383 PyObject
* obj1
= 0 ;
1384 PyObject
* obj2
= 0 ;
1385 PyObject
* obj3
= 0 ;
1386 PyObject
* obj4
= 0 ;
1387 PyObject
* obj5
= 0 ;
1388 PyObject
* obj6
= 0 ;
1390 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1396 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1398 arg3
= (int const) SWIG_AsInt(obj2
);
1399 if (PyErr_Occurred()) SWIG_fail
;
1403 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1409 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1413 arg6
= (long) SWIG_AsLong(obj5
);
1414 if (PyErr_Occurred()) SWIG_fail
;
1418 arg7
= wxString_in_helper(obj6
);
1419 if (arg7
== NULL
) SWIG_fail
;
1424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1425 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1427 wxPyEndAllowThreads(__tstate
);
1428 if (PyErr_Occurred()) SWIG_fail
;
1431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1447 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1448 PyObject
*resultobj
;
1449 wxPanel
*arg1
= (wxPanel
*) 0 ;
1450 PyObject
* obj0
= 0 ;
1452 (char *) "self", NULL
1455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1460 (arg1
)->InitDialog();
1462 wxPyEndAllowThreads(__tstate
);
1463 if (PyErr_Occurred()) SWIG_fail
;
1465 Py_INCREF(Py_None
); resultobj
= Py_None
;
1472 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1475 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1477 return Py_BuildValue((char *)"");
1479 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1480 PyObject
*resultobj
;
1481 wxWindow
*arg1
= (wxWindow
*) 0 ;
1482 int arg2
= (int) (int)-1 ;
1483 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1484 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1485 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1486 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1487 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1488 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1489 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1490 wxScrolledWindow
*result
;
1493 bool temp6
= False
;
1494 PyObject
* obj0
= 0 ;
1495 PyObject
* obj1
= 0 ;
1496 PyObject
* obj2
= 0 ;
1497 PyObject
* obj3
= 0 ;
1498 PyObject
* obj4
= 0 ;
1499 PyObject
* obj5
= 0 ;
1501 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1508 arg2
= (int const) SWIG_AsInt(obj1
);
1509 if (PyErr_Occurred()) SWIG_fail
;
1514 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1520 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1524 arg5
= (long) SWIG_AsLong(obj4
);
1525 if (PyErr_Occurred()) SWIG_fail
;
1529 arg6
= wxString_in_helper(obj5
);
1530 if (arg6
== NULL
) SWIG_fail
;
1535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1536 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1538 wxPyEndAllowThreads(__tstate
);
1539 if (PyErr_Occurred()) SWIG_fail
;
1541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1556 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1557 PyObject
*resultobj
;
1558 wxScrolledWindow
*result
;
1563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1566 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1568 wxPyEndAllowThreads(__tstate
);
1569 if (PyErr_Occurred()) SWIG_fail
;
1571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1578 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1579 PyObject
*resultobj
;
1580 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1581 wxWindow
*arg2
= (wxWindow
*) 0 ;
1582 int arg3
= (int) (int)-1 ;
1583 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1584 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1585 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1586 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1587 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1588 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1589 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1593 bool temp7
= False
;
1594 PyObject
* obj0
= 0 ;
1595 PyObject
* obj1
= 0 ;
1596 PyObject
* obj2
= 0 ;
1597 PyObject
* obj3
= 0 ;
1598 PyObject
* obj4
= 0 ;
1599 PyObject
* obj5
= 0 ;
1600 PyObject
* obj6
= 0 ;
1602 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1608 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1611 arg3
= (int const) SWIG_AsInt(obj2
);
1612 if (PyErr_Occurred()) SWIG_fail
;
1617 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1623 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1627 arg6
= (long) SWIG_AsLong(obj5
);
1628 if (PyErr_Occurred()) SWIG_fail
;
1632 arg7
= wxString_in_helper(obj6
);
1633 if (arg7
== NULL
) SWIG_fail
;
1638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1639 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1641 wxPyEndAllowThreads(__tstate
);
1642 if (PyErr_Occurred()) SWIG_fail
;
1645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1661 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1662 PyObject
*resultobj
;
1663 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1668 int arg6
= (int) 0 ;
1669 int arg7
= (int) 0 ;
1670 bool arg8
= (bool) False
;
1671 PyObject
* obj0
= 0 ;
1672 PyObject
* obj1
= 0 ;
1673 PyObject
* obj2
= 0 ;
1674 PyObject
* obj3
= 0 ;
1675 PyObject
* obj4
= 0 ;
1676 PyObject
* obj5
= 0 ;
1677 PyObject
* obj6
= 0 ;
1678 PyObject
* obj7
= 0 ;
1680 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1686 arg2
= (int) SWIG_AsInt(obj1
);
1687 if (PyErr_Occurred()) SWIG_fail
;
1688 arg3
= (int) SWIG_AsInt(obj2
);
1689 if (PyErr_Occurred()) SWIG_fail
;
1690 arg4
= (int) SWIG_AsInt(obj3
);
1691 if (PyErr_Occurred()) SWIG_fail
;
1692 arg5
= (int) SWIG_AsInt(obj4
);
1693 if (PyErr_Occurred()) SWIG_fail
;
1695 arg6
= (int) SWIG_AsInt(obj5
);
1696 if (PyErr_Occurred()) SWIG_fail
;
1699 arg7
= (int) SWIG_AsInt(obj6
);
1700 if (PyErr_Occurred()) SWIG_fail
;
1703 arg8
= (bool) SWIG_AsBool(obj7
);
1704 if (PyErr_Occurred()) SWIG_fail
;
1707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1708 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1710 wxPyEndAllowThreads(__tstate
);
1711 if (PyErr_Occurred()) SWIG_fail
;
1713 Py_INCREF(Py_None
); resultobj
= Py_None
;
1720 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1721 PyObject
*resultobj
;
1722 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1725 PyObject
* obj0
= 0 ;
1726 PyObject
* obj1
= 0 ;
1727 PyObject
* obj2
= 0 ;
1729 (char *) "self",(char *) "x",(char *) "y", NULL
1732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1735 arg2
= (int) SWIG_AsInt(obj1
);
1736 if (PyErr_Occurred()) SWIG_fail
;
1737 arg3
= (int) SWIG_AsInt(obj2
);
1738 if (PyErr_Occurred()) SWIG_fail
;
1740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1741 (arg1
)->Scroll(arg2
,arg3
);
1743 wxPyEndAllowThreads(__tstate
);
1744 if (PyErr_Occurred()) SWIG_fail
;
1746 Py_INCREF(Py_None
); resultobj
= Py_None
;
1753 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1754 PyObject
*resultobj
;
1755 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1758 PyObject
* obj0
= 0 ;
1759 PyObject
* obj1
= 0 ;
1761 (char *) "self",(char *) "orient", NULL
1764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1767 arg2
= (int) SWIG_AsInt(obj1
);
1768 if (PyErr_Occurred()) SWIG_fail
;
1770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1771 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1773 wxPyEndAllowThreads(__tstate
);
1774 if (PyErr_Occurred()) SWIG_fail
;
1776 resultobj
= SWIG_FromInt((int)result
);
1783 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1784 PyObject
*resultobj
;
1785 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1788 PyObject
* obj0
= 0 ;
1789 PyObject
* obj1
= 0 ;
1790 PyObject
* obj2
= 0 ;
1792 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1798 arg2
= (int) SWIG_AsInt(obj1
);
1799 if (PyErr_Occurred()) SWIG_fail
;
1800 arg3
= (int) SWIG_AsInt(obj2
);
1801 if (PyErr_Occurred()) SWIG_fail
;
1803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1804 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1806 wxPyEndAllowThreads(__tstate
);
1807 if (PyErr_Occurred()) SWIG_fail
;
1809 Py_INCREF(Py_None
); resultobj
= Py_None
;
1816 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1817 PyObject
*resultobj
;
1818 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1821 PyObject
* obj0
= 0 ;
1822 PyObject
* obj1
= 0 ;
1823 PyObject
* obj2
= 0 ;
1825 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1831 arg2
= (int) SWIG_AsInt(obj1
);
1832 if (PyErr_Occurred()) SWIG_fail
;
1833 arg3
= (int) SWIG_AsInt(obj2
);
1834 if (PyErr_Occurred()) SWIG_fail
;
1836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1837 (arg1
)->SetScrollRate(arg2
,arg3
);
1839 wxPyEndAllowThreads(__tstate
);
1840 if (PyErr_Occurred()) SWIG_fail
;
1842 Py_INCREF(Py_None
); resultobj
= Py_None
;
1849 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1850 PyObject
*resultobj
;
1851 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1852 int *arg2
= (int *) 0 ;
1853 int *arg3
= (int *) 0 ;
1856 PyObject
* obj0
= 0 ;
1858 (char *) "self", NULL
1863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1868 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1870 wxPyEndAllowThreads(__tstate
);
1871 if (PyErr_Occurred()) SWIG_fail
;
1873 Py_INCREF(Py_None
); resultobj
= Py_None
;
1875 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1876 resultobj
= t_output_helper(resultobj
,o
);
1879 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1880 resultobj
= t_output_helper(resultobj
,o
);
1888 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1889 PyObject
*resultobj
;
1890 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1893 PyObject
* obj0
= 0 ;
1894 PyObject
* obj1
= 0 ;
1895 PyObject
* obj2
= 0 ;
1897 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1903 arg2
= (bool) SWIG_AsBool(obj1
);
1904 if (PyErr_Occurred()) SWIG_fail
;
1905 arg3
= (bool) SWIG_AsBool(obj2
);
1906 if (PyErr_Occurred()) SWIG_fail
;
1908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1909 (arg1
)->EnableScrolling(arg2
,arg3
);
1911 wxPyEndAllowThreads(__tstate
);
1912 if (PyErr_Occurred()) SWIG_fail
;
1914 Py_INCREF(Py_None
); resultobj
= Py_None
;
1921 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1922 PyObject
*resultobj
;
1923 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1924 int *arg2
= (int *) 0 ;
1925 int *arg3
= (int *) 0 ;
1928 PyObject
* obj0
= 0 ;
1930 (char *) "self", NULL
1935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1940 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1942 wxPyEndAllowThreads(__tstate
);
1943 if (PyErr_Occurred()) SWIG_fail
;
1945 Py_INCREF(Py_None
); resultobj
= Py_None
;
1947 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1948 resultobj
= t_output_helper(resultobj
,o
);
1951 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1952 resultobj
= t_output_helper(resultobj
,o
);
1960 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1961 PyObject
*resultobj
;
1962 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1965 PyObject
* obj0
= 0 ;
1966 PyObject
* obj1
= 0 ;
1967 PyObject
* obj2
= 0 ;
1969 (char *) "self",(char *) "xs",(char *) "ys", NULL
1972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1975 arg2
= (double) SWIG_AsDouble(obj1
);
1976 if (PyErr_Occurred()) SWIG_fail
;
1977 arg3
= (double) SWIG_AsDouble(obj2
);
1978 if (PyErr_Occurred()) SWIG_fail
;
1980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1981 (arg1
)->SetScale(arg2
,arg3
);
1983 wxPyEndAllowThreads(__tstate
);
1984 if (PyErr_Occurred()) SWIG_fail
;
1986 Py_INCREF(Py_None
); resultobj
= Py_None
;
1993 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1994 PyObject
*resultobj
;
1995 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1997 PyObject
* obj0
= 0 ;
1999 (char *) "self", NULL
2002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2007 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2009 wxPyEndAllowThreads(__tstate
);
2010 if (PyErr_Occurred()) SWIG_fail
;
2012 resultobj
= SWIG_FromDouble((double)result
);
2019 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2020 PyObject
*resultobj
;
2021 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2023 PyObject
* obj0
= 0 ;
2025 (char *) "self", NULL
2028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2033 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2035 wxPyEndAllowThreads(__tstate
);
2036 if (PyErr_Occurred()) SWIG_fail
;
2038 resultobj
= SWIG_FromDouble((double)result
);
2045 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2046 PyObject
*resultobj
;
2047 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2051 PyObject
* obj0
= 0 ;
2052 PyObject
* obj1
= 0 ;
2054 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2059 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2063 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2065 wxPyEndAllowThreads(__tstate
);
2066 if (PyErr_Occurred()) SWIG_fail
;
2069 wxPoint
* resultptr
;
2070 resultptr
= new wxPoint((wxPoint
&) result
);
2071 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2079 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2080 PyObject
*resultobj
;
2081 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2084 int *arg4
= (int *) 0 ;
2085 int *arg5
= (int *) 0 ;
2088 PyObject
* obj0
= 0 ;
2089 PyObject
* obj1
= 0 ;
2090 PyObject
* obj2
= 0 ;
2094 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2097 arg2
= (int) SWIG_AsInt(obj1
);
2098 if (PyErr_Occurred()) SWIG_fail
;
2099 arg3
= (int) SWIG_AsInt(obj2
);
2100 if (PyErr_Occurred()) SWIG_fail
;
2102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2103 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2105 wxPyEndAllowThreads(__tstate
);
2106 if (PyErr_Occurred()) SWIG_fail
;
2108 Py_INCREF(Py_None
); resultobj
= Py_None
;
2110 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2111 resultobj
= t_output_helper(resultobj
,o
);
2114 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2115 resultobj
= t_output_helper(resultobj
,o
);
2123 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2128 argc
= PyObject_Length(args
);
2129 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2130 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2136 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2145 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2148 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2156 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2164 _v
= SWIG_CheckInt(argv
[1]);
2166 _v
= SWIG_CheckInt(argv
[2]);
2168 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2174 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2179 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2180 PyObject
*resultobj
;
2181 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2185 PyObject
* obj0
= 0 ;
2186 PyObject
* obj1
= 0 ;
2188 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2193 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2197 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2199 wxPyEndAllowThreads(__tstate
);
2200 if (PyErr_Occurred()) SWIG_fail
;
2203 wxPoint
* resultptr
;
2204 resultptr
= new wxPoint((wxPoint
&) result
);
2205 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2213 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2214 PyObject
*resultobj
;
2215 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2218 int *arg4
= (int *) 0 ;
2219 int *arg5
= (int *) 0 ;
2222 PyObject
* obj0
= 0 ;
2223 PyObject
* obj1
= 0 ;
2224 PyObject
* obj2
= 0 ;
2228 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2231 arg2
= (int) SWIG_AsInt(obj1
);
2232 if (PyErr_Occurred()) SWIG_fail
;
2233 arg3
= (int) SWIG_AsInt(obj2
);
2234 if (PyErr_Occurred()) SWIG_fail
;
2236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2237 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2239 wxPyEndAllowThreads(__tstate
);
2240 if (PyErr_Occurred()) SWIG_fail
;
2242 Py_INCREF(Py_None
); resultobj
= Py_None
;
2244 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2245 resultobj
= t_output_helper(resultobj
,o
);
2248 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2249 resultobj
= t_output_helper(resultobj
,o
);
2257 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2262 argc
= PyObject_Length(args
);
2263 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2264 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2270 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2279 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2282 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2290 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2298 _v
= SWIG_CheckInt(argv
[1]);
2300 _v
= SWIG_CheckInt(argv
[2]);
2302 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2308 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2313 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2314 PyObject
*resultobj
;
2315 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2316 PyObject
* obj0
= 0 ;
2318 (char *) "self", NULL
2321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2326 (arg1
)->AdjustScrollbars();
2328 wxPyEndAllowThreads(__tstate
);
2329 if (PyErr_Occurred()) SWIG_fail
;
2331 Py_INCREF(Py_None
); resultobj
= Py_None
;
2338 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2339 PyObject
*resultobj
;
2340 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2341 wxScrollWinEvent
*arg2
= 0 ;
2343 PyObject
* obj0
= 0 ;
2344 PyObject
* obj1
= 0 ;
2346 (char *) "self",(char *) "event", NULL
2349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2353 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2356 PyErr_SetString(PyExc_TypeError
,"null reference");
2360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2361 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2363 wxPyEndAllowThreads(__tstate
);
2364 if (PyErr_Occurred()) SWIG_fail
;
2366 resultobj
= SWIG_FromInt((int)result
);
2373 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2374 PyObject
*resultobj
;
2375 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2376 wxWindow
*arg2
= (wxWindow
*) 0 ;
2377 PyObject
* obj0
= 0 ;
2378 PyObject
* obj1
= 0 ;
2380 (char *) "self",(char *) "target", NULL
2383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2390 (arg1
)->SetTargetWindow(arg2
);
2392 wxPyEndAllowThreads(__tstate
);
2393 if (PyErr_Occurred()) SWIG_fail
;
2395 Py_INCREF(Py_None
); resultobj
= Py_None
;
2402 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2403 PyObject
*resultobj
;
2404 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2406 PyObject
* obj0
= 0 ;
2408 (char *) "self", NULL
2411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2416 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2418 wxPyEndAllowThreads(__tstate
);
2419 if (PyErr_Occurred()) SWIG_fail
;
2422 resultobj
= wxPyMake_wxObject(result
);
2430 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2433 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2435 return Py_BuildValue((char *)"");
2437 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2438 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2443 static PyObject
*_wrap_FrameNameStr_get() {
2448 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2450 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2457 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2458 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2463 static PyObject
*_wrap_DialogNameStr_get() {
2468 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2470 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2477 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2478 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2483 static PyObject
*_wrap_StatusLineNameStr_get() {
2488 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2490 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2497 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2498 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2503 static PyObject
*_wrap_ToolBarNameStr_get() {
2508 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2510 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2517 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2518 PyObject
*resultobj
;
2519 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2520 bool arg2
= (bool) True
;
2521 PyObject
* obj0
= 0 ;
2522 PyObject
* obj1
= 0 ;
2524 (char *) "self",(char *) "maximize", NULL
2527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2531 arg2
= (bool) SWIG_AsBool(obj1
);
2532 if (PyErr_Occurred()) SWIG_fail
;
2535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2536 (arg1
)->Maximize(arg2
);
2538 wxPyEndAllowThreads(__tstate
);
2539 if (PyErr_Occurred()) SWIG_fail
;
2541 Py_INCREF(Py_None
); resultobj
= Py_None
;
2548 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2549 PyObject
*resultobj
;
2550 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2551 PyObject
* obj0
= 0 ;
2553 (char *) "self", NULL
2556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2563 wxPyEndAllowThreads(__tstate
);
2564 if (PyErr_Occurred()) SWIG_fail
;
2566 Py_INCREF(Py_None
); resultobj
= Py_None
;
2573 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2574 PyObject
*resultobj
;
2575 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2576 bool arg2
= (bool) True
;
2577 PyObject
* obj0
= 0 ;
2578 PyObject
* obj1
= 0 ;
2580 (char *) "self",(char *) "iconize", NULL
2583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2587 arg2
= (bool) SWIG_AsBool(obj1
);
2588 if (PyErr_Occurred()) SWIG_fail
;
2591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2592 (arg1
)->Iconize(arg2
);
2594 wxPyEndAllowThreads(__tstate
);
2595 if (PyErr_Occurred()) SWIG_fail
;
2597 Py_INCREF(Py_None
); resultobj
= Py_None
;
2604 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2605 PyObject
*resultobj
;
2606 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2608 PyObject
* obj0
= 0 ;
2610 (char *) "self", NULL
2613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2618 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2620 wxPyEndAllowThreads(__tstate
);
2621 if (PyErr_Occurred()) SWIG_fail
;
2624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2632 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2633 PyObject
*resultobj
;
2634 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2636 PyObject
* obj0
= 0 ;
2638 (char *) "self", NULL
2641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2646 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2648 wxPyEndAllowThreads(__tstate
);
2649 if (PyErr_Occurred()) SWIG_fail
;
2652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2660 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2661 PyObject
*resultobj
;
2662 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2664 PyObject
* obj0
= 0 ;
2666 (char *) "self", NULL
2669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2674 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2676 wxPyEndAllowThreads(__tstate
);
2677 if (PyErr_Occurred()) SWIG_fail
;
2681 resultptr
= new wxIcon((wxIcon
&) result
);
2682 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2690 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2691 PyObject
*resultobj
;
2692 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2694 PyObject
* obj0
= 0 ;
2695 PyObject
* obj1
= 0 ;
2697 (char *) "self",(char *) "icon", NULL
2700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2703 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2704 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2707 PyErr_SetString(PyExc_TypeError
,"null reference");
2711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2712 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2714 wxPyEndAllowThreads(__tstate
);
2715 if (PyErr_Occurred()) SWIG_fail
;
2717 Py_INCREF(Py_None
); resultobj
= Py_None
;
2724 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2725 PyObject
*resultobj
;
2726 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2727 wxIconBundle
*arg2
= 0 ;
2728 PyObject
* obj0
= 0 ;
2729 PyObject
* obj1
= 0 ;
2731 (char *) "self",(char *) "icons", NULL
2734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2738 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2741 PyErr_SetString(PyExc_TypeError
,"null reference");
2745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2746 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2748 wxPyEndAllowThreads(__tstate
);
2749 if (PyErr_Occurred()) SWIG_fail
;
2751 Py_INCREF(Py_None
); resultobj
= Py_None
;
2758 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2759 PyObject
*resultobj
;
2760 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2762 long arg3
= (long) wxFULLSCREEN_ALL
;
2764 PyObject
* obj0
= 0 ;
2765 PyObject
* obj1
= 0 ;
2766 PyObject
* obj2
= 0 ;
2768 (char *) "self",(char *) "show",(char *) "style", NULL
2771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2774 arg2
= (bool) SWIG_AsBool(obj1
);
2775 if (PyErr_Occurred()) SWIG_fail
;
2777 arg3
= (long) SWIG_AsLong(obj2
);
2778 if (PyErr_Occurred()) SWIG_fail
;
2781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2782 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2784 wxPyEndAllowThreads(__tstate
);
2785 if (PyErr_Occurred()) SWIG_fail
;
2788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2796 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2797 PyObject
*resultobj
;
2798 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2800 PyObject
* obj0
= 0 ;
2802 (char *) "self", NULL
2805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2810 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2812 wxPyEndAllowThreads(__tstate
);
2813 if (PyErr_Occurred()) SWIG_fail
;
2816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2824 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
*resultobj
;
2826 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2827 wxString
*arg2
= 0 ;
2828 bool temp2
= False
;
2829 PyObject
* obj0
= 0 ;
2830 PyObject
* obj1
= 0 ;
2832 (char *) "self",(char *) "title", NULL
2835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2839 arg2
= wxString_in_helper(obj1
);
2840 if (arg2
== NULL
) SWIG_fail
;
2844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2845 (arg1
)->SetTitle((wxString
const &)*arg2
);
2847 wxPyEndAllowThreads(__tstate
);
2848 if (PyErr_Occurred()) SWIG_fail
;
2850 Py_INCREF(Py_None
); resultobj
= Py_None
;
2865 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2866 PyObject
*resultobj
;
2867 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2869 PyObject
* obj0
= 0 ;
2871 (char *) "self", NULL
2874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2879 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2881 wxPyEndAllowThreads(__tstate
);
2882 if (PyErr_Occurred()) SWIG_fail
;
2886 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2888 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2897 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2898 PyObject
*resultobj
;
2899 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2900 wxRegion
*arg2
= 0 ;
2902 PyObject
* obj0
= 0 ;
2903 PyObject
* obj1
= 0 ;
2905 (char *) "self",(char *) "region", NULL
2908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2911 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
2912 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2915 PyErr_SetString(PyExc_TypeError
,"null reference");
2919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2920 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2922 wxPyEndAllowThreads(__tstate
);
2923 if (PyErr_Occurred()) SWIG_fail
;
2926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2934 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2937 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
2939 return Py_BuildValue((char *)"");
2941 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2942 PyObject
*resultobj
;
2943 wxWindow
*arg1
= (wxWindow
*) 0 ;
2945 wxString
*arg3
= 0 ;
2946 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2947 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2948 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2949 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2950 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
2951 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
2952 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2954 bool temp3
= False
;
2957 bool temp7
= False
;
2958 PyObject
* obj0
= 0 ;
2959 PyObject
* obj1
= 0 ;
2960 PyObject
* obj2
= 0 ;
2961 PyObject
* obj3
= 0 ;
2962 PyObject
* obj4
= 0 ;
2963 PyObject
* obj5
= 0 ;
2964 PyObject
* obj6
= 0 ;
2966 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2972 arg2
= (int const) SWIG_AsInt(obj1
);
2973 if (PyErr_Occurred()) SWIG_fail
;
2975 arg3
= wxString_in_helper(obj2
);
2976 if (arg3
== NULL
) SWIG_fail
;
2982 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2988 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2992 arg6
= (long) SWIG_AsLong(obj5
);
2993 if (PyErr_Occurred()) SWIG_fail
;
2997 arg7
= wxString_in_helper(obj6
);
2998 if (arg7
== NULL
) SWIG_fail
;
3003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3004 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3006 wxPyEndAllowThreads(__tstate
);
3007 if (PyErr_Occurred()) SWIG_fail
;
3010 resultobj
= wxPyMake_wxObject(result
);
3034 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3035 PyObject
*resultobj
;
3041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3044 result
= (wxFrame
*)new wxFrame();
3046 wxPyEndAllowThreads(__tstate
);
3047 if (PyErr_Occurred()) SWIG_fail
;
3050 resultobj
= wxPyMake_wxObject(result
);
3058 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3059 PyObject
*resultobj
;
3060 wxFrame
*arg1
= (wxFrame
*) 0 ;
3061 wxWindow
*arg2
= (wxWindow
*) 0 ;
3063 wxString
*arg4
= 0 ;
3064 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3065 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3066 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3067 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3068 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3069 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3070 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3072 bool temp4
= False
;
3075 bool temp8
= False
;
3076 PyObject
* obj0
= 0 ;
3077 PyObject
* obj1
= 0 ;
3078 PyObject
* obj2
= 0 ;
3079 PyObject
* obj3
= 0 ;
3080 PyObject
* obj4
= 0 ;
3081 PyObject
* obj5
= 0 ;
3082 PyObject
* obj6
= 0 ;
3083 PyObject
* obj7
= 0 ;
3085 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3091 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3093 arg3
= (int const) SWIG_AsInt(obj2
);
3094 if (PyErr_Occurred()) SWIG_fail
;
3096 arg4
= wxString_in_helper(obj3
);
3097 if (arg4
== NULL
) SWIG_fail
;
3103 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3109 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3113 arg7
= (long) SWIG_AsLong(obj6
);
3114 if (PyErr_Occurred()) SWIG_fail
;
3118 arg8
= wxString_in_helper(obj7
);
3119 if (arg8
== NULL
) SWIG_fail
;
3124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3125 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3127 wxPyEndAllowThreads(__tstate
);
3128 if (PyErr_Occurred()) SWIG_fail
;
3131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3155 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3156 PyObject
*resultobj
;
3157 wxFrame
*arg1
= (wxFrame
*) 0 ;
3159 PyObject
* obj0
= 0 ;
3161 (char *) "self", NULL
3164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3169 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3171 wxPyEndAllowThreads(__tstate
);
3172 if (PyErr_Occurred()) SWIG_fail
;
3175 wxPoint
* resultptr
;
3176 resultptr
= new wxPoint((wxPoint
&) result
);
3177 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3185 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3186 PyObject
*resultobj
;
3187 wxFrame
*arg1
= (wxFrame
*) 0 ;
3188 PyObject
* obj0
= 0 ;
3190 (char *) "self", NULL
3193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3198 (arg1
)->SendSizeEvent();
3200 wxPyEndAllowThreads(__tstate
);
3201 if (PyErr_Occurred()) SWIG_fail
;
3203 Py_INCREF(Py_None
); resultobj
= Py_None
;
3210 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3211 PyObject
*resultobj
;
3212 wxFrame
*arg1
= (wxFrame
*) 0 ;
3213 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3214 PyObject
* obj0
= 0 ;
3215 PyObject
* obj1
= 0 ;
3217 (char *) "self",(char *) "menubar", NULL
3220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3223 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3227 (arg1
)->SetMenuBar(arg2
);
3229 wxPyEndAllowThreads(__tstate
);
3230 if (PyErr_Occurred()) SWIG_fail
;
3232 Py_INCREF(Py_None
); resultobj
= Py_None
;
3239 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3240 PyObject
*resultobj
;
3241 wxFrame
*arg1
= (wxFrame
*) 0 ;
3243 PyObject
* obj0
= 0 ;
3245 (char *) "self", NULL
3248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3253 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3255 wxPyEndAllowThreads(__tstate
);
3256 if (PyErr_Occurred()) SWIG_fail
;
3259 resultobj
= wxPyMake_wxObject(result
);
3267 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3268 PyObject
*resultobj
;
3269 wxFrame
*arg1
= (wxFrame
*) 0 ;
3272 PyObject
* obj0
= 0 ;
3273 PyObject
* obj1
= 0 ;
3275 (char *) "self",(char *) "winid", NULL
3278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3281 arg2
= (int) SWIG_AsInt(obj1
);
3282 if (PyErr_Occurred()) SWIG_fail
;
3284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3285 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3287 wxPyEndAllowThreads(__tstate
);
3288 if (PyErr_Occurred()) SWIG_fail
;
3291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3299 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3300 PyObject
*resultobj
;
3301 wxFrame
*arg1
= (wxFrame
*) 0 ;
3302 int arg2
= (int) 1 ;
3303 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
3304 int arg4
= (int) 0 ;
3305 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3306 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3307 wxStatusBar
*result
;
3308 bool temp5
= False
;
3309 PyObject
* obj0
= 0 ;
3310 PyObject
* obj1
= 0 ;
3311 PyObject
* obj2
= 0 ;
3312 PyObject
* obj3
= 0 ;
3313 PyObject
* obj4
= 0 ;
3315 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3322 arg2
= (int) SWIG_AsInt(obj1
);
3323 if (PyErr_Occurred()) SWIG_fail
;
3326 arg3
= (long) SWIG_AsLong(obj2
);
3327 if (PyErr_Occurred()) SWIG_fail
;
3330 arg4
= (int) SWIG_AsInt(obj3
);
3331 if (PyErr_Occurred()) SWIG_fail
;
3335 arg5
= wxString_in_helper(obj4
);
3336 if (arg5
== NULL
) SWIG_fail
;
3341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3342 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3344 wxPyEndAllowThreads(__tstate
);
3345 if (PyErr_Occurred()) SWIG_fail
;
3348 resultobj
= wxPyMake_wxObject(result
);
3364 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3365 PyObject
*resultobj
;
3366 wxFrame
*arg1
= (wxFrame
*) 0 ;
3367 wxStatusBar
*result
;
3368 PyObject
* obj0
= 0 ;
3370 (char *) "self", NULL
3373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3378 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3380 wxPyEndAllowThreads(__tstate
);
3381 if (PyErr_Occurred()) SWIG_fail
;
3384 resultobj
= wxPyMake_wxObject(result
);
3392 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3393 PyObject
*resultobj
;
3394 wxFrame
*arg1
= (wxFrame
*) 0 ;
3395 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3396 PyObject
* obj0
= 0 ;
3397 PyObject
* obj1
= 0 ;
3399 (char *) "self",(char *) "statBar", NULL
3402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3409 (arg1
)->SetStatusBar(arg2
);
3411 wxPyEndAllowThreads(__tstate
);
3412 if (PyErr_Occurred()) SWIG_fail
;
3414 Py_INCREF(Py_None
); resultobj
= Py_None
;
3421 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3422 PyObject
*resultobj
;
3423 wxFrame
*arg1
= (wxFrame
*) 0 ;
3424 wxString
*arg2
= 0 ;
3425 int arg3
= (int) 0 ;
3426 bool temp2
= False
;
3427 PyObject
* obj0
= 0 ;
3428 PyObject
* obj1
= 0 ;
3429 PyObject
* obj2
= 0 ;
3431 (char *) "self",(char *) "text",(char *) "number", NULL
3434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3438 arg2
= wxString_in_helper(obj1
);
3439 if (arg2
== NULL
) SWIG_fail
;
3443 arg3
= (int) SWIG_AsInt(obj2
);
3444 if (PyErr_Occurred()) SWIG_fail
;
3447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3448 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3450 wxPyEndAllowThreads(__tstate
);
3451 if (PyErr_Occurred()) SWIG_fail
;
3453 Py_INCREF(Py_None
); resultobj
= Py_None
;
3468 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3469 PyObject
*resultobj
;
3470 wxFrame
*arg1
= (wxFrame
*) 0 ;
3472 int *arg3
= (int *) 0 ;
3473 PyObject
* obj0
= 0 ;
3474 PyObject
* obj1
= 0 ;
3476 (char *) "self",(char *) "widths", NULL
3479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3483 arg2
= PyList_Size(obj1
);
3484 arg3
= int_LIST_helper(obj1
);
3485 if (arg3
== NULL
) SWIG_fail
;
3488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3489 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3491 wxPyEndAllowThreads(__tstate
);
3492 if (PyErr_Occurred()) SWIG_fail
;
3494 Py_INCREF(Py_None
); resultobj
= Py_None
;
3496 if (arg3
) delete [] arg3
;
3501 if (arg3
) delete [] arg3
;
3507 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3508 PyObject
*resultobj
;
3509 wxFrame
*arg1
= (wxFrame
*) 0 ;
3510 wxString
*arg2
= 0 ;
3511 int arg3
= (int) 0 ;
3512 bool temp2
= False
;
3513 PyObject
* obj0
= 0 ;
3514 PyObject
* obj1
= 0 ;
3515 PyObject
* obj2
= 0 ;
3517 (char *) "self",(char *) "text",(char *) "number", NULL
3520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3524 arg2
= wxString_in_helper(obj1
);
3525 if (arg2
== NULL
) SWIG_fail
;
3529 arg3
= (int) SWIG_AsInt(obj2
);
3530 if (PyErr_Occurred()) SWIG_fail
;
3533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3534 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3536 wxPyEndAllowThreads(__tstate
);
3537 if (PyErr_Occurred()) SWIG_fail
;
3539 Py_INCREF(Py_None
); resultobj
= Py_None
;
3554 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3555 PyObject
*resultobj
;
3556 wxFrame
*arg1
= (wxFrame
*) 0 ;
3557 int arg2
= (int) 0 ;
3558 PyObject
* obj0
= 0 ;
3559 PyObject
* obj1
= 0 ;
3561 (char *) "self",(char *) "number", NULL
3564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3568 arg2
= (int) SWIG_AsInt(obj1
);
3569 if (PyErr_Occurred()) SWIG_fail
;
3572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3573 (arg1
)->PopStatusText(arg2
);
3575 wxPyEndAllowThreads(__tstate
);
3576 if (PyErr_Occurred()) SWIG_fail
;
3578 Py_INCREF(Py_None
); resultobj
= Py_None
;
3585 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3586 PyObject
*resultobj
;
3587 wxFrame
*arg1
= (wxFrame
*) 0 ;
3589 PyObject
* obj0
= 0 ;
3590 PyObject
* obj1
= 0 ;
3592 (char *) "self",(char *) "n", NULL
3595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3598 arg2
= (int) SWIG_AsInt(obj1
);
3599 if (PyErr_Occurred()) SWIG_fail
;
3601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3602 (arg1
)->SetStatusBarPane(arg2
);
3604 wxPyEndAllowThreads(__tstate
);
3605 if (PyErr_Occurred()) SWIG_fail
;
3607 Py_INCREF(Py_None
); resultobj
= Py_None
;
3614 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3615 PyObject
*resultobj
;
3616 wxFrame
*arg1
= (wxFrame
*) 0 ;
3618 PyObject
* obj0
= 0 ;
3620 (char *) "self", NULL
3623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3628 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3630 wxPyEndAllowThreads(__tstate
);
3631 if (PyErr_Occurred()) SWIG_fail
;
3633 resultobj
= SWIG_FromInt((int)result
);
3640 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3641 PyObject
*resultobj
;
3642 wxFrame
*arg1
= (wxFrame
*) 0 ;
3643 long arg2
= (long) -1 ;
3644 int arg3
= (int) -1 ;
3645 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3646 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3648 bool temp4
= False
;
3649 PyObject
* obj0
= 0 ;
3650 PyObject
* obj1
= 0 ;
3651 PyObject
* obj2
= 0 ;
3652 PyObject
* obj3
= 0 ;
3654 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3661 arg2
= (long) SWIG_AsLong(obj1
);
3662 if (PyErr_Occurred()) SWIG_fail
;
3665 arg3
= (int) SWIG_AsInt(obj2
);
3666 if (PyErr_Occurred()) SWIG_fail
;
3670 arg4
= wxString_in_helper(obj3
);
3671 if (arg4
== NULL
) SWIG_fail
;
3676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3677 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3679 wxPyEndAllowThreads(__tstate
);
3680 if (PyErr_Occurred()) SWIG_fail
;
3683 resultobj
= wxPyMake_wxObject(result
);
3699 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3700 PyObject
*resultobj
;
3701 wxFrame
*arg1
= (wxFrame
*) 0 ;
3703 PyObject
* obj0
= 0 ;
3705 (char *) "self", NULL
3708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3715 wxPyEndAllowThreads(__tstate
);
3716 if (PyErr_Occurred()) SWIG_fail
;
3719 resultobj
= wxPyMake_wxObject(result
);
3727 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3728 PyObject
*resultobj
;
3729 wxFrame
*arg1
= (wxFrame
*) 0 ;
3730 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3731 PyObject
* obj0
= 0 ;
3732 PyObject
* obj1
= 0 ;
3734 (char *) "self",(char *) "toolbar", NULL
3737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3740 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
3741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3744 (arg1
)->SetToolBar(arg2
);
3746 wxPyEndAllowThreads(__tstate
);
3747 if (PyErr_Occurred()) SWIG_fail
;
3749 Py_INCREF(Py_None
); resultobj
= Py_None
;
3756 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3757 PyObject
*resultobj
;
3758 wxFrame
*arg1
= (wxFrame
*) 0 ;
3759 wxString
*arg2
= 0 ;
3761 bool temp2
= False
;
3762 PyObject
* obj0
= 0 ;
3763 PyObject
* obj1
= 0 ;
3764 PyObject
* obj2
= 0 ;
3766 (char *) "self",(char *) "text",(char *) "show", NULL
3769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3773 arg2
= wxString_in_helper(obj1
);
3774 if (arg2
== NULL
) SWIG_fail
;
3777 arg3
= (bool) SWIG_AsBool(obj2
);
3778 if (PyErr_Occurred()) SWIG_fail
;
3780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3781 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3783 wxPyEndAllowThreads(__tstate
);
3784 if (PyErr_Occurred()) SWIG_fail
;
3786 Py_INCREF(Py_None
); resultobj
= Py_None
;
3801 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3802 PyObject
*resultobj
;
3803 wxFrame
*arg1
= (wxFrame
*) 0 ;
3804 wxMenu
*arg2
= (wxMenu
*) NULL
;
3805 PyObject
* obj0
= 0 ;
3806 PyObject
* obj1
= 0 ;
3808 (char *) "self",(char *) "menu", NULL
3811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3815 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
3816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3820 (arg1
)->DoMenuUpdates(arg2
);
3822 wxPyEndAllowThreads(__tstate
);
3823 if (PyErr_Occurred()) SWIG_fail
;
3825 Py_INCREF(Py_None
); resultobj
= Py_None
;
3832 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3834 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3835 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3837 return Py_BuildValue((char *)"");
3839 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3840 PyObject
*resultobj
;
3841 wxWindow
*arg1
= (wxWindow
*) 0 ;
3843 wxString
*arg3
= 0 ;
3844 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3845 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3846 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3847 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3848 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3849 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3850 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3852 bool temp3
= False
;
3855 bool temp7
= False
;
3856 PyObject
* obj0
= 0 ;
3857 PyObject
* obj1
= 0 ;
3858 PyObject
* obj2
= 0 ;
3859 PyObject
* obj3
= 0 ;
3860 PyObject
* obj4
= 0 ;
3861 PyObject
* obj5
= 0 ;
3862 PyObject
* obj6
= 0 ;
3864 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3870 arg2
= (int const) SWIG_AsInt(obj1
);
3871 if (PyErr_Occurred()) SWIG_fail
;
3873 arg3
= wxString_in_helper(obj2
);
3874 if (arg3
== NULL
) SWIG_fail
;
3880 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3886 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3890 arg6
= (long) SWIG_AsLong(obj5
);
3891 if (PyErr_Occurred()) SWIG_fail
;
3895 arg7
= wxString_in_helper(obj6
);
3896 if (arg7
== NULL
) SWIG_fail
;
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3904 wxPyEndAllowThreads(__tstate
);
3905 if (PyErr_Occurred()) SWIG_fail
;
3907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
3930 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3931 PyObject
*resultobj
;
3937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
3939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3940 result
= (wxDialog
*)new wxDialog();
3942 wxPyEndAllowThreads(__tstate
);
3943 if (PyErr_Occurred()) SWIG_fail
;
3945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
3952 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3953 PyObject
*resultobj
;
3954 wxDialog
*arg1
= (wxDialog
*) 0 ;
3955 wxWindow
*arg2
= (wxWindow
*) 0 ;
3957 wxString
*arg4
= 0 ;
3958 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3959 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3960 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3961 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3962 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
3963 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
3964 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3966 bool temp4
= False
;
3969 bool temp8
= False
;
3970 PyObject
* obj0
= 0 ;
3971 PyObject
* obj1
= 0 ;
3972 PyObject
* obj2
= 0 ;
3973 PyObject
* obj3
= 0 ;
3974 PyObject
* obj4
= 0 ;
3975 PyObject
* obj5
= 0 ;
3976 PyObject
* obj6
= 0 ;
3977 PyObject
* obj7
= 0 ;
3979 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
3984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3985 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3987 arg3
= (int const) SWIG_AsInt(obj2
);
3988 if (PyErr_Occurred()) SWIG_fail
;
3990 arg4
= wxString_in_helper(obj3
);
3991 if (arg4
== NULL
) SWIG_fail
;
3997 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4003 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4007 arg7
= (long) SWIG_AsLong(obj6
);
4008 if (PyErr_Occurred()) SWIG_fail
;
4012 arg8
= wxString_in_helper(obj7
);
4013 if (arg8
== NULL
) SWIG_fail
;
4018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4019 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4021 wxPyEndAllowThreads(__tstate
);
4022 if (PyErr_Occurred()) SWIG_fail
;
4025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4049 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4050 PyObject
*resultobj
;
4051 wxDialog
*arg1
= (wxDialog
*) 0 ;
4053 PyObject
* obj0
= 0 ;
4054 PyObject
* obj1
= 0 ;
4056 (char *) "self",(char *) "returnCode", NULL
4059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4062 arg2
= (int) SWIG_AsInt(obj1
);
4063 if (PyErr_Occurred()) SWIG_fail
;
4065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4066 (arg1
)->SetReturnCode(arg2
);
4068 wxPyEndAllowThreads(__tstate
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4071 Py_INCREF(Py_None
); resultobj
= Py_None
;
4078 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4079 PyObject
*resultobj
;
4080 wxDialog
*arg1
= (wxDialog
*) 0 ;
4082 PyObject
* obj0
= 0 ;
4084 (char *) "self", NULL
4087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) SWIG_fail
;
4097 resultobj
= SWIG_FromInt((int)result
);
4104 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
*resultobj
;
4106 wxDialog
*arg1
= (wxDialog
*) 0 ;
4107 wxString
*arg2
= 0 ;
4109 bool temp2
= False
;
4110 PyObject
* obj0
= 0 ;
4111 PyObject
* obj1
= 0 ;
4113 (char *) "self",(char *) "message", NULL
4116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4120 arg2
= wxString_in_helper(obj1
);
4121 if (arg2
== NULL
) SWIG_fail
;
4125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4126 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4128 wxPyEndAllowThreads(__tstate
);
4129 if (PyErr_Occurred()) SWIG_fail
;
4132 resultobj
= wxPyMake_wxSizer(result
);
4148 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4149 PyObject
*resultobj
;
4150 wxDialog
*arg1
= (wxDialog
*) 0 ;
4153 PyObject
* obj0
= 0 ;
4154 PyObject
* obj1
= 0 ;
4156 (char *) "self",(char *) "flags", NULL
4159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4162 arg2
= (long) SWIG_AsLong(obj1
);
4163 if (PyErr_Occurred()) SWIG_fail
;
4165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4166 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4168 wxPyEndAllowThreads(__tstate
);
4169 if (PyErr_Occurred()) SWIG_fail
;
4172 resultobj
= wxPyMake_wxSizer(result
);
4180 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4181 PyObject
*resultobj
;
4182 wxDialog
*arg1
= (wxDialog
*) 0 ;
4184 PyObject
* obj0
= 0 ;
4186 (char *) "self", NULL
4189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4196 wxPyEndAllowThreads(__tstate
);
4197 if (PyErr_Occurred()) SWIG_fail
;
4200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4208 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4209 PyObject
*resultobj
;
4210 wxDialog
*arg1
= (wxDialog
*) 0 ;
4212 PyObject
* obj0
= 0 ;
4214 (char *) "self", NULL
4217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4222 result
= (int)(arg1
)->ShowModal();
4224 wxPyEndAllowThreads(__tstate
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4227 resultobj
= SWIG_FromInt((int)result
);
4234 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4235 PyObject
*resultobj
;
4236 wxDialog
*arg1
= (wxDialog
*) 0 ;
4238 PyObject
* obj0
= 0 ;
4239 PyObject
* obj1
= 0 ;
4241 (char *) "self",(char *) "retCode", NULL
4244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4247 arg2
= (int) SWIG_AsInt(obj1
);
4248 if (PyErr_Occurred()) SWIG_fail
;
4250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4251 (arg1
)->EndModal(arg2
);
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4256 Py_INCREF(Py_None
); resultobj
= Py_None
;
4263 static PyObject
*_wrap_Dialog_IsModalShowing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4264 PyObject
*resultobj
;
4265 wxDialog
*arg1
= (wxDialog
*) 0 ;
4267 PyObject
* obj0
= 0 ;
4269 (char *) "self", NULL
4272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModalShowing",kwnames
,&obj0
)) goto fail
;
4273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4277 result
= (bool)wxDialog_IsModalShowing(arg1
);
4279 wxPyEndAllowThreads(__tstate
);
4280 if (PyErr_Occurred()) SWIG_fail
;
4283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4291 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4293 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4294 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4296 return Py_BuildValue((char *)"");
4298 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4299 PyObject
*resultobj
;
4300 wxWindow
*arg1
= (wxWindow
*) 0 ;
4302 wxString
*arg3
= 0 ;
4303 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4304 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4305 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4306 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4307 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4308 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4309 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4310 wxMiniFrame
*result
;
4311 bool temp3
= False
;
4314 bool temp7
= False
;
4315 PyObject
* obj0
= 0 ;
4316 PyObject
* obj1
= 0 ;
4317 PyObject
* obj2
= 0 ;
4318 PyObject
* obj3
= 0 ;
4319 PyObject
* obj4
= 0 ;
4320 PyObject
* obj5
= 0 ;
4321 PyObject
* obj6
= 0 ;
4323 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4329 arg2
= (int const) SWIG_AsInt(obj1
);
4330 if (PyErr_Occurred()) SWIG_fail
;
4332 arg3
= wxString_in_helper(obj2
);
4333 if (arg3
== NULL
) SWIG_fail
;
4339 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4345 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4349 arg6
= (long) SWIG_AsLong(obj5
);
4350 if (PyErr_Occurred()) SWIG_fail
;
4354 arg7
= wxString_in_helper(obj6
);
4355 if (arg7
== NULL
) SWIG_fail
;
4360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4361 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4363 wxPyEndAllowThreads(__tstate
);
4364 if (PyErr_Occurred()) SWIG_fail
;
4366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4389 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4390 PyObject
*resultobj
;
4391 wxMiniFrame
*result
;
4396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4399 result
= (wxMiniFrame
*)new wxMiniFrame();
4401 wxPyEndAllowThreads(__tstate
);
4402 if (PyErr_Occurred()) SWIG_fail
;
4404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4411 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4412 PyObject
*resultobj
;
4413 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4414 wxWindow
*arg2
= (wxWindow
*) 0 ;
4416 wxString
*arg4
= 0 ;
4417 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4418 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4419 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4420 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4421 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4422 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4423 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4425 bool temp4
= False
;
4428 bool temp8
= False
;
4429 PyObject
* obj0
= 0 ;
4430 PyObject
* obj1
= 0 ;
4431 PyObject
* obj2
= 0 ;
4432 PyObject
* obj3
= 0 ;
4433 PyObject
* obj4
= 0 ;
4434 PyObject
* obj5
= 0 ;
4435 PyObject
* obj6
= 0 ;
4436 PyObject
* obj7
= 0 ;
4438 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4444 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4446 arg3
= (int const) SWIG_AsInt(obj2
);
4447 if (PyErr_Occurred()) SWIG_fail
;
4449 arg4
= wxString_in_helper(obj3
);
4450 if (arg4
== NULL
) SWIG_fail
;
4456 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4462 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4466 arg7
= (long) SWIG_AsLong(obj6
);
4467 if (PyErr_Occurred()) SWIG_fail
;
4471 arg8
= wxString_in_helper(obj7
);
4472 if (arg8
== NULL
) SWIG_fail
;
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4480 wxPyEndAllowThreads(__tstate
);
4481 if (PyErr_Occurred()) SWIG_fail
;
4484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4508 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4511 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4513 return Py_BuildValue((char *)"");
4515 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4516 PyObject
*resultobj
;
4517 wxBitmap
*arg1
= 0 ;
4518 wxWindow
*arg2
= (wxWindow
*) 0 ;
4520 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4521 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4522 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4523 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4524 long arg6
= (long) wxNO_BORDER
;
4525 wxSplashScreenWindow
*result
;
4528 PyObject
* obj0
= 0 ;
4529 PyObject
* obj1
= 0 ;
4530 PyObject
* obj2
= 0 ;
4531 PyObject
* obj3
= 0 ;
4532 PyObject
* obj4
= 0 ;
4533 PyObject
* obj5
= 0 ;
4535 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4540 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4543 PyErr_SetString(PyExc_TypeError
,"null reference");
4546 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4548 arg3
= (int) SWIG_AsInt(obj2
);
4549 if (PyErr_Occurred()) SWIG_fail
;
4553 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4559 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4563 arg6
= (long) SWIG_AsLong(obj5
);
4564 if (PyErr_Occurred()) SWIG_fail
;
4567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4568 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4570 wxPyEndAllowThreads(__tstate
);
4571 if (PyErr_Occurred()) SWIG_fail
;
4573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4580 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4581 PyObject
*resultobj
;
4582 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4583 wxBitmap
*arg2
= 0 ;
4584 PyObject
* obj0
= 0 ;
4585 PyObject
* obj1
= 0 ;
4587 (char *) "self",(char *) "bitmap", NULL
4590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4594 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4597 PyErr_SetString(PyExc_TypeError
,"null reference");
4601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4602 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4604 wxPyEndAllowThreads(__tstate
);
4605 if (PyErr_Occurred()) SWIG_fail
;
4607 Py_INCREF(Py_None
); resultobj
= Py_None
;
4614 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4615 PyObject
*resultobj
;
4616 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4618 PyObject
* obj0
= 0 ;
4620 (char *) "self", NULL
4623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4629 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4630 result
= (wxBitmap
*) &_result_ref
;
4633 wxPyEndAllowThreads(__tstate
);
4634 if (PyErr_Occurred()) SWIG_fail
;
4637 wxBitmap
* resultptr
= new wxBitmap(*result
);
4638 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4646 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4649 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4651 return Py_BuildValue((char *)"");
4653 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4654 PyObject
*resultobj
;
4655 wxBitmap
*arg1
= 0 ;
4658 wxWindow
*arg4
= (wxWindow
*) 0 ;
4660 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4661 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4662 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4663 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4664 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4665 wxSplashScreen
*result
;
4668 PyObject
* obj0
= 0 ;
4669 PyObject
* obj1
= 0 ;
4670 PyObject
* obj2
= 0 ;
4671 PyObject
* obj3
= 0 ;
4672 PyObject
* obj4
= 0 ;
4673 PyObject
* obj5
= 0 ;
4674 PyObject
* obj6
= 0 ;
4675 PyObject
* obj7
= 0 ;
4677 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4682 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4685 PyErr_SetString(PyExc_TypeError
,"null reference");
4688 arg2
= (long) SWIG_AsLong(obj1
);
4689 if (PyErr_Occurred()) SWIG_fail
;
4690 arg3
= (int) SWIG_AsInt(obj2
);
4691 if (PyErr_Occurred()) SWIG_fail
;
4692 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4694 arg5
= (int) SWIG_AsInt(obj4
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4699 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4705 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4709 arg8
= (long) SWIG_AsLong(obj7
);
4710 if (PyErr_Occurred()) SWIG_fail
;
4713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4714 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4716 wxPyEndAllowThreads(__tstate
);
4717 if (PyErr_Occurred()) SWIG_fail
;
4719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
4726 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4727 PyObject
*resultobj
;
4728 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4730 PyObject
* obj0
= 0 ;
4732 (char *) "self", NULL
4735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4740 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4742 wxPyEndAllowThreads(__tstate
);
4743 if (PyErr_Occurred()) SWIG_fail
;
4745 resultobj
= SWIG_FromLong((long)result
);
4752 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4753 PyObject
*resultobj
;
4754 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4755 wxSplashScreenWindow
*result
;
4756 PyObject
* obj0
= 0 ;
4758 (char *) "self", NULL
4761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4766 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4768 wxPyEndAllowThreads(__tstate
);
4769 if (PyErr_Occurred()) SWIG_fail
;
4771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
4778 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4779 PyObject
*resultobj
;
4780 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4782 PyObject
* obj0
= 0 ;
4784 (char *) "self", NULL
4787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4792 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4794 wxPyEndAllowThreads(__tstate
);
4795 if (PyErr_Occurred()) SWIG_fail
;
4797 resultobj
= SWIG_FromInt((int)result
);
4804 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4807 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4809 return Py_BuildValue((char *)"");
4811 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4812 PyObject
*resultobj
;
4813 wxWindow
*arg1
= (wxWindow
*) 0 ;
4814 int arg2
= (int) -1 ;
4815 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
4816 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4817 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4818 wxStatusBar
*result
;
4819 bool temp4
= False
;
4820 PyObject
* obj0
= 0 ;
4821 PyObject
* obj1
= 0 ;
4822 PyObject
* obj2
= 0 ;
4823 PyObject
* obj3
= 0 ;
4825 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4832 arg2
= (int) SWIG_AsInt(obj1
);
4833 if (PyErr_Occurred()) SWIG_fail
;
4836 arg3
= (long) SWIG_AsLong(obj2
);
4837 if (PyErr_Occurred()) SWIG_fail
;
4841 arg4
= wxString_in_helper(obj3
);
4842 if (arg4
== NULL
) SWIG_fail
;
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4850 wxPyEndAllowThreads(__tstate
);
4851 if (PyErr_Occurred()) SWIG_fail
;
4854 resultobj
= wxPyMake_wxObject(result
);
4870 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4871 PyObject
*resultobj
;
4872 wxStatusBar
*result
;
4877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4880 result
= (wxStatusBar
*)new wxStatusBar();
4882 wxPyEndAllowThreads(__tstate
);
4883 if (PyErr_Occurred()) SWIG_fail
;
4886 resultobj
= wxPyMake_wxObject(result
);
4894 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4895 PyObject
*resultobj
;
4896 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4897 wxWindow
*arg2
= (wxWindow
*) 0 ;
4899 long arg4
= (long) wxST_SIZEGRIP
;
4900 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4901 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4903 bool temp5
= False
;
4904 PyObject
* obj0
= 0 ;
4905 PyObject
* obj1
= 0 ;
4906 PyObject
* obj2
= 0 ;
4907 PyObject
* obj3
= 0 ;
4908 PyObject
* obj4
= 0 ;
4910 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4916 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4918 arg3
= (int) SWIG_AsInt(obj2
);
4919 if (PyErr_Occurred()) SWIG_fail
;
4921 arg4
= (long) SWIG_AsLong(obj3
);
4922 if (PyErr_Occurred()) SWIG_fail
;
4926 arg5
= wxString_in_helper(obj4
);
4927 if (arg5
== NULL
) SWIG_fail
;
4932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4933 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4935 wxPyEndAllowThreads(__tstate
);
4936 if (PyErr_Occurred()) SWIG_fail
;
4939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4955 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4956 PyObject
*resultobj
;
4957 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4958 int arg2
= (int) 1 ;
4959 PyObject
* obj0
= 0 ;
4960 PyObject
* obj1
= 0 ;
4962 (char *) "self",(char *) "number", NULL
4965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
4966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4969 arg2
= (int) SWIG_AsInt(obj1
);
4970 if (PyErr_Occurred()) SWIG_fail
;
4973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4974 (arg1
)->SetFieldsCount(arg2
);
4976 wxPyEndAllowThreads(__tstate
);
4977 if (PyErr_Occurred()) SWIG_fail
;
4979 Py_INCREF(Py_None
); resultobj
= Py_None
;
4986 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4987 PyObject
*resultobj
;
4988 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4990 PyObject
* obj0
= 0 ;
4992 (char *) "self", NULL
4995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
4996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5000 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5002 wxPyEndAllowThreads(__tstate
);
5003 if (PyErr_Occurred()) SWIG_fail
;
5005 resultobj
= SWIG_FromInt((int)result
);
5012 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5013 PyObject
*resultobj
;
5014 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5015 wxString
*arg2
= 0 ;
5016 int arg3
= (int) 0 ;
5017 bool temp2
= False
;
5018 PyObject
* obj0
= 0 ;
5019 PyObject
* obj1
= 0 ;
5020 PyObject
* obj2
= 0 ;
5022 (char *) "self",(char *) "text",(char *) "number", NULL
5025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5029 arg2
= wxString_in_helper(obj1
);
5030 if (arg2
== NULL
) SWIG_fail
;
5034 arg3
= (int) SWIG_AsInt(obj2
);
5035 if (PyErr_Occurred()) SWIG_fail
;
5038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5039 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5041 wxPyEndAllowThreads(__tstate
);
5042 if (PyErr_Occurred()) SWIG_fail
;
5044 Py_INCREF(Py_None
); resultobj
= Py_None
;
5059 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5060 PyObject
*resultobj
;
5061 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5062 int arg2
= (int) 0 ;
5064 PyObject
* obj0
= 0 ;
5065 PyObject
* obj1
= 0 ;
5067 (char *) "self",(char *) "number", NULL
5070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5074 arg2
= (int) SWIG_AsInt(obj1
);
5075 if (PyErr_Occurred()) SWIG_fail
;
5078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5079 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5081 wxPyEndAllowThreads(__tstate
);
5082 if (PyErr_Occurred()) SWIG_fail
;
5086 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5088 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5097 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5098 PyObject
*resultobj
;
5099 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5100 wxString
*arg2
= 0 ;
5101 int arg3
= (int) 0 ;
5102 bool temp2
= False
;
5103 PyObject
* obj0
= 0 ;
5104 PyObject
* obj1
= 0 ;
5105 PyObject
* obj2
= 0 ;
5107 (char *) "self",(char *) "text",(char *) "number", NULL
5110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5114 arg2
= wxString_in_helper(obj1
);
5115 if (arg2
== NULL
) SWIG_fail
;
5119 arg3
= (int) SWIG_AsInt(obj2
);
5120 if (PyErr_Occurred()) SWIG_fail
;
5123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5124 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5126 wxPyEndAllowThreads(__tstate
);
5127 if (PyErr_Occurred()) SWIG_fail
;
5129 Py_INCREF(Py_None
); resultobj
= Py_None
;
5144 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5145 PyObject
*resultobj
;
5146 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5147 int arg2
= (int) 0 ;
5148 PyObject
* obj0
= 0 ;
5149 PyObject
* obj1
= 0 ;
5151 (char *) "self",(char *) "number", NULL
5154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5158 arg2
= (int) SWIG_AsInt(obj1
);
5159 if (PyErr_Occurred()) SWIG_fail
;
5162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5163 (arg1
)->PopStatusText(arg2
);
5165 wxPyEndAllowThreads(__tstate
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5168 Py_INCREF(Py_None
); resultobj
= Py_None
;
5175 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5176 PyObject
*resultobj
;
5177 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5179 int *arg3
= (int *) 0 ;
5180 PyObject
* obj0
= 0 ;
5181 PyObject
* obj1
= 0 ;
5183 (char *) "self",(char *) "widths", NULL
5186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5190 arg2
= PyList_Size(obj1
);
5191 arg3
= int_LIST_helper(obj1
);
5192 if (arg3
== NULL
) SWIG_fail
;
5195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5196 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5198 wxPyEndAllowThreads(__tstate
);
5199 if (PyErr_Occurred()) SWIG_fail
;
5201 Py_INCREF(Py_None
); resultobj
= Py_None
;
5203 if (arg3
) delete [] arg3
;
5208 if (arg3
) delete [] arg3
;
5214 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5215 PyObject
*resultobj
;
5216 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5219 PyObject
* obj0
= 0 ;
5220 PyObject
* obj1
= 0 ;
5222 (char *) "self",(char *) "i", NULL
5225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5228 arg2
= (int) SWIG_AsInt(obj1
);
5229 if (PyErr_Occurred()) SWIG_fail
;
5231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5232 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5234 wxPyEndAllowThreads(__tstate
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5239 resultptr
= new wxRect((wxRect
&) result
);
5240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5248 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5249 PyObject
*resultobj
;
5250 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5252 PyObject
* obj0
= 0 ;
5253 PyObject
* obj1
= 0 ;
5255 (char *) "self",(char *) "height", NULL
5258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5261 arg2
= (int) SWIG_AsInt(obj1
);
5262 if (PyErr_Occurred()) SWIG_fail
;
5264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5265 (arg1
)->SetMinHeight(arg2
);
5267 wxPyEndAllowThreads(__tstate
);
5268 if (PyErr_Occurred()) SWIG_fail
;
5270 Py_INCREF(Py_None
); resultobj
= Py_None
;
5277 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5278 PyObject
*resultobj
;
5279 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5281 PyObject
* obj0
= 0 ;
5283 (char *) "self", NULL
5286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5291 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5293 wxPyEndAllowThreads(__tstate
);
5294 if (PyErr_Occurred()) SWIG_fail
;
5296 resultobj
= SWIG_FromInt((int)result
);
5303 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5304 PyObject
*resultobj
;
5305 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5307 PyObject
* obj0
= 0 ;
5309 (char *) "self", NULL
5312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5317 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5319 wxPyEndAllowThreads(__tstate
);
5320 if (PyErr_Occurred()) SWIG_fail
;
5322 resultobj
= SWIG_FromInt((int)result
);
5329 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5331 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5332 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5334 return Py_BuildValue((char *)"");
5336 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5337 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5342 static PyObject
*_wrap_SplitterNameStr_get() {
5347 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5349 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5356 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5357 PyObject
*resultobj
;
5358 wxWindow
*arg1
= (wxWindow
*) 0 ;
5360 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5361 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5362 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5363 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5364 long arg5
= (long) wxSP_3D
;
5365 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5366 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5367 wxSplitterWindow
*result
;
5370 bool temp6
= False
;
5371 PyObject
* obj0
= 0 ;
5372 PyObject
* obj1
= 0 ;
5373 PyObject
* obj2
= 0 ;
5374 PyObject
* obj3
= 0 ;
5375 PyObject
* obj4
= 0 ;
5376 PyObject
* obj5
= 0 ;
5378 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5384 arg2
= (int) SWIG_AsInt(obj1
);
5385 if (PyErr_Occurred()) SWIG_fail
;
5389 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5395 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5399 arg5
= (long) SWIG_AsLong(obj4
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5404 arg6
= wxString_in_helper(obj5
);
5405 if (arg6
== NULL
) SWIG_fail
;
5410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5411 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5413 wxPyEndAllowThreads(__tstate
);
5414 if (PyErr_Occurred()) SWIG_fail
;
5416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5431 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5432 PyObject
*resultobj
;
5433 wxSplitterWindow
*result
;
5438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5441 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5443 wxPyEndAllowThreads(__tstate
);
5444 if (PyErr_Occurred()) SWIG_fail
;
5446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5453 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5454 PyObject
*resultobj
;
5455 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5456 wxWindow
*arg2
= (wxWindow
*) 0 ;
5458 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5459 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5460 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5461 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5462 long arg6
= (long) wxSP_3D
;
5463 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5464 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5468 bool temp7
= False
;
5469 PyObject
* obj0
= 0 ;
5470 PyObject
* obj1
= 0 ;
5471 PyObject
* obj2
= 0 ;
5472 PyObject
* obj3
= 0 ;
5473 PyObject
* obj4
= 0 ;
5474 PyObject
* obj5
= 0 ;
5475 PyObject
* obj6
= 0 ;
5477 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5483 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5485 arg3
= (int) SWIG_AsInt(obj2
);
5486 if (PyErr_Occurred()) SWIG_fail
;
5490 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5496 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5500 arg6
= (long) SWIG_AsLong(obj5
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5505 arg7
= wxString_in_helper(obj6
);
5506 if (arg7
== NULL
) SWIG_fail
;
5511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5512 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5514 wxPyEndAllowThreads(__tstate
);
5515 if (PyErr_Occurred()) SWIG_fail
;
5518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5534 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5535 PyObject
*resultobj
;
5536 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5538 PyObject
* obj0
= 0 ;
5540 (char *) "self", NULL
5543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5548 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5554 resultobj
= wxPyMake_wxObject(result
);
5562 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5563 PyObject
*resultobj
;
5564 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5566 PyObject
* obj0
= 0 ;
5568 (char *) "self", NULL
5571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5576 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5578 wxPyEndAllowThreads(__tstate
);
5579 if (PyErr_Occurred()) SWIG_fail
;
5582 resultobj
= wxPyMake_wxObject(result
);
5590 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5591 PyObject
*resultobj
;
5592 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5594 PyObject
* obj0
= 0 ;
5595 PyObject
* obj1
= 0 ;
5597 (char *) "self",(char *) "mode", NULL
5600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5603 arg2
= (int) SWIG_AsInt(obj1
);
5604 if (PyErr_Occurred()) SWIG_fail
;
5606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5607 (arg1
)->SetSplitMode(arg2
);
5609 wxPyEndAllowThreads(__tstate
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5612 Py_INCREF(Py_None
); resultobj
= Py_None
;
5619 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
*resultobj
;
5621 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5623 PyObject
* obj0
= 0 ;
5625 (char *) "self", NULL
5628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5633 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5635 wxPyEndAllowThreads(__tstate
);
5636 if (PyErr_Occurred()) SWIG_fail
;
5638 resultobj
= SWIG_FromInt((int)result
);
5645 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5646 PyObject
*resultobj
;
5647 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5648 wxWindow
*arg2
= (wxWindow
*) 0 ;
5649 PyObject
* obj0
= 0 ;
5650 PyObject
* obj1
= 0 ;
5652 (char *) "self",(char *) "window", NULL
5655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5658 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5662 (arg1
)->Initialize(arg2
);
5664 wxPyEndAllowThreads(__tstate
);
5665 if (PyErr_Occurred()) SWIG_fail
;
5667 Py_INCREF(Py_None
); resultobj
= Py_None
;
5674 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5675 PyObject
*resultobj
;
5676 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5677 wxWindow
*arg2
= (wxWindow
*) 0 ;
5678 wxWindow
*arg3
= (wxWindow
*) 0 ;
5679 int arg4
= (int) 0 ;
5681 PyObject
* obj0
= 0 ;
5682 PyObject
* obj1
= 0 ;
5683 PyObject
* obj2
= 0 ;
5684 PyObject
* obj3
= 0 ;
5686 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5694 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5697 arg4
= (int) SWIG_AsInt(obj3
);
5698 if (PyErr_Occurred()) SWIG_fail
;
5701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5702 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5704 wxPyEndAllowThreads(__tstate
);
5705 if (PyErr_Occurred()) SWIG_fail
;
5708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5716 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5717 PyObject
*resultobj
;
5718 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5719 wxWindow
*arg2
= (wxWindow
*) 0 ;
5720 wxWindow
*arg3
= (wxWindow
*) 0 ;
5721 int arg4
= (int) 0 ;
5723 PyObject
* obj0
= 0 ;
5724 PyObject
* obj1
= 0 ;
5725 PyObject
* obj2
= 0 ;
5726 PyObject
* obj3
= 0 ;
5728 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5736 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5739 arg4
= (int) SWIG_AsInt(obj3
);
5740 if (PyErr_Occurred()) SWIG_fail
;
5743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5744 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5746 wxPyEndAllowThreads(__tstate
);
5747 if (PyErr_Occurred()) SWIG_fail
;
5750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5758 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5759 PyObject
*resultobj
;
5760 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5761 wxWindow
*arg2
= (wxWindow
*) NULL
;
5763 PyObject
* obj0
= 0 ;
5764 PyObject
* obj1
= 0 ;
5766 (char *) "self",(char *) "toRemove", NULL
5769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5773 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5778 result
= (bool)(arg1
)->Unsplit(arg2
);
5780 wxPyEndAllowThreads(__tstate
);
5781 if (PyErr_Occurred()) SWIG_fail
;
5784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5792 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5793 PyObject
*resultobj
;
5794 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5795 wxWindow
*arg2
= (wxWindow
*) 0 ;
5796 wxWindow
*arg3
= (wxWindow
*) 0 ;
5798 PyObject
* obj0
= 0 ;
5799 PyObject
* obj1
= 0 ;
5800 PyObject
* obj2
= 0 ;
5802 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5808 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5810 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5814 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5816 wxPyEndAllowThreads(__tstate
);
5817 if (PyErr_Occurred()) SWIG_fail
;
5820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5828 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5829 PyObject
*resultobj
;
5830 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5831 PyObject
* obj0
= 0 ;
5833 (char *) "self", NULL
5836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
5837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5841 (arg1
)->UpdateSize();
5843 wxPyEndAllowThreads(__tstate
);
5844 if (PyErr_Occurred()) SWIG_fail
;
5846 Py_INCREF(Py_None
); resultobj
= Py_None
;
5853 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5854 PyObject
*resultobj
;
5855 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5857 PyObject
* obj0
= 0 ;
5859 (char *) "self", NULL
5862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5867 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5869 wxPyEndAllowThreads(__tstate
);
5870 if (PyErr_Occurred()) SWIG_fail
;
5873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5881 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5882 PyObject
*resultobj
;
5883 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5885 PyObject
* obj0
= 0 ;
5886 PyObject
* obj1
= 0 ;
5888 (char *) "self",(char *) "width", NULL
5891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5894 arg2
= (int) SWIG_AsInt(obj1
);
5895 if (PyErr_Occurred()) SWIG_fail
;
5897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5898 (arg1
)->SetSashSize(arg2
);
5900 wxPyEndAllowThreads(__tstate
);
5901 if (PyErr_Occurred()) SWIG_fail
;
5903 Py_INCREF(Py_None
); resultobj
= Py_None
;
5910 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5911 PyObject
*resultobj
;
5912 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5914 PyObject
* obj0
= 0 ;
5915 PyObject
* obj1
= 0 ;
5917 (char *) "self",(char *) "width", NULL
5920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5923 arg2
= (int) SWIG_AsInt(obj1
);
5924 if (PyErr_Occurred()) SWIG_fail
;
5926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5927 (arg1
)->SetBorderSize(arg2
);
5929 wxPyEndAllowThreads(__tstate
);
5930 if (PyErr_Occurred()) SWIG_fail
;
5932 Py_INCREF(Py_None
); resultobj
= Py_None
;
5939 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5940 PyObject
*resultobj
;
5941 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5943 PyObject
* obj0
= 0 ;
5945 (char *) "self", NULL
5948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
5949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5953 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
5955 wxPyEndAllowThreads(__tstate
);
5956 if (PyErr_Occurred()) SWIG_fail
;
5958 resultobj
= SWIG_FromInt((int)result
);
5965 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5966 PyObject
*resultobj
;
5967 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5969 PyObject
* obj0
= 0 ;
5971 (char *) "self", NULL
5974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
5975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5979 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
5981 wxPyEndAllowThreads(__tstate
);
5982 if (PyErr_Occurred()) SWIG_fail
;
5984 resultobj
= SWIG_FromInt((int)result
);
5991 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5992 PyObject
*resultobj
;
5993 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5995 bool arg3
= (bool) True
;
5996 PyObject
* obj0
= 0 ;
5997 PyObject
* obj1
= 0 ;
5998 PyObject
* obj2
= 0 ;
6000 (char *) "self",(char *) "position",(char *) "redraw", NULL
6003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6006 arg2
= (int) SWIG_AsInt(obj1
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6009 arg3
= (bool) SWIG_AsBool(obj2
);
6010 if (PyErr_Occurred()) SWIG_fail
;
6013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6014 (arg1
)->SetSashPosition(arg2
,arg3
);
6016 wxPyEndAllowThreads(__tstate
);
6017 if (PyErr_Occurred()) SWIG_fail
;
6019 Py_INCREF(Py_None
); resultobj
= Py_None
;
6026 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6027 PyObject
*resultobj
;
6028 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6030 PyObject
* obj0
= 0 ;
6032 (char *) "self", NULL
6035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6040 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6042 wxPyEndAllowThreads(__tstate
);
6043 if (PyErr_Occurred()) SWIG_fail
;
6045 resultobj
= SWIG_FromInt((int)result
);
6052 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6053 PyObject
*resultobj
;
6054 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6056 PyObject
* obj0
= 0 ;
6057 PyObject
* obj1
= 0 ;
6059 (char *) "self",(char *) "min", NULL
6062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6065 arg2
= (int) SWIG_AsInt(obj1
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6069 (arg1
)->SetMinimumPaneSize(arg2
);
6071 wxPyEndAllowThreads(__tstate
);
6072 if (PyErr_Occurred()) SWIG_fail
;
6074 Py_INCREF(Py_None
); resultobj
= Py_None
;
6081 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6082 PyObject
*resultobj
;
6083 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6085 PyObject
* obj0
= 0 ;
6087 (char *) "self", NULL
6090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6095 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6097 wxPyEndAllowThreads(__tstate
);
6098 if (PyErr_Occurred()) SWIG_fail
;
6100 resultobj
= SWIG_FromInt((int)result
);
6107 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6108 PyObject
*resultobj
;
6109 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6112 int arg4
= (int) 5 ;
6114 PyObject
* obj0
= 0 ;
6115 PyObject
* obj1
= 0 ;
6116 PyObject
* obj2
= 0 ;
6117 PyObject
* obj3
= 0 ;
6119 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6125 arg2
= (int) SWIG_AsInt(obj1
);
6126 if (PyErr_Occurred()) SWIG_fail
;
6127 arg3
= (int) SWIG_AsInt(obj2
);
6128 if (PyErr_Occurred()) SWIG_fail
;
6130 arg4
= (int) SWIG_AsInt(obj3
);
6131 if (PyErr_Occurred()) SWIG_fail
;
6134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6135 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6137 wxPyEndAllowThreads(__tstate
);
6138 if (PyErr_Occurred()) SWIG_fail
;
6141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6149 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6150 PyObject
*resultobj
;
6151 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6152 PyObject
* obj0
= 0 ;
6154 (char *) "self", NULL
6157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6162 (arg1
)->SizeWindows();
6164 wxPyEndAllowThreads(__tstate
);
6165 if (PyErr_Occurred()) SWIG_fail
;
6167 Py_INCREF(Py_None
); resultobj
= Py_None
;
6174 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6175 PyObject
*resultobj
;
6176 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6178 PyObject
* obj0
= 0 ;
6179 PyObject
* obj1
= 0 ;
6181 (char *) "self",(char *) "needUpdating", NULL
6184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6187 arg2
= (bool) SWIG_AsBool(obj1
);
6188 if (PyErr_Occurred()) SWIG_fail
;
6190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6191 (arg1
)->SetNeedUpdating(arg2
);
6193 wxPyEndAllowThreads(__tstate
);
6194 if (PyErr_Occurred()) SWIG_fail
;
6196 Py_INCREF(Py_None
); resultobj
= Py_None
;
6203 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6204 PyObject
*resultobj
;
6205 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6207 PyObject
* obj0
= 0 ;
6209 (char *) "self", NULL
6212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6217 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6219 wxPyEndAllowThreads(__tstate
);
6220 if (PyErr_Occurred()) SWIG_fail
;
6223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6231 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6234 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6236 return Py_BuildValue((char *)"");
6238 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6239 PyObject
*resultobj
;
6240 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6241 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6242 wxSplitterEvent
*result
;
6243 PyObject
* obj0
= 0 ;
6244 PyObject
* obj1
= 0 ;
6246 (char *) "type",(char *) "splitter", NULL
6249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6251 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6252 if (PyErr_Occurred()) SWIG_fail
;
6255 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6260 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6262 wxPyEndAllowThreads(__tstate
);
6263 if (PyErr_Occurred()) SWIG_fail
;
6265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6272 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
*resultobj
;
6274 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6276 PyObject
* obj0
= 0 ;
6277 PyObject
* obj1
= 0 ;
6279 (char *) "self",(char *) "pos", NULL
6282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6285 arg2
= (int) SWIG_AsInt(obj1
);
6286 if (PyErr_Occurred()) SWIG_fail
;
6288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6289 (arg1
)->SetSashPosition(arg2
);
6291 wxPyEndAllowThreads(__tstate
);
6292 if (PyErr_Occurred()) SWIG_fail
;
6294 Py_INCREF(Py_None
); resultobj
= Py_None
;
6301 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6302 PyObject
*resultobj
;
6303 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6305 PyObject
* obj0
= 0 ;
6307 (char *) "self", NULL
6310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6315 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6317 wxPyEndAllowThreads(__tstate
);
6318 if (PyErr_Occurred()) SWIG_fail
;
6320 resultobj
= SWIG_FromInt((int)result
);
6327 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6328 PyObject
*resultobj
;
6329 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6331 PyObject
* obj0
= 0 ;
6333 (char *) "self", NULL
6336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6341 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6343 wxPyEndAllowThreads(__tstate
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6347 resultobj
= wxPyMake_wxObject(result
);
6355 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6356 PyObject
*resultobj
;
6357 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6359 PyObject
* obj0
= 0 ;
6361 (char *) "self", NULL
6364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6369 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6371 wxPyEndAllowThreads(__tstate
);
6372 if (PyErr_Occurred()) SWIG_fail
;
6374 resultobj
= SWIG_FromInt((int)result
);
6381 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6382 PyObject
*resultobj
;
6383 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6385 PyObject
* obj0
= 0 ;
6387 (char *) "self", NULL
6390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6395 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6397 wxPyEndAllowThreads(__tstate
);
6398 if (PyErr_Occurred()) SWIG_fail
;
6400 resultobj
= SWIG_FromInt((int)result
);
6407 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6410 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6412 return Py_BuildValue((char *)"");
6414 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6415 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6420 static PyObject
*_wrap_SashNameStr_get() {
6425 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6427 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6434 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6435 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6440 static PyObject
*_wrap_SashLayoutNameStr_get() {
6445 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6447 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6454 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6455 PyObject
*resultobj
;
6456 wxWindow
*arg1
= (wxWindow
*) 0 ;
6458 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6459 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6460 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6461 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6462 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6463 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6464 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6465 wxSashWindow
*result
;
6468 bool temp6
= False
;
6469 PyObject
* obj0
= 0 ;
6470 PyObject
* obj1
= 0 ;
6471 PyObject
* obj2
= 0 ;
6472 PyObject
* obj3
= 0 ;
6473 PyObject
* obj4
= 0 ;
6474 PyObject
* obj5
= 0 ;
6476 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6482 arg2
= (int) SWIG_AsInt(obj1
);
6483 if (PyErr_Occurred()) SWIG_fail
;
6487 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6493 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6497 arg5
= (long) SWIG_AsLong(obj4
);
6498 if (PyErr_Occurred()) SWIG_fail
;
6502 arg6
= wxString_in_helper(obj5
);
6503 if (arg6
== NULL
) SWIG_fail
;
6508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6509 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6511 wxPyEndAllowThreads(__tstate
);
6512 if (PyErr_Occurred()) SWIG_fail
;
6514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6529 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6530 PyObject
*resultobj
;
6531 wxSashWindow
*result
;
6536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6539 result
= (wxSashWindow
*)new wxSashWindow();
6541 wxPyEndAllowThreads(__tstate
);
6542 if (PyErr_Occurred()) SWIG_fail
;
6544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6551 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6552 PyObject
*resultobj
;
6553 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6554 wxWindow
*arg2
= (wxWindow
*) 0 ;
6556 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6557 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6558 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6559 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6560 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6561 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6562 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6566 bool temp7
= False
;
6567 PyObject
* obj0
= 0 ;
6568 PyObject
* obj1
= 0 ;
6569 PyObject
* obj2
= 0 ;
6570 PyObject
* obj3
= 0 ;
6571 PyObject
* obj4
= 0 ;
6572 PyObject
* obj5
= 0 ;
6573 PyObject
* obj6
= 0 ;
6575 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6583 arg3
= (int) SWIG_AsInt(obj2
);
6584 if (PyErr_Occurred()) SWIG_fail
;
6588 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6594 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6598 arg6
= (long) SWIG_AsLong(obj5
);
6599 if (PyErr_Occurred()) SWIG_fail
;
6603 arg7
= wxString_in_helper(obj6
);
6604 if (arg7
== NULL
) SWIG_fail
;
6609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6610 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6612 wxPyEndAllowThreads(__tstate
);
6613 if (PyErr_Occurred()) SWIG_fail
;
6616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6632 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6633 PyObject
*resultobj
;
6634 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6637 PyObject
* obj0
= 0 ;
6638 PyObject
* obj1
= 0 ;
6639 PyObject
* obj2
= 0 ;
6641 (char *) "self",(char *) "edge",(char *) "sash", NULL
6644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6647 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6648 if (PyErr_Occurred()) SWIG_fail
;
6649 arg3
= (bool) SWIG_AsBool(obj2
);
6650 if (PyErr_Occurred()) SWIG_fail
;
6652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6653 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6655 wxPyEndAllowThreads(__tstate
);
6656 if (PyErr_Occurred()) SWIG_fail
;
6658 Py_INCREF(Py_None
); resultobj
= Py_None
;
6665 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6666 PyObject
*resultobj
;
6667 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6670 PyObject
* obj0
= 0 ;
6671 PyObject
* obj1
= 0 ;
6673 (char *) "self",(char *) "edge", NULL
6676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6679 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6680 if (PyErr_Occurred()) SWIG_fail
;
6682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6683 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6685 wxPyEndAllowThreads(__tstate
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6697 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
*resultobj
;
6699 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6702 PyObject
* obj0
= 0 ;
6703 PyObject
* obj1
= 0 ;
6704 PyObject
* obj2
= 0 ;
6706 (char *) "self",(char *) "edge",(char *) "border", NULL
6709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6712 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6713 if (PyErr_Occurred()) SWIG_fail
;
6714 arg3
= (bool) SWIG_AsBool(obj2
);
6715 if (PyErr_Occurred()) SWIG_fail
;
6717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6718 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6720 wxPyEndAllowThreads(__tstate
);
6721 if (PyErr_Occurred()) SWIG_fail
;
6723 Py_INCREF(Py_None
); resultobj
= Py_None
;
6730 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6731 PyObject
*resultobj
;
6732 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6735 PyObject
* obj0
= 0 ;
6736 PyObject
* obj1
= 0 ;
6738 (char *) "self",(char *) "edge", NULL
6741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
6742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6744 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6745 if (PyErr_Occurred()) SWIG_fail
;
6747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6748 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
6750 wxPyEndAllowThreads(__tstate
);
6751 if (PyErr_Occurred()) SWIG_fail
;
6754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6762 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6763 PyObject
*resultobj
;
6764 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6767 PyObject
* obj0
= 0 ;
6768 PyObject
* obj1
= 0 ;
6770 (char *) "self",(char *) "edge", NULL
6773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
6774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6776 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6777 if (PyErr_Occurred()) SWIG_fail
;
6779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
6782 wxPyEndAllowThreads(__tstate
);
6783 if (PyErr_Occurred()) SWIG_fail
;
6785 resultobj
= SWIG_FromInt((int)result
);
6792 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6793 PyObject
*resultobj
;
6794 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6796 PyObject
* obj0
= 0 ;
6797 PyObject
* obj1
= 0 ;
6799 (char *) "self",(char *) "width", NULL
6802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6805 arg2
= (int) SWIG_AsInt(obj1
);
6806 if (PyErr_Occurred()) SWIG_fail
;
6808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6809 (arg1
)->SetDefaultBorderSize(arg2
);
6811 wxPyEndAllowThreads(__tstate
);
6812 if (PyErr_Occurred()) SWIG_fail
;
6814 Py_INCREF(Py_None
); resultobj
= Py_None
;
6821 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6822 PyObject
*resultobj
;
6823 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6825 PyObject
* obj0
= 0 ;
6827 (char *) "self", NULL
6830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
6831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6835 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
6837 wxPyEndAllowThreads(__tstate
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6840 resultobj
= SWIG_FromInt((int)result
);
6847 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6848 PyObject
*resultobj
;
6849 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6851 PyObject
* obj0
= 0 ;
6852 PyObject
* obj1
= 0 ;
6854 (char *) "self",(char *) "width", NULL
6857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6860 arg2
= (int) SWIG_AsInt(obj1
);
6861 if (PyErr_Occurred()) SWIG_fail
;
6863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6864 (arg1
)->SetExtraBorderSize(arg2
);
6866 wxPyEndAllowThreads(__tstate
);
6867 if (PyErr_Occurred()) SWIG_fail
;
6869 Py_INCREF(Py_None
); resultobj
= Py_None
;
6876 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6877 PyObject
*resultobj
;
6878 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6880 PyObject
* obj0
= 0 ;
6882 (char *) "self", NULL
6885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
6886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6890 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
6892 wxPyEndAllowThreads(__tstate
);
6893 if (PyErr_Occurred()) SWIG_fail
;
6895 resultobj
= SWIG_FromInt((int)result
);
6902 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6903 PyObject
*resultobj
;
6904 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6906 PyObject
* obj0
= 0 ;
6907 PyObject
* obj1
= 0 ;
6909 (char *) "self",(char *) "min", NULL
6912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6915 arg2
= (int) SWIG_AsInt(obj1
);
6916 if (PyErr_Occurred()) SWIG_fail
;
6918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6919 (arg1
)->SetMinimumSizeX(arg2
);
6921 wxPyEndAllowThreads(__tstate
);
6922 if (PyErr_Occurred()) SWIG_fail
;
6924 Py_INCREF(Py_None
); resultobj
= Py_None
;
6931 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6932 PyObject
*resultobj
;
6933 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6935 PyObject
* obj0
= 0 ;
6936 PyObject
* obj1
= 0 ;
6938 (char *) "self",(char *) "min", NULL
6941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
6942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6944 arg2
= (int) SWIG_AsInt(obj1
);
6945 if (PyErr_Occurred()) SWIG_fail
;
6947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6948 (arg1
)->SetMinimumSizeY(arg2
);
6950 wxPyEndAllowThreads(__tstate
);
6951 if (PyErr_Occurred()) SWIG_fail
;
6953 Py_INCREF(Py_None
); resultobj
= Py_None
;
6960 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6961 PyObject
*resultobj
;
6962 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6964 PyObject
* obj0
= 0 ;
6966 (char *) "self", NULL
6969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
6970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6974 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
6976 wxPyEndAllowThreads(__tstate
);
6977 if (PyErr_Occurred()) SWIG_fail
;
6979 resultobj
= SWIG_FromInt((int)result
);
6986 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6987 PyObject
*resultobj
;
6988 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6990 PyObject
* obj0
= 0 ;
6992 (char *) "self", NULL
6995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
6996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7000 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7002 wxPyEndAllowThreads(__tstate
);
7003 if (PyErr_Occurred()) SWIG_fail
;
7005 resultobj
= SWIG_FromInt((int)result
);
7012 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7013 PyObject
*resultobj
;
7014 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7016 PyObject
* obj0
= 0 ;
7017 PyObject
* obj1
= 0 ;
7019 (char *) "self",(char *) "max", NULL
7022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7025 arg2
= (int) SWIG_AsInt(obj1
);
7026 if (PyErr_Occurred()) SWIG_fail
;
7028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7029 (arg1
)->SetMaximumSizeX(arg2
);
7031 wxPyEndAllowThreads(__tstate
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7034 Py_INCREF(Py_None
); resultobj
= Py_None
;
7041 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
*resultobj
;
7043 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7045 PyObject
* obj0
= 0 ;
7046 PyObject
* obj1
= 0 ;
7048 (char *) "self",(char *) "max", NULL
7051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7054 arg2
= (int) SWIG_AsInt(obj1
);
7055 if (PyErr_Occurred()) SWIG_fail
;
7057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7058 (arg1
)->SetMaximumSizeY(arg2
);
7060 wxPyEndAllowThreads(__tstate
);
7061 if (PyErr_Occurred()) SWIG_fail
;
7063 Py_INCREF(Py_None
); resultobj
= Py_None
;
7070 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
*resultobj
;
7072 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7074 PyObject
* obj0
= 0 ;
7076 (char *) "self", NULL
7079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7084 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7086 wxPyEndAllowThreads(__tstate
);
7087 if (PyErr_Occurred()) SWIG_fail
;
7089 resultobj
= SWIG_FromInt((int)result
);
7096 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7097 PyObject
*resultobj
;
7098 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7100 PyObject
* obj0
= 0 ;
7102 (char *) "self", NULL
7105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7115 resultobj
= SWIG_FromInt((int)result
);
7122 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
*resultobj
;
7124 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7127 int arg4
= (int) 2 ;
7129 PyObject
* obj0
= 0 ;
7130 PyObject
* obj1
= 0 ;
7131 PyObject
* obj2
= 0 ;
7132 PyObject
* obj3
= 0 ;
7134 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7140 arg2
= (int) SWIG_AsInt(obj1
);
7141 if (PyErr_Occurred()) SWIG_fail
;
7142 arg3
= (int) SWIG_AsInt(obj2
);
7143 if (PyErr_Occurred()) SWIG_fail
;
7145 arg4
= (int) SWIG_AsInt(obj3
);
7146 if (PyErr_Occurred()) SWIG_fail
;
7149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7150 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7152 wxPyEndAllowThreads(__tstate
);
7153 if (PyErr_Occurred()) SWIG_fail
;
7155 resultobj
= SWIG_FromInt((int)result
);
7162 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7163 PyObject
*resultobj
;
7164 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7165 PyObject
* obj0
= 0 ;
7167 (char *) "self", NULL
7170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7175 (arg1
)->SizeWindows();
7177 wxPyEndAllowThreads(__tstate
);
7178 if (PyErr_Occurred()) SWIG_fail
;
7180 Py_INCREF(Py_None
); resultobj
= Py_None
;
7187 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7189 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7190 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7192 return Py_BuildValue((char *)"");
7194 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7195 PyObject
*resultobj
;
7196 int arg1
= (int) 0 ;
7197 int arg2
= (int) wxSASH_NONE
;
7198 wxSashEvent
*result
;
7199 PyObject
* obj0
= 0 ;
7200 PyObject
* obj1
= 0 ;
7202 (char *) "id",(char *) "edge", NULL
7205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7207 arg1
= (int) SWIG_AsInt(obj0
);
7208 if (PyErr_Occurred()) SWIG_fail
;
7211 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7212 if (PyErr_Occurred()) SWIG_fail
;
7215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7216 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7218 wxPyEndAllowThreads(__tstate
);
7219 if (PyErr_Occurred()) SWIG_fail
;
7221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7228 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7229 PyObject
*resultobj
;
7230 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7232 PyObject
* obj0
= 0 ;
7233 PyObject
* obj1
= 0 ;
7235 (char *) "self",(char *) "edge", NULL
7238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7241 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7245 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7247 wxPyEndAllowThreads(__tstate
);
7248 if (PyErr_Occurred()) SWIG_fail
;
7250 Py_INCREF(Py_None
); resultobj
= Py_None
;
7257 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
*resultobj
;
7259 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7261 PyObject
* obj0
= 0 ;
7263 (char *) "self", NULL
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7271 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7273 wxPyEndAllowThreads(__tstate
);
7274 if (PyErr_Occurred()) SWIG_fail
;
7276 resultobj
= SWIG_FromInt((int)result
);
7283 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7284 PyObject
*resultobj
;
7285 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7288 PyObject
* obj0
= 0 ;
7289 PyObject
* obj1
= 0 ;
7291 (char *) "self",(char *) "rect", NULL
7294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7299 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7303 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7305 wxPyEndAllowThreads(__tstate
);
7306 if (PyErr_Occurred()) SWIG_fail
;
7308 Py_INCREF(Py_None
); resultobj
= Py_None
;
7315 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
*resultobj
;
7317 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7319 PyObject
* obj0
= 0 ;
7321 (char *) "self", NULL
7324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7329 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7331 wxPyEndAllowThreads(__tstate
);
7332 if (PyErr_Occurred()) SWIG_fail
;
7336 resultptr
= new wxRect((wxRect
&) result
);
7337 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7345 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7346 PyObject
*resultobj
;
7347 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7349 PyObject
* obj0
= 0 ;
7350 PyObject
* obj1
= 0 ;
7352 (char *) "self",(char *) "status", NULL
7355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7358 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7359 if (PyErr_Occurred()) SWIG_fail
;
7361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7362 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7364 wxPyEndAllowThreads(__tstate
);
7365 if (PyErr_Occurred()) SWIG_fail
;
7367 Py_INCREF(Py_None
); resultobj
= Py_None
;
7374 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7375 PyObject
*resultobj
;
7376 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7378 PyObject
* obj0
= 0 ;
7380 (char *) "self", NULL
7383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7388 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7390 wxPyEndAllowThreads(__tstate
);
7391 if (PyErr_Occurred()) SWIG_fail
;
7393 resultobj
= SWIG_FromInt((int)result
);
7400 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7402 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7403 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7405 return Py_BuildValue((char *)"");
7407 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7408 PyObject
*resultobj
;
7409 int arg1
= (int) 0 ;
7410 wxQueryLayoutInfoEvent
*result
;
7411 PyObject
* obj0
= 0 ;
7416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7418 arg1
= (int) SWIG_AsInt(obj0
);
7419 if (PyErr_Occurred()) SWIG_fail
;
7422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7423 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7425 wxPyEndAllowThreads(__tstate
);
7426 if (PyErr_Occurred()) SWIG_fail
;
7428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7435 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7436 PyObject
*resultobj
;
7437 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7439 PyObject
* obj0
= 0 ;
7440 PyObject
* obj1
= 0 ;
7442 (char *) "self",(char *) "length", NULL
7445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7448 arg2
= (int) SWIG_AsInt(obj1
);
7449 if (PyErr_Occurred()) SWIG_fail
;
7451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7452 (arg1
)->SetRequestedLength(arg2
);
7454 wxPyEndAllowThreads(__tstate
);
7455 if (PyErr_Occurred()) SWIG_fail
;
7457 Py_INCREF(Py_None
); resultobj
= Py_None
;
7464 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7465 PyObject
*resultobj
;
7466 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7468 PyObject
* obj0
= 0 ;
7470 (char *) "self", NULL
7473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7478 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7480 wxPyEndAllowThreads(__tstate
);
7481 if (PyErr_Occurred()) SWIG_fail
;
7483 resultobj
= SWIG_FromInt((int)result
);
7490 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7491 PyObject
*resultobj
;
7492 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7494 PyObject
* obj0
= 0 ;
7495 PyObject
* obj1
= 0 ;
7497 (char *) "self",(char *) "flags", NULL
7500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7503 arg2
= (int) SWIG_AsInt(obj1
);
7504 if (PyErr_Occurred()) SWIG_fail
;
7506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7507 (arg1
)->SetFlags(arg2
);
7509 wxPyEndAllowThreads(__tstate
);
7510 if (PyErr_Occurred()) SWIG_fail
;
7512 Py_INCREF(Py_None
); resultobj
= Py_None
;
7519 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7520 PyObject
*resultobj
;
7521 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7523 PyObject
* obj0
= 0 ;
7525 (char *) "self", NULL
7528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7533 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7535 wxPyEndAllowThreads(__tstate
);
7536 if (PyErr_Occurred()) SWIG_fail
;
7538 resultobj
= SWIG_FromInt((int)result
);
7545 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7546 PyObject
*resultobj
;
7547 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7550 PyObject
* obj0
= 0 ;
7551 PyObject
* obj1
= 0 ;
7553 (char *) "self",(char *) "size", NULL
7556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7561 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7565 (arg1
)->SetSize((wxSize
const &)*arg2
);
7567 wxPyEndAllowThreads(__tstate
);
7568 if (PyErr_Occurred()) SWIG_fail
;
7570 Py_INCREF(Py_None
); resultobj
= Py_None
;
7577 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
*resultobj
;
7579 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7581 PyObject
* obj0
= 0 ;
7583 (char *) "self", NULL
7586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7591 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7593 wxPyEndAllowThreads(__tstate
);
7594 if (PyErr_Occurred()) SWIG_fail
;
7598 resultptr
= new wxSize((wxSize
&) result
);
7599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7607 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7608 PyObject
*resultobj
;
7609 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7611 PyObject
* obj0
= 0 ;
7612 PyObject
* obj1
= 0 ;
7614 (char *) "self",(char *) "orient", NULL
7617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7620 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
7621 if (PyErr_Occurred()) SWIG_fail
;
7623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7624 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7626 wxPyEndAllowThreads(__tstate
);
7627 if (PyErr_Occurred()) SWIG_fail
;
7629 Py_INCREF(Py_None
); resultobj
= Py_None
;
7636 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7637 PyObject
*resultobj
;
7638 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7640 PyObject
* obj0
= 0 ;
7642 (char *) "self", NULL
7645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7650 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7652 wxPyEndAllowThreads(__tstate
);
7653 if (PyErr_Occurred()) SWIG_fail
;
7655 resultobj
= SWIG_FromInt((int)result
);
7662 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7663 PyObject
*resultobj
;
7664 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7666 PyObject
* obj0
= 0 ;
7667 PyObject
* obj1
= 0 ;
7669 (char *) "self",(char *) "align", NULL
7672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7675 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
7676 if (PyErr_Occurred()) SWIG_fail
;
7678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7679 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7681 wxPyEndAllowThreads(__tstate
);
7682 if (PyErr_Occurred()) SWIG_fail
;
7684 Py_INCREF(Py_None
); resultobj
= Py_None
;
7691 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7692 PyObject
*resultobj
;
7693 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7695 PyObject
* obj0
= 0 ;
7697 (char *) "self", NULL
7700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7705 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
7707 wxPyEndAllowThreads(__tstate
);
7708 if (PyErr_Occurred()) SWIG_fail
;
7710 resultobj
= SWIG_FromInt((int)result
);
7717 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7720 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7722 return Py_BuildValue((char *)"");
7724 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7725 PyObject
*resultobj
;
7726 int arg1
= (int) 0 ;
7727 wxCalculateLayoutEvent
*result
;
7728 PyObject
* obj0
= 0 ;
7733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
7735 arg1
= (int) SWIG_AsInt(obj0
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7740 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
7742 wxPyEndAllowThreads(__tstate
);
7743 if (PyErr_Occurred()) SWIG_fail
;
7745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
7752 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7753 PyObject
*resultobj
;
7754 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7756 PyObject
* obj0
= 0 ;
7757 PyObject
* obj1
= 0 ;
7759 (char *) "self",(char *) "flags", NULL
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7765 arg2
= (int) SWIG_AsInt(obj1
);
7766 if (PyErr_Occurred()) SWIG_fail
;
7768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7769 (arg1
)->SetFlags(arg2
);
7771 wxPyEndAllowThreads(__tstate
);
7772 if (PyErr_Occurred()) SWIG_fail
;
7774 Py_INCREF(Py_None
); resultobj
= Py_None
;
7781 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7782 PyObject
*resultobj
;
7783 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7785 PyObject
* obj0
= 0 ;
7787 (char *) "self", NULL
7790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7795 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
7797 wxPyEndAllowThreads(__tstate
);
7798 if (PyErr_Occurred()) SWIG_fail
;
7800 resultobj
= SWIG_FromInt((int)result
);
7807 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7808 PyObject
*resultobj
;
7809 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7812 PyObject
* obj0
= 0 ;
7813 PyObject
* obj1
= 0 ;
7815 (char *) "self",(char *) "rect", NULL
7818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7823 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7827 (arg1
)->SetRect((wxRect
const &)*arg2
);
7829 wxPyEndAllowThreads(__tstate
);
7830 if (PyErr_Occurred()) SWIG_fail
;
7832 Py_INCREF(Py_None
); resultobj
= Py_None
;
7839 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7840 PyObject
*resultobj
;
7841 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7843 PyObject
* obj0
= 0 ;
7845 (char *) "self", NULL
7848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
7849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7853 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
7855 wxPyEndAllowThreads(__tstate
);
7856 if (PyErr_Occurred()) SWIG_fail
;
7860 resultptr
= new wxRect((wxRect
&) result
);
7861 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7869 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7871 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7872 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
7874 return Py_BuildValue((char *)"");
7876 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7877 PyObject
*resultobj
;
7878 wxWindow
*arg1
= (wxWindow
*) 0 ;
7880 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7881 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7882 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7883 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7884 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7885 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
7886 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7887 wxSashLayoutWindow
*result
;
7890 bool temp6
= False
;
7891 PyObject
* obj0
= 0 ;
7892 PyObject
* obj1
= 0 ;
7893 PyObject
* obj2
= 0 ;
7894 PyObject
* obj3
= 0 ;
7895 PyObject
* obj4
= 0 ;
7896 PyObject
* obj5
= 0 ;
7898 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7904 arg2
= (int) SWIG_AsInt(obj1
);
7905 if (PyErr_Occurred()) SWIG_fail
;
7909 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7915 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7919 arg5
= (long) SWIG_AsLong(obj4
);
7920 if (PyErr_Occurred()) SWIG_fail
;
7924 arg6
= wxString_in_helper(obj5
);
7925 if (arg6
== NULL
) SWIG_fail
;
7930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7931 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7933 wxPyEndAllowThreads(__tstate
);
7934 if (PyErr_Occurred()) SWIG_fail
;
7936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
7951 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7952 PyObject
*resultobj
;
7953 wxSashLayoutWindow
*result
;
7958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
7960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7961 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
7963 wxPyEndAllowThreads(__tstate
);
7964 if (PyErr_Occurred()) SWIG_fail
;
7966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
7973 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7974 PyObject
*resultobj
;
7975 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7976 wxWindow
*arg2
= (wxWindow
*) 0 ;
7978 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7979 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7980 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7981 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7982 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7983 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
7984 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7988 bool temp7
= False
;
7989 PyObject
* obj0
= 0 ;
7990 PyObject
* obj1
= 0 ;
7991 PyObject
* obj2
= 0 ;
7992 PyObject
* obj3
= 0 ;
7993 PyObject
* obj4
= 0 ;
7994 PyObject
* obj5
= 0 ;
7995 PyObject
* obj6
= 0 ;
7997 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8003 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8005 arg3
= (int) SWIG_AsInt(obj2
);
8006 if (PyErr_Occurred()) SWIG_fail
;
8010 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8016 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8020 arg6
= (long) SWIG_AsLong(obj5
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8025 arg7
= wxString_in_helper(obj6
);
8026 if (arg7
== NULL
) SWIG_fail
;
8031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8032 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8034 wxPyEndAllowThreads(__tstate
);
8035 if (PyErr_Occurred()) SWIG_fail
;
8038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8054 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8055 PyObject
*resultobj
;
8056 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8058 PyObject
* obj0
= 0 ;
8060 (char *) "self", NULL
8063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8068 result
= (int)(arg1
)->GetAlignment();
8070 wxPyEndAllowThreads(__tstate
);
8071 if (PyErr_Occurred()) SWIG_fail
;
8073 resultobj
= SWIG_FromInt((int)result
);
8080 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8081 PyObject
*resultobj
;
8082 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8084 PyObject
* obj0
= 0 ;
8086 (char *) "self", NULL
8089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8094 result
= (int)(arg1
)->GetOrientation();
8096 wxPyEndAllowThreads(__tstate
);
8097 if (PyErr_Occurred()) SWIG_fail
;
8099 resultobj
= SWIG_FromInt((int)result
);
8106 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8107 PyObject
*resultobj
;
8108 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8110 PyObject
* obj0
= 0 ;
8111 PyObject
* obj1
= 0 ;
8113 (char *) "self",(char *) "alignment", NULL
8116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8119 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8120 if (PyErr_Occurred()) SWIG_fail
;
8122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8123 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8125 wxPyEndAllowThreads(__tstate
);
8126 if (PyErr_Occurred()) SWIG_fail
;
8128 Py_INCREF(Py_None
); resultobj
= Py_None
;
8135 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8136 PyObject
*resultobj
;
8137 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8140 PyObject
* obj0
= 0 ;
8141 PyObject
* obj1
= 0 ;
8143 (char *) "self",(char *) "size", NULL
8146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8151 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8155 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8157 wxPyEndAllowThreads(__tstate
);
8158 if (PyErr_Occurred()) SWIG_fail
;
8160 Py_INCREF(Py_None
); resultobj
= Py_None
;
8167 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8168 PyObject
*resultobj
;
8169 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8171 PyObject
* obj0
= 0 ;
8172 PyObject
* obj1
= 0 ;
8174 (char *) "self",(char *) "orientation", NULL
8177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8180 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8181 if (PyErr_Occurred()) SWIG_fail
;
8183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8184 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8186 wxPyEndAllowThreads(__tstate
);
8187 if (PyErr_Occurred()) SWIG_fail
;
8189 Py_INCREF(Py_None
); resultobj
= Py_None
;
8196 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8199 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8201 return Py_BuildValue((char *)"");
8203 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
*resultobj
;
8205 wxLayoutAlgorithm
*result
;
8210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8213 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8215 wxPyEndAllowThreads(__tstate
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8225 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8226 PyObject
*resultobj
;
8227 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8228 PyObject
* obj0
= 0 ;
8230 (char *) "self", NULL
8233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8240 wxPyEndAllowThreads(__tstate
);
8241 if (PyErr_Occurred()) SWIG_fail
;
8243 Py_INCREF(Py_None
); resultobj
= Py_None
;
8250 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8251 PyObject
*resultobj
;
8252 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8253 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8254 wxRect
*arg3
= (wxRect
*) NULL
;
8256 PyObject
* obj0
= 0 ;
8257 PyObject
* obj1
= 0 ;
8258 PyObject
* obj2
= 0 ;
8260 (char *) "self",(char *) "frame",(char *) "rect", NULL
8263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8266 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8269 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8274 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8276 wxPyEndAllowThreads(__tstate
);
8277 if (PyErr_Occurred()) SWIG_fail
;
8280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8288 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8289 PyObject
*resultobj
;
8290 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8291 wxFrame
*arg2
= (wxFrame
*) 0 ;
8292 wxWindow
*arg3
= (wxWindow
*) NULL
;
8294 PyObject
* obj0
= 0 ;
8295 PyObject
* obj1
= 0 ;
8296 PyObject
* obj2
= 0 ;
8298 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8304 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8307 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8312 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8314 wxPyEndAllowThreads(__tstate
);
8315 if (PyErr_Occurred()) SWIG_fail
;
8318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8326 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8327 PyObject
*resultobj
;
8328 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8329 wxWindow
*arg2
= (wxWindow
*) 0 ;
8330 wxWindow
*arg3
= (wxWindow
*) NULL
;
8332 PyObject
* obj0
= 0 ;
8333 PyObject
* obj1
= 0 ;
8334 PyObject
* obj2
= 0 ;
8336 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8345 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8350 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8352 wxPyEndAllowThreads(__tstate
);
8353 if (PyErr_Occurred()) SWIG_fail
;
8356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8364 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8366 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8367 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8369 return Py_BuildValue((char *)"");
8371 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8372 PyObject
*resultobj
;
8373 wxWindow
*arg1
= (wxWindow
*) 0 ;
8374 int arg2
= (int) wxBORDER_NONE
;
8375 wxPopupWindow
*result
;
8376 PyObject
* obj0
= 0 ;
8377 PyObject
* obj1
= 0 ;
8379 (char *) "parent",(char *) "flags", NULL
8382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8386 arg2
= (int) SWIG_AsInt(obj1
);
8387 if (PyErr_Occurred()) SWIG_fail
;
8390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8391 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8393 wxPyEndAllowThreads(__tstate
);
8394 if (PyErr_Occurred()) SWIG_fail
;
8396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8403 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8404 PyObject
*resultobj
;
8405 wxPopupWindow
*result
;
8410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8413 result
= (wxPopupWindow
*)new wxPopupWindow();
8415 wxPyEndAllowThreads(__tstate
);
8416 if (PyErr_Occurred()) SWIG_fail
;
8418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8425 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8426 PyObject
*resultobj
;
8427 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8428 wxWindow
*arg2
= (wxWindow
*) 0 ;
8429 int arg3
= (int) wxBORDER_NONE
;
8431 PyObject
* obj0
= 0 ;
8432 PyObject
* obj1
= 0 ;
8433 PyObject
* obj2
= 0 ;
8435 (char *) "self",(char *) "parent",(char *) "flags", NULL
8438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8441 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8444 arg3
= (int) SWIG_AsInt(obj2
);
8445 if (PyErr_Occurred()) SWIG_fail
;
8448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8449 result
= (bool)(arg1
)->Create(arg2
,arg3
);
8451 wxPyEndAllowThreads(__tstate
);
8452 if (PyErr_Occurred()) SWIG_fail
;
8455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8463 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8464 PyObject
*resultobj
;
8465 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8470 PyObject
* obj0
= 0 ;
8471 PyObject
* obj1
= 0 ;
8472 PyObject
* obj2
= 0 ;
8474 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8482 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8486 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
8489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8490 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8492 wxPyEndAllowThreads(__tstate
);
8493 if (PyErr_Occurred()) SWIG_fail
;
8495 Py_INCREF(Py_None
); resultobj
= Py_None
;
8502 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8504 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8505 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8507 return Py_BuildValue((char *)"");
8509 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8510 PyObject
*resultobj
;
8511 wxWindow
*arg1
= (wxWindow
*) 0 ;
8512 int arg2
= (int) wxBORDER_NONE
;
8513 wxPyPopupTransientWindow
*result
;
8514 PyObject
* obj0
= 0 ;
8515 PyObject
* obj1
= 0 ;
8517 (char *) "parent",(char *) "style", NULL
8520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8524 arg2
= (int) SWIG_AsInt(obj1
);
8525 if (PyErr_Occurred()) SWIG_fail
;
8528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8529 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8531 wxPyEndAllowThreads(__tstate
);
8532 if (PyErr_Occurred()) SWIG_fail
;
8534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8541 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8542 PyObject
*resultobj
;
8543 wxPyPopupTransientWindow
*result
;
8548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8551 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8553 wxPyEndAllowThreads(__tstate
);
8554 if (PyErr_Occurred()) SWIG_fail
;
8556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8563 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8564 PyObject
*resultobj
;
8565 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8566 PyObject
*arg2
= (PyObject
*) 0 ;
8567 PyObject
*arg3
= (PyObject
*) 0 ;
8568 PyObject
* obj0
= 0 ;
8569 PyObject
* obj1
= 0 ;
8570 PyObject
* obj2
= 0 ;
8572 (char *) "self",(char *) "self",(char *) "_class", NULL
8575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8582 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8584 wxPyEndAllowThreads(__tstate
);
8585 if (PyErr_Occurred()) SWIG_fail
;
8587 Py_INCREF(Py_None
); resultobj
= Py_None
;
8594 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8595 PyObject
*resultobj
;
8596 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8597 wxWindow
*arg2
= (wxWindow
*) NULL
;
8598 PyObject
* obj0
= 0 ;
8599 PyObject
* obj1
= 0 ;
8601 (char *) "self",(char *) "focus", NULL
8604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
8605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8608 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8613 (arg1
)->Popup(arg2
);
8615 wxPyEndAllowThreads(__tstate
);
8616 if (PyErr_Occurred()) SWIG_fail
;
8618 Py_INCREF(Py_None
); resultobj
= Py_None
;
8625 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8626 PyObject
*resultobj
;
8627 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8628 PyObject
* obj0
= 0 ;
8630 (char *) "self", NULL
8633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
8634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8640 wxPyEndAllowThreads(__tstate
);
8641 if (PyErr_Occurred()) SWIG_fail
;
8643 Py_INCREF(Py_None
); resultobj
= Py_None
;
8650 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8652 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8653 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8655 return Py_BuildValue((char *)"");
8657 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8658 PyObject
*resultobj
;
8659 wxWindow
*arg1
= (wxWindow
*) 0 ;
8660 wxString
*arg2
= 0 ;
8661 int arg3
= (int) 100 ;
8662 wxRect
*arg4
= (wxRect
*) NULL
;
8663 wxTipWindow
*result
;
8664 bool temp2
= False
;
8665 PyObject
* obj0
= 0 ;
8666 PyObject
* obj1
= 0 ;
8667 PyObject
* obj2
= 0 ;
8668 PyObject
* obj3
= 0 ;
8670 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8677 arg2
= wxString_in_helper(obj1
);
8678 if (arg2
== NULL
) SWIG_fail
;
8682 arg3
= (int) SWIG_AsInt(obj2
);
8683 if (PyErr_Occurred()) SWIG_fail
;
8686 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
8687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8691 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8693 wxPyEndAllowThreads(__tstate
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
8711 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8712 PyObject
*resultobj
;
8713 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8716 PyObject
* obj0
= 0 ;
8717 PyObject
* obj1
= 0 ;
8719 (char *) "self",(char *) "rectBound", NULL
8722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8727 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8731 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
8733 wxPyEndAllowThreads(__tstate
);
8734 if (PyErr_Occurred()) SWIG_fail
;
8736 Py_INCREF(Py_None
); resultobj
= Py_None
;
8743 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8744 PyObject
*resultobj
;
8745 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8746 PyObject
* obj0
= 0 ;
8748 (char *) "self", NULL
8751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
8752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8758 wxPyEndAllowThreads(__tstate
);
8759 if (PyErr_Occurred()) SWIG_fail
;
8761 Py_INCREF(Py_None
); resultobj
= Py_None
;
8768 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8771 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
8773 return Py_BuildValue((char *)"");
8775 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8776 PyObject
*resultobj
;
8777 wxWindow
*arg1
= (wxWindow
*) 0 ;
8778 int arg2
= (int) wxID_ANY
;
8779 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8780 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8781 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8782 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8783 long arg5
= (long) 0 ;
8784 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8785 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8786 wxPyVScrolledWindow
*result
;
8789 bool temp6
= False
;
8790 PyObject
* obj0
= 0 ;
8791 PyObject
* obj1
= 0 ;
8792 PyObject
* obj2
= 0 ;
8793 PyObject
* obj3
= 0 ;
8794 PyObject
* obj4
= 0 ;
8795 PyObject
* obj5
= 0 ;
8797 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8804 arg2
= (int) SWIG_AsInt(obj1
);
8805 if (PyErr_Occurred()) SWIG_fail
;
8810 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8816 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8820 arg5
= (long) SWIG_AsLong(obj4
);
8821 if (PyErr_Occurred()) SWIG_fail
;
8825 arg6
= wxString_in_helper(obj5
);
8826 if (arg6
== NULL
) SWIG_fail
;
8831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8832 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8834 wxPyEndAllowThreads(__tstate
);
8835 if (PyErr_Occurred()) SWIG_fail
;
8837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8852 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8853 PyObject
*resultobj
;
8854 wxPyVScrolledWindow
*result
;
8859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
8861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8862 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
8864 wxPyEndAllowThreads(__tstate
);
8865 if (PyErr_Occurred()) SWIG_fail
;
8867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8874 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8875 PyObject
*resultobj
;
8876 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8877 PyObject
*arg2
= (PyObject
*) 0 ;
8878 PyObject
*arg3
= (PyObject
*) 0 ;
8879 PyObject
* obj0
= 0 ;
8880 PyObject
* obj1
= 0 ;
8881 PyObject
* obj2
= 0 ;
8883 (char *) "self",(char *) "self",(char *) "_class", NULL
8886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8893 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8895 wxPyEndAllowThreads(__tstate
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8898 Py_INCREF(Py_None
); resultobj
= Py_None
;
8905 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8906 PyObject
*resultobj
;
8907 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8908 wxWindow
*arg2
= (wxWindow
*) 0 ;
8909 int arg3
= (int) wxID_ANY
;
8910 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8911 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8912 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8913 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8914 long arg6
= (long) 0 ;
8915 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
8916 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8920 bool temp7
= False
;
8921 PyObject
* obj0
= 0 ;
8922 PyObject
* obj1
= 0 ;
8923 PyObject
* obj2
= 0 ;
8924 PyObject
* obj3
= 0 ;
8925 PyObject
* obj4
= 0 ;
8926 PyObject
* obj5
= 0 ;
8927 PyObject
* obj6
= 0 ;
8929 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8935 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8938 arg3
= (int) SWIG_AsInt(obj2
);
8939 if (PyErr_Occurred()) SWIG_fail
;
8944 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8950 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8954 arg6
= (long) SWIG_AsLong(obj5
);
8955 if (PyErr_Occurred()) SWIG_fail
;
8959 arg7
= wxString_in_helper(obj6
);
8960 if (arg7
== NULL
) SWIG_fail
;
8965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8966 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8968 wxPyEndAllowThreads(__tstate
);
8969 if (PyErr_Occurred()) SWIG_fail
;
8972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8988 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8989 PyObject
*resultobj
;
8990 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8992 PyObject
* obj0
= 0 ;
8993 PyObject
* obj1
= 0 ;
8995 (char *) "self",(char *) "count", NULL
8998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9001 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9002 if (PyErr_Occurred()) SWIG_fail
;
9004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9005 (arg1
)->SetLineCount(arg2
);
9007 wxPyEndAllowThreads(__tstate
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9010 Py_INCREF(Py_None
); resultobj
= Py_None
;
9017 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9018 PyObject
*resultobj
;
9019 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9022 PyObject
* obj0
= 0 ;
9023 PyObject
* obj1
= 0 ;
9025 (char *) "self",(char *) "line", NULL
9028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9031 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9032 if (PyErr_Occurred()) SWIG_fail
;
9034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9035 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9037 wxPyEndAllowThreads(__tstate
);
9038 if (PyErr_Occurred()) SWIG_fail
;
9041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9049 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9050 PyObject
*resultobj
;
9051 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9054 PyObject
* obj0
= 0 ;
9055 PyObject
* obj1
= 0 ;
9057 (char *) "self",(char *) "lines", NULL
9060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9063 arg2
= (int) SWIG_AsInt(obj1
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9067 result
= (bool)(arg1
)->ScrollLines(arg2
);
9069 wxPyEndAllowThreads(__tstate
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9081 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9082 PyObject
*resultobj
;
9083 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9086 PyObject
* obj0
= 0 ;
9087 PyObject
* obj1
= 0 ;
9089 (char *) "self",(char *) "pages", NULL
9092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9095 arg2
= (int) SWIG_AsInt(obj1
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9099 result
= (bool)(arg1
)->ScrollPages(arg2
);
9101 wxPyEndAllowThreads(__tstate
);
9102 if (PyErr_Occurred()) SWIG_fail
;
9105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9113 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9114 PyObject
*resultobj
;
9115 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9117 PyObject
* obj0
= 0 ;
9118 PyObject
* obj1
= 0 ;
9120 (char *) "self",(char *) "line", NULL
9123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9126 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9127 if (PyErr_Occurred()) SWIG_fail
;
9129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9130 (arg1
)->RefreshLine(arg2
);
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9135 Py_INCREF(Py_None
); resultobj
= Py_None
;
9142 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9143 PyObject
*resultobj
;
9144 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9147 PyObject
* obj0
= 0 ;
9148 PyObject
* obj1
= 0 ;
9149 PyObject
* obj2
= 0 ;
9151 (char *) "self",(char *) "from",(char *) "to", NULL
9154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9157 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9158 if (PyErr_Occurred()) SWIG_fail
;
9159 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9160 if (PyErr_Occurred()) SWIG_fail
;
9162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9163 (arg1
)->RefreshLines(arg2
,arg3
);
9165 wxPyEndAllowThreads(__tstate
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9168 Py_INCREF(Py_None
); resultobj
= Py_None
;
9175 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9176 PyObject
*resultobj
;
9177 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9181 PyObject
* obj0
= 0 ;
9182 PyObject
* obj1
= 0 ;
9183 PyObject
* obj2
= 0 ;
9185 (char *) "self",(char *) "x",(char *) "y", NULL
9188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9191 arg2
= (int) SWIG_AsInt(obj1
);
9192 if (PyErr_Occurred()) SWIG_fail
;
9193 arg3
= (int) SWIG_AsInt(obj2
);
9194 if (PyErr_Occurred()) SWIG_fail
;
9196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9197 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9199 wxPyEndAllowThreads(__tstate
);
9200 if (PyErr_Occurred()) SWIG_fail
;
9202 resultobj
= SWIG_FromInt((int)result
);
9209 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9210 PyObject
*resultobj
;
9211 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9215 PyObject
* obj0
= 0 ;
9216 PyObject
* obj1
= 0 ;
9218 (char *) "self",(char *) "pt", NULL
9221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9226 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9230 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9232 wxPyEndAllowThreads(__tstate
);
9233 if (PyErr_Occurred()) SWIG_fail
;
9235 resultobj
= SWIG_FromInt((int)result
);
9242 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9243 PyObject
*resultobj
;
9244 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9245 PyObject
* obj0
= 0 ;
9247 (char *) "self", NULL
9250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9255 (arg1
)->RefreshAll();
9257 wxPyEndAllowThreads(__tstate
);
9258 if (PyErr_Occurred()) SWIG_fail
;
9260 Py_INCREF(Py_None
); resultobj
= Py_None
;
9267 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9268 PyObject
*resultobj
;
9269 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9271 PyObject
* obj0
= 0 ;
9273 (char *) "self", NULL
9276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9281 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9283 wxPyEndAllowThreads(__tstate
);
9284 if (PyErr_Occurred()) SWIG_fail
;
9286 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9293 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9294 PyObject
*resultobj
;
9295 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9297 PyObject
* obj0
= 0 ;
9299 (char *) "self", NULL
9302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9307 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9309 wxPyEndAllowThreads(__tstate
);
9310 if (PyErr_Occurred()) SWIG_fail
;
9312 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9319 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9320 PyObject
*resultobj
;
9321 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9323 PyObject
* obj0
= 0 ;
9325 (char *) "self", NULL
9328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9333 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9335 wxPyEndAllowThreads(__tstate
);
9336 if (PyErr_Occurred()) SWIG_fail
;
9338 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9345 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9346 PyObject
*resultobj
;
9347 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9350 PyObject
* obj0
= 0 ;
9351 PyObject
* obj1
= 0 ;
9353 (char *) "self",(char *) "line", NULL
9356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9359 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9360 if (PyErr_Occurred()) SWIG_fail
;
9362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9363 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9365 wxPyEndAllowThreads(__tstate
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9377 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9379 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9380 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9382 return Py_BuildValue((char *)"");
9384 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9385 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9390 static PyObject
*_wrap_VListBoxNameStr_get() {
9395 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9397 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9404 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9405 PyObject
*resultobj
;
9406 wxWindow
*arg1
= (wxWindow
*) 0 ;
9407 int arg2
= (int) wxID_ANY
;
9408 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9409 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9410 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9411 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9412 long arg5
= (long) 0 ;
9413 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9414 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9415 wxPyVListBox
*result
;
9418 bool temp6
= False
;
9419 PyObject
* obj0
= 0 ;
9420 PyObject
* obj1
= 0 ;
9421 PyObject
* obj2
= 0 ;
9422 PyObject
* obj3
= 0 ;
9423 PyObject
* obj4
= 0 ;
9424 PyObject
* obj5
= 0 ;
9426 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9433 arg2
= (int) SWIG_AsInt(obj1
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9439 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9445 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9449 arg5
= (long) SWIG_AsLong(obj4
);
9450 if (PyErr_Occurred()) SWIG_fail
;
9454 arg6
= wxString_in_helper(obj5
);
9455 if (arg6
== NULL
) SWIG_fail
;
9460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9461 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9463 wxPyEndAllowThreads(__tstate
);
9464 if (PyErr_Occurred()) SWIG_fail
;
9466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9481 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9482 PyObject
*resultobj
;
9483 wxPyVListBox
*result
;
9488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9491 result
= (wxPyVListBox
*)new wxPyVListBox();
9493 wxPyEndAllowThreads(__tstate
);
9494 if (PyErr_Occurred()) SWIG_fail
;
9496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9503 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9504 PyObject
*resultobj
;
9505 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9506 PyObject
*arg2
= (PyObject
*) 0 ;
9507 PyObject
*arg3
= (PyObject
*) 0 ;
9508 PyObject
* obj0
= 0 ;
9509 PyObject
* obj1
= 0 ;
9510 PyObject
* obj2
= 0 ;
9512 (char *) "self",(char *) "self",(char *) "_class", NULL
9515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9522 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9524 wxPyEndAllowThreads(__tstate
);
9525 if (PyErr_Occurred()) SWIG_fail
;
9527 Py_INCREF(Py_None
); resultobj
= Py_None
;
9534 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9535 PyObject
*resultobj
;
9536 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9537 wxWindow
*arg2
= (wxWindow
*) 0 ;
9538 int arg3
= (int) wxID_ANY
;
9539 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9540 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9541 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9542 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9543 long arg6
= (long) 0 ;
9544 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9545 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9549 bool temp7
= False
;
9550 PyObject
* obj0
= 0 ;
9551 PyObject
* obj1
= 0 ;
9552 PyObject
* obj2
= 0 ;
9553 PyObject
* obj3
= 0 ;
9554 PyObject
* obj4
= 0 ;
9555 PyObject
* obj5
= 0 ;
9556 PyObject
* obj6
= 0 ;
9558 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9567 arg3
= (int) SWIG_AsInt(obj2
);
9568 if (PyErr_Occurred()) SWIG_fail
;
9573 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9579 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9583 arg6
= (long) SWIG_AsLong(obj5
);
9584 if (PyErr_Occurred()) SWIG_fail
;
9588 arg7
= wxString_in_helper(obj6
);
9589 if (arg7
== NULL
) SWIG_fail
;
9594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9595 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9597 wxPyEndAllowThreads(__tstate
);
9598 if (PyErr_Occurred()) SWIG_fail
;
9601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9617 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9618 PyObject
*resultobj
;
9619 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9621 PyObject
* obj0
= 0 ;
9623 (char *) "self", NULL
9626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9631 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9633 wxPyEndAllowThreads(__tstate
);
9634 if (PyErr_Occurred()) SWIG_fail
;
9636 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9643 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9644 PyObject
*resultobj
;
9645 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9647 PyObject
* obj0
= 0 ;
9649 (char *) "self", NULL
9652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9671 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9672 PyObject
*resultobj
;
9673 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9675 PyObject
* obj0
= 0 ;
9677 (char *) "self", NULL
9680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9685 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9687 wxPyEndAllowThreads(__tstate
);
9688 if (PyErr_Occurred()) SWIG_fail
;
9690 resultobj
= SWIG_FromInt((int)result
);
9697 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9698 PyObject
*resultobj
;
9699 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9702 PyObject
* obj0
= 0 ;
9703 PyObject
* obj1
= 0 ;
9705 (char *) "self",(char *) "item", NULL
9708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9711 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9712 if (PyErr_Occurred()) SWIG_fail
;
9714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9715 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9717 wxPyEndAllowThreads(__tstate
);
9718 if (PyErr_Occurred()) SWIG_fail
;
9721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9729 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9730 PyObject
*resultobj
;
9731 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9734 PyObject
* obj0
= 0 ;
9735 PyObject
* obj1
= 0 ;
9737 (char *) "self",(char *) "item", NULL
9740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9743 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9744 if (PyErr_Occurred()) SWIG_fail
;
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
9749 wxPyEndAllowThreads(__tstate
);
9750 if (PyErr_Occurred()) SWIG_fail
;
9753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9761 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9762 PyObject
*resultobj
;
9763 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9765 PyObject
* obj0
= 0 ;
9767 (char *) "self", NULL
9770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
9771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9775 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
9777 wxPyEndAllowThreads(__tstate
);
9778 if (PyErr_Occurred()) SWIG_fail
;
9780 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9787 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9788 PyObject
*resultobj
;
9789 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9790 unsigned long *arg2
= 0 ;
9792 PyObject
* obj0
= 0 ;
9793 PyObject
* obj1
= 0 ;
9795 (char *) "self",(char *) "cookie", NULL
9798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9801 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9802 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9805 PyErr_SetString(PyExc_TypeError
,"null reference");
9809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9810 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
9812 wxPyEndAllowThreads(__tstate
);
9813 if (PyErr_Occurred()) SWIG_fail
;
9815 resultobj
= SWIG_FromInt((int)result
);
9822 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9823 PyObject
*resultobj
;
9824 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9825 unsigned long *arg2
= 0 ;
9827 PyObject
* obj0
= 0 ;
9828 PyObject
* obj1
= 0 ;
9830 (char *) "self",(char *) "cookie", NULL
9833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9837 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9840 PyErr_SetString(PyExc_TypeError
,"null reference");
9844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9845 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
9847 wxPyEndAllowThreads(__tstate
);
9848 if (PyErr_Occurred()) SWIG_fail
;
9850 resultobj
= SWIG_FromInt((int)result
);
9857 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9858 PyObject
*resultobj
;
9859 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9861 PyObject
* obj0
= 0 ;
9863 (char *) "self", NULL
9866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
9867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9871 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
9873 wxPyEndAllowThreads(__tstate
);
9874 if (PyErr_Occurred()) SWIG_fail
;
9877 wxPoint
* resultptr
;
9878 resultptr
= new wxPoint((wxPoint
&) result
);
9879 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9887 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9888 PyObject
*resultobj
;
9889 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9891 PyObject
* obj0
= 0 ;
9893 (char *) "self", NULL
9896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
9897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9902 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
9903 result
= (wxColour
*) &_result_ref
;
9906 wxPyEndAllowThreads(__tstate
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9916 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9917 PyObject
*resultobj
;
9918 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9920 PyObject
* obj0
= 0 ;
9921 PyObject
* obj1
= 0 ;
9923 (char *) "self",(char *) "count", NULL
9926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9929 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9930 if (PyErr_Occurred()) SWIG_fail
;
9932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9933 (arg1
)->SetItemCount(arg2
);
9935 wxPyEndAllowThreads(__tstate
);
9936 if (PyErr_Occurred()) SWIG_fail
;
9938 Py_INCREF(Py_None
); resultobj
= Py_None
;
9945 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9946 PyObject
*resultobj
;
9947 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9948 PyObject
* obj0
= 0 ;
9950 (char *) "self", NULL
9953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
9954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9960 wxPyEndAllowThreads(__tstate
);
9961 if (PyErr_Occurred()) SWIG_fail
;
9963 Py_INCREF(Py_None
); resultobj
= Py_None
;
9970 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9971 PyObject
*resultobj
;
9972 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9974 PyObject
* obj0
= 0 ;
9975 PyObject
* obj1
= 0 ;
9977 (char *) "self",(char *) "selection", NULL
9980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9983 arg2
= (int) SWIG_AsInt(obj1
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9987 (arg1
)->SetSelection(arg2
);
9989 wxPyEndAllowThreads(__tstate
);
9990 if (PyErr_Occurred()) SWIG_fail
;
9992 Py_INCREF(Py_None
); resultobj
= Py_None
;
9999 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10000 PyObject
*resultobj
;
10001 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10003 bool arg3
= (bool) True
;
10005 PyObject
* obj0
= 0 ;
10006 PyObject
* obj1
= 0 ;
10007 PyObject
* obj2
= 0 ;
10008 char *kwnames
[] = {
10009 (char *) "self",(char *) "item",(char *) "select", NULL
10012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10015 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10016 if (PyErr_Occurred()) SWIG_fail
;
10018 arg3
= (bool) SWIG_AsBool(obj2
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10023 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10025 wxPyEndAllowThreads(__tstate
);
10026 if (PyErr_Occurred()) SWIG_fail
;
10029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10037 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10038 PyObject
*resultobj
;
10039 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10043 PyObject
* obj0
= 0 ;
10044 PyObject
* obj1
= 0 ;
10045 PyObject
* obj2
= 0 ;
10046 char *kwnames
[] = {
10047 (char *) "self",(char *) "from",(char *) "to", NULL
10050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10053 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10054 if (PyErr_Occurred()) SWIG_fail
;
10055 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10056 if (PyErr_Occurred()) SWIG_fail
;
10058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10059 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10061 wxPyEndAllowThreads(__tstate
);
10062 if (PyErr_Occurred()) SWIG_fail
;
10065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10073 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10074 PyObject
*resultobj
;
10075 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10077 PyObject
* obj0
= 0 ;
10078 PyObject
* obj1
= 0 ;
10079 char *kwnames
[] = {
10080 (char *) "self",(char *) "item", NULL
10083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10086 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10087 if (PyErr_Occurred()) SWIG_fail
;
10089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10090 (arg1
)->Toggle(arg2
);
10092 wxPyEndAllowThreads(__tstate
);
10093 if (PyErr_Occurred()) SWIG_fail
;
10095 Py_INCREF(Py_None
); resultobj
= Py_None
;
10102 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10103 PyObject
*resultobj
;
10104 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10106 PyObject
* obj0
= 0 ;
10107 char *kwnames
[] = {
10108 (char *) "self", NULL
10111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10116 result
= (bool)(arg1
)->SelectAll();
10118 wxPyEndAllowThreads(__tstate
);
10119 if (PyErr_Occurred()) SWIG_fail
;
10122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10130 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10131 PyObject
*resultobj
;
10132 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10134 PyObject
* obj0
= 0 ;
10135 char *kwnames
[] = {
10136 (char *) "self", NULL
10139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10144 result
= (bool)(arg1
)->DeselectAll();
10146 wxPyEndAllowThreads(__tstate
);
10147 if (PyErr_Occurred()) SWIG_fail
;
10150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10158 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10159 PyObject
*resultobj
;
10160 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10161 wxPoint
*arg2
= 0 ;
10163 PyObject
* obj0
= 0 ;
10164 PyObject
* obj1
= 0 ;
10165 char *kwnames
[] = {
10166 (char *) "self",(char *) "pt", NULL
10169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10174 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10178 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10180 wxPyEndAllowThreads(__tstate
);
10181 if (PyErr_Occurred()) SWIG_fail
;
10183 Py_INCREF(Py_None
); resultobj
= Py_None
;
10190 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10191 PyObject
*resultobj
;
10192 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10195 PyObject
* obj0
= 0 ;
10196 PyObject
* obj1
= 0 ;
10197 PyObject
* obj2
= 0 ;
10198 char *kwnames
[] = {
10199 (char *) "self",(char *) "x",(char *) "y", NULL
10202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10205 arg2
= (int) SWIG_AsInt(obj1
);
10206 if (PyErr_Occurred()) SWIG_fail
;
10207 arg3
= (int) SWIG_AsInt(obj2
);
10208 if (PyErr_Occurred()) SWIG_fail
;
10210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10211 (arg1
)->SetMargins(arg2
,arg3
);
10213 wxPyEndAllowThreads(__tstate
);
10214 if (PyErr_Occurred()) SWIG_fail
;
10216 Py_INCREF(Py_None
); resultobj
= Py_None
;
10223 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10224 PyObject
*resultobj
;
10225 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10226 wxColour
*arg2
= 0 ;
10228 PyObject
* obj0
= 0 ;
10229 PyObject
* obj1
= 0 ;
10230 char *kwnames
[] = {
10231 (char *) "self",(char *) "col", NULL
10234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10239 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10243 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10245 wxPyEndAllowThreads(__tstate
);
10246 if (PyErr_Occurred()) SWIG_fail
;
10248 Py_INCREF(Py_None
); resultobj
= Py_None
;
10255 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10258 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10260 return Py_BuildValue((char *)"");
10262 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10263 PyObject
*resultobj
;
10264 wxWindow
*arg1
= (wxWindow
*) 0 ;
10265 int arg2
= (int) wxID_ANY
;
10266 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10267 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10268 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10269 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10270 long arg5
= (long) 0 ;
10271 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10272 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10273 wxPyHtmlListBox
*result
;
10276 bool temp6
= False
;
10277 PyObject
* obj0
= 0 ;
10278 PyObject
* obj1
= 0 ;
10279 PyObject
* obj2
= 0 ;
10280 PyObject
* obj3
= 0 ;
10281 PyObject
* obj4
= 0 ;
10282 PyObject
* obj5
= 0 ;
10283 char *kwnames
[] = {
10284 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10291 arg2
= (int) SWIG_AsInt(obj1
);
10292 if (PyErr_Occurred()) SWIG_fail
;
10297 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10303 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10307 arg5
= (long) SWIG_AsLong(obj4
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10312 arg6
= wxString_in_helper(obj5
);
10313 if (arg6
== NULL
) SWIG_fail
;
10318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10319 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10321 wxPyEndAllowThreads(__tstate
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10339 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10340 PyObject
*resultobj
;
10341 wxPyHtmlListBox
*result
;
10342 char *kwnames
[] = {
10346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10349 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10351 wxPyEndAllowThreads(__tstate
);
10352 if (PyErr_Occurred()) SWIG_fail
;
10354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10361 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10362 PyObject
*resultobj
;
10363 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10364 PyObject
*arg2
= (PyObject
*) 0 ;
10365 PyObject
*arg3
= (PyObject
*) 0 ;
10366 PyObject
* obj0
= 0 ;
10367 PyObject
* obj1
= 0 ;
10368 PyObject
* obj2
= 0 ;
10369 char *kwnames
[] = {
10370 (char *) "self",(char *) "self",(char *) "_class", NULL
10373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10380 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10382 wxPyEndAllowThreads(__tstate
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10385 Py_INCREF(Py_None
); resultobj
= Py_None
;
10392 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10393 PyObject
*resultobj
;
10394 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10395 wxWindow
*arg2
= (wxWindow
*) 0 ;
10396 int arg3
= (int) wxID_ANY
;
10397 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10398 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10399 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10400 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10401 long arg6
= (long) 0 ;
10402 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10403 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10407 bool temp7
= False
;
10408 PyObject
* obj0
= 0 ;
10409 PyObject
* obj1
= 0 ;
10410 PyObject
* obj2
= 0 ;
10411 PyObject
* obj3
= 0 ;
10412 PyObject
* obj4
= 0 ;
10413 PyObject
* obj5
= 0 ;
10414 PyObject
* obj6
= 0 ;
10415 char *kwnames
[] = {
10416 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10422 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10425 arg3
= (int) SWIG_AsInt(obj2
);
10426 if (PyErr_Occurred()) SWIG_fail
;
10431 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10437 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10441 arg6
= (long) SWIG_AsLong(obj5
);
10442 if (PyErr_Occurred()) SWIG_fail
;
10446 arg7
= wxString_in_helper(obj6
);
10447 if (arg7
== NULL
) SWIG_fail
;
10452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10453 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10455 wxPyEndAllowThreads(__tstate
);
10456 if (PyErr_Occurred()) SWIG_fail
;
10459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10475 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10476 PyObject
*resultobj
;
10477 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10478 PyObject
* obj0
= 0 ;
10479 char *kwnames
[] = {
10480 (char *) "self", NULL
10483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10488 (arg1
)->RefreshAll();
10490 wxPyEndAllowThreads(__tstate
);
10491 if (PyErr_Occurred()) SWIG_fail
;
10493 Py_INCREF(Py_None
); resultobj
= Py_None
;
10500 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10501 PyObject
*resultobj
;
10502 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10504 PyObject
* obj0
= 0 ;
10505 PyObject
* obj1
= 0 ;
10506 char *kwnames
[] = {
10507 (char *) "self",(char *) "count", NULL
10510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10513 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10517 (arg1
)->SetItemCount(arg2
);
10519 wxPyEndAllowThreads(__tstate
);
10520 if (PyErr_Occurred()) SWIG_fail
;
10522 Py_INCREF(Py_None
); resultobj
= Py_None
;
10529 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10532 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10534 return Py_BuildValue((char *)"");
10536 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10537 PyObject
*resultobj
;
10538 wxTaskBarIcon
*result
;
10539 char *kwnames
[] = {
10543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10558 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10559 PyObject
*resultobj
;
10560 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10561 PyObject
* obj0
= 0 ;
10562 char *kwnames
[] = {
10563 (char *) "self", NULL
10566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10573 wxPyEndAllowThreads(__tstate
);
10574 if (PyErr_Occurred()) SWIG_fail
;
10576 Py_INCREF(Py_None
); resultobj
= Py_None
;
10583 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10584 PyObject
*resultobj
;
10585 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10587 PyObject
* obj0
= 0 ;
10588 char *kwnames
[] = {
10589 (char *) "self", NULL
10592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
10593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10597 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
10599 wxPyEndAllowThreads(__tstate
);
10600 if (PyErr_Occurred()) SWIG_fail
;
10603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10611 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10612 PyObject
*resultobj
;
10613 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10615 PyObject
* obj0
= 0 ;
10616 char *kwnames
[] = {
10617 (char *) "self", NULL
10620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
10621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10625 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
10627 wxPyEndAllowThreads(__tstate
);
10628 if (PyErr_Occurred()) SWIG_fail
;
10631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10639 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10640 PyObject
*resultobj
;
10641 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10643 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10644 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10646 bool temp3
= False
;
10647 PyObject
* obj0
= 0 ;
10648 PyObject
* obj1
= 0 ;
10649 PyObject
* obj2
= 0 ;
10650 char *kwnames
[] = {
10651 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
10658 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10660 if (arg2
== NULL
) {
10661 PyErr_SetString(PyExc_TypeError
,"null reference");
10666 arg3
= wxString_in_helper(obj2
);
10667 if (arg3
== NULL
) SWIG_fail
;
10672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10673 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
10675 wxPyEndAllowThreads(__tstate
);
10676 if (PyErr_Occurred()) SWIG_fail
;
10679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10695 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10696 PyObject
*resultobj
;
10697 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10699 PyObject
* obj0
= 0 ;
10700 char *kwnames
[] = {
10701 (char *) "self", NULL
10704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
10705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10709 result
= (bool)(arg1
)->RemoveIcon();
10711 wxPyEndAllowThreads(__tstate
);
10712 if (PyErr_Occurred()) SWIG_fail
;
10715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10723 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10724 PyObject
*resultobj
;
10725 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10726 wxMenu
*arg2
= (wxMenu
*) 0 ;
10728 PyObject
* obj0
= 0 ;
10729 PyObject
* obj1
= 0 ;
10730 char *kwnames
[] = {
10731 (char *) "self",(char *) "menu", NULL
10734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
10735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
10738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10741 result
= (bool)(arg1
)->PopupMenu(arg2
);
10743 wxPyEndAllowThreads(__tstate
);
10744 if (PyErr_Occurred()) SWIG_fail
;
10747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10755 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
10757 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10758 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
10760 return Py_BuildValue((char *)"");
10762 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10763 PyObject
*resultobj
;
10765 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
10766 wxTaskBarIconEvent
*result
;
10767 PyObject
* obj0
= 0 ;
10768 PyObject
* obj1
= 0 ;
10769 char *kwnames
[] = {
10770 (char *) "evtType",(char *) "tbIcon", NULL
10773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10774 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10776 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
10777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10780 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
10782 wxPyEndAllowThreads(__tstate
);
10783 if (PyErr_Occurred()) SWIG_fail
;
10785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
10792 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10795 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
10797 return Py_BuildValue((char *)"");
10799 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
10800 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
10805 static PyObject
*_wrap_FileSelectorPromptStr_get() {
10810 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10812 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10819 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
10820 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
10825 static PyObject
*_wrap_DirSelectorPromptStr_get() {
10830 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10832 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10839 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
10840 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
10845 static PyObject
*_wrap_DirDialogNameStr_get() {
10850 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10852 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10859 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
10860 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
10865 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
10870 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10872 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10879 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
10880 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
10885 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
10890 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10892 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10899 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
10900 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
10905 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
10910 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10912 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10919 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10920 PyObject
*resultobj
;
10921 wxColourData
*result
;
10922 char *kwnames
[] = {
10926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
10928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10929 result
= (wxColourData
*)new wxColourData();
10931 wxPyEndAllowThreads(__tstate
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
10941 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10942 PyObject
*resultobj
;
10943 wxColourData
*arg1
= (wxColourData
*) 0 ;
10944 PyObject
* obj0
= 0 ;
10945 char *kwnames
[] = {
10946 (char *) "self", NULL
10949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
10950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10956 wxPyEndAllowThreads(__tstate
);
10957 if (PyErr_Occurred()) SWIG_fail
;
10959 Py_INCREF(Py_None
); resultobj
= Py_None
;
10966 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10967 PyObject
*resultobj
;
10968 wxColourData
*arg1
= (wxColourData
*) 0 ;
10970 PyObject
* obj0
= 0 ;
10971 char *kwnames
[] = {
10972 (char *) "self", NULL
10975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
10976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10980 result
= (bool)(arg1
)->GetChooseFull();
10982 wxPyEndAllowThreads(__tstate
);
10983 if (PyErr_Occurred()) SWIG_fail
;
10986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10994 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10995 PyObject
*resultobj
;
10996 wxColourData
*arg1
= (wxColourData
*) 0 ;
10998 PyObject
* obj0
= 0 ;
10999 char *kwnames
[] = {
11000 (char *) "self", NULL
11003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11008 result
= (arg1
)->GetColour();
11010 wxPyEndAllowThreads(__tstate
);
11011 if (PyErr_Occurred()) SWIG_fail
;
11014 wxColour
* resultptr
;
11015 resultptr
= new wxColour((wxColour
&) result
);
11016 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11024 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11025 PyObject
*resultobj
;
11026 wxColourData
*arg1
= (wxColourData
*) 0 ;
11029 PyObject
* obj0
= 0 ;
11030 PyObject
* obj1
= 0 ;
11031 char *kwnames
[] = {
11032 (char *) "self",(char *) "i", NULL
11035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11038 arg2
= (int) SWIG_AsInt(obj1
);
11039 if (PyErr_Occurred()) SWIG_fail
;
11041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11042 result
= (arg1
)->GetCustomColour(arg2
);
11044 wxPyEndAllowThreads(__tstate
);
11045 if (PyErr_Occurred()) SWIG_fail
;
11048 wxColour
* resultptr
;
11049 resultptr
= new wxColour((wxColour
&) result
);
11050 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11058 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11059 PyObject
*resultobj
;
11060 wxColourData
*arg1
= (wxColourData
*) 0 ;
11062 PyObject
* obj0
= 0 ;
11063 PyObject
* obj1
= 0 ;
11064 char *kwnames
[] = {
11065 (char *) "self",(char *) "flag", NULL
11068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11071 arg2
= (int) SWIG_AsInt(obj1
);
11072 if (PyErr_Occurred()) SWIG_fail
;
11074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11075 (arg1
)->SetChooseFull(arg2
);
11077 wxPyEndAllowThreads(__tstate
);
11078 if (PyErr_Occurred()) SWIG_fail
;
11080 Py_INCREF(Py_None
); resultobj
= Py_None
;
11087 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11088 PyObject
*resultobj
;
11089 wxColourData
*arg1
= (wxColourData
*) 0 ;
11090 wxColour
*arg2
= 0 ;
11092 PyObject
* obj0
= 0 ;
11093 PyObject
* obj1
= 0 ;
11094 char *kwnames
[] = {
11095 (char *) "self",(char *) "colour", NULL
11098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11103 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11107 (arg1
)->SetColour((wxColour
const &)*arg2
);
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11112 Py_INCREF(Py_None
); resultobj
= Py_None
;
11119 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11120 PyObject
*resultobj
;
11121 wxColourData
*arg1
= (wxColourData
*) 0 ;
11123 wxColour
*arg3
= 0 ;
11125 PyObject
* obj0
= 0 ;
11126 PyObject
* obj1
= 0 ;
11127 PyObject
* obj2
= 0 ;
11128 char *kwnames
[] = {
11129 (char *) "self",(char *) "i",(char *) "colour", NULL
11132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11135 arg2
= (int) SWIG_AsInt(obj1
);
11136 if (PyErr_Occurred()) SWIG_fail
;
11139 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11143 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11145 wxPyEndAllowThreads(__tstate
);
11146 if (PyErr_Occurred()) SWIG_fail
;
11148 Py_INCREF(Py_None
); resultobj
= Py_None
;
11155 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
11157 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11158 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11160 return Py_BuildValue((char *)"");
11162 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11163 PyObject
*resultobj
;
11164 wxWindow
*arg1
= (wxWindow
*) 0 ;
11165 wxColourData
*arg2
= (wxColourData
*) NULL
;
11166 wxColourDialog
*result
;
11167 PyObject
* obj0
= 0 ;
11168 PyObject
* obj1
= 0 ;
11169 char *kwnames
[] = {
11170 (char *) "parent",(char *) "data", NULL
11173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11177 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11182 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11184 wxPyEndAllowThreads(__tstate
);
11185 if (PyErr_Occurred()) SWIG_fail
;
11187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11194 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11195 PyObject
*resultobj
;
11196 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11197 wxColourData
*result
;
11198 PyObject
* obj0
= 0 ;
11199 char *kwnames
[] = {
11200 (char *) "self", NULL
11203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11209 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11210 result
= (wxColourData
*) &_result_ref
;
11213 wxPyEndAllowThreads(__tstate
);
11214 if (PyErr_Occurred()) SWIG_fail
;
11216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11223 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11226 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11228 return Py_BuildValue((char *)"");
11230 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11231 PyObject
*resultobj
;
11232 wxWindow
*arg1
= (wxWindow
*) 0 ;
11233 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11234 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11235 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11236 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11237 long arg4
= (long) 0 ;
11238 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11239 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11240 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11241 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11242 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11243 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11244 wxDirDialog
*result
;
11245 bool temp2
= False
;
11246 bool temp3
= False
;
11249 bool temp7
= False
;
11250 PyObject
* obj0
= 0 ;
11251 PyObject
* obj1
= 0 ;
11252 PyObject
* obj2
= 0 ;
11253 PyObject
* obj3
= 0 ;
11254 PyObject
* obj4
= 0 ;
11255 PyObject
* obj5
= 0 ;
11256 PyObject
* obj6
= 0 ;
11257 char *kwnames
[] = {
11258 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11266 arg2
= wxString_in_helper(obj1
);
11267 if (arg2
== NULL
) SWIG_fail
;
11273 arg3
= wxString_in_helper(obj2
);
11274 if (arg3
== NULL
) SWIG_fail
;
11279 arg4
= (long) SWIG_AsLong(obj3
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11285 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11291 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11296 arg7
= wxString_in_helper(obj6
);
11297 if (arg7
== NULL
) SWIG_fail
;
11302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11303 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11305 wxPyEndAllowThreads(__tstate
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11339 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11340 PyObject
*resultobj
;
11341 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11343 PyObject
* obj0
= 0 ;
11344 char *kwnames
[] = {
11345 (char *) "self", NULL
11348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11353 result
= (arg1
)->GetPath();
11355 wxPyEndAllowThreads(__tstate
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11360 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11362 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11371 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11372 PyObject
*resultobj
;
11373 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11375 PyObject
* obj0
= 0 ;
11376 char *kwnames
[] = {
11377 (char *) "self", NULL
11380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11385 result
= (arg1
)->GetMessage();
11387 wxPyEndAllowThreads(__tstate
);
11388 if (PyErr_Occurred()) SWIG_fail
;
11392 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11394 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11403 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11404 PyObject
*resultobj
;
11405 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11407 PyObject
* obj0
= 0 ;
11408 char *kwnames
[] = {
11409 (char *) "self", NULL
11412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11417 result
= (long)(arg1
)->GetStyle();
11419 wxPyEndAllowThreads(__tstate
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11422 resultobj
= SWIG_FromLong((long)result
);
11429 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11430 PyObject
*resultobj
;
11431 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11432 wxString
*arg2
= 0 ;
11433 bool temp2
= False
;
11434 PyObject
* obj0
= 0 ;
11435 PyObject
* obj1
= 0 ;
11436 char *kwnames
[] = {
11437 (char *) "self",(char *) "message", NULL
11440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11444 arg2
= wxString_in_helper(obj1
);
11445 if (arg2
== NULL
) SWIG_fail
;
11449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11450 (arg1
)->SetMessage((wxString
const &)*arg2
);
11452 wxPyEndAllowThreads(__tstate
);
11453 if (PyErr_Occurred()) SWIG_fail
;
11455 Py_INCREF(Py_None
); resultobj
= Py_None
;
11470 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11471 PyObject
*resultobj
;
11472 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11473 wxString
*arg2
= 0 ;
11474 bool temp2
= False
;
11475 PyObject
* obj0
= 0 ;
11476 PyObject
* obj1
= 0 ;
11477 char *kwnames
[] = {
11478 (char *) "self",(char *) "path", NULL
11481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11485 arg2
= wxString_in_helper(obj1
);
11486 if (arg2
== NULL
) SWIG_fail
;
11490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11491 (arg1
)->SetPath((wxString
const &)*arg2
);
11493 wxPyEndAllowThreads(__tstate
);
11494 if (PyErr_Occurred()) SWIG_fail
;
11496 Py_INCREF(Py_None
); resultobj
= Py_None
;
11511 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11514 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11516 return Py_BuildValue((char *)"");
11518 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11519 PyObject
*resultobj
;
11520 wxWindow
*arg1
= (wxWindow
*) 0 ;
11521 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11522 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11523 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11524 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11525 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11526 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11527 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11528 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11529 long arg6
= (long) 0 ;
11530 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11531 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11532 wxFileDialog
*result
;
11533 bool temp2
= False
;
11534 bool temp3
= False
;
11535 bool temp4
= False
;
11536 bool temp5
= False
;
11538 PyObject
* obj0
= 0 ;
11539 PyObject
* obj1
= 0 ;
11540 PyObject
* obj2
= 0 ;
11541 PyObject
* obj3
= 0 ;
11542 PyObject
* obj4
= 0 ;
11543 PyObject
* obj5
= 0 ;
11544 PyObject
* obj6
= 0 ;
11545 char *kwnames
[] = {
11546 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11554 arg2
= wxString_in_helper(obj1
);
11555 if (arg2
== NULL
) SWIG_fail
;
11561 arg3
= wxString_in_helper(obj2
);
11562 if (arg3
== NULL
) SWIG_fail
;
11568 arg4
= wxString_in_helper(obj3
);
11569 if (arg4
== NULL
) SWIG_fail
;
11575 arg5
= wxString_in_helper(obj4
);
11576 if (arg5
== NULL
) SWIG_fail
;
11581 arg6
= (long) SWIG_AsLong(obj5
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11587 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11592 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11594 wxPyEndAllowThreads(__tstate
);
11595 if (PyErr_Occurred()) SWIG_fail
;
11597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11636 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11637 PyObject
*resultobj
;
11638 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11639 wxString
*arg2
= 0 ;
11640 bool temp2
= False
;
11641 PyObject
* obj0
= 0 ;
11642 PyObject
* obj1
= 0 ;
11643 char *kwnames
[] = {
11644 (char *) "self",(char *) "message", NULL
11647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11651 arg2
= wxString_in_helper(obj1
);
11652 if (arg2
== NULL
) SWIG_fail
;
11656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11657 (arg1
)->SetMessage((wxString
const &)*arg2
);
11659 wxPyEndAllowThreads(__tstate
);
11660 if (PyErr_Occurred()) SWIG_fail
;
11662 Py_INCREF(Py_None
); resultobj
= Py_None
;
11677 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11678 PyObject
*resultobj
;
11679 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11680 wxString
*arg2
= 0 ;
11681 bool temp2
= False
;
11682 PyObject
* obj0
= 0 ;
11683 PyObject
* obj1
= 0 ;
11684 char *kwnames
[] = {
11685 (char *) "self",(char *) "path", NULL
11688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11692 arg2
= wxString_in_helper(obj1
);
11693 if (arg2
== NULL
) SWIG_fail
;
11697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11698 (arg1
)->SetPath((wxString
const &)*arg2
);
11700 wxPyEndAllowThreads(__tstate
);
11701 if (PyErr_Occurred()) SWIG_fail
;
11703 Py_INCREF(Py_None
); resultobj
= Py_None
;
11718 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11719 PyObject
*resultobj
;
11720 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11721 wxString
*arg2
= 0 ;
11722 bool temp2
= False
;
11723 PyObject
* obj0
= 0 ;
11724 PyObject
* obj1
= 0 ;
11725 char *kwnames
[] = {
11726 (char *) "self",(char *) "dir", NULL
11729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
11730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11733 arg2
= wxString_in_helper(obj1
);
11734 if (arg2
== NULL
) SWIG_fail
;
11738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11739 (arg1
)->SetDirectory((wxString
const &)*arg2
);
11741 wxPyEndAllowThreads(__tstate
);
11742 if (PyErr_Occurred()) SWIG_fail
;
11744 Py_INCREF(Py_None
); resultobj
= Py_None
;
11759 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11760 PyObject
*resultobj
;
11761 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11762 wxString
*arg2
= 0 ;
11763 bool temp2
= False
;
11764 PyObject
* obj0
= 0 ;
11765 PyObject
* obj1
= 0 ;
11766 char *kwnames
[] = {
11767 (char *) "self",(char *) "name", NULL
11770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11774 arg2
= wxString_in_helper(obj1
);
11775 if (arg2
== NULL
) SWIG_fail
;
11779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11780 (arg1
)->SetFilename((wxString
const &)*arg2
);
11782 wxPyEndAllowThreads(__tstate
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11785 Py_INCREF(Py_None
); resultobj
= Py_None
;
11800 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11801 PyObject
*resultobj
;
11802 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11803 wxString
*arg2
= 0 ;
11804 bool temp2
= False
;
11805 PyObject
* obj0
= 0 ;
11806 PyObject
* obj1
= 0 ;
11807 char *kwnames
[] = {
11808 (char *) "self",(char *) "wildCard", NULL
11811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
11812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11815 arg2
= wxString_in_helper(obj1
);
11816 if (arg2
== NULL
) SWIG_fail
;
11820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11821 (arg1
)->SetWildcard((wxString
const &)*arg2
);
11823 wxPyEndAllowThreads(__tstate
);
11824 if (PyErr_Occurred()) SWIG_fail
;
11826 Py_INCREF(Py_None
); resultobj
= Py_None
;
11841 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11842 PyObject
*resultobj
;
11843 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11845 PyObject
* obj0
= 0 ;
11846 PyObject
* obj1
= 0 ;
11847 char *kwnames
[] = {
11848 (char *) "self",(char *) "style", NULL
11851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11854 arg2
= (long) SWIG_AsLong(obj1
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11858 (arg1
)->SetStyle(arg2
);
11860 wxPyEndAllowThreads(__tstate
);
11861 if (PyErr_Occurred()) SWIG_fail
;
11863 Py_INCREF(Py_None
); resultobj
= Py_None
;
11870 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11871 PyObject
*resultobj
;
11872 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11874 PyObject
* obj0
= 0 ;
11875 PyObject
* obj1
= 0 ;
11876 char *kwnames
[] = {
11877 (char *) "self",(char *) "filterIndex", NULL
11880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
11881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11883 arg2
= (int) SWIG_AsInt(obj1
);
11884 if (PyErr_Occurred()) SWIG_fail
;
11886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11887 (arg1
)->SetFilterIndex(arg2
);
11889 wxPyEndAllowThreads(__tstate
);
11890 if (PyErr_Occurred()) SWIG_fail
;
11892 Py_INCREF(Py_None
); resultobj
= Py_None
;
11899 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11900 PyObject
*resultobj
;
11901 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11903 PyObject
* obj0
= 0 ;
11904 char *kwnames
[] = {
11905 (char *) "self", NULL
11908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11913 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
11915 wxPyEndAllowThreads(__tstate
);
11916 if (PyErr_Occurred()) SWIG_fail
;
11920 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11922 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11931 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11932 PyObject
*resultobj
;
11933 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11935 PyObject
* obj0
= 0 ;
11936 char *kwnames
[] = {
11937 (char *) "self", NULL
11940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11945 result
= ((wxFileDialog
const *)arg1
)->GetPath();
11947 wxPyEndAllowThreads(__tstate
);
11948 if (PyErr_Occurred()) SWIG_fail
;
11952 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11954 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11963 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11964 PyObject
*resultobj
;
11965 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11967 PyObject
* obj0
= 0 ;
11968 char *kwnames
[] = {
11969 (char *) "self", NULL
11972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
11973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11977 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
11979 wxPyEndAllowThreads(__tstate
);
11980 if (PyErr_Occurred()) SWIG_fail
;
11984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11995 static PyObject
*_wrap_FileDialog_GetFilename(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_GetFilename",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
= ((wxFileDialog
const *)arg1
)->GetFilename();
12011 wxPyEndAllowThreads(__tstate
);
12012 if (PyErr_Occurred()) SWIG_fail
;
12016 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12018 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12027 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12028 PyObject
*resultobj
;
12029 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12031 PyObject
* obj0
= 0 ;
12032 char *kwnames
[] = {
12033 (char *) "self", NULL
12036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12041 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12043 wxPyEndAllowThreads(__tstate
);
12044 if (PyErr_Occurred()) SWIG_fail
;
12048 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12050 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12059 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12060 PyObject
*resultobj
;
12061 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12063 PyObject
* obj0
= 0 ;
12064 char *kwnames
[] = {
12065 (char *) "self", NULL
12068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12073 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12075 wxPyEndAllowThreads(__tstate
);
12076 if (PyErr_Occurred()) SWIG_fail
;
12078 resultobj
= SWIG_FromLong((long)result
);
12085 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12086 PyObject
*resultobj
;
12087 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12089 PyObject
* obj0
= 0 ;
12090 char *kwnames
[] = {
12091 (char *) "self", NULL
12094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12099 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12101 wxPyEndAllowThreads(__tstate
);
12102 if (PyErr_Occurred()) SWIG_fail
;
12104 resultobj
= SWIG_FromInt((int)result
);
12111 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12112 PyObject
*resultobj
;
12113 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12115 PyObject
* obj0
= 0 ;
12116 char *kwnames
[] = {
12117 (char *) "self", NULL
12120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12125 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12127 wxPyEndAllowThreads(__tstate
);
12128 if (PyErr_Occurred()) SWIG_fail
;
12130 resultobj
= result
;
12137 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12138 PyObject
*resultobj
;
12139 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12141 PyObject
* obj0
= 0 ;
12142 char *kwnames
[] = {
12143 (char *) "self", NULL
12146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12151 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12153 wxPyEndAllowThreads(__tstate
);
12154 if (PyErr_Occurred()) SWIG_fail
;
12156 resultobj
= result
;
12163 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12165 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12166 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12168 return Py_BuildValue((char *)"");
12170 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12171 PyObject
*resultobj
;
12172 wxWindow
*arg1
= (wxWindow
*) 0 ;
12173 wxString
*arg2
= 0 ;
12174 wxString
*arg3
= 0 ;
12175 int arg4
= (int) 0 ;
12176 wxString
*arg5
= (wxString
*) 0 ;
12177 long arg6
= (long) wxCHOICEDLG_STYLE
;
12178 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12179 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12180 wxMultiChoiceDialog
*result
;
12181 bool temp2
= False
;
12182 bool temp3
= False
;
12184 PyObject
* obj0
= 0 ;
12185 PyObject
* obj1
= 0 ;
12186 PyObject
* obj2
= 0 ;
12187 PyObject
* obj3
= 0 ;
12188 PyObject
* obj4
= 0 ;
12189 PyObject
* obj5
= 0 ;
12190 char *kwnames
[] = {
12191 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12198 arg2
= wxString_in_helper(obj1
);
12199 if (arg2
== NULL
) SWIG_fail
;
12203 arg3
= wxString_in_helper(obj2
);
12204 if (arg3
== NULL
) SWIG_fail
;
12209 arg4
= PyList_Size(obj3
);
12210 arg5
= wxString_LIST_helper(obj3
);
12211 if (arg5
== NULL
) SWIG_fail
;
12215 arg6
= (long) SWIG_AsLong(obj4
);
12216 if (PyErr_Occurred()) SWIG_fail
;
12221 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12226 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12228 wxPyEndAllowThreads(__tstate
);
12229 if (PyErr_Occurred()) SWIG_fail
;
12231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12241 if (arg5
) delete [] arg5
;
12254 if (arg5
) delete [] arg5
;
12260 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12261 PyObject
*resultobj
;
12262 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12263 wxArrayInt
*arg2
= 0 ;
12264 bool temp2
= False
;
12265 PyObject
* obj0
= 0 ;
12266 PyObject
* obj1
= 0 ;
12267 char *kwnames
[] = {
12268 (char *) "self",(char *) "selections", NULL
12271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12275 if (! PySequence_Check(obj1
)) {
12276 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12279 arg2
= new wxArrayInt
;
12281 int i
, len
=PySequence_Length(obj1
);
12282 for (i
=0; i
<len
; i
++) {
12283 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12284 PyObject
* number
= PyNumber_Int(item
);
12285 arg2
->Add(PyInt_AS_LONG(number
));
12291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12292 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12294 wxPyEndAllowThreads(__tstate
);
12295 if (PyErr_Occurred()) SWIG_fail
;
12297 Py_INCREF(Py_None
); resultobj
= Py_None
;
12299 if (temp2
) delete arg2
;
12304 if (temp2
) delete arg2
;
12310 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12311 PyObject
*resultobj
;
12312 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12314 PyObject
* obj0
= 0 ;
12315 char *kwnames
[] = {
12316 (char *) "self", NULL
12319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12324 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12326 wxPyEndAllowThreads(__tstate
);
12327 if (PyErr_Occurred()) SWIG_fail
;
12329 resultobj
= result
;
12336 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12338 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12339 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12341 return Py_BuildValue((char *)"");
12343 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12344 PyObject
*resultobj
;
12345 wxWindow
*arg1
= (wxWindow
*) 0 ;
12346 wxString
*arg2
= 0 ;
12347 wxString
*arg3
= 0 ;
12349 wxString
*arg5
= (wxString
*) 0 ;
12350 long arg6
= (long) wxCHOICEDLG_STYLE
;
12351 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12352 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12353 wxSingleChoiceDialog
*result
;
12354 bool temp2
= False
;
12355 bool temp3
= False
;
12357 PyObject
* obj0
= 0 ;
12358 PyObject
* obj1
= 0 ;
12359 PyObject
* obj2
= 0 ;
12360 PyObject
* obj3
= 0 ;
12361 PyObject
* obj4
= 0 ;
12362 PyObject
* obj5
= 0 ;
12363 char *kwnames
[] = {
12364 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12371 arg2
= wxString_in_helper(obj1
);
12372 if (arg2
== NULL
) SWIG_fail
;
12376 arg3
= wxString_in_helper(obj2
);
12377 if (arg3
== NULL
) SWIG_fail
;
12381 arg4
= PyList_Size(obj3
);
12382 arg5
= wxString_LIST_helper(obj3
);
12383 if (arg5
== NULL
) SWIG_fail
;
12386 arg6
= (long) SWIG_AsLong(obj4
);
12387 if (PyErr_Occurred()) SWIG_fail
;
12392 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12397 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12399 wxPyEndAllowThreads(__tstate
);
12400 if (PyErr_Occurred()) SWIG_fail
;
12402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12412 if (arg5
) delete [] arg5
;
12425 if (arg5
) delete [] arg5
;
12431 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12432 PyObject
*resultobj
;
12433 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12435 PyObject
* obj0
= 0 ;
12436 char *kwnames
[] = {
12437 (char *) "self", NULL
12440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12445 result
= (int)(arg1
)->GetSelection();
12447 wxPyEndAllowThreads(__tstate
);
12448 if (PyErr_Occurred()) SWIG_fail
;
12450 resultobj
= SWIG_FromInt((int)result
);
12457 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12458 PyObject
*resultobj
;
12459 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12461 PyObject
* obj0
= 0 ;
12462 char *kwnames
[] = {
12463 (char *) "self", NULL
12466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12471 result
= (arg1
)->GetStringSelection();
12473 wxPyEndAllowThreads(__tstate
);
12474 if (PyErr_Occurred()) SWIG_fail
;
12478 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12480 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12489 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12490 PyObject
*resultobj
;
12491 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12493 PyObject
* obj0
= 0 ;
12494 PyObject
* obj1
= 0 ;
12495 char *kwnames
[] = {
12496 (char *) "self",(char *) "sel", NULL
12499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12502 arg2
= (int) SWIG_AsInt(obj1
);
12503 if (PyErr_Occurred()) SWIG_fail
;
12505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12506 (arg1
)->SetSelection(arg2
);
12508 wxPyEndAllowThreads(__tstate
);
12509 if (PyErr_Occurred()) SWIG_fail
;
12511 Py_INCREF(Py_None
); resultobj
= Py_None
;
12518 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12521 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12523 return Py_BuildValue((char *)"");
12525 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12526 PyObject
*resultobj
;
12527 wxWindow
*arg1
= (wxWindow
*) 0 ;
12528 wxString
*arg2
= 0 ;
12529 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12530 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12531 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12532 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12533 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12534 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12535 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12536 wxTextEntryDialog
*result
;
12537 bool temp2
= False
;
12538 bool temp3
= False
;
12539 bool temp4
= False
;
12541 PyObject
* obj0
= 0 ;
12542 PyObject
* obj1
= 0 ;
12543 PyObject
* obj2
= 0 ;
12544 PyObject
* obj3
= 0 ;
12545 PyObject
* obj4
= 0 ;
12546 PyObject
* obj5
= 0 ;
12547 char *kwnames
[] = {
12548 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12555 arg2
= wxString_in_helper(obj1
);
12556 if (arg2
== NULL
) SWIG_fail
;
12561 arg3
= wxString_in_helper(obj2
);
12562 if (arg3
== NULL
) SWIG_fail
;
12568 arg4
= wxString_in_helper(obj3
);
12569 if (arg4
== NULL
) SWIG_fail
;
12574 arg5
= (long) SWIG_AsLong(obj4
);
12575 if (PyErr_Occurred()) SWIG_fail
;
12580 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12585 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12587 wxPyEndAllowThreads(__tstate
);
12588 if (PyErr_Occurred()) SWIG_fail
;
12590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12621 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12622 PyObject
*resultobj
;
12623 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12625 PyObject
* obj0
= 0 ;
12626 char *kwnames
[] = {
12627 (char *) "self", NULL
12630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12635 result
= (arg1
)->GetValue();
12637 wxPyEndAllowThreads(__tstate
);
12638 if (PyErr_Occurred()) SWIG_fail
;
12642 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12644 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12653 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12654 PyObject
*resultobj
;
12655 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12656 wxString
*arg2
= 0 ;
12657 bool temp2
= False
;
12658 PyObject
* obj0
= 0 ;
12659 PyObject
* obj1
= 0 ;
12660 char *kwnames
[] = {
12661 (char *) "self",(char *) "value", NULL
12664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12668 arg2
= wxString_in_helper(obj1
);
12669 if (arg2
== NULL
) SWIG_fail
;
12673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12674 (arg1
)->SetValue((wxString
const &)*arg2
);
12676 wxPyEndAllowThreads(__tstate
);
12677 if (PyErr_Occurred()) SWIG_fail
;
12679 Py_INCREF(Py_None
); resultobj
= Py_None
;
12694 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12696 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12697 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12699 return Py_BuildValue((char *)"");
12701 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12702 PyObject
*resultobj
;
12703 wxFontData
*result
;
12704 char *kwnames
[] = {
12708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
12710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12711 result
= (wxFontData
*)new wxFontData();
12713 wxPyEndAllowThreads(__tstate
);
12714 if (PyErr_Occurred()) SWIG_fail
;
12716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
12723 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12724 PyObject
*resultobj
;
12725 wxFontData
*arg1
= (wxFontData
*) 0 ;
12726 PyObject
* obj0
= 0 ;
12727 char *kwnames
[] = {
12728 (char *) "self", NULL
12731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
12732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12738 wxPyEndAllowThreads(__tstate
);
12739 if (PyErr_Occurred()) SWIG_fail
;
12741 Py_INCREF(Py_None
); resultobj
= Py_None
;
12748 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12749 PyObject
*resultobj
;
12750 wxFontData
*arg1
= (wxFontData
*) 0 ;
12752 PyObject
* obj0
= 0 ;
12753 PyObject
* obj1
= 0 ;
12754 char *kwnames
[] = {
12755 (char *) "self",(char *) "enable", NULL
12758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
12759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12761 arg2
= (bool) SWIG_AsBool(obj1
);
12762 if (PyErr_Occurred()) SWIG_fail
;
12764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12765 (arg1
)->EnableEffects(arg2
);
12767 wxPyEndAllowThreads(__tstate
);
12768 if (PyErr_Occurred()) SWIG_fail
;
12770 Py_INCREF(Py_None
); resultobj
= Py_None
;
12777 static PyObject
*_wrap_FontData_GetAllowSymbols(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_GetAllowSymbols",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
)->GetAllowSymbols();
12793 wxPyEndAllowThreads(__tstate
);
12794 if (PyErr_Occurred()) SWIG_fail
;
12797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12805 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12806 PyObject
*resultobj
;
12807 wxFontData
*arg1
= (wxFontData
*) 0 ;
12809 PyObject
* obj0
= 0 ;
12810 char *kwnames
[] = {
12811 (char *) "self", NULL
12814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
12815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12819 result
= (arg1
)->GetColour();
12821 wxPyEndAllowThreads(__tstate
);
12822 if (PyErr_Occurred()) SWIG_fail
;
12825 wxColour
* resultptr
;
12826 resultptr
= new wxColour((wxColour
&) result
);
12827 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12835 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12836 PyObject
*resultobj
;
12837 wxFontData
*arg1
= (wxFontData
*) 0 ;
12839 PyObject
* obj0
= 0 ;
12840 char *kwnames
[] = {
12841 (char *) "self", NULL
12844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
12845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12849 result
= (arg1
)->GetChosenFont();
12851 wxPyEndAllowThreads(__tstate
);
12852 if (PyErr_Occurred()) SWIG_fail
;
12855 wxFont
* resultptr
;
12856 resultptr
= new wxFont((wxFont
&) result
);
12857 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12865 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12866 PyObject
*resultobj
;
12867 wxFontData
*arg1
= (wxFontData
*) 0 ;
12869 PyObject
* obj0
= 0 ;
12870 char *kwnames
[] = {
12871 (char *) "self", NULL
12874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
12875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12879 result
= (bool)(arg1
)->GetEnableEffects();
12881 wxPyEndAllowThreads(__tstate
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12893 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12894 PyObject
*resultobj
;
12895 wxFontData
*arg1
= (wxFontData
*) 0 ;
12897 PyObject
* obj0
= 0 ;
12898 char *kwnames
[] = {
12899 (char *) "self", NULL
12902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
12903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12907 result
= (arg1
)->GetInitialFont();
12909 wxPyEndAllowThreads(__tstate
);
12910 if (PyErr_Occurred()) SWIG_fail
;
12913 wxFont
* resultptr
;
12914 resultptr
= new wxFont((wxFont
&) result
);
12915 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12923 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12924 PyObject
*resultobj
;
12925 wxFontData
*arg1
= (wxFontData
*) 0 ;
12927 PyObject
* obj0
= 0 ;
12928 char *kwnames
[] = {
12929 (char *) "self", NULL
12932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
12933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12937 result
= (bool)(arg1
)->GetShowHelp();
12939 wxPyEndAllowThreads(__tstate
);
12940 if (PyErr_Occurred()) SWIG_fail
;
12943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12951 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12952 PyObject
*resultobj
;
12953 wxFontData
*arg1
= (wxFontData
*) 0 ;
12955 PyObject
* obj0
= 0 ;
12956 PyObject
* obj1
= 0 ;
12957 char *kwnames
[] = {
12958 (char *) "self",(char *) "allowSymbols", NULL
12961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
12962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12964 arg2
= (bool) SWIG_AsBool(obj1
);
12965 if (PyErr_Occurred()) SWIG_fail
;
12967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12968 (arg1
)->SetAllowSymbols(arg2
);
12970 wxPyEndAllowThreads(__tstate
);
12971 if (PyErr_Occurred()) SWIG_fail
;
12973 Py_INCREF(Py_None
); resultobj
= Py_None
;
12980 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12981 PyObject
*resultobj
;
12982 wxFontData
*arg1
= (wxFontData
*) 0 ;
12984 PyObject
* obj0
= 0 ;
12985 PyObject
* obj1
= 0 ;
12986 char *kwnames
[] = {
12987 (char *) "self",(char *) "font", NULL
12990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12993 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12994 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12996 if (arg2
== NULL
) {
12997 PyErr_SetString(PyExc_TypeError
,"null reference");
13001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13002 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13004 wxPyEndAllowThreads(__tstate
);
13005 if (PyErr_Occurred()) SWIG_fail
;
13007 Py_INCREF(Py_None
); resultobj
= Py_None
;
13014 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13015 PyObject
*resultobj
;
13016 wxFontData
*arg1
= (wxFontData
*) 0 ;
13017 wxColour
*arg2
= 0 ;
13019 PyObject
* obj0
= 0 ;
13020 PyObject
* obj1
= 0 ;
13021 char *kwnames
[] = {
13022 (char *) "self",(char *) "colour", NULL
13025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13030 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13034 (arg1
)->SetColour((wxColour
const &)*arg2
);
13036 wxPyEndAllowThreads(__tstate
);
13037 if (PyErr_Occurred()) SWIG_fail
;
13039 Py_INCREF(Py_None
); resultobj
= Py_None
;
13046 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13047 PyObject
*resultobj
;
13048 wxFontData
*arg1
= (wxFontData
*) 0 ;
13050 PyObject
* obj0
= 0 ;
13051 PyObject
* obj1
= 0 ;
13052 char *kwnames
[] = {
13053 (char *) "self",(char *) "font", NULL
13056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13059 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13060 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13062 if (arg2
== NULL
) {
13063 PyErr_SetString(PyExc_TypeError
,"null reference");
13067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13068 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13070 wxPyEndAllowThreads(__tstate
);
13071 if (PyErr_Occurred()) SWIG_fail
;
13073 Py_INCREF(Py_None
); resultobj
= Py_None
;
13080 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13081 PyObject
*resultobj
;
13082 wxFontData
*arg1
= (wxFontData
*) 0 ;
13085 PyObject
* obj0
= 0 ;
13086 PyObject
* obj1
= 0 ;
13087 PyObject
* obj2
= 0 ;
13088 char *kwnames
[] = {
13089 (char *) "self",(char *) "min",(char *) "max", NULL
13092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13095 arg2
= (int) SWIG_AsInt(obj1
);
13096 if (PyErr_Occurred()) SWIG_fail
;
13097 arg3
= (int) SWIG_AsInt(obj2
);
13098 if (PyErr_Occurred()) SWIG_fail
;
13100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13101 (arg1
)->SetRange(arg2
,arg3
);
13103 wxPyEndAllowThreads(__tstate
);
13104 if (PyErr_Occurred()) SWIG_fail
;
13106 Py_INCREF(Py_None
); resultobj
= Py_None
;
13113 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13114 PyObject
*resultobj
;
13115 wxFontData
*arg1
= (wxFontData
*) 0 ;
13117 PyObject
* obj0
= 0 ;
13118 PyObject
* obj1
= 0 ;
13119 char *kwnames
[] = {
13120 (char *) "self",(char *) "showHelp", NULL
13123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13126 arg2
= (bool) SWIG_AsBool(obj1
);
13127 if (PyErr_Occurred()) SWIG_fail
;
13129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13130 (arg1
)->SetShowHelp(arg2
);
13132 wxPyEndAllowThreads(__tstate
);
13133 if (PyErr_Occurred()) SWIG_fail
;
13135 Py_INCREF(Py_None
); resultobj
= Py_None
;
13142 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
13144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13145 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13147 return Py_BuildValue((char *)"");
13149 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13150 PyObject
*resultobj
;
13151 wxWindow
*arg1
= (wxWindow
*) 0 ;
13152 wxFontData
*arg2
= 0 ;
13153 wxFontDialog
*result
;
13154 PyObject
* obj0
= 0 ;
13155 PyObject
* obj1
= 0 ;
13156 char *kwnames
[] = {
13157 (char *) "parent",(char *) "data", NULL
13160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13163 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13164 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13166 if (arg2
== NULL
) {
13167 PyErr_SetString(PyExc_TypeError
,"null reference");
13171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13172 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13174 wxPyEndAllowThreads(__tstate
);
13175 if (PyErr_Occurred()) SWIG_fail
;
13177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13184 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13185 PyObject
*resultobj
;
13186 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13187 wxFontData
*result
;
13188 PyObject
* obj0
= 0 ;
13189 char *kwnames
[] = {
13190 (char *) "self", NULL
13193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13199 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13200 result
= (wxFontData
*) &_result_ref
;
13203 wxPyEndAllowThreads(__tstate
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13213 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13216 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13218 return Py_BuildValue((char *)"");
13220 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13221 PyObject
*resultobj
;
13222 wxWindow
*arg1
= (wxWindow
*) 0 ;
13223 wxString
*arg2
= 0 ;
13224 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13225 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13226 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13227 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13228 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13229 wxMessageDialog
*result
;
13230 bool temp2
= False
;
13231 bool temp3
= False
;
13233 PyObject
* obj0
= 0 ;
13234 PyObject
* obj1
= 0 ;
13235 PyObject
* obj2
= 0 ;
13236 PyObject
* obj3
= 0 ;
13237 PyObject
* obj4
= 0 ;
13238 char *kwnames
[] = {
13239 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13246 arg2
= wxString_in_helper(obj1
);
13247 if (arg2
== NULL
) SWIG_fail
;
13252 arg3
= wxString_in_helper(obj2
);
13253 if (arg3
== NULL
) SWIG_fail
;
13258 arg4
= (long) SWIG_AsLong(obj3
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13264 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13269 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13297 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13299 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13300 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13302 return Py_BuildValue((char *)"");
13304 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13305 PyObject
*resultobj
;
13306 wxString
*arg1
= 0 ;
13307 wxString
*arg2
= 0 ;
13308 int arg3
= (int) 100 ;
13309 wxWindow
*arg4
= (wxWindow
*) NULL
;
13310 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13311 wxProgressDialog
*result
;
13312 bool temp1
= False
;
13313 bool temp2
= False
;
13314 PyObject
* obj0
= 0 ;
13315 PyObject
* obj1
= 0 ;
13316 PyObject
* obj2
= 0 ;
13317 PyObject
* obj3
= 0 ;
13318 PyObject
* obj4
= 0 ;
13319 char *kwnames
[] = {
13320 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13325 arg1
= wxString_in_helper(obj0
);
13326 if (arg1
== NULL
) SWIG_fail
;
13330 arg2
= wxString_in_helper(obj1
);
13331 if (arg2
== NULL
) SWIG_fail
;
13335 arg3
= (int) SWIG_AsInt(obj2
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13339 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13343 arg5
= (int) SWIG_AsInt(obj4
);
13344 if (PyErr_Occurred()) SWIG_fail
;
13347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13348 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13350 wxPyEndAllowThreads(__tstate
);
13351 if (PyErr_Occurred()) SWIG_fail
;
13353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13376 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13377 PyObject
*resultobj
;
13378 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13380 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13381 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13383 bool temp3
= False
;
13384 PyObject
* obj0
= 0 ;
13385 PyObject
* obj1
= 0 ;
13386 PyObject
* obj2
= 0 ;
13387 char *kwnames
[] = {
13388 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13394 arg2
= (int) SWIG_AsInt(obj1
);
13395 if (PyErr_Occurred()) SWIG_fail
;
13398 arg3
= wxString_in_helper(obj2
);
13399 if (arg3
== NULL
) SWIG_fail
;
13404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13405 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13407 wxPyEndAllowThreads(__tstate
);
13408 if (PyErr_Occurred()) SWIG_fail
;
13411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13427 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13428 PyObject
*resultobj
;
13429 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13430 PyObject
* obj0
= 0 ;
13431 char *kwnames
[] = {
13432 (char *) "self", NULL
13435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13442 wxPyEndAllowThreads(__tstate
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13445 Py_INCREF(Py_None
); resultobj
= Py_None
;
13452 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13455 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13457 return Py_BuildValue((char *)"");
13459 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13460 PyObject
*resultobj
;
13461 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13462 int arg2
= (int) 0 ;
13463 wxFindDialogEvent
*result
;
13464 PyObject
* obj0
= 0 ;
13465 PyObject
* obj1
= 0 ;
13466 char *kwnames
[] = {
13467 (char *) "commandType",(char *) "id", NULL
13470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13472 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13473 if (PyErr_Occurred()) SWIG_fail
;
13476 arg2
= (int) SWIG_AsInt(obj1
);
13477 if (PyErr_Occurred()) SWIG_fail
;
13480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13481 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13493 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13494 PyObject
*resultobj
;
13495 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13497 PyObject
* obj0
= 0 ;
13498 char *kwnames
[] = {
13499 (char *) "self", NULL
13502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13507 result
= (int)(arg1
)->GetFlags();
13509 wxPyEndAllowThreads(__tstate
);
13510 if (PyErr_Occurred()) SWIG_fail
;
13512 resultobj
= SWIG_FromInt((int)result
);
13519 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13520 PyObject
*resultobj
;
13521 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13523 PyObject
* obj0
= 0 ;
13524 char *kwnames
[] = {
13525 (char *) "self", NULL
13528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13534 wxString
const &_result_ref
= (arg1
)->GetFindString();
13535 result
= (wxString
*) &_result_ref
;
13538 wxPyEndAllowThreads(__tstate
);
13539 if (PyErr_Occurred()) SWIG_fail
;
13543 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13545 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13554 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13555 PyObject
*resultobj
;
13556 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13558 PyObject
* obj0
= 0 ;
13559 char *kwnames
[] = {
13560 (char *) "self", NULL
13563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13569 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13570 result
= (wxString
*) &_result_ref
;
13573 wxPyEndAllowThreads(__tstate
);
13574 if (PyErr_Occurred()) SWIG_fail
;
13578 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13580 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13589 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13590 PyObject
*resultobj
;
13591 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13592 wxFindReplaceDialog
*result
;
13593 PyObject
* obj0
= 0 ;
13594 char *kwnames
[] = {
13595 (char *) "self", NULL
13598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13603 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13605 wxPyEndAllowThreads(__tstate
);
13606 if (PyErr_Occurred()) SWIG_fail
;
13608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13615 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13616 PyObject
*resultobj
;
13617 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13619 PyObject
* obj0
= 0 ;
13620 PyObject
* obj1
= 0 ;
13621 char *kwnames
[] = {
13622 (char *) "self",(char *) "flags", NULL
13625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13628 arg2
= (int) SWIG_AsInt(obj1
);
13629 if (PyErr_Occurred()) SWIG_fail
;
13631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13632 (arg1
)->SetFlags(arg2
);
13634 wxPyEndAllowThreads(__tstate
);
13635 if (PyErr_Occurred()) SWIG_fail
;
13637 Py_INCREF(Py_None
); resultobj
= Py_None
;
13644 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13645 PyObject
*resultobj
;
13646 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13647 wxString
*arg2
= 0 ;
13648 bool temp2
= False
;
13649 PyObject
* obj0
= 0 ;
13650 PyObject
* obj1
= 0 ;
13651 char *kwnames
[] = {
13652 (char *) "self",(char *) "str", NULL
13655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13659 arg2
= wxString_in_helper(obj1
);
13660 if (arg2
== NULL
) SWIG_fail
;
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 (arg1
)->SetFindString((wxString
const &)*arg2
);
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13670 Py_INCREF(Py_None
); resultobj
= Py_None
;
13685 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13686 PyObject
*resultobj
;
13687 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13688 wxString
*arg2
= 0 ;
13689 bool temp2
= False
;
13690 PyObject
* obj0
= 0 ;
13691 PyObject
* obj1
= 0 ;
13692 char *kwnames
[] = {
13693 (char *) "self",(char *) "str", NULL
13696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13700 arg2
= wxString_in_helper(obj1
);
13701 if (arg2
== NULL
) SWIG_fail
;
13705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13706 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13708 wxPyEndAllowThreads(__tstate
);
13709 if (PyErr_Occurred()) SWIG_fail
;
13711 Py_INCREF(Py_None
); resultobj
= Py_None
;
13726 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13729 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
13731 return Py_BuildValue((char *)"");
13733 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13734 PyObject
*resultobj
;
13735 int arg1
= (int) 0 ;
13736 wxFindReplaceData
*result
;
13737 PyObject
* obj0
= 0 ;
13738 char *kwnames
[] = {
13739 (char *) "flags", NULL
13742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13744 arg1
= (int) SWIG_AsInt(obj0
);
13745 if (PyErr_Occurred()) SWIG_fail
;
13748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13749 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
13751 wxPyEndAllowThreads(__tstate
);
13752 if (PyErr_Occurred()) SWIG_fail
;
13754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
13761 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13762 PyObject
*resultobj
;
13763 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13764 PyObject
* obj0
= 0 ;
13765 char *kwnames
[] = {
13766 (char *) "self", NULL
13769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13776 wxPyEndAllowThreads(__tstate
);
13777 if (PyErr_Occurred()) SWIG_fail
;
13779 Py_INCREF(Py_None
); resultobj
= Py_None
;
13786 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13787 PyObject
*resultobj
;
13788 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13790 PyObject
* obj0
= 0 ;
13791 char *kwnames
[] = {
13792 (char *) "self", NULL
13795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
13796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13801 wxString
const &_result_ref
= (arg1
)->GetFindString();
13802 result
= (wxString
*) &_result_ref
;
13805 wxPyEndAllowThreads(__tstate
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13810 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13812 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13821 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13822 PyObject
*resultobj
;
13823 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13825 PyObject
* obj0
= 0 ;
13826 char *kwnames
[] = {
13827 (char *) "self", NULL
13830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13836 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13837 result
= (wxString
*) &_result_ref
;
13840 wxPyEndAllowThreads(__tstate
);
13841 if (PyErr_Occurred()) SWIG_fail
;
13845 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13847 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13856 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13857 PyObject
*resultobj
;
13858 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13860 PyObject
* obj0
= 0 ;
13861 char *kwnames
[] = {
13862 (char *) "self", NULL
13865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
13866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13870 result
= (int)(arg1
)->GetFlags();
13872 wxPyEndAllowThreads(__tstate
);
13873 if (PyErr_Occurred()) SWIG_fail
;
13875 resultobj
= SWIG_FromInt((int)result
);
13882 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13883 PyObject
*resultobj
;
13884 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13886 PyObject
* obj0
= 0 ;
13887 PyObject
* obj1
= 0 ;
13888 char *kwnames
[] = {
13889 (char *) "self",(char *) "flags", NULL
13892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13895 arg2
= (int) SWIG_AsInt(obj1
);
13896 if (PyErr_Occurred()) SWIG_fail
;
13898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13899 (arg1
)->SetFlags(arg2
);
13901 wxPyEndAllowThreads(__tstate
);
13902 if (PyErr_Occurred()) SWIG_fail
;
13904 Py_INCREF(Py_None
); resultobj
= Py_None
;
13911 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13912 PyObject
*resultobj
;
13913 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13914 wxString
*arg2
= 0 ;
13915 bool temp2
= False
;
13916 PyObject
* obj0
= 0 ;
13917 PyObject
* obj1
= 0 ;
13918 char *kwnames
[] = {
13919 (char *) "self",(char *) "str", NULL
13922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13926 arg2
= wxString_in_helper(obj1
);
13927 if (arg2
== NULL
) SWIG_fail
;
13931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13932 (arg1
)->SetFindString((wxString
const &)*arg2
);
13934 wxPyEndAllowThreads(__tstate
);
13935 if (PyErr_Occurred()) SWIG_fail
;
13937 Py_INCREF(Py_None
); resultobj
= Py_None
;
13952 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13953 PyObject
*resultobj
;
13954 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13955 wxString
*arg2
= 0 ;
13956 bool temp2
= False
;
13957 PyObject
* obj0
= 0 ;
13958 PyObject
* obj1
= 0 ;
13959 char *kwnames
[] = {
13960 (char *) "self",(char *) "str", NULL
13963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13967 arg2
= wxString_in_helper(obj1
);
13968 if (arg2
== NULL
) SWIG_fail
;
13972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13973 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13975 wxPyEndAllowThreads(__tstate
);
13976 if (PyErr_Occurred()) SWIG_fail
;
13978 Py_INCREF(Py_None
); resultobj
= Py_None
;
13993 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
13995 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13996 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
13998 return Py_BuildValue((char *)"");
14000 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14001 PyObject
*resultobj
;
14002 wxWindow
*arg1
= (wxWindow
*) 0 ;
14003 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14004 wxString
*arg3
= 0 ;
14005 int arg4
= (int) 0 ;
14006 wxFindReplaceDialog
*result
;
14007 bool temp3
= False
;
14008 PyObject
* obj0
= 0 ;
14009 PyObject
* obj1
= 0 ;
14010 PyObject
* obj2
= 0 ;
14011 PyObject
* obj3
= 0 ;
14012 char *kwnames
[] = {
14013 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
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 arg3
= wxString_in_helper(obj2
);
14023 if (arg3
== NULL
) SWIG_fail
;
14027 arg4
= (int) SWIG_AsInt(obj3
);
14028 if (PyErr_Occurred()) SWIG_fail
;
14031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14032 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14034 wxPyEndAllowThreads(__tstate
);
14035 if (PyErr_Occurred()) SWIG_fail
;
14037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14052 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14053 PyObject
*resultobj
;
14054 wxFindReplaceDialog
*result
;
14055 char *kwnames
[] = {
14059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14062 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14064 wxPyEndAllowThreads(__tstate
);
14065 if (PyErr_Occurred()) SWIG_fail
;
14067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14074 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14075 PyObject
*resultobj
;
14076 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14077 wxWindow
*arg2
= (wxWindow
*) 0 ;
14078 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14079 wxString
*arg4
= 0 ;
14080 int arg5
= (int) 0 ;
14082 bool temp4
= False
;
14083 PyObject
* obj0
= 0 ;
14084 PyObject
* obj1
= 0 ;
14085 PyObject
* obj2
= 0 ;
14086 PyObject
* obj3
= 0 ;
14087 PyObject
* obj4
= 0 ;
14088 char *kwnames
[] = {
14089 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14097 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14100 arg4
= wxString_in_helper(obj3
);
14101 if (arg4
== NULL
) SWIG_fail
;
14105 arg5
= (int) SWIG_AsInt(obj4
);
14106 if (PyErr_Occurred()) SWIG_fail
;
14109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14110 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14112 wxPyEndAllowThreads(__tstate
);
14113 if (PyErr_Occurred()) SWIG_fail
;
14116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14132 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14133 PyObject
*resultobj
;
14134 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14135 wxFindReplaceData
*result
;
14136 PyObject
* obj0
= 0 ;
14137 char *kwnames
[] = {
14138 (char *) "self", NULL
14141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14146 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14148 wxPyEndAllowThreads(__tstate
);
14149 if (PyErr_Occurred()) SWIG_fail
;
14151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14158 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14159 PyObject
*resultobj
;
14160 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14161 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14162 PyObject
* obj0
= 0 ;
14163 PyObject
* obj1
= 0 ;
14164 char *kwnames
[] = {
14165 (char *) "self",(char *) "data", NULL
14168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14171 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14175 (arg1
)->SetData(arg2
);
14177 wxPyEndAllowThreads(__tstate
);
14178 if (PyErr_Occurred()) SWIG_fail
;
14180 Py_INCREF(Py_None
); resultobj
= Py_None
;
14187 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14189 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14190 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14192 return Py_BuildValue((char *)"");
14194 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14195 PyObject
*resultobj
;
14196 wxWindow
*arg1
= (wxWindow
*) 0 ;
14198 wxString
*arg3
= 0 ;
14199 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14200 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14201 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14202 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14203 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14204 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14205 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14206 wxMDIParentFrame
*result
;
14207 bool temp3
= False
;
14210 bool temp7
= False
;
14211 PyObject
* obj0
= 0 ;
14212 PyObject
* obj1
= 0 ;
14213 PyObject
* obj2
= 0 ;
14214 PyObject
* obj3
= 0 ;
14215 PyObject
* obj4
= 0 ;
14216 PyObject
* obj5
= 0 ;
14217 PyObject
* obj6
= 0 ;
14218 char *kwnames
[] = {
14219 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14225 arg2
= (int const) SWIG_AsInt(obj1
);
14226 if (PyErr_Occurred()) SWIG_fail
;
14228 arg3
= wxString_in_helper(obj2
);
14229 if (arg3
== NULL
) SWIG_fail
;
14235 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14241 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14245 arg6
= (long) SWIG_AsLong(obj5
);
14246 if (PyErr_Occurred()) SWIG_fail
;
14250 arg7
= wxString_in_helper(obj6
);
14251 if (arg7
== NULL
) SWIG_fail
;
14256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14257 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14259 wxPyEndAllowThreads(__tstate
);
14260 if (PyErr_Occurred()) SWIG_fail
;
14262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14285 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14286 PyObject
*resultobj
;
14287 wxMDIParentFrame
*result
;
14288 char *kwnames
[] = {
14292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14295 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14297 wxPyEndAllowThreads(__tstate
);
14298 if (PyErr_Occurred()) SWIG_fail
;
14300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14307 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14308 PyObject
*resultobj
;
14309 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14310 wxWindow
*arg2
= (wxWindow
*) 0 ;
14312 wxString
*arg4
= 0 ;
14313 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14314 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14315 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14316 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14317 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14318 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14319 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14321 bool temp4
= False
;
14324 bool temp8
= False
;
14325 PyObject
* obj0
= 0 ;
14326 PyObject
* obj1
= 0 ;
14327 PyObject
* obj2
= 0 ;
14328 PyObject
* obj3
= 0 ;
14329 PyObject
* obj4
= 0 ;
14330 PyObject
* obj5
= 0 ;
14331 PyObject
* obj6
= 0 ;
14332 PyObject
* obj7
= 0 ;
14333 char *kwnames
[] = {
14334 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14340 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14342 arg3
= (int const) SWIG_AsInt(obj2
);
14343 if (PyErr_Occurred()) SWIG_fail
;
14345 arg4
= wxString_in_helper(obj3
);
14346 if (arg4
== NULL
) SWIG_fail
;
14352 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14358 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14362 arg7
= (long) SWIG_AsLong(obj6
);
14363 if (PyErr_Occurred()) SWIG_fail
;
14367 arg8
= wxString_in_helper(obj7
);
14368 if (arg8
== NULL
) SWIG_fail
;
14373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14374 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14376 wxPyEndAllowThreads(__tstate
);
14377 if (PyErr_Occurred()) SWIG_fail
;
14380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14404 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14405 PyObject
*resultobj
;
14406 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14407 PyObject
* obj0
= 0 ;
14408 char *kwnames
[] = {
14409 (char *) "self", NULL
14412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14417 (arg1
)->ActivateNext();
14419 wxPyEndAllowThreads(__tstate
);
14420 if (PyErr_Occurred()) SWIG_fail
;
14422 Py_INCREF(Py_None
); resultobj
= Py_None
;
14429 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14430 PyObject
*resultobj
;
14431 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14432 PyObject
* obj0
= 0 ;
14433 char *kwnames
[] = {
14434 (char *) "self", NULL
14437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14442 (arg1
)->ActivatePrevious();
14444 wxPyEndAllowThreads(__tstate
);
14445 if (PyErr_Occurred()) SWIG_fail
;
14447 Py_INCREF(Py_None
); resultobj
= Py_None
;
14454 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14455 PyObject
*resultobj
;
14456 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14457 PyObject
* obj0
= 0 ;
14458 char *kwnames
[] = {
14459 (char *) "self", NULL
14462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14467 (arg1
)->ArrangeIcons();
14469 wxPyEndAllowThreads(__tstate
);
14470 if (PyErr_Occurred()) SWIG_fail
;
14472 Py_INCREF(Py_None
); resultobj
= Py_None
;
14479 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14480 PyObject
*resultobj
;
14481 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14482 PyObject
* obj0
= 0 ;
14483 char *kwnames
[] = {
14484 (char *) "self", NULL
14487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14494 wxPyEndAllowThreads(__tstate
);
14495 if (PyErr_Occurred()) SWIG_fail
;
14497 Py_INCREF(Py_None
); resultobj
= Py_None
;
14504 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14505 PyObject
*resultobj
;
14506 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14507 wxMDIChildFrame
*result
;
14508 PyObject
* obj0
= 0 ;
14509 char *kwnames
[] = {
14510 (char *) "self", NULL
14513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14518 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14520 wxPyEndAllowThreads(__tstate
);
14521 if (PyErr_Occurred()) SWIG_fail
;
14524 resultobj
= wxPyMake_wxObject(result
);
14532 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14533 PyObject
*resultobj
;
14534 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14535 wxMDIClientWindow
*result
;
14536 PyObject
* obj0
= 0 ;
14537 char *kwnames
[] = {
14538 (char *) "self", NULL
14541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14546 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14548 wxPyEndAllowThreads(__tstate
);
14549 if (PyErr_Occurred()) SWIG_fail
;
14552 resultobj
= wxPyMake_wxObject(result
);
14560 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14561 PyObject
*resultobj
;
14562 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14564 PyObject
* obj0
= 0 ;
14565 char *kwnames
[] = {
14566 (char *) "self", NULL
14569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14574 result
= (wxWindow
*)(arg1
)->GetToolBar();
14576 wxPyEndAllowThreads(__tstate
);
14577 if (PyErr_Occurred()) SWIG_fail
;
14580 resultobj
= wxPyMake_wxObject(result
);
14588 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14589 PyObject
*resultobj
;
14590 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14591 PyObject
* obj0
= 0 ;
14592 char *kwnames
[] = {
14593 (char *) "self", NULL
14596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14603 wxPyEndAllowThreads(__tstate
);
14604 if (PyErr_Occurred()) SWIG_fail
;
14606 Py_INCREF(Py_None
); resultobj
= Py_None
;
14613 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14616 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14618 return Py_BuildValue((char *)"");
14620 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14621 PyObject
*resultobj
;
14622 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14624 wxString
*arg3
= 0 ;
14625 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14626 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14627 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14628 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14629 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14630 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14631 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14632 wxMDIChildFrame
*result
;
14633 bool temp3
= False
;
14636 bool temp7
= False
;
14637 PyObject
* obj0
= 0 ;
14638 PyObject
* obj1
= 0 ;
14639 PyObject
* obj2
= 0 ;
14640 PyObject
* obj3
= 0 ;
14641 PyObject
* obj4
= 0 ;
14642 PyObject
* obj5
= 0 ;
14643 PyObject
* obj6
= 0 ;
14644 char *kwnames
[] = {
14645 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14651 arg2
= (int const) SWIG_AsInt(obj1
);
14652 if (PyErr_Occurred()) SWIG_fail
;
14654 arg3
= wxString_in_helper(obj2
);
14655 if (arg3
== NULL
) SWIG_fail
;
14661 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14667 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14671 arg6
= (long) SWIG_AsLong(obj5
);
14672 if (PyErr_Occurred()) SWIG_fail
;
14676 arg7
= wxString_in_helper(obj6
);
14677 if (arg7
== NULL
) SWIG_fail
;
14682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14683 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14685 wxPyEndAllowThreads(__tstate
);
14686 if (PyErr_Occurred()) SWIG_fail
;
14689 resultobj
= wxPyMake_wxObject(result
);
14713 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14714 PyObject
*resultobj
;
14715 wxMDIChildFrame
*result
;
14716 char *kwnames
[] = {
14720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
14722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14723 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
14725 wxPyEndAllowThreads(__tstate
);
14726 if (PyErr_Occurred()) SWIG_fail
;
14729 resultobj
= wxPyMake_wxObject(result
);
14737 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14738 PyObject
*resultobj
;
14739 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14740 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14742 wxString
*arg4
= 0 ;
14743 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14744 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14745 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14746 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14747 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
14748 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14749 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14751 bool temp4
= False
;
14754 bool temp8
= False
;
14755 PyObject
* obj0
= 0 ;
14756 PyObject
* obj1
= 0 ;
14757 PyObject
* obj2
= 0 ;
14758 PyObject
* obj3
= 0 ;
14759 PyObject
* obj4
= 0 ;
14760 PyObject
* obj5
= 0 ;
14761 PyObject
* obj6
= 0 ;
14762 PyObject
* obj7
= 0 ;
14763 char *kwnames
[] = {
14764 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14770 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14772 arg3
= (int const) SWIG_AsInt(obj2
);
14773 if (PyErr_Occurred()) SWIG_fail
;
14775 arg4
= wxString_in_helper(obj3
);
14776 if (arg4
== NULL
) SWIG_fail
;
14782 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14788 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14792 arg7
= (long) SWIG_AsLong(obj6
);
14793 if (PyErr_Occurred()) SWIG_fail
;
14797 arg8
= wxString_in_helper(obj7
);
14798 if (arg8
== NULL
) SWIG_fail
;
14803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14804 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14806 wxPyEndAllowThreads(__tstate
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14834 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14835 PyObject
*resultobj
;
14836 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14837 PyObject
* obj0
= 0 ;
14838 char *kwnames
[] = {
14839 (char *) "self", NULL
14842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
14843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14847 (arg1
)->Activate();
14849 wxPyEndAllowThreads(__tstate
);
14850 if (PyErr_Occurred()) SWIG_fail
;
14852 Py_INCREF(Py_None
); resultobj
= Py_None
;
14859 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14860 PyObject
*resultobj
;
14861 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14863 PyObject
* obj0
= 0 ;
14864 PyObject
* obj1
= 0 ;
14865 char *kwnames
[] = {
14866 (char *) "self",(char *) "maximize", NULL
14869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
14870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14872 arg2
= (bool) SWIG_AsBool(obj1
);
14873 if (PyErr_Occurred()) SWIG_fail
;
14875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14876 (arg1
)->Maximize(arg2
);
14878 wxPyEndAllowThreads(__tstate
);
14879 if (PyErr_Occurred()) SWIG_fail
;
14881 Py_INCREF(Py_None
); resultobj
= Py_None
;
14888 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14889 PyObject
*resultobj
;
14890 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14891 PyObject
* obj0
= 0 ;
14892 char *kwnames
[] = {
14893 (char *) "self", NULL
14896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
14897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14903 wxPyEndAllowThreads(__tstate
);
14904 if (PyErr_Occurred()) SWIG_fail
;
14906 Py_INCREF(Py_None
); resultobj
= Py_None
;
14913 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14916 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
14918 return Py_BuildValue((char *)"");
14920 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14921 PyObject
*resultobj
;
14922 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14923 long arg2
= (long) 0 ;
14924 wxMDIClientWindow
*result
;
14925 PyObject
* obj0
= 0 ;
14926 PyObject
* obj1
= 0 ;
14927 char *kwnames
[] = {
14928 (char *) "parent",(char *) "style", NULL
14931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
14932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14935 arg2
= (long) SWIG_AsLong(obj1
);
14936 if (PyErr_Occurred()) SWIG_fail
;
14939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14940 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
14942 wxPyEndAllowThreads(__tstate
);
14943 if (PyErr_Occurred()) SWIG_fail
;
14946 resultobj
= wxPyMake_wxObject(result
);
14954 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14955 PyObject
*resultobj
;
14956 wxMDIClientWindow
*result
;
14957 char *kwnames
[] = {
14961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
14963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14964 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
14966 wxPyEndAllowThreads(__tstate
);
14967 if (PyErr_Occurred()) SWIG_fail
;
14970 resultobj
= wxPyMake_wxObject(result
);
14978 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14979 PyObject
*resultobj
;
14980 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
14981 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14982 long arg3
= (long) 0 ;
14984 PyObject
* obj0
= 0 ;
14985 PyObject
* obj1
= 0 ;
14986 PyObject
* obj2
= 0 ;
14987 char *kwnames
[] = {
14988 (char *) "self",(char *) "parent",(char *) "style", NULL
14991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
14993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14994 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14997 arg3
= (long) SWIG_AsLong(obj2
);
14998 if (PyErr_Occurred()) SWIG_fail
;
15001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15002 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15004 wxPyEndAllowThreads(__tstate
);
15005 if (PyErr_Occurred()) SWIG_fail
;
15008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15016 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15018 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15019 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15021 return Py_BuildValue((char *)"");
15023 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15024 PyObject
*resultobj
;
15025 wxWindow
*arg1
= (wxWindow
*) 0 ;
15027 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15028 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15029 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15030 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15031 long arg5
= (long) 0 ;
15032 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15033 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15034 wxPyWindow
*result
;
15037 bool temp6
= False
;
15038 PyObject
* obj0
= 0 ;
15039 PyObject
* obj1
= 0 ;
15040 PyObject
* obj2
= 0 ;
15041 PyObject
* obj3
= 0 ;
15042 PyObject
* obj4
= 0 ;
15043 PyObject
* obj5
= 0 ;
15044 char *kwnames
[] = {
15045 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15051 arg2
= (int const) SWIG_AsInt(obj1
);
15052 if (PyErr_Occurred()) SWIG_fail
;
15056 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15062 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15066 arg5
= (long) SWIG_AsLong(obj4
);
15067 if (PyErr_Occurred()) SWIG_fail
;
15071 arg6
= wxString_in_helper(obj5
);
15072 if (arg6
== NULL
) SWIG_fail
;
15077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15078 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15080 wxPyEndAllowThreads(__tstate
);
15081 if (PyErr_Occurred()) SWIG_fail
;
15083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15098 static PyObject
*_wrap_new_PrePyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15099 PyObject
*resultobj
;
15100 wxPyWindow
*result
;
15101 char *kwnames
[] = {
15105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15108 result
= (wxPyWindow
*)new wxPyWindow();
15110 wxPyEndAllowThreads(__tstate
);
15111 if (PyErr_Occurred()) SWIG_fail
;
15113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15120 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15121 PyObject
*resultobj
;
15122 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15123 PyObject
*arg2
= (PyObject
*) 0 ;
15124 PyObject
*arg3
= (PyObject
*) 0 ;
15125 PyObject
* obj0
= 0 ;
15126 PyObject
* obj1
= 0 ;
15127 PyObject
* obj2
= 0 ;
15128 char *kwnames
[] = {
15129 (char *) "self",(char *) "self",(char *) "_class", NULL
15132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15139 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15141 wxPyEndAllowThreads(__tstate
);
15142 if (PyErr_Occurred()) SWIG_fail
;
15144 Py_INCREF(Py_None
); resultobj
= Py_None
;
15151 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15152 PyObject
*resultobj
;
15153 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15158 PyObject
* obj0
= 0 ;
15159 PyObject
* obj1
= 0 ;
15160 PyObject
* obj2
= 0 ;
15161 PyObject
* obj3
= 0 ;
15162 PyObject
* obj4
= 0 ;
15163 char *kwnames
[] = {
15164 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15170 arg2
= (int) SWIG_AsInt(obj1
);
15171 if (PyErr_Occurred()) SWIG_fail
;
15172 arg3
= (int) SWIG_AsInt(obj2
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15174 arg4
= (int) SWIG_AsInt(obj3
);
15175 if (PyErr_Occurred()) SWIG_fail
;
15176 arg5
= (int) SWIG_AsInt(obj4
);
15177 if (PyErr_Occurred()) SWIG_fail
;
15179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15180 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15182 wxPyEndAllowThreads(__tstate
);
15183 if (PyErr_Occurred()) SWIG_fail
;
15185 Py_INCREF(Py_None
); resultobj
= Py_None
;
15192 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15193 PyObject
*resultobj
;
15194 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15199 int arg6
= (int) wxSIZE_AUTO
;
15200 PyObject
* obj0
= 0 ;
15201 PyObject
* obj1
= 0 ;
15202 PyObject
* obj2
= 0 ;
15203 PyObject
* obj3
= 0 ;
15204 PyObject
* obj4
= 0 ;
15205 PyObject
* obj5
= 0 ;
15206 char *kwnames
[] = {
15207 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15213 arg2
= (int) SWIG_AsInt(obj1
);
15214 if (PyErr_Occurred()) SWIG_fail
;
15215 arg3
= (int) SWIG_AsInt(obj2
);
15216 if (PyErr_Occurred()) SWIG_fail
;
15217 arg4
= (int) SWIG_AsInt(obj3
);
15218 if (PyErr_Occurred()) SWIG_fail
;
15219 arg5
= (int) SWIG_AsInt(obj4
);
15220 if (PyErr_Occurred()) SWIG_fail
;
15222 arg6
= (int) SWIG_AsInt(obj5
);
15223 if (PyErr_Occurred()) SWIG_fail
;
15226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15227 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15229 wxPyEndAllowThreads(__tstate
);
15230 if (PyErr_Occurred()) SWIG_fail
;
15232 Py_INCREF(Py_None
); resultobj
= Py_None
;
15239 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15240 PyObject
*resultobj
;
15241 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15244 PyObject
* obj0
= 0 ;
15245 PyObject
* obj1
= 0 ;
15246 PyObject
* obj2
= 0 ;
15247 char *kwnames
[] = {
15248 (char *) "self",(char *) "width",(char *) "height", NULL
15251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15254 arg2
= (int) SWIG_AsInt(obj1
);
15255 if (PyErr_Occurred()) SWIG_fail
;
15256 arg3
= (int) SWIG_AsInt(obj2
);
15257 if (PyErr_Occurred()) SWIG_fail
;
15259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15260 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15262 wxPyEndAllowThreads(__tstate
);
15263 if (PyErr_Occurred()) SWIG_fail
;
15265 Py_INCREF(Py_None
); resultobj
= Py_None
;
15272 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15273 PyObject
*resultobj
;
15274 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15277 PyObject
* obj0
= 0 ;
15278 PyObject
* obj1
= 0 ;
15279 PyObject
* obj2
= 0 ;
15280 char *kwnames
[] = {
15281 (char *) "self",(char *) "x",(char *) "y", NULL
15284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15287 arg2
= (int) SWIG_AsInt(obj1
);
15288 if (PyErr_Occurred()) SWIG_fail
;
15289 arg3
= (int) SWIG_AsInt(obj2
);
15290 if (PyErr_Occurred()) SWIG_fail
;
15292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15293 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15295 wxPyEndAllowThreads(__tstate
);
15296 if (PyErr_Occurred()) SWIG_fail
;
15298 Py_INCREF(Py_None
); resultobj
= Py_None
;
15305 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15306 PyObject
*resultobj
;
15307 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15308 int *arg2
= (int *) 0 ;
15309 int *arg3
= (int *) 0 ;
15312 PyObject
* obj0
= 0 ;
15313 char *kwnames
[] = {
15314 (char *) "self", NULL
15319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15324 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15326 wxPyEndAllowThreads(__tstate
);
15327 if (PyErr_Occurred()) SWIG_fail
;
15329 Py_INCREF(Py_None
); resultobj
= Py_None
;
15331 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15332 resultobj
= t_output_helper(resultobj
,o
);
15335 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15336 resultobj
= t_output_helper(resultobj
,o
);
15344 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15345 PyObject
*resultobj
;
15346 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15347 int *arg2
= (int *) 0 ;
15348 int *arg3
= (int *) 0 ;
15351 PyObject
* obj0
= 0 ;
15352 char *kwnames
[] = {
15353 (char *) "self", NULL
15358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15363 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15365 wxPyEndAllowThreads(__tstate
);
15366 if (PyErr_Occurred()) SWIG_fail
;
15368 Py_INCREF(Py_None
); resultobj
= Py_None
;
15370 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15371 resultobj
= t_output_helper(resultobj
,o
);
15374 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15375 resultobj
= t_output_helper(resultobj
,o
);
15383 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15384 PyObject
*resultobj
;
15385 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15386 int *arg2
= (int *) 0 ;
15387 int *arg3
= (int *) 0 ;
15390 PyObject
* obj0
= 0 ;
15391 char *kwnames
[] = {
15392 (char *) "self", NULL
15397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15402 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15404 wxPyEndAllowThreads(__tstate
);
15405 if (PyErr_Occurred()) SWIG_fail
;
15407 Py_INCREF(Py_None
); resultobj
= Py_None
;
15409 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15410 resultobj
= t_output_helper(resultobj
,o
);
15413 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15414 resultobj
= t_output_helper(resultobj
,o
);
15422 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15423 PyObject
*resultobj
;
15424 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15426 PyObject
* obj0
= 0 ;
15427 char *kwnames
[] = {
15428 (char *) "self", NULL
15431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15436 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15438 wxPyEndAllowThreads(__tstate
);
15439 if (PyErr_Occurred()) SWIG_fail
;
15442 wxSize
* resultptr
;
15443 resultptr
= new wxSize((wxSize
&) result
);
15444 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15452 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15453 PyObject
*resultobj
;
15454 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15456 PyObject
* obj0
= 0 ;
15457 char *kwnames
[] = {
15458 (char *) "self", NULL
15461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15466 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15468 wxPyEndAllowThreads(__tstate
);
15469 if (PyErr_Occurred()) SWIG_fail
;
15472 wxSize
* resultptr
;
15473 resultptr
= new wxSize((wxSize
&) result
);
15474 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15482 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15483 PyObject
*resultobj
;
15484 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15485 PyObject
* obj0
= 0 ;
15486 char *kwnames
[] = {
15487 (char *) "self", NULL
15490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15495 (arg1
)->base_InitDialog();
15497 wxPyEndAllowThreads(__tstate
);
15498 if (PyErr_Occurred()) SWIG_fail
;
15500 Py_INCREF(Py_None
); resultobj
= Py_None
;
15507 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15508 PyObject
*resultobj
;
15509 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15511 PyObject
* obj0
= 0 ;
15512 char *kwnames
[] = {
15513 (char *) "self", NULL
15516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15521 result
= (bool)(arg1
)->base_TransferDataToWindow();
15523 wxPyEndAllowThreads(__tstate
);
15524 if (PyErr_Occurred()) SWIG_fail
;
15527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15535 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15536 PyObject
*resultobj
;
15537 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15539 PyObject
* obj0
= 0 ;
15540 char *kwnames
[] = {
15541 (char *) "self", NULL
15544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15549 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15551 wxPyEndAllowThreads(__tstate
);
15552 if (PyErr_Occurred()) SWIG_fail
;
15555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15563 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15564 PyObject
*resultobj
;
15565 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15567 PyObject
* obj0
= 0 ;
15568 char *kwnames
[] = {
15569 (char *) "self", NULL
15572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15577 result
= (bool)(arg1
)->base_Validate();
15579 wxPyEndAllowThreads(__tstate
);
15580 if (PyErr_Occurred()) SWIG_fail
;
15583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15591 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15592 PyObject
*resultobj
;
15593 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15595 PyObject
* obj0
= 0 ;
15596 char *kwnames
[] = {
15597 (char *) "self", NULL
15600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15605 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15607 wxPyEndAllowThreads(__tstate
);
15608 if (PyErr_Occurred()) SWIG_fail
;
15611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15619 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15620 PyObject
*resultobj
;
15621 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15623 PyObject
* obj0
= 0 ;
15624 char *kwnames
[] = {
15625 (char *) "self", NULL
15628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15633 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15635 wxPyEndAllowThreads(__tstate
);
15636 if (PyErr_Occurred()) SWIG_fail
;
15639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15647 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15648 PyObject
*resultobj
;
15649 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15651 PyObject
* obj0
= 0 ;
15652 char *kwnames
[] = {
15653 (char *) "self", NULL
15656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15661 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
15663 wxPyEndAllowThreads(__tstate
);
15664 if (PyErr_Occurred()) SWIG_fail
;
15667 wxSize
* resultptr
;
15668 resultptr
= new wxSize((wxSize
&) result
);
15669 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15677 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15678 PyObject
*resultobj
;
15679 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15680 wxWindow
*arg2
= (wxWindow
*) 0 ;
15681 PyObject
* obj0
= 0 ;
15682 PyObject
* obj1
= 0 ;
15683 char *kwnames
[] = {
15684 (char *) "self",(char *) "child", NULL
15687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15694 (arg1
)->base_AddChild(arg2
);
15696 wxPyEndAllowThreads(__tstate
);
15697 if (PyErr_Occurred()) SWIG_fail
;
15699 Py_INCREF(Py_None
); resultobj
= Py_None
;
15706 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15707 PyObject
*resultobj
;
15708 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15709 wxWindow
*arg2
= (wxWindow
*) 0 ;
15710 PyObject
* obj0
= 0 ;
15711 PyObject
* obj1
= 0 ;
15712 char *kwnames
[] = {
15713 (char *) "self",(char *) "child", NULL
15716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15723 (arg1
)->base_RemoveChild(arg2
);
15725 wxPyEndAllowThreads(__tstate
);
15726 if (PyErr_Occurred()) SWIG_fail
;
15728 Py_INCREF(Py_None
); resultobj
= Py_None
;
15735 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15736 PyObject
*resultobj
;
15737 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15739 PyObject
* obj0
= 0 ;
15740 char *kwnames
[] = {
15741 (char *) "self", NULL
15744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
15745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15749 result
= (bool)(arg1
)->base_ShouldInheritColours();
15751 wxPyEndAllowThreads(__tstate
);
15752 if (PyErr_Occurred()) SWIG_fail
;
15755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15763 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15764 PyObject
*resultobj
;
15765 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15766 wxColour
*arg2
= 0 ;
15768 PyObject
* obj0
= 0 ;
15769 PyObject
* obj1
= 0 ;
15770 char *kwnames
[] = {
15771 (char *) "self",(char *) "c", NULL
15774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
15775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15779 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15783 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
15785 wxPyEndAllowThreads(__tstate
);
15786 if (PyErr_Occurred()) SWIG_fail
;
15788 Py_INCREF(Py_None
); resultobj
= Py_None
;
15795 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15798 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
15800 return Py_BuildValue((char *)"");
15802 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15803 PyObject
*resultobj
;
15804 wxWindow
*arg1
= (wxWindow
*) 0 ;
15806 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15807 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15808 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15809 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15810 long arg5
= (long) 0 ;
15811 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15812 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15816 bool temp6
= False
;
15817 PyObject
* obj0
= 0 ;
15818 PyObject
* obj1
= 0 ;
15819 PyObject
* obj2
= 0 ;
15820 PyObject
* obj3
= 0 ;
15821 PyObject
* obj4
= 0 ;
15822 PyObject
* obj5
= 0 ;
15823 char *kwnames
[] = {
15824 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15830 arg2
= (int const) SWIG_AsInt(obj1
);
15831 if (PyErr_Occurred()) SWIG_fail
;
15835 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15841 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15845 arg5
= (long) SWIG_AsLong(obj4
);
15846 if (PyErr_Occurred()) SWIG_fail
;
15850 arg6
= wxString_in_helper(obj5
);
15851 if (arg6
== NULL
) SWIG_fail
;
15856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15857 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15859 wxPyEndAllowThreads(__tstate
);
15860 if (PyErr_Occurred()) SWIG_fail
;
15862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
15877 static PyObject
*_wrap_new_PrePyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15878 PyObject
*resultobj
;
15880 char *kwnames
[] = {
15884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
15886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15887 result
= (wxPyPanel
*)new wxPyPanel();
15889 wxPyEndAllowThreads(__tstate
);
15890 if (PyErr_Occurred()) SWIG_fail
;
15892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
15899 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15900 PyObject
*resultobj
;
15901 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15902 PyObject
*arg2
= (PyObject
*) 0 ;
15903 PyObject
*arg3
= (PyObject
*) 0 ;
15904 PyObject
* obj0
= 0 ;
15905 PyObject
* obj1
= 0 ;
15906 PyObject
* obj2
= 0 ;
15907 char *kwnames
[] = {
15908 (char *) "self",(char *) "self",(char *) "_class", NULL
15911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15918 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15920 wxPyEndAllowThreads(__tstate
);
15921 if (PyErr_Occurred()) SWIG_fail
;
15923 Py_INCREF(Py_None
); resultobj
= Py_None
;
15930 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15931 PyObject
*resultobj
;
15932 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15937 PyObject
* obj0
= 0 ;
15938 PyObject
* obj1
= 0 ;
15939 PyObject
* obj2
= 0 ;
15940 PyObject
* obj3
= 0 ;
15941 PyObject
* obj4
= 0 ;
15942 char *kwnames
[] = {
15943 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15949 arg2
= (int) SWIG_AsInt(obj1
);
15950 if (PyErr_Occurred()) SWIG_fail
;
15951 arg3
= (int) SWIG_AsInt(obj2
);
15952 if (PyErr_Occurred()) SWIG_fail
;
15953 arg4
= (int) SWIG_AsInt(obj3
);
15954 if (PyErr_Occurred()) SWIG_fail
;
15955 arg5
= (int) SWIG_AsInt(obj4
);
15956 if (PyErr_Occurred()) SWIG_fail
;
15958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15959 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15961 wxPyEndAllowThreads(__tstate
);
15962 if (PyErr_Occurred()) SWIG_fail
;
15964 Py_INCREF(Py_None
); resultobj
= Py_None
;
15971 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15972 PyObject
*resultobj
;
15973 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15978 int arg6
= (int) wxSIZE_AUTO
;
15979 PyObject
* obj0
= 0 ;
15980 PyObject
* obj1
= 0 ;
15981 PyObject
* obj2
= 0 ;
15982 PyObject
* obj3
= 0 ;
15983 PyObject
* obj4
= 0 ;
15984 PyObject
* obj5
= 0 ;
15985 char *kwnames
[] = {
15986 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15992 arg2
= (int) SWIG_AsInt(obj1
);
15993 if (PyErr_Occurred()) SWIG_fail
;
15994 arg3
= (int) SWIG_AsInt(obj2
);
15995 if (PyErr_Occurred()) SWIG_fail
;
15996 arg4
= (int) SWIG_AsInt(obj3
);
15997 if (PyErr_Occurred()) SWIG_fail
;
15998 arg5
= (int) SWIG_AsInt(obj4
);
15999 if (PyErr_Occurred()) SWIG_fail
;
16001 arg6
= (int) SWIG_AsInt(obj5
);
16002 if (PyErr_Occurred()) SWIG_fail
;
16005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16006 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16008 wxPyEndAllowThreads(__tstate
);
16009 if (PyErr_Occurred()) SWIG_fail
;
16011 Py_INCREF(Py_None
); resultobj
= Py_None
;
16018 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16019 PyObject
*resultobj
;
16020 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16023 PyObject
* obj0
= 0 ;
16024 PyObject
* obj1
= 0 ;
16025 PyObject
* obj2
= 0 ;
16026 char *kwnames
[] = {
16027 (char *) "self",(char *) "width",(char *) "height", NULL
16030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16033 arg2
= (int) SWIG_AsInt(obj1
);
16034 if (PyErr_Occurred()) SWIG_fail
;
16035 arg3
= (int) SWIG_AsInt(obj2
);
16036 if (PyErr_Occurred()) SWIG_fail
;
16038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16039 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16041 wxPyEndAllowThreads(__tstate
);
16042 if (PyErr_Occurred()) SWIG_fail
;
16044 Py_INCREF(Py_None
); resultobj
= Py_None
;
16051 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16052 PyObject
*resultobj
;
16053 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16056 PyObject
* obj0
= 0 ;
16057 PyObject
* obj1
= 0 ;
16058 PyObject
* obj2
= 0 ;
16059 char *kwnames
[] = {
16060 (char *) "self",(char *) "x",(char *) "y", NULL
16063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16066 arg2
= (int) SWIG_AsInt(obj1
);
16067 if (PyErr_Occurred()) SWIG_fail
;
16068 arg3
= (int) SWIG_AsInt(obj2
);
16069 if (PyErr_Occurred()) SWIG_fail
;
16071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16072 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16074 wxPyEndAllowThreads(__tstate
);
16075 if (PyErr_Occurred()) SWIG_fail
;
16077 Py_INCREF(Py_None
); resultobj
= Py_None
;
16084 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16085 PyObject
*resultobj
;
16086 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16087 int *arg2
= (int *) 0 ;
16088 int *arg3
= (int *) 0 ;
16091 PyObject
* obj0
= 0 ;
16092 char *kwnames
[] = {
16093 (char *) "self", NULL
16098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16103 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16105 wxPyEndAllowThreads(__tstate
);
16106 if (PyErr_Occurred()) SWIG_fail
;
16108 Py_INCREF(Py_None
); resultobj
= Py_None
;
16110 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16111 resultobj
= t_output_helper(resultobj
,o
);
16114 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16115 resultobj
= t_output_helper(resultobj
,o
);
16123 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16124 PyObject
*resultobj
;
16125 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16126 int *arg2
= (int *) 0 ;
16127 int *arg3
= (int *) 0 ;
16130 PyObject
* obj0
= 0 ;
16131 char *kwnames
[] = {
16132 (char *) "self", NULL
16137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16142 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16144 wxPyEndAllowThreads(__tstate
);
16145 if (PyErr_Occurred()) SWIG_fail
;
16147 Py_INCREF(Py_None
); resultobj
= Py_None
;
16149 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16150 resultobj
= t_output_helper(resultobj
,o
);
16153 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16154 resultobj
= t_output_helper(resultobj
,o
);
16162 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16163 PyObject
*resultobj
;
16164 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16165 int *arg2
= (int *) 0 ;
16166 int *arg3
= (int *) 0 ;
16169 PyObject
* obj0
= 0 ;
16170 char *kwnames
[] = {
16171 (char *) "self", NULL
16176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16181 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16183 wxPyEndAllowThreads(__tstate
);
16184 if (PyErr_Occurred()) SWIG_fail
;
16186 Py_INCREF(Py_None
); resultobj
= Py_None
;
16188 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16189 resultobj
= t_output_helper(resultobj
,o
);
16192 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16193 resultobj
= t_output_helper(resultobj
,o
);
16201 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16202 PyObject
*resultobj
;
16203 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16205 PyObject
* obj0
= 0 ;
16206 char *kwnames
[] = {
16207 (char *) "self", NULL
16210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16215 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16217 wxPyEndAllowThreads(__tstate
);
16218 if (PyErr_Occurred()) SWIG_fail
;
16221 wxSize
* resultptr
;
16222 resultptr
= new wxSize((wxSize
&) result
);
16223 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16231 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16232 PyObject
*resultobj
;
16233 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16235 PyObject
* obj0
= 0 ;
16236 char *kwnames
[] = {
16237 (char *) "self", NULL
16240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16245 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16247 wxPyEndAllowThreads(__tstate
);
16248 if (PyErr_Occurred()) SWIG_fail
;
16251 wxSize
* resultptr
;
16252 resultptr
= new wxSize((wxSize
&) result
);
16253 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16261 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16262 PyObject
*resultobj
;
16263 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16264 PyObject
* obj0
= 0 ;
16265 char *kwnames
[] = {
16266 (char *) "self", NULL
16269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16274 (arg1
)->base_InitDialog();
16276 wxPyEndAllowThreads(__tstate
);
16277 if (PyErr_Occurred()) SWIG_fail
;
16279 Py_INCREF(Py_None
); resultobj
= Py_None
;
16286 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16287 PyObject
*resultobj
;
16288 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16290 PyObject
* obj0
= 0 ;
16291 char *kwnames
[] = {
16292 (char *) "self", NULL
16295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16300 result
= (bool)(arg1
)->base_TransferDataToWindow();
16302 wxPyEndAllowThreads(__tstate
);
16303 if (PyErr_Occurred()) SWIG_fail
;
16306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16314 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16315 PyObject
*resultobj
;
16316 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16318 PyObject
* obj0
= 0 ;
16319 char *kwnames
[] = {
16320 (char *) "self", NULL
16323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16328 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16330 wxPyEndAllowThreads(__tstate
);
16331 if (PyErr_Occurred()) SWIG_fail
;
16334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16342 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16343 PyObject
*resultobj
;
16344 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16346 PyObject
* obj0
= 0 ;
16347 char *kwnames
[] = {
16348 (char *) "self", NULL
16351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16356 result
= (bool)(arg1
)->base_Validate();
16358 wxPyEndAllowThreads(__tstate
);
16359 if (PyErr_Occurred()) SWIG_fail
;
16362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16370 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16371 PyObject
*resultobj
;
16372 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16374 PyObject
* obj0
= 0 ;
16375 char *kwnames
[] = {
16376 (char *) "self", NULL
16379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16384 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16386 wxPyEndAllowThreads(__tstate
);
16387 if (PyErr_Occurred()) SWIG_fail
;
16390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16398 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16399 PyObject
*resultobj
;
16400 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16402 PyObject
* obj0
= 0 ;
16403 char *kwnames
[] = {
16404 (char *) "self", NULL
16407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16412 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16414 wxPyEndAllowThreads(__tstate
);
16415 if (PyErr_Occurred()) SWIG_fail
;
16418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16426 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16427 PyObject
*resultobj
;
16428 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16430 PyObject
* obj0
= 0 ;
16431 char *kwnames
[] = {
16432 (char *) "self", NULL
16435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16440 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16442 wxPyEndAllowThreads(__tstate
);
16443 if (PyErr_Occurred()) SWIG_fail
;
16446 wxSize
* resultptr
;
16447 resultptr
= new wxSize((wxSize
&) result
);
16448 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16456 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16457 PyObject
*resultobj
;
16458 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16459 wxWindow
*arg2
= (wxWindow
*) 0 ;
16460 PyObject
* obj0
= 0 ;
16461 PyObject
* obj1
= 0 ;
16462 char *kwnames
[] = {
16463 (char *) "self",(char *) "child", NULL
16466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16473 (arg1
)->base_AddChild(arg2
);
16475 wxPyEndAllowThreads(__tstate
);
16476 if (PyErr_Occurred()) SWIG_fail
;
16478 Py_INCREF(Py_None
); resultobj
= Py_None
;
16485 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16486 PyObject
*resultobj
;
16487 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16488 wxWindow
*arg2
= (wxWindow
*) 0 ;
16489 PyObject
* obj0
= 0 ;
16490 PyObject
* obj1
= 0 ;
16491 char *kwnames
[] = {
16492 (char *) "self",(char *) "child", NULL
16495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16498 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16502 (arg1
)->base_RemoveChild(arg2
);
16504 wxPyEndAllowThreads(__tstate
);
16505 if (PyErr_Occurred()) SWIG_fail
;
16507 Py_INCREF(Py_None
); resultobj
= Py_None
;
16514 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16515 PyObject
*resultobj
;
16516 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16518 PyObject
* obj0
= 0 ;
16519 char *kwnames
[] = {
16520 (char *) "self", NULL
16523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16528 result
= (bool)(arg1
)->base_ShouldInheritColours();
16530 wxPyEndAllowThreads(__tstate
);
16531 if (PyErr_Occurred()) SWIG_fail
;
16534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16542 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16543 PyObject
*resultobj
;
16544 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16545 wxColour
*arg2
= 0 ;
16547 PyObject
* obj0
= 0 ;
16548 PyObject
* obj1
= 0 ;
16549 char *kwnames
[] = {
16550 (char *) "self",(char *) "c", NULL
16553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16558 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16562 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16564 wxPyEndAllowThreads(__tstate
);
16565 if (PyErr_Occurred()) SWIG_fail
;
16567 Py_INCREF(Py_None
); resultobj
= Py_None
;
16574 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
16576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16577 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
16579 return Py_BuildValue((char *)"");
16581 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16582 PyObject
*resultobj
;
16583 wxWindow
*arg1
= (wxWindow
*) 0 ;
16585 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16586 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16587 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16588 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16589 long arg5
= (long) 0 ;
16590 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16591 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16592 wxPyScrolledWindow
*result
;
16595 bool temp6
= False
;
16596 PyObject
* obj0
= 0 ;
16597 PyObject
* obj1
= 0 ;
16598 PyObject
* obj2
= 0 ;
16599 PyObject
* obj3
= 0 ;
16600 PyObject
* obj4
= 0 ;
16601 PyObject
* obj5
= 0 ;
16602 char *kwnames
[] = {
16603 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16609 arg2
= (int const) SWIG_AsInt(obj1
);
16610 if (PyErr_Occurred()) SWIG_fail
;
16614 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16620 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16624 arg5
= (long) SWIG_AsLong(obj4
);
16625 if (PyErr_Occurred()) SWIG_fail
;
16629 arg6
= wxString_in_helper(obj5
);
16630 if (arg6
== NULL
) SWIG_fail
;
16635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16636 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16638 wxPyEndAllowThreads(__tstate
);
16639 if (PyErr_Occurred()) SWIG_fail
;
16641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16656 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16657 PyObject
*resultobj
;
16658 wxPyScrolledWindow
*result
;
16659 char *kwnames
[] = {
16663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
16665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16666 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
16668 wxPyEndAllowThreads(__tstate
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16678 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16679 PyObject
*resultobj
;
16680 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16681 PyObject
*arg2
= (PyObject
*) 0 ;
16682 PyObject
*arg3
= (PyObject
*) 0 ;
16683 PyObject
* obj0
= 0 ;
16684 PyObject
* obj1
= 0 ;
16685 PyObject
* obj2
= 0 ;
16686 char *kwnames
[] = {
16687 (char *) "self",(char *) "self",(char *) "_class", NULL
16690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16697 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16699 wxPyEndAllowThreads(__tstate
);
16700 if (PyErr_Occurred()) SWIG_fail
;
16702 Py_INCREF(Py_None
); resultobj
= Py_None
;
16709 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16710 PyObject
*resultobj
;
16711 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16716 PyObject
* obj0
= 0 ;
16717 PyObject
* obj1
= 0 ;
16718 PyObject
* obj2
= 0 ;
16719 PyObject
* obj3
= 0 ;
16720 PyObject
* obj4
= 0 ;
16721 char *kwnames
[] = {
16722 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16728 arg2
= (int) SWIG_AsInt(obj1
);
16729 if (PyErr_Occurred()) SWIG_fail
;
16730 arg3
= (int) SWIG_AsInt(obj2
);
16731 if (PyErr_Occurred()) SWIG_fail
;
16732 arg4
= (int) SWIG_AsInt(obj3
);
16733 if (PyErr_Occurred()) SWIG_fail
;
16734 arg5
= (int) SWIG_AsInt(obj4
);
16735 if (PyErr_Occurred()) SWIG_fail
;
16737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16738 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16740 wxPyEndAllowThreads(__tstate
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16743 Py_INCREF(Py_None
); resultobj
= Py_None
;
16750 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16751 PyObject
*resultobj
;
16752 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16757 int arg6
= (int) wxSIZE_AUTO
;
16758 PyObject
* obj0
= 0 ;
16759 PyObject
* obj1
= 0 ;
16760 PyObject
* obj2
= 0 ;
16761 PyObject
* obj3
= 0 ;
16762 PyObject
* obj4
= 0 ;
16763 PyObject
* obj5
= 0 ;
16764 char *kwnames
[] = {
16765 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16771 arg2
= (int) SWIG_AsInt(obj1
);
16772 if (PyErr_Occurred()) SWIG_fail
;
16773 arg3
= (int) SWIG_AsInt(obj2
);
16774 if (PyErr_Occurred()) SWIG_fail
;
16775 arg4
= (int) SWIG_AsInt(obj3
);
16776 if (PyErr_Occurred()) SWIG_fail
;
16777 arg5
= (int) SWIG_AsInt(obj4
);
16778 if (PyErr_Occurred()) SWIG_fail
;
16780 arg6
= (int) SWIG_AsInt(obj5
);
16781 if (PyErr_Occurred()) SWIG_fail
;
16784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16785 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16787 wxPyEndAllowThreads(__tstate
);
16788 if (PyErr_Occurred()) SWIG_fail
;
16790 Py_INCREF(Py_None
); resultobj
= Py_None
;
16797 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16798 PyObject
*resultobj
;
16799 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16802 PyObject
* obj0
= 0 ;
16803 PyObject
* obj1
= 0 ;
16804 PyObject
* obj2
= 0 ;
16805 char *kwnames
[] = {
16806 (char *) "self",(char *) "width",(char *) "height", NULL
16809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16812 arg2
= (int) SWIG_AsInt(obj1
);
16813 if (PyErr_Occurred()) SWIG_fail
;
16814 arg3
= (int) SWIG_AsInt(obj2
);
16815 if (PyErr_Occurred()) SWIG_fail
;
16817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16818 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16820 wxPyEndAllowThreads(__tstate
);
16821 if (PyErr_Occurred()) SWIG_fail
;
16823 Py_INCREF(Py_None
); resultobj
= Py_None
;
16830 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16831 PyObject
*resultobj
;
16832 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16835 PyObject
* obj0
= 0 ;
16836 PyObject
* obj1
= 0 ;
16837 PyObject
* obj2
= 0 ;
16838 char *kwnames
[] = {
16839 (char *) "self",(char *) "x",(char *) "y", NULL
16842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16845 arg2
= (int) SWIG_AsInt(obj1
);
16846 if (PyErr_Occurred()) SWIG_fail
;
16847 arg3
= (int) SWIG_AsInt(obj2
);
16848 if (PyErr_Occurred()) SWIG_fail
;
16850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16851 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16853 wxPyEndAllowThreads(__tstate
);
16854 if (PyErr_Occurred()) SWIG_fail
;
16856 Py_INCREF(Py_None
); resultobj
= Py_None
;
16863 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16864 PyObject
*resultobj
;
16865 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16866 int *arg2
= (int *) 0 ;
16867 int *arg3
= (int *) 0 ;
16870 PyObject
* obj0
= 0 ;
16871 char *kwnames
[] = {
16872 (char *) "self", NULL
16877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16882 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16884 wxPyEndAllowThreads(__tstate
);
16885 if (PyErr_Occurred()) SWIG_fail
;
16887 Py_INCREF(Py_None
); resultobj
= Py_None
;
16889 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16890 resultobj
= t_output_helper(resultobj
,o
);
16893 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16894 resultobj
= t_output_helper(resultobj
,o
);
16902 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16903 PyObject
*resultobj
;
16904 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16905 int *arg2
= (int *) 0 ;
16906 int *arg3
= (int *) 0 ;
16909 PyObject
* obj0
= 0 ;
16910 char *kwnames
[] = {
16911 (char *) "self", NULL
16916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16921 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16923 wxPyEndAllowThreads(__tstate
);
16924 if (PyErr_Occurred()) SWIG_fail
;
16926 Py_INCREF(Py_None
); resultobj
= Py_None
;
16928 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16929 resultobj
= t_output_helper(resultobj
,o
);
16932 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16933 resultobj
= t_output_helper(resultobj
,o
);
16941 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16942 PyObject
*resultobj
;
16943 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16944 int *arg2
= (int *) 0 ;
16945 int *arg3
= (int *) 0 ;
16948 PyObject
* obj0
= 0 ;
16949 char *kwnames
[] = {
16950 (char *) "self", NULL
16955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16960 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16962 wxPyEndAllowThreads(__tstate
);
16963 if (PyErr_Occurred()) SWIG_fail
;
16965 Py_INCREF(Py_None
); resultobj
= Py_None
;
16967 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16968 resultobj
= t_output_helper(resultobj
,o
);
16971 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16972 resultobj
= t_output_helper(resultobj
,o
);
16980 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16981 PyObject
*resultobj
;
16982 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16984 PyObject
* obj0
= 0 ;
16985 char *kwnames
[] = {
16986 (char *) "self", NULL
16989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16994 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
16996 wxPyEndAllowThreads(__tstate
);
16997 if (PyErr_Occurred()) SWIG_fail
;
17000 wxSize
* resultptr
;
17001 resultptr
= new wxSize((wxSize
&) result
);
17002 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17010 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17011 PyObject
*resultobj
;
17012 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17014 PyObject
* obj0
= 0 ;
17015 char *kwnames
[] = {
17016 (char *) "self", NULL
17019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17024 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17026 wxPyEndAllowThreads(__tstate
);
17027 if (PyErr_Occurred()) SWIG_fail
;
17030 wxSize
* resultptr
;
17031 resultptr
= new wxSize((wxSize
&) result
);
17032 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17040 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17041 PyObject
*resultobj
;
17042 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17043 PyObject
* obj0
= 0 ;
17044 char *kwnames
[] = {
17045 (char *) "self", NULL
17048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17053 (arg1
)->base_InitDialog();
17055 wxPyEndAllowThreads(__tstate
);
17056 if (PyErr_Occurred()) SWIG_fail
;
17058 Py_INCREF(Py_None
); resultobj
= Py_None
;
17065 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17066 PyObject
*resultobj
;
17067 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17069 PyObject
* obj0
= 0 ;
17070 char *kwnames
[] = {
17071 (char *) "self", NULL
17074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17079 result
= (bool)(arg1
)->base_TransferDataToWindow();
17081 wxPyEndAllowThreads(__tstate
);
17082 if (PyErr_Occurred()) SWIG_fail
;
17085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17093 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17094 PyObject
*resultobj
;
17095 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17097 PyObject
* obj0
= 0 ;
17098 char *kwnames
[] = {
17099 (char *) "self", NULL
17102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17107 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17109 wxPyEndAllowThreads(__tstate
);
17110 if (PyErr_Occurred()) SWIG_fail
;
17113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17121 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17122 PyObject
*resultobj
;
17123 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17125 PyObject
* obj0
= 0 ;
17126 char *kwnames
[] = {
17127 (char *) "self", NULL
17130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
17131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17135 result
= (bool)(arg1
)->base_Validate();
17137 wxPyEndAllowThreads(__tstate
);
17138 if (PyErr_Occurred()) SWIG_fail
;
17141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17149 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17150 PyObject
*resultobj
;
17151 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17153 PyObject
* obj0
= 0 ;
17154 char *kwnames
[] = {
17155 (char *) "self", NULL
17158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17163 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
17165 wxPyEndAllowThreads(__tstate
);
17166 if (PyErr_Occurred()) SWIG_fail
;
17169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17177 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17178 PyObject
*resultobj
;
17179 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17181 PyObject
* obj0
= 0 ;
17182 char *kwnames
[] = {
17183 (char *) "self", NULL
17186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17191 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17193 wxPyEndAllowThreads(__tstate
);
17194 if (PyErr_Occurred()) SWIG_fail
;
17197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17205 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17206 PyObject
*resultobj
;
17207 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17209 PyObject
* obj0
= 0 ;
17210 char *kwnames
[] = {
17211 (char *) "self", NULL
17214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17219 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
17221 wxPyEndAllowThreads(__tstate
);
17222 if (PyErr_Occurred()) SWIG_fail
;
17225 wxSize
* resultptr
;
17226 resultptr
= new wxSize((wxSize
&) result
);
17227 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17235 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17236 PyObject
*resultobj
;
17237 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17238 wxWindow
*arg2
= (wxWindow
*) 0 ;
17239 PyObject
* obj0
= 0 ;
17240 PyObject
* obj1
= 0 ;
17241 char *kwnames
[] = {
17242 (char *) "self",(char *) "child", NULL
17245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17248 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17252 (arg1
)->base_AddChild(arg2
);
17254 wxPyEndAllowThreads(__tstate
);
17255 if (PyErr_Occurred()) SWIG_fail
;
17257 Py_INCREF(Py_None
); resultobj
= Py_None
;
17264 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17265 PyObject
*resultobj
;
17266 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17267 wxWindow
*arg2
= (wxWindow
*) 0 ;
17268 PyObject
* obj0
= 0 ;
17269 PyObject
* obj1
= 0 ;
17270 char *kwnames
[] = {
17271 (char *) "self",(char *) "child", NULL
17274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17277 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17281 (arg1
)->base_RemoveChild(arg2
);
17283 wxPyEndAllowThreads(__tstate
);
17284 if (PyErr_Occurred()) SWIG_fail
;
17286 Py_INCREF(Py_None
); resultobj
= Py_None
;
17293 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17294 PyObject
*resultobj
;
17295 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17297 PyObject
* obj0
= 0 ;
17298 char *kwnames
[] = {
17299 (char *) "self", NULL
17302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17307 result
= (bool)(arg1
)->base_ShouldInheritColours();
17309 wxPyEndAllowThreads(__tstate
);
17310 if (PyErr_Occurred()) SWIG_fail
;
17313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17321 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17322 PyObject
*resultobj
;
17323 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17324 wxColour
*arg2
= 0 ;
17326 PyObject
* obj0
= 0 ;
17327 PyObject
* obj1
= 0 ;
17328 char *kwnames
[] = {
17329 (char *) "self",(char *) "c", NULL
17332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17337 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17341 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17343 wxPyEndAllowThreads(__tstate
);
17344 if (PyErr_Occurred()) SWIG_fail
;
17346 Py_INCREF(Py_None
); resultobj
= Py_None
;
17353 static PyObject
* PyScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
17355 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17356 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
17358 return Py_BuildValue((char *)"");
17360 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
17361 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
17366 static PyObject
*_wrap_PrintoutTitleStr_get() {
17371 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17373 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17380 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
17381 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
17386 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
17391 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17393 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17400 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17401 PyObject
*resultobj
;
17402 wxPrintData
*result
;
17403 char *kwnames
[] = {
17407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
17409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17410 result
= (wxPrintData
*)new wxPrintData();
17412 wxPyEndAllowThreads(__tstate
);
17413 if (PyErr_Occurred()) SWIG_fail
;
17415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
17422 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17423 PyObject
*resultobj
;
17424 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17425 PyObject
* obj0
= 0 ;
17426 char *kwnames
[] = {
17427 (char *) "self", NULL
17430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
17431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17437 wxPyEndAllowThreads(__tstate
);
17438 if (PyErr_Occurred()) SWIG_fail
;
17440 Py_INCREF(Py_None
); resultobj
= Py_None
;
17447 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17448 PyObject
*resultobj
;
17449 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17451 PyObject
* obj0
= 0 ;
17452 char *kwnames
[] = {
17453 (char *) "self", NULL
17456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
17457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17461 result
= (int)(arg1
)->GetNoCopies();
17463 wxPyEndAllowThreads(__tstate
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17466 resultobj
= SWIG_FromInt((int)result
);
17473 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17474 PyObject
*resultobj
;
17475 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17477 PyObject
* obj0
= 0 ;
17478 char *kwnames
[] = {
17479 (char *) "self", NULL
17482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
17483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17487 result
= (bool)(arg1
)->GetCollate();
17489 wxPyEndAllowThreads(__tstate
);
17490 if (PyErr_Occurred()) SWIG_fail
;
17493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17501 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17502 PyObject
*resultobj
;
17503 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17505 PyObject
* obj0
= 0 ;
17506 char *kwnames
[] = {
17507 (char *) "self", NULL
17510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
17511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17515 result
= (int)(arg1
)->GetOrientation();
17517 wxPyEndAllowThreads(__tstate
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17520 resultobj
= SWIG_FromInt((int)result
);
17527 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17528 PyObject
*resultobj
;
17529 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17531 PyObject
* obj0
= 0 ;
17532 char *kwnames
[] = {
17533 (char *) "self", NULL
17536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
17537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17541 result
= (bool)(arg1
)->Ok();
17543 wxPyEndAllowThreads(__tstate
);
17544 if (PyErr_Occurred()) SWIG_fail
;
17547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17555 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17556 PyObject
*resultobj
;
17557 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17559 PyObject
* obj0
= 0 ;
17560 char *kwnames
[] = {
17561 (char *) "self", NULL
17564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
17565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17570 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
17571 result
= (wxString
*) &_result_ref
;
17574 wxPyEndAllowThreads(__tstate
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17579 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17581 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17590 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17591 PyObject
*resultobj
;
17592 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17594 PyObject
* obj0
= 0 ;
17595 char *kwnames
[] = {
17596 (char *) "self", NULL
17599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
17600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17604 result
= (bool)(arg1
)->GetColour();
17606 wxPyEndAllowThreads(__tstate
);
17607 if (PyErr_Occurred()) SWIG_fail
;
17610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17618 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17619 PyObject
*resultobj
;
17620 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17622 PyObject
* obj0
= 0 ;
17623 char *kwnames
[] = {
17624 (char *) "self", NULL
17627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
17628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17632 result
= (int)(arg1
)->GetDuplex();
17634 wxPyEndAllowThreads(__tstate
);
17635 if (PyErr_Occurred()) SWIG_fail
;
17637 resultobj
= SWIG_FromInt((int)result
);
17644 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17645 PyObject
*resultobj
;
17646 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17648 PyObject
* obj0
= 0 ;
17649 char *kwnames
[] = {
17650 (char *) "self", NULL
17653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
17654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17658 result
= (int)(arg1
)->GetPaperId();
17660 wxPyEndAllowThreads(__tstate
);
17661 if (PyErr_Occurred()) SWIG_fail
;
17663 resultobj
= SWIG_FromInt((int)result
);
17670 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17671 PyObject
*resultobj
;
17672 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17674 PyObject
* obj0
= 0 ;
17675 char *kwnames
[] = {
17676 (char *) "self", NULL
17679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
17680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17685 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
17686 result
= (wxSize
*) &_result_ref
;
17689 wxPyEndAllowThreads(__tstate
);
17690 if (PyErr_Occurred()) SWIG_fail
;
17692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
17699 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17700 PyObject
*resultobj
;
17701 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17703 PyObject
* obj0
= 0 ;
17704 char *kwnames
[] = {
17705 (char *) "self", NULL
17708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
17709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17713 result
= (int)(arg1
)->GetQuality();
17715 wxPyEndAllowThreads(__tstate
);
17716 if (PyErr_Occurred()) SWIG_fail
;
17718 resultobj
= SWIG_FromInt((int)result
);
17725 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17726 PyObject
*resultobj
;
17727 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17729 PyObject
* obj0
= 0 ;
17730 PyObject
* obj1
= 0 ;
17731 char *kwnames
[] = {
17732 (char *) "self",(char *) "v", NULL
17735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
17736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17738 arg2
= (int) SWIG_AsInt(obj1
);
17739 if (PyErr_Occurred()) SWIG_fail
;
17741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17742 (arg1
)->SetNoCopies(arg2
);
17744 wxPyEndAllowThreads(__tstate
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17747 Py_INCREF(Py_None
); resultobj
= Py_None
;
17754 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17755 PyObject
*resultobj
;
17756 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17758 PyObject
* obj0
= 0 ;
17759 PyObject
* obj1
= 0 ;
17760 char *kwnames
[] = {
17761 (char *) "self",(char *) "flag", NULL
17764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
17765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17767 arg2
= (bool) SWIG_AsBool(obj1
);
17768 if (PyErr_Occurred()) SWIG_fail
;
17770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17771 (arg1
)->SetCollate(arg2
);
17773 wxPyEndAllowThreads(__tstate
);
17774 if (PyErr_Occurred()) SWIG_fail
;
17776 Py_INCREF(Py_None
); resultobj
= Py_None
;
17783 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17784 PyObject
*resultobj
;
17785 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17787 PyObject
* obj0
= 0 ;
17788 PyObject
* obj1
= 0 ;
17789 char *kwnames
[] = {
17790 (char *) "self",(char *) "orient", NULL
17793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
17794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17796 arg2
= (int) SWIG_AsInt(obj1
);
17797 if (PyErr_Occurred()) SWIG_fail
;
17799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17800 (arg1
)->SetOrientation(arg2
);
17802 wxPyEndAllowThreads(__tstate
);
17803 if (PyErr_Occurred()) SWIG_fail
;
17805 Py_INCREF(Py_None
); resultobj
= Py_None
;
17812 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17813 PyObject
*resultobj
;
17814 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17815 wxString
*arg2
= 0 ;
17816 bool temp2
= False
;
17817 PyObject
* obj0
= 0 ;
17818 PyObject
* obj1
= 0 ;
17819 char *kwnames
[] = {
17820 (char *) "self",(char *) "name", NULL
17823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
17824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17827 arg2
= wxString_in_helper(obj1
);
17828 if (arg2
== NULL
) SWIG_fail
;
17832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17833 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
17835 wxPyEndAllowThreads(__tstate
);
17836 if (PyErr_Occurred()) SWIG_fail
;
17838 Py_INCREF(Py_None
); resultobj
= Py_None
;
17853 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17854 PyObject
*resultobj
;
17855 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17857 PyObject
* obj0
= 0 ;
17858 PyObject
* obj1
= 0 ;
17859 char *kwnames
[] = {
17860 (char *) "self",(char *) "colour", NULL
17863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17866 arg2
= (bool) SWIG_AsBool(obj1
);
17867 if (PyErr_Occurred()) SWIG_fail
;
17869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17870 (arg1
)->SetColour(arg2
);
17872 wxPyEndAllowThreads(__tstate
);
17873 if (PyErr_Occurred()) SWIG_fail
;
17875 Py_INCREF(Py_None
); resultobj
= Py_None
;
17882 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17883 PyObject
*resultobj
;
17884 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17886 PyObject
* obj0
= 0 ;
17887 PyObject
* obj1
= 0 ;
17888 char *kwnames
[] = {
17889 (char *) "self",(char *) "duplex", NULL
17892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
17893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17895 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
17896 if (PyErr_Occurred()) SWIG_fail
;
17898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17899 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
17901 wxPyEndAllowThreads(__tstate
);
17902 if (PyErr_Occurred()) SWIG_fail
;
17904 Py_INCREF(Py_None
); resultobj
= Py_None
;
17911 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17912 PyObject
*resultobj
;
17913 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17915 PyObject
* obj0
= 0 ;
17916 PyObject
* obj1
= 0 ;
17917 char *kwnames
[] = {
17918 (char *) "self",(char *) "sizeId", NULL
17921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
17922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17924 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
17925 if (PyErr_Occurred()) SWIG_fail
;
17927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17928 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
17930 wxPyEndAllowThreads(__tstate
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17933 Py_INCREF(Py_None
); resultobj
= Py_None
;
17940 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17941 PyObject
*resultobj
;
17942 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17945 PyObject
* obj0
= 0 ;
17946 PyObject
* obj1
= 0 ;
17947 char *kwnames
[] = {
17948 (char *) "self",(char *) "sz", NULL
17951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17956 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17960 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
17962 wxPyEndAllowThreads(__tstate
);
17963 if (PyErr_Occurred()) SWIG_fail
;
17965 Py_INCREF(Py_None
); resultobj
= Py_None
;
17972 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17973 PyObject
*resultobj
;
17974 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17976 PyObject
* obj0
= 0 ;
17977 PyObject
* obj1
= 0 ;
17978 char *kwnames
[] = {
17979 (char *) "self",(char *) "quality", NULL
17982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
17983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17985 arg2
= (int) SWIG_AsInt(obj1
);
17986 if (PyErr_Occurred()) SWIG_fail
;
17988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17989 (arg1
)->SetQuality(arg2
);
17991 wxPyEndAllowThreads(__tstate
);
17992 if (PyErr_Occurred()) SWIG_fail
;
17994 Py_INCREF(Py_None
); resultobj
= Py_None
;
18001 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18002 PyObject
*resultobj
;
18003 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18005 PyObject
* obj0
= 0 ;
18006 char *kwnames
[] = {
18007 (char *) "self", NULL
18010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18016 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18017 result
= (wxString
*) &_result_ref
;
18020 wxPyEndAllowThreads(__tstate
);
18021 if (PyErr_Occurred()) SWIG_fail
;
18025 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18027 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18036 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18037 PyObject
*resultobj
;
18038 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18040 PyObject
* obj0
= 0 ;
18041 char *kwnames
[] = {
18042 (char *) "self", NULL
18045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
18046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18051 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
18052 result
= (wxString
*) &_result_ref
;
18055 wxPyEndAllowThreads(__tstate
);
18056 if (PyErr_Occurred()) SWIG_fail
;
18060 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18062 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18071 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18072 PyObject
*resultobj
;
18073 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18075 PyObject
* obj0
= 0 ;
18076 char *kwnames
[] = {
18077 (char *) "self", NULL
18080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
18081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18086 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
18087 result
= (wxString
*) &_result_ref
;
18090 wxPyEndAllowThreads(__tstate
);
18091 if (PyErr_Occurred()) SWIG_fail
;
18095 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18097 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18106 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18107 PyObject
*resultobj
;
18108 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18110 PyObject
* obj0
= 0 ;
18111 char *kwnames
[] = {
18112 (char *) "self", NULL
18115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
18116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18121 wxString
const &_result_ref
= (arg1
)->GetFilename();
18122 result
= (wxString
*) &_result_ref
;
18125 wxPyEndAllowThreads(__tstate
);
18126 if (PyErr_Occurred()) SWIG_fail
;
18130 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18132 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18141 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18142 PyObject
*resultobj
;
18143 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18145 PyObject
* obj0
= 0 ;
18146 char *kwnames
[] = {
18147 (char *) "self", NULL
18150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
18151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18156 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
18157 result
= (wxString
*) &_result_ref
;
18160 wxPyEndAllowThreads(__tstate
);
18161 if (PyErr_Occurred()) SWIG_fail
;
18165 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18167 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18176 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18177 PyObject
*resultobj
;
18178 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18180 PyObject
* obj0
= 0 ;
18181 char *kwnames
[] = {
18182 (char *) "self", NULL
18185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
18186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18190 result
= (double)(arg1
)->GetPrinterScaleX();
18192 wxPyEndAllowThreads(__tstate
);
18193 if (PyErr_Occurred()) SWIG_fail
;
18195 resultobj
= SWIG_FromDouble((double)result
);
18202 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18203 PyObject
*resultobj
;
18204 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18206 PyObject
* obj0
= 0 ;
18207 char *kwnames
[] = {
18208 (char *) "self", NULL
18211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
18212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18216 result
= (double)(arg1
)->GetPrinterScaleY();
18218 wxPyEndAllowThreads(__tstate
);
18219 if (PyErr_Occurred()) SWIG_fail
;
18221 resultobj
= SWIG_FromDouble((double)result
);
18228 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18229 PyObject
*resultobj
;
18230 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18232 PyObject
* obj0
= 0 ;
18233 char *kwnames
[] = {
18234 (char *) "self", NULL
18237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
18238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18242 result
= (long)(arg1
)->GetPrinterTranslateX();
18244 wxPyEndAllowThreads(__tstate
);
18245 if (PyErr_Occurred()) SWIG_fail
;
18247 resultobj
= SWIG_FromLong((long)result
);
18254 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18255 PyObject
*resultobj
;
18256 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18258 PyObject
* obj0
= 0 ;
18259 char *kwnames
[] = {
18260 (char *) "self", NULL
18263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
18264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18268 result
= (long)(arg1
)->GetPrinterTranslateY();
18270 wxPyEndAllowThreads(__tstate
);
18271 if (PyErr_Occurred()) SWIG_fail
;
18273 resultobj
= SWIG_FromLong((long)result
);
18280 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18281 PyObject
*resultobj
;
18282 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18284 PyObject
* obj0
= 0 ;
18285 char *kwnames
[] = {
18286 (char *) "self", NULL
18289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18294 result
= (int)(arg1
)->GetPrintMode();
18296 wxPyEndAllowThreads(__tstate
);
18297 if (PyErr_Occurred()) SWIG_fail
;
18299 resultobj
= SWIG_FromInt((int)result
);
18306 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18307 PyObject
*resultobj
;
18308 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18309 wxString
*arg2
= 0 ;
18310 bool temp2
= False
;
18311 PyObject
* obj0
= 0 ;
18312 PyObject
* obj1
= 0 ;
18313 char *kwnames
[] = {
18314 (char *) "self",(char *) "command", NULL
18317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18321 arg2
= wxString_in_helper(obj1
);
18322 if (arg2
== NULL
) SWIG_fail
;
18326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18327 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
18329 wxPyEndAllowThreads(__tstate
);
18330 if (PyErr_Occurred()) SWIG_fail
;
18332 Py_INCREF(Py_None
); resultobj
= Py_None
;
18347 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18348 PyObject
*resultobj
;
18349 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18350 wxString
*arg2
= 0 ;
18351 bool temp2
= False
;
18352 PyObject
* obj0
= 0 ;
18353 PyObject
* obj1
= 0 ;
18354 char *kwnames
[] = {
18355 (char *) "self",(char *) "options", NULL
18358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
18359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18362 arg2
= wxString_in_helper(obj1
);
18363 if (arg2
== NULL
) SWIG_fail
;
18367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18368 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
18370 wxPyEndAllowThreads(__tstate
);
18371 if (PyErr_Occurred()) SWIG_fail
;
18373 Py_INCREF(Py_None
); resultobj
= Py_None
;
18388 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18389 PyObject
*resultobj
;
18390 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18391 wxString
*arg2
= 0 ;
18392 bool temp2
= False
;
18393 PyObject
* obj0
= 0 ;
18394 PyObject
* obj1
= 0 ;
18395 char *kwnames
[] = {
18396 (char *) "self",(char *) "command", NULL
18399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18403 arg2
= wxString_in_helper(obj1
);
18404 if (arg2
== NULL
) SWIG_fail
;
18408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18409 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
18411 wxPyEndAllowThreads(__tstate
);
18412 if (PyErr_Occurred()) SWIG_fail
;
18414 Py_INCREF(Py_None
); resultobj
= Py_None
;
18429 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18430 PyObject
*resultobj
;
18431 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18432 wxString
*arg2
= 0 ;
18433 bool temp2
= False
;
18434 PyObject
* obj0
= 0 ;
18435 PyObject
* obj1
= 0 ;
18436 char *kwnames
[] = {
18437 (char *) "self",(char *) "filename", NULL
18440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
18441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18444 arg2
= wxString_in_helper(obj1
);
18445 if (arg2
== NULL
) SWIG_fail
;
18449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18450 (arg1
)->SetFilename((wxString
const &)*arg2
);
18452 wxPyEndAllowThreads(__tstate
);
18453 if (PyErr_Occurred()) SWIG_fail
;
18455 Py_INCREF(Py_None
); resultobj
= Py_None
;
18470 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18471 PyObject
*resultobj
;
18472 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18473 wxString
*arg2
= 0 ;
18474 bool temp2
= False
;
18475 PyObject
* obj0
= 0 ;
18476 PyObject
* obj1
= 0 ;
18477 char *kwnames
[] = {
18478 (char *) "self",(char *) "path", NULL
18481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
18482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18485 arg2
= wxString_in_helper(obj1
);
18486 if (arg2
== NULL
) SWIG_fail
;
18490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18491 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
18493 wxPyEndAllowThreads(__tstate
);
18494 if (PyErr_Occurred()) SWIG_fail
;
18496 Py_INCREF(Py_None
); resultobj
= Py_None
;
18511 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18512 PyObject
*resultobj
;
18513 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18515 PyObject
* obj0
= 0 ;
18516 PyObject
* obj1
= 0 ;
18517 char *kwnames
[] = {
18518 (char *) "self",(char *) "x", NULL
18521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
18522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18524 arg2
= (double) SWIG_AsDouble(obj1
);
18525 if (PyErr_Occurred()) SWIG_fail
;
18527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18528 (arg1
)->SetPrinterScaleX(arg2
);
18530 wxPyEndAllowThreads(__tstate
);
18531 if (PyErr_Occurred()) SWIG_fail
;
18533 Py_INCREF(Py_None
); resultobj
= Py_None
;
18540 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18541 PyObject
*resultobj
;
18542 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18544 PyObject
* obj0
= 0 ;
18545 PyObject
* obj1
= 0 ;
18546 char *kwnames
[] = {
18547 (char *) "self",(char *) "y", NULL
18550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
18551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18553 arg2
= (double) SWIG_AsDouble(obj1
);
18554 if (PyErr_Occurred()) SWIG_fail
;
18556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18557 (arg1
)->SetPrinterScaleY(arg2
);
18559 wxPyEndAllowThreads(__tstate
);
18560 if (PyErr_Occurred()) SWIG_fail
;
18562 Py_INCREF(Py_None
); resultobj
= Py_None
;
18569 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18570 PyObject
*resultobj
;
18571 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18574 PyObject
* obj0
= 0 ;
18575 PyObject
* obj1
= 0 ;
18576 PyObject
* obj2
= 0 ;
18577 char *kwnames
[] = {
18578 (char *) "self",(char *) "x",(char *) "y", NULL
18581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18584 arg2
= (double) SWIG_AsDouble(obj1
);
18585 if (PyErr_Occurred()) SWIG_fail
;
18586 arg3
= (double) SWIG_AsDouble(obj2
);
18587 if (PyErr_Occurred()) SWIG_fail
;
18589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18590 (arg1
)->SetPrinterScaling(arg2
,arg3
);
18592 wxPyEndAllowThreads(__tstate
);
18593 if (PyErr_Occurred()) SWIG_fail
;
18595 Py_INCREF(Py_None
); resultobj
= Py_None
;
18602 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18603 PyObject
*resultobj
;
18604 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18606 PyObject
* obj0
= 0 ;
18607 PyObject
* obj1
= 0 ;
18608 char *kwnames
[] = {
18609 (char *) "self",(char *) "x", NULL
18612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
18613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18615 arg2
= (long) SWIG_AsLong(obj1
);
18616 if (PyErr_Occurred()) SWIG_fail
;
18618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18619 (arg1
)->SetPrinterTranslateX(arg2
);
18621 wxPyEndAllowThreads(__tstate
);
18622 if (PyErr_Occurred()) SWIG_fail
;
18624 Py_INCREF(Py_None
); resultobj
= Py_None
;
18631 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18632 PyObject
*resultobj
;
18633 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18635 PyObject
* obj0
= 0 ;
18636 PyObject
* obj1
= 0 ;
18637 char *kwnames
[] = {
18638 (char *) "self",(char *) "y", NULL
18641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
18642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18644 arg2
= (long) SWIG_AsLong(obj1
);
18645 if (PyErr_Occurred()) SWIG_fail
;
18647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18648 (arg1
)->SetPrinterTranslateY(arg2
);
18650 wxPyEndAllowThreads(__tstate
);
18651 if (PyErr_Occurred()) SWIG_fail
;
18653 Py_INCREF(Py_None
); resultobj
= Py_None
;
18660 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18661 PyObject
*resultobj
;
18662 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18665 PyObject
* obj0
= 0 ;
18666 PyObject
* obj1
= 0 ;
18667 PyObject
* obj2
= 0 ;
18668 char *kwnames
[] = {
18669 (char *) "self",(char *) "x",(char *) "y", NULL
18672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18675 arg2
= (long) SWIG_AsLong(obj1
);
18676 if (PyErr_Occurred()) SWIG_fail
;
18677 arg3
= (long) SWIG_AsLong(obj2
);
18678 if (PyErr_Occurred()) SWIG_fail
;
18680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18681 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
18683 wxPyEndAllowThreads(__tstate
);
18684 if (PyErr_Occurred()) SWIG_fail
;
18686 Py_INCREF(Py_None
); resultobj
= Py_None
;
18693 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18694 PyObject
*resultobj
;
18695 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18697 PyObject
* obj0
= 0 ;
18698 PyObject
* obj1
= 0 ;
18699 char *kwnames
[] = {
18700 (char *) "self",(char *) "printMode", NULL
18703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
18704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18706 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
18707 if (PyErr_Occurred()) SWIG_fail
;
18709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18710 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
18712 wxPyEndAllowThreads(__tstate
);
18713 if (PyErr_Occurred()) SWIG_fail
;
18715 Py_INCREF(Py_None
); resultobj
= Py_None
;
18722 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18723 PyObject
*resultobj
;
18724 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18725 wxOutputStream
*result
;
18726 PyObject
* obj0
= 0 ;
18727 char *kwnames
[] = {
18728 (char *) "self", NULL
18731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
18732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18736 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
18738 wxPyEndAllowThreads(__tstate
);
18739 if (PyErr_Occurred()) SWIG_fail
;
18741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
18748 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18749 PyObject
*resultobj
;
18750 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18751 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
18752 PyObject
* obj0
= 0 ;
18753 PyObject
* obj1
= 0 ;
18754 char *kwnames
[] = {
18755 (char *) "self",(char *) "outputstream", NULL
18758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
18759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18761 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
18762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18765 (arg1
)->SetOutputStream(arg2
);
18767 wxPyEndAllowThreads(__tstate
);
18768 if (PyErr_Occurred()) SWIG_fail
;
18770 Py_INCREF(Py_None
); resultobj
= Py_None
;
18777 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
18779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18780 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
18782 return Py_BuildValue((char *)"");
18784 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18785 PyObject
*resultobj
;
18786 wxPageSetupDialogData
*result
;
18787 char *kwnames
[] = {
18791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
18793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18794 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
18796 wxPyEndAllowThreads(__tstate
);
18797 if (PyErr_Occurred()) SWIG_fail
;
18799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
18806 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18807 PyObject
*resultobj
;
18808 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18809 PyObject
* obj0
= 0 ;
18810 char *kwnames
[] = {
18811 (char *) "self", NULL
18814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
18815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18821 wxPyEndAllowThreads(__tstate
);
18822 if (PyErr_Occurred()) SWIG_fail
;
18824 Py_INCREF(Py_None
); resultobj
= Py_None
;
18831 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18832 PyObject
*resultobj
;
18833 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18835 PyObject
* obj0
= 0 ;
18836 PyObject
* obj1
= 0 ;
18837 char *kwnames
[] = {
18838 (char *) "self",(char *) "flag", NULL
18841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18844 arg2
= (bool) SWIG_AsBool(obj1
);
18845 if (PyErr_Occurred()) SWIG_fail
;
18847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18848 (arg1
)->EnableHelp(arg2
);
18850 wxPyEndAllowThreads(__tstate
);
18851 if (PyErr_Occurred()) SWIG_fail
;
18853 Py_INCREF(Py_None
); resultobj
= Py_None
;
18860 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18861 PyObject
*resultobj
;
18862 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18864 PyObject
* obj0
= 0 ;
18865 PyObject
* obj1
= 0 ;
18866 char *kwnames
[] = {
18867 (char *) "self",(char *) "flag", NULL
18870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18873 arg2
= (bool) SWIG_AsBool(obj1
);
18874 if (PyErr_Occurred()) SWIG_fail
;
18876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18877 (arg1
)->EnableMargins(arg2
);
18879 wxPyEndAllowThreads(__tstate
);
18880 if (PyErr_Occurred()) SWIG_fail
;
18882 Py_INCREF(Py_None
); resultobj
= Py_None
;
18889 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18890 PyObject
*resultobj
;
18891 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18893 PyObject
* obj0
= 0 ;
18894 PyObject
* obj1
= 0 ;
18895 char *kwnames
[] = {
18896 (char *) "self",(char *) "flag", NULL
18899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18902 arg2
= (bool) SWIG_AsBool(obj1
);
18903 if (PyErr_Occurred()) SWIG_fail
;
18905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18906 (arg1
)->EnableOrientation(arg2
);
18908 wxPyEndAllowThreads(__tstate
);
18909 if (PyErr_Occurred()) SWIG_fail
;
18911 Py_INCREF(Py_None
); resultobj
= Py_None
;
18918 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18919 PyObject
*resultobj
;
18920 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18922 PyObject
* obj0
= 0 ;
18923 PyObject
* obj1
= 0 ;
18924 char *kwnames
[] = {
18925 (char *) "self",(char *) "flag", NULL
18928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
18929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18931 arg2
= (bool) SWIG_AsBool(obj1
);
18932 if (PyErr_Occurred()) SWIG_fail
;
18934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18935 (arg1
)->EnablePaper(arg2
);
18937 wxPyEndAllowThreads(__tstate
);
18938 if (PyErr_Occurred()) SWIG_fail
;
18940 Py_INCREF(Py_None
); resultobj
= Py_None
;
18947 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18948 PyObject
*resultobj
;
18949 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18951 PyObject
* obj0
= 0 ;
18952 PyObject
* obj1
= 0 ;
18953 char *kwnames
[] = {
18954 (char *) "self",(char *) "flag", NULL
18957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
18958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18960 arg2
= (bool) SWIG_AsBool(obj1
);
18961 if (PyErr_Occurred()) SWIG_fail
;
18963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18964 (arg1
)->EnablePrinter(arg2
);
18966 wxPyEndAllowThreads(__tstate
);
18967 if (PyErr_Occurred()) SWIG_fail
;
18969 Py_INCREF(Py_None
); resultobj
= Py_None
;
18976 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18977 PyObject
*resultobj
;
18978 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18980 PyObject
* obj0
= 0 ;
18981 char *kwnames
[] = {
18982 (char *) "self", NULL
18985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
18986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18990 result
= (bool)(arg1
)->GetDefaultMinMargins();
18992 wxPyEndAllowThreads(__tstate
);
18993 if (PyErr_Occurred()) SWIG_fail
;
18996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19004 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19005 PyObject
*resultobj
;
19006 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19008 PyObject
* obj0
= 0 ;
19009 char *kwnames
[] = {
19010 (char *) "self", NULL
19013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
19014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19018 result
= (bool)(arg1
)->GetEnableMargins();
19020 wxPyEndAllowThreads(__tstate
);
19021 if (PyErr_Occurred()) SWIG_fail
;
19024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19032 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19033 PyObject
*resultobj
;
19034 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19036 PyObject
* obj0
= 0 ;
19037 char *kwnames
[] = {
19038 (char *) "self", NULL
19041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
19042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19046 result
= (bool)(arg1
)->GetEnableOrientation();
19048 wxPyEndAllowThreads(__tstate
);
19049 if (PyErr_Occurred()) SWIG_fail
;
19052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19060 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19061 PyObject
*resultobj
;
19062 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19064 PyObject
* obj0
= 0 ;
19065 char *kwnames
[] = {
19066 (char *) "self", NULL
19069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
19070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19074 result
= (bool)(arg1
)->GetEnablePaper();
19076 wxPyEndAllowThreads(__tstate
);
19077 if (PyErr_Occurred()) SWIG_fail
;
19080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19088 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19089 PyObject
*resultobj
;
19090 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19092 PyObject
* obj0
= 0 ;
19093 char *kwnames
[] = {
19094 (char *) "self", NULL
19097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
19098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19102 result
= (bool)(arg1
)->GetEnablePrinter();
19104 wxPyEndAllowThreads(__tstate
);
19105 if (PyErr_Occurred()) SWIG_fail
;
19108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19116 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19117 PyObject
*resultobj
;
19118 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19120 PyObject
* obj0
= 0 ;
19121 char *kwnames
[] = {
19122 (char *) "self", NULL
19125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19130 result
= (bool)(arg1
)->GetEnableHelp();
19132 wxPyEndAllowThreads(__tstate
);
19133 if (PyErr_Occurred()) SWIG_fail
;
19136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19144 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19145 PyObject
*resultobj
;
19146 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19148 PyObject
* obj0
= 0 ;
19149 char *kwnames
[] = {
19150 (char *) "self", NULL
19153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
19154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19158 result
= (bool)(arg1
)->GetDefaultInfo();
19160 wxPyEndAllowThreads(__tstate
);
19161 if (PyErr_Occurred()) SWIG_fail
;
19164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19172 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19173 PyObject
*resultobj
;
19174 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19176 PyObject
* obj0
= 0 ;
19177 char *kwnames
[] = {
19178 (char *) "self", NULL
19181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19186 result
= (arg1
)->GetMarginTopLeft();
19188 wxPyEndAllowThreads(__tstate
);
19189 if (PyErr_Occurred()) SWIG_fail
;
19192 wxPoint
* resultptr
;
19193 resultptr
= new wxPoint((wxPoint
&) result
);
19194 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19202 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19203 PyObject
*resultobj
;
19204 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19206 PyObject
* obj0
= 0 ;
19207 char *kwnames
[] = {
19208 (char *) "self", NULL
19211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19216 result
= (arg1
)->GetMarginBottomRight();
19218 wxPyEndAllowThreads(__tstate
);
19219 if (PyErr_Occurred()) SWIG_fail
;
19222 wxPoint
* resultptr
;
19223 resultptr
= new wxPoint((wxPoint
&) result
);
19224 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19232 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19233 PyObject
*resultobj
;
19234 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19236 PyObject
* obj0
= 0 ;
19237 char *kwnames
[] = {
19238 (char *) "self", NULL
19241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19246 result
= (arg1
)->GetMinMarginTopLeft();
19248 wxPyEndAllowThreads(__tstate
);
19249 if (PyErr_Occurred()) SWIG_fail
;
19252 wxPoint
* resultptr
;
19253 resultptr
= new wxPoint((wxPoint
&) result
);
19254 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19262 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19263 PyObject
*resultobj
;
19264 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19266 PyObject
* obj0
= 0 ;
19267 char *kwnames
[] = {
19268 (char *) "self", NULL
19271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19276 result
= (arg1
)->GetMinMarginBottomRight();
19278 wxPyEndAllowThreads(__tstate
);
19279 if (PyErr_Occurred()) SWIG_fail
;
19282 wxPoint
* resultptr
;
19283 resultptr
= new wxPoint((wxPoint
&) result
);
19284 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19292 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19293 PyObject
*resultobj
;
19294 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19296 PyObject
* obj0
= 0 ;
19297 char *kwnames
[] = {
19298 (char *) "self", NULL
19301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
19302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19306 result
= (int)(arg1
)->GetPaperId();
19308 wxPyEndAllowThreads(__tstate
);
19309 if (PyErr_Occurred()) SWIG_fail
;
19311 resultobj
= SWIG_FromInt((int)result
);
19318 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19319 PyObject
*resultobj
;
19320 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19322 PyObject
* obj0
= 0 ;
19323 char *kwnames
[] = {
19324 (char *) "self", NULL
19327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
19328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19332 result
= (arg1
)->GetPaperSize();
19334 wxPyEndAllowThreads(__tstate
);
19335 if (PyErr_Occurred()) SWIG_fail
;
19338 wxSize
* resultptr
;
19339 resultptr
= new wxSize((wxSize
&) result
);
19340 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19348 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19349 PyObject
*resultobj
;
19350 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19351 wxPrintData
*result
;
19352 PyObject
* obj0
= 0 ;
19353 char *kwnames
[] = {
19354 (char *) "self", NULL
19357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19363 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19364 result
= (wxPrintData
*) &_result_ref
;
19367 wxPyEndAllowThreads(__tstate
);
19368 if (PyErr_Occurred()) SWIG_fail
;
19370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
19377 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19378 PyObject
*resultobj
;
19379 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19381 PyObject
* obj0
= 0 ;
19382 char *kwnames
[] = {
19383 (char *) "self", NULL
19386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19391 result
= (bool)(arg1
)->Ok();
19393 wxPyEndAllowThreads(__tstate
);
19394 if (PyErr_Occurred()) SWIG_fail
;
19397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19405 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19406 PyObject
*resultobj
;
19407 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19409 PyObject
* obj0
= 0 ;
19410 PyObject
* obj1
= 0 ;
19411 char *kwnames
[] = {
19412 (char *) "self",(char *) "flag", NULL
19415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
19416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19418 arg2
= (bool) SWIG_AsBool(obj1
);
19419 if (PyErr_Occurred()) SWIG_fail
;
19421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19422 (arg1
)->SetDefaultInfo(arg2
);
19424 wxPyEndAllowThreads(__tstate
);
19425 if (PyErr_Occurred()) SWIG_fail
;
19427 Py_INCREF(Py_None
); resultobj
= Py_None
;
19434 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19435 PyObject
*resultobj
;
19436 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19438 PyObject
* obj0
= 0 ;
19439 PyObject
* obj1
= 0 ;
19440 char *kwnames
[] = {
19441 (char *) "self",(char *) "flag", NULL
19444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19447 arg2
= (bool) SWIG_AsBool(obj1
);
19448 if (PyErr_Occurred()) SWIG_fail
;
19450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19451 (arg1
)->SetDefaultMinMargins(arg2
);
19453 wxPyEndAllowThreads(__tstate
);
19454 if (PyErr_Occurred()) SWIG_fail
;
19456 Py_INCREF(Py_None
); resultobj
= Py_None
;
19463 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19464 PyObject
*resultobj
;
19465 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19466 wxPoint
*arg2
= 0 ;
19468 PyObject
* obj0
= 0 ;
19469 PyObject
* obj1
= 0 ;
19470 char *kwnames
[] = {
19471 (char *) "self",(char *) "pt", NULL
19474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19479 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19483 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
19485 wxPyEndAllowThreads(__tstate
);
19486 if (PyErr_Occurred()) SWIG_fail
;
19488 Py_INCREF(Py_None
); resultobj
= Py_None
;
19495 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19496 PyObject
*resultobj
;
19497 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19498 wxPoint
*arg2
= 0 ;
19500 PyObject
* obj0
= 0 ;
19501 PyObject
* obj1
= 0 ;
19502 char *kwnames
[] = {
19503 (char *) "self",(char *) "pt", NULL
19506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
19507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19511 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19515 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
19517 wxPyEndAllowThreads(__tstate
);
19518 if (PyErr_Occurred()) SWIG_fail
;
19520 Py_INCREF(Py_None
); resultobj
= Py_None
;
19527 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19528 PyObject
*resultobj
;
19529 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19530 wxPoint
*arg2
= 0 ;
19532 PyObject
* obj0
= 0 ;
19533 PyObject
* obj1
= 0 ;
19534 char *kwnames
[] = {
19535 (char *) "self",(char *) "pt", NULL
19538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19543 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19547 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
19549 wxPyEndAllowThreads(__tstate
);
19550 if (PyErr_Occurred()) SWIG_fail
;
19552 Py_INCREF(Py_None
); resultobj
= Py_None
;
19559 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19560 PyObject
*resultobj
;
19561 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19562 wxPoint
*arg2
= 0 ;
19564 PyObject
* obj0
= 0 ;
19565 PyObject
* obj1
= 0 ;
19566 char *kwnames
[] = {
19567 (char *) "self",(char *) "pt", NULL
19570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
19571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19575 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19579 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
19581 wxPyEndAllowThreads(__tstate
);
19582 if (PyErr_Occurred()) SWIG_fail
;
19584 Py_INCREF(Py_None
); resultobj
= Py_None
;
19591 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19592 PyObject
*resultobj
;
19593 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19595 PyObject
* obj0
= 0 ;
19596 PyObject
* obj1
= 0 ;
19597 char *kwnames
[] = {
19598 (char *) "self",(char *) "id", NULL
19601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
19602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19604 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19608 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
19610 wxPyEndAllowThreads(__tstate
);
19611 if (PyErr_Occurred()) SWIG_fail
;
19613 Py_INCREF(Py_None
); resultobj
= Py_None
;
19620 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19621 PyObject
*resultobj
;
19622 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19625 PyObject
* obj0
= 0 ;
19626 PyObject
* obj1
= 0 ;
19627 char *kwnames
[] = {
19628 (char *) "self",(char *) "size", NULL
19631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19636 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19640 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
19642 wxPyEndAllowThreads(__tstate
);
19643 if (PyErr_Occurred()) SWIG_fail
;
19645 Py_INCREF(Py_None
); resultobj
= Py_None
;
19652 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19653 PyObject
*resultobj
;
19654 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19655 wxPrintData
*arg2
= 0 ;
19656 PyObject
* obj0
= 0 ;
19657 PyObject
* obj1
= 0 ;
19658 char *kwnames
[] = {
19659 (char *) "self",(char *) "printData", NULL
19662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
19663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19665 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
19666 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19668 if (arg2
== NULL
) {
19669 PyErr_SetString(PyExc_TypeError
,"null reference");
19673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19674 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
19676 wxPyEndAllowThreads(__tstate
);
19677 if (PyErr_Occurred()) SWIG_fail
;
19679 Py_INCREF(Py_None
); resultobj
= Py_None
;
19686 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
19688 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19689 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
19691 return Py_BuildValue((char *)"");
19693 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19694 PyObject
*resultobj
;
19695 wxWindow
*arg1
= (wxWindow
*) 0 ;
19696 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
19697 wxPageSetupDialog
*result
;
19698 PyObject
* obj0
= 0 ;
19699 PyObject
* obj1
= 0 ;
19700 char *kwnames
[] = {
19701 (char *) "parent",(char *) "data", NULL
19704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19708 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
19709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19713 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
19715 wxPyEndAllowThreads(__tstate
);
19716 if (PyErr_Occurred()) SWIG_fail
;
19718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
19725 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19726 PyObject
*resultobj
;
19727 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
19728 wxPageSetupDialogData
*result
;
19729 PyObject
* obj0
= 0 ;
19730 char *kwnames
[] = {
19731 (char *) "self", NULL
19734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
19735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
19736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19740 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
19741 result
= (wxPageSetupDialogData
*) &_result_ref
;
19744 wxPyEndAllowThreads(__tstate
);
19745 if (PyErr_Occurred()) SWIG_fail
;
19747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
19754 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19755 PyObject
*resultobj
;
19756 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
19758 PyObject
* obj0
= 0 ;
19759 char *kwnames
[] = {
19760 (char *) "self", NULL
19763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
19764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
19765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19768 result
= (int)(arg1
)->ShowModal();
19770 wxPyEndAllowThreads(__tstate
);
19771 if (PyErr_Occurred()) SWIG_fail
;
19773 resultobj
= SWIG_FromInt((int)result
);
19780 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
19782 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19783 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
19785 return Py_BuildValue((char *)"");
19787 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
19788 PyObject
*resultobj
;
19789 wxPrintDialogData
*result
;
19791 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
19793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19794 result
= (wxPrintDialogData
*)new wxPrintDialogData();
19796 wxPyEndAllowThreads(__tstate
);
19797 if (PyErr_Occurred()) SWIG_fail
;
19799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
19806 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
19807 PyObject
*resultobj
;
19808 wxPrintData
*arg1
= 0 ;
19809 wxPrintDialogData
*result
;
19810 PyObject
* obj0
= 0 ;
19812 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
19813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19814 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19816 if (arg1
== NULL
) {
19817 PyErr_SetString(PyExc_TypeError
,"null reference");
19821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19822 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
19824 wxPyEndAllowThreads(__tstate
);
19825 if (PyErr_Occurred()) SWIG_fail
;
19827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
19834 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
19839 argc
= PyObject_Length(args
);
19840 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19841 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19844 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
19850 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
19858 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
19862 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
19867 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19868 PyObject
*resultobj
;
19869 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19870 PyObject
* obj0
= 0 ;
19871 char *kwnames
[] = {
19872 (char *) "self", NULL
19875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
19876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19882 wxPyEndAllowThreads(__tstate
);
19883 if (PyErr_Occurred()) SWIG_fail
;
19885 Py_INCREF(Py_None
); resultobj
= Py_None
;
19892 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19893 PyObject
*resultobj
;
19894 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19896 PyObject
* obj0
= 0 ;
19897 char *kwnames
[] = {
19898 (char *) "self", NULL
19901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
19902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19906 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
19908 wxPyEndAllowThreads(__tstate
);
19909 if (PyErr_Occurred()) SWIG_fail
;
19911 resultobj
= SWIG_FromInt((int)result
);
19918 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19919 PyObject
*resultobj
;
19920 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19922 PyObject
* obj0
= 0 ;
19923 char *kwnames
[] = {
19924 (char *) "self", NULL
19927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
19928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19932 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
19934 wxPyEndAllowThreads(__tstate
);
19935 if (PyErr_Occurred()) SWIG_fail
;
19937 resultobj
= SWIG_FromInt((int)result
);
19944 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19945 PyObject
*resultobj
;
19946 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19948 PyObject
* obj0
= 0 ;
19949 char *kwnames
[] = {
19950 (char *) "self", NULL
19953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
19954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19958 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
19960 wxPyEndAllowThreads(__tstate
);
19961 if (PyErr_Occurred()) SWIG_fail
;
19963 resultobj
= SWIG_FromInt((int)result
);
19970 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19971 PyObject
*resultobj
;
19972 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19974 PyObject
* obj0
= 0 ;
19975 char *kwnames
[] = {
19976 (char *) "self", NULL
19979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
19980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19984 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
19986 wxPyEndAllowThreads(__tstate
);
19987 if (PyErr_Occurred()) SWIG_fail
;
19989 resultobj
= SWIG_FromInt((int)result
);
19996 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19997 PyObject
*resultobj
;
19998 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20000 PyObject
* obj0
= 0 ;
20001 char *kwnames
[] = {
20002 (char *) "self", NULL
20005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20010 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
20012 wxPyEndAllowThreads(__tstate
);
20013 if (PyErr_Occurred()) SWIG_fail
;
20015 resultobj
= SWIG_FromInt((int)result
);
20022 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20023 PyObject
*resultobj
;
20024 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20026 PyObject
* obj0
= 0 ;
20027 char *kwnames
[] = {
20028 (char *) "self", NULL
20031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
20032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20036 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
20038 wxPyEndAllowThreads(__tstate
);
20039 if (PyErr_Occurred()) SWIG_fail
;
20042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20050 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20051 PyObject
*resultobj
;
20052 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20054 PyObject
* obj0
= 0 ;
20055 char *kwnames
[] = {
20056 (char *) "self", NULL
20059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
20060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20064 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
20066 wxPyEndAllowThreads(__tstate
);
20067 if (PyErr_Occurred()) SWIG_fail
;
20070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20078 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20079 PyObject
*resultobj
;
20080 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20082 PyObject
* obj0
= 0 ;
20083 char *kwnames
[] = {
20084 (char *) "self", NULL
20087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
20088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20092 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
20094 wxPyEndAllowThreads(__tstate
);
20095 if (PyErr_Occurred()) SWIG_fail
;
20098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20106 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20107 PyObject
*resultobj
;
20108 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20110 PyObject
* obj0
= 0 ;
20111 char *kwnames
[] = {
20112 (char *) "self", NULL
20115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
20116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20120 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
20122 wxPyEndAllowThreads(__tstate
);
20123 if (PyErr_Occurred()) SWIG_fail
;
20126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20134 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20135 PyObject
*resultobj
;
20136 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20138 PyObject
* obj0
= 0 ;
20139 char *kwnames
[] = {
20140 (char *) "self", NULL
20143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
20144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20148 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
20150 wxPyEndAllowThreads(__tstate
);
20151 if (PyErr_Occurred()) SWIG_fail
;
20154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20162 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20163 PyObject
*resultobj
;
20164 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20166 PyObject
* obj0
= 0 ;
20167 PyObject
* obj1
= 0 ;
20168 char *kwnames
[] = {
20169 (char *) "self",(char *) "v", NULL
20172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20175 arg2
= (int) SWIG_AsInt(obj1
);
20176 if (PyErr_Occurred()) SWIG_fail
;
20178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20179 (arg1
)->SetFromPage(arg2
);
20181 wxPyEndAllowThreads(__tstate
);
20182 if (PyErr_Occurred()) SWIG_fail
;
20184 Py_INCREF(Py_None
); resultobj
= Py_None
;
20191 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20192 PyObject
*resultobj
;
20193 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20195 PyObject
* obj0
= 0 ;
20196 PyObject
* obj1
= 0 ;
20197 char *kwnames
[] = {
20198 (char *) "self",(char *) "v", NULL
20201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20204 arg2
= (int) SWIG_AsInt(obj1
);
20205 if (PyErr_Occurred()) SWIG_fail
;
20207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20208 (arg1
)->SetToPage(arg2
);
20210 wxPyEndAllowThreads(__tstate
);
20211 if (PyErr_Occurred()) SWIG_fail
;
20213 Py_INCREF(Py_None
); resultobj
= Py_None
;
20220 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20221 PyObject
*resultobj
;
20222 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20224 PyObject
* obj0
= 0 ;
20225 PyObject
* obj1
= 0 ;
20226 char *kwnames
[] = {
20227 (char *) "self",(char *) "v", NULL
20230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20233 arg2
= (int) SWIG_AsInt(obj1
);
20234 if (PyErr_Occurred()) SWIG_fail
;
20236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20237 (arg1
)->SetMinPage(arg2
);
20239 wxPyEndAllowThreads(__tstate
);
20240 if (PyErr_Occurred()) SWIG_fail
;
20242 Py_INCREF(Py_None
); resultobj
= Py_None
;
20249 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20250 PyObject
*resultobj
;
20251 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20253 PyObject
* obj0
= 0 ;
20254 PyObject
* obj1
= 0 ;
20255 char *kwnames
[] = {
20256 (char *) "self",(char *) "v", NULL
20259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20262 arg2
= (int) SWIG_AsInt(obj1
);
20263 if (PyErr_Occurred()) SWIG_fail
;
20265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20266 (arg1
)->SetMaxPage(arg2
);
20268 wxPyEndAllowThreads(__tstate
);
20269 if (PyErr_Occurred()) SWIG_fail
;
20271 Py_INCREF(Py_None
); resultobj
= Py_None
;
20278 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20279 PyObject
*resultobj
;
20280 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20282 PyObject
* obj0
= 0 ;
20283 PyObject
* obj1
= 0 ;
20284 char *kwnames
[] = {
20285 (char *) "self",(char *) "v", NULL
20288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20291 arg2
= (int) SWIG_AsInt(obj1
);
20292 if (PyErr_Occurred()) SWIG_fail
;
20294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20295 (arg1
)->SetNoCopies(arg2
);
20297 wxPyEndAllowThreads(__tstate
);
20298 if (PyErr_Occurred()) SWIG_fail
;
20300 Py_INCREF(Py_None
); resultobj
= Py_None
;
20307 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20308 PyObject
*resultobj
;
20309 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20311 PyObject
* obj0
= 0 ;
20312 PyObject
* obj1
= 0 ;
20313 char *kwnames
[] = {
20314 (char *) "self",(char *) "flag", NULL
20317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
20318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20320 arg2
= (bool) SWIG_AsBool(obj1
);
20321 if (PyErr_Occurred()) SWIG_fail
;
20323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20324 (arg1
)->SetAllPages(arg2
);
20326 wxPyEndAllowThreads(__tstate
);
20327 if (PyErr_Occurred()) SWIG_fail
;
20329 Py_INCREF(Py_None
); resultobj
= Py_None
;
20336 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20337 PyObject
*resultobj
;
20338 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20340 PyObject
* obj0
= 0 ;
20341 PyObject
* obj1
= 0 ;
20342 char *kwnames
[] = {
20343 (char *) "self",(char *) "flag", NULL
20346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20349 arg2
= (bool) SWIG_AsBool(obj1
);
20350 if (PyErr_Occurred()) SWIG_fail
;
20352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20353 (arg1
)->SetSelection(arg2
);
20355 wxPyEndAllowThreads(__tstate
);
20356 if (PyErr_Occurred()) SWIG_fail
;
20358 Py_INCREF(Py_None
); resultobj
= Py_None
;
20365 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20366 PyObject
*resultobj
;
20367 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20369 PyObject
* obj0
= 0 ;
20370 PyObject
* obj1
= 0 ;
20371 char *kwnames
[] = {
20372 (char *) "self",(char *) "flag", NULL
20375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20378 arg2
= (bool) SWIG_AsBool(obj1
);
20379 if (PyErr_Occurred()) SWIG_fail
;
20381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20382 (arg1
)->SetCollate(arg2
);
20384 wxPyEndAllowThreads(__tstate
);
20385 if (PyErr_Occurred()) SWIG_fail
;
20387 Py_INCREF(Py_None
); resultobj
= Py_None
;
20394 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20395 PyObject
*resultobj
;
20396 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20398 PyObject
* obj0
= 0 ;
20399 PyObject
* obj1
= 0 ;
20400 char *kwnames
[] = {
20401 (char *) "self",(char *) "flag", NULL
20404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20407 arg2
= (bool) SWIG_AsBool(obj1
);
20408 if (PyErr_Occurred()) SWIG_fail
;
20410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20411 (arg1
)->SetPrintToFile(arg2
);
20413 wxPyEndAllowThreads(__tstate
);
20414 if (PyErr_Occurred()) SWIG_fail
;
20416 Py_INCREF(Py_None
); resultobj
= Py_None
;
20423 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20424 PyObject
*resultobj
;
20425 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20427 PyObject
* obj0
= 0 ;
20428 PyObject
* obj1
= 0 ;
20429 char *kwnames
[] = {
20430 (char *) "self",(char *) "flag", NULL
20433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20436 arg2
= (bool) SWIG_AsBool(obj1
);
20437 if (PyErr_Occurred()) SWIG_fail
;
20439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20440 (arg1
)->SetSetupDialog(arg2
);
20442 wxPyEndAllowThreads(__tstate
);
20443 if (PyErr_Occurred()) SWIG_fail
;
20445 Py_INCREF(Py_None
); resultobj
= Py_None
;
20452 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20453 PyObject
*resultobj
;
20454 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20456 PyObject
* obj0
= 0 ;
20457 PyObject
* obj1
= 0 ;
20458 char *kwnames
[] = {
20459 (char *) "self",(char *) "flag", NULL
20462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20465 arg2
= (bool) SWIG_AsBool(obj1
);
20466 if (PyErr_Occurred()) SWIG_fail
;
20468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20469 (arg1
)->EnablePrintToFile(arg2
);
20471 wxPyEndAllowThreads(__tstate
);
20472 if (PyErr_Occurred()) SWIG_fail
;
20474 Py_INCREF(Py_None
); resultobj
= Py_None
;
20481 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20482 PyObject
*resultobj
;
20483 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20485 PyObject
* obj0
= 0 ;
20486 PyObject
* obj1
= 0 ;
20487 char *kwnames
[] = {
20488 (char *) "self",(char *) "flag", NULL
20491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20494 arg2
= (bool) SWIG_AsBool(obj1
);
20495 if (PyErr_Occurred()) SWIG_fail
;
20497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20498 (arg1
)->EnableSelection(arg2
);
20500 wxPyEndAllowThreads(__tstate
);
20501 if (PyErr_Occurred()) SWIG_fail
;
20503 Py_INCREF(Py_None
); resultobj
= Py_None
;
20510 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20511 PyObject
*resultobj
;
20512 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20514 PyObject
* obj0
= 0 ;
20515 PyObject
* obj1
= 0 ;
20516 char *kwnames
[] = {
20517 (char *) "self",(char *) "flag", NULL
20520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
20521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20523 arg2
= (bool) SWIG_AsBool(obj1
);
20524 if (PyErr_Occurred()) SWIG_fail
;
20526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20527 (arg1
)->EnablePageNumbers(arg2
);
20529 wxPyEndAllowThreads(__tstate
);
20530 if (PyErr_Occurred()) SWIG_fail
;
20532 Py_INCREF(Py_None
); resultobj
= Py_None
;
20539 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20540 PyObject
*resultobj
;
20541 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20543 PyObject
* obj0
= 0 ;
20544 PyObject
* obj1
= 0 ;
20545 char *kwnames
[] = {
20546 (char *) "self",(char *) "flag", NULL
20549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20552 arg2
= (bool) SWIG_AsBool(obj1
);
20553 if (PyErr_Occurred()) SWIG_fail
;
20555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20556 (arg1
)->EnableHelp(arg2
);
20558 wxPyEndAllowThreads(__tstate
);
20559 if (PyErr_Occurred()) SWIG_fail
;
20561 Py_INCREF(Py_None
); resultobj
= Py_None
;
20568 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20569 PyObject
*resultobj
;
20570 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20572 PyObject
* obj0
= 0 ;
20573 char *kwnames
[] = {
20574 (char *) "self", NULL
20577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
20578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20582 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
20584 wxPyEndAllowThreads(__tstate
);
20585 if (PyErr_Occurred()) SWIG_fail
;
20588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20596 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20597 PyObject
*resultobj
;
20598 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20600 PyObject
* obj0
= 0 ;
20601 char *kwnames
[] = {
20602 (char *) "self", NULL
20605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
20606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20610 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
20612 wxPyEndAllowThreads(__tstate
);
20613 if (PyErr_Occurred()) SWIG_fail
;
20616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20624 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20625 PyObject
*resultobj
;
20626 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20628 PyObject
* obj0
= 0 ;
20629 char *kwnames
[] = {
20630 (char *) "self", NULL
20633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
20634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20638 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
20640 wxPyEndAllowThreads(__tstate
);
20641 if (PyErr_Occurred()) SWIG_fail
;
20644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20652 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20653 PyObject
*resultobj
;
20654 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20656 PyObject
* obj0
= 0 ;
20657 char *kwnames
[] = {
20658 (char *) "self", NULL
20661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
20662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20666 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
20668 wxPyEndAllowThreads(__tstate
);
20669 if (PyErr_Occurred()) SWIG_fail
;
20672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20680 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20681 PyObject
*resultobj
;
20682 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20684 PyObject
* obj0
= 0 ;
20685 char *kwnames
[] = {
20686 (char *) "self", NULL
20689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20694 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
20696 wxPyEndAllowThreads(__tstate
);
20697 if (PyErr_Occurred()) SWIG_fail
;
20700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20708 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20709 PyObject
*resultobj
;
20710 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20711 wxPrintData
*result
;
20712 PyObject
* obj0
= 0 ;
20713 char *kwnames
[] = {
20714 (char *) "self", NULL
20717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20723 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20724 result
= (wxPrintData
*) &_result_ref
;
20727 wxPyEndAllowThreads(__tstate
);
20728 if (PyErr_Occurred()) SWIG_fail
;
20730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20737 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20738 PyObject
*resultobj
;
20739 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20740 wxPrintData
*arg2
= 0 ;
20741 PyObject
* obj0
= 0 ;
20742 PyObject
* obj1
= 0 ;
20743 char *kwnames
[] = {
20744 (char *) "self",(char *) "printData", NULL
20747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20750 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20751 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20753 if (arg2
== NULL
) {
20754 PyErr_SetString(PyExc_TypeError
,"null reference");
20758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20759 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20761 wxPyEndAllowThreads(__tstate
);
20762 if (PyErr_Occurred()) SWIG_fail
;
20764 Py_INCREF(Py_None
); resultobj
= Py_None
;
20771 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
20773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20774 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
20776 return Py_BuildValue((char *)"");
20778 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20779 PyObject
*resultobj
;
20780 wxWindow
*arg1
= (wxWindow
*) 0 ;
20781 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
20782 wxPrintDialog
*result
;
20783 PyObject
* obj0
= 0 ;
20784 PyObject
* obj1
= 0 ;
20785 char *kwnames
[] = {
20786 (char *) "parent",(char *) "data", NULL
20789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20793 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
20794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20798 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
20800 wxPyEndAllowThreads(__tstate
);
20801 if (PyErr_Occurred()) SWIG_fail
;
20803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
20810 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20811 PyObject
*resultobj
;
20812 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20813 wxPrintDialogData
*result
;
20814 PyObject
* obj0
= 0 ;
20815 char *kwnames
[] = {
20816 (char *) "self", NULL
20819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
20820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20825 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
20826 result
= (wxPrintDialogData
*) &_result_ref
;
20829 wxPyEndAllowThreads(__tstate
);
20830 if (PyErr_Occurred()) SWIG_fail
;
20832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
20839 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20840 PyObject
*resultobj
;
20841 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20843 PyObject
* obj0
= 0 ;
20844 char *kwnames
[] = {
20845 (char *) "self", NULL
20848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
20849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20853 result
= (wxDC
*)(arg1
)->GetPrintDC();
20855 wxPyEndAllowThreads(__tstate
);
20856 if (PyErr_Occurred()) SWIG_fail
;
20859 resultobj
= wxPyMake_wxObject(result
);
20867 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20868 PyObject
*resultobj
;
20869 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20871 PyObject
* obj0
= 0 ;
20872 char *kwnames
[] = {
20873 (char *) "self", NULL
20876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20881 result
= (int)(arg1
)->ShowModal();
20883 wxPyEndAllowThreads(__tstate
);
20884 if (PyErr_Occurred()) SWIG_fail
;
20886 resultobj
= SWIG_FromInt((int)result
);
20893 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
20895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20896 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
20898 return Py_BuildValue((char *)"");
20900 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20901 PyObject
*resultobj
;
20902 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
20904 PyObject
* obj0
= 0 ;
20905 char *kwnames
[] = {
20906 (char *) "data", NULL
20909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
20911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20916 result
= (wxPrinter
*)new wxPrinter(arg1
);
20918 wxPyEndAllowThreads(__tstate
);
20919 if (PyErr_Occurred()) SWIG_fail
;
20921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
20928 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20929 PyObject
*resultobj
;
20930 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20931 PyObject
* obj0
= 0 ;
20932 char *kwnames
[] = {
20933 (char *) "self", NULL
20936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
20937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20943 wxPyEndAllowThreads(__tstate
);
20944 if (PyErr_Occurred()) SWIG_fail
;
20946 Py_INCREF(Py_None
); resultobj
= Py_None
;
20953 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20954 PyObject
*resultobj
;
20955 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20956 wxWindow
*arg2
= (wxWindow
*) 0 ;
20957 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
20958 PyObject
* obj0
= 0 ;
20959 PyObject
* obj1
= 0 ;
20960 PyObject
* obj2
= 0 ;
20961 char *kwnames
[] = {
20962 (char *) "self",(char *) "parent",(char *) "printout", NULL
20965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20968 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20970 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
20971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20974 (arg1
)->CreateAbortWindow(arg2
,arg3
);
20976 wxPyEndAllowThreads(__tstate
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20979 Py_INCREF(Py_None
); resultobj
= Py_None
;
20986 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20987 PyObject
*resultobj
;
20988 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20989 wxPrintDialogData
*result
;
20990 PyObject
* obj0
= 0 ;
20991 char *kwnames
[] = {
20992 (char *) "self", NULL
20995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
20996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21001 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21002 result
= (wxPrintDialogData
*) &_result_ref
;
21005 wxPyEndAllowThreads(__tstate
);
21006 if (PyErr_Occurred()) SWIG_fail
;
21008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21015 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21016 PyObject
*resultobj
;
21017 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21018 wxWindow
*arg2
= (wxWindow
*) 0 ;
21019 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21020 int arg4
= (int) True
;
21022 PyObject
* obj0
= 0 ;
21023 PyObject
* obj1
= 0 ;
21024 PyObject
* obj2
= 0 ;
21025 PyObject
* obj3
= 0 ;
21026 char *kwnames
[] = {
21027 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21033 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21035 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21038 arg4
= (int) SWIG_AsInt(obj3
);
21039 if (PyErr_Occurred()) SWIG_fail
;
21042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21043 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
21045 wxPyEndAllowThreads(__tstate
);
21046 if (PyErr_Occurred()) SWIG_fail
;
21049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21057 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21058 PyObject
*resultobj
;
21059 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21060 wxWindow
*arg2
= (wxWindow
*) 0 ;
21062 PyObject
* obj0
= 0 ;
21063 PyObject
* obj1
= 0 ;
21064 char *kwnames
[] = {
21065 (char *) "self",(char *) "parent", NULL
21068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21071 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21075 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
21077 wxPyEndAllowThreads(__tstate
);
21078 if (PyErr_Occurred()) SWIG_fail
;
21081 resultobj
= wxPyMake_wxObject(result
);
21089 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21090 PyObject
*resultobj
;
21091 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21092 wxWindow
*arg2
= (wxWindow
*) 0 ;
21093 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21094 wxString
*arg4
= 0 ;
21095 bool temp4
= False
;
21096 PyObject
* obj0
= 0 ;
21097 PyObject
* obj1
= 0 ;
21098 PyObject
* obj2
= 0 ;
21099 PyObject
* obj3
= 0 ;
21100 char *kwnames
[] = {
21101 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21107 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21109 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21112 arg4
= wxString_in_helper(obj3
);
21113 if (arg4
== NULL
) SWIG_fail
;
21117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21118 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
21120 wxPyEndAllowThreads(__tstate
);
21121 if (PyErr_Occurred()) SWIG_fail
;
21123 Py_INCREF(Py_None
); resultobj
= Py_None
;
21138 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21139 PyObject
*resultobj
;
21140 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21141 wxWindow
*arg2
= (wxWindow
*) 0 ;
21143 PyObject
* obj0
= 0 ;
21144 PyObject
* obj1
= 0 ;
21145 char *kwnames
[] = {
21146 (char *) "self",(char *) "parent", NULL
21149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
21150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21152 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21156 result
= (bool)(arg1
)->Setup(arg2
);
21158 wxPyEndAllowThreads(__tstate
);
21159 if (PyErr_Occurred()) SWIG_fail
;
21162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21170 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21171 PyObject
*resultobj
;
21172 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21174 PyObject
* obj0
= 0 ;
21175 char *kwnames
[] = {
21176 (char *) "self", NULL
21179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
21180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21184 result
= (bool)(arg1
)->GetAbort();
21186 wxPyEndAllowThreads(__tstate
);
21187 if (PyErr_Occurred()) SWIG_fail
;
21190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21198 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21199 PyObject
*resultobj
;
21201 char *kwnames
[] = {
21205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
21207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21208 result
= (int)wxPrinter::GetLastError();
21210 wxPyEndAllowThreads(__tstate
);
21211 if (PyErr_Occurred()) SWIG_fail
;
21213 resultobj
= SWIG_FromInt((int)result
);
21220 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
21222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21223 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
21225 return Py_BuildValue((char *)"");
21227 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21228 PyObject
*resultobj
;
21229 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
21230 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21231 wxPyPrintout
*result
;
21232 bool temp1
= False
;
21233 PyObject
* obj0
= 0 ;
21234 char *kwnames
[] = {
21235 (char *) "title", NULL
21238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
21241 arg1
= wxString_in_helper(obj0
);
21242 if (arg1
== NULL
) SWIG_fail
;
21247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21248 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
21250 wxPyEndAllowThreads(__tstate
);
21251 if (PyErr_Occurred()) SWIG_fail
;
21254 resultobj
= wxPyMake_wxObject(result
);
21270 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21271 PyObject
*resultobj
;
21272 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21273 PyObject
*arg2
= (PyObject
*) 0 ;
21274 PyObject
*arg3
= (PyObject
*) 0 ;
21275 PyObject
* obj0
= 0 ;
21276 PyObject
* obj1
= 0 ;
21277 PyObject
* obj2
= 0 ;
21278 char *kwnames
[] = {
21279 (char *) "self",(char *) "self",(char *) "_class", NULL
21282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21289 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21291 wxPyEndAllowThreads(__tstate
);
21292 if (PyErr_Occurred()) SWIG_fail
;
21294 Py_INCREF(Py_None
); resultobj
= Py_None
;
21301 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21302 PyObject
*resultobj
;
21303 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21305 PyObject
* obj0
= 0 ;
21306 char *kwnames
[] = {
21307 (char *) "self", NULL
21310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
21311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21315 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
21317 wxPyEndAllowThreads(__tstate
);
21318 if (PyErr_Occurred()) SWIG_fail
;
21322 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21324 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21333 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21334 PyObject
*resultobj
;
21335 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21337 PyObject
* obj0
= 0 ;
21338 char *kwnames
[] = {
21339 (char *) "self", NULL
21342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
21343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21347 result
= (wxDC
*)(arg1
)->GetDC();
21349 wxPyEndAllowThreads(__tstate
);
21350 if (PyErr_Occurred()) SWIG_fail
;
21353 resultobj
= wxPyMake_wxObject(result
);
21361 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21362 PyObject
*resultobj
;
21363 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21364 wxDC
*arg2
= (wxDC
*) 0 ;
21365 PyObject
* obj0
= 0 ;
21366 PyObject
* obj1
= 0 ;
21367 char *kwnames
[] = {
21368 (char *) "self",(char *) "dc", NULL
21371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
21372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21374 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21378 (arg1
)->SetDC(arg2
);
21380 wxPyEndAllowThreads(__tstate
);
21381 if (PyErr_Occurred()) SWIG_fail
;
21383 Py_INCREF(Py_None
); resultobj
= Py_None
;
21390 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21391 PyObject
*resultobj
;
21392 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21395 PyObject
* obj0
= 0 ;
21396 PyObject
* obj1
= 0 ;
21397 PyObject
* obj2
= 0 ;
21398 char *kwnames
[] = {
21399 (char *) "self",(char *) "w",(char *) "h", NULL
21402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21405 arg2
= (int) SWIG_AsInt(obj1
);
21406 if (PyErr_Occurred()) SWIG_fail
;
21407 arg3
= (int) SWIG_AsInt(obj2
);
21408 if (PyErr_Occurred()) SWIG_fail
;
21410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21411 (arg1
)->SetPageSizePixels(arg2
,arg3
);
21413 wxPyEndAllowThreads(__tstate
);
21414 if (PyErr_Occurred()) SWIG_fail
;
21416 Py_INCREF(Py_None
); resultobj
= Py_None
;
21423 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21424 PyObject
*resultobj
;
21425 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21426 int *arg2
= (int *) 0 ;
21427 int *arg3
= (int *) 0 ;
21430 PyObject
* obj0
= 0 ;
21431 char *kwnames
[] = {
21432 (char *) "self", NULL
21437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
21438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21442 (arg1
)->GetPageSizePixels(arg2
,arg3
);
21444 wxPyEndAllowThreads(__tstate
);
21445 if (PyErr_Occurred()) SWIG_fail
;
21447 Py_INCREF(Py_None
); resultobj
= Py_None
;
21449 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21450 resultobj
= t_output_helper(resultobj
,o
);
21453 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21454 resultobj
= t_output_helper(resultobj
,o
);
21462 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21463 PyObject
*resultobj
;
21464 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21467 PyObject
* obj0
= 0 ;
21468 PyObject
* obj1
= 0 ;
21469 PyObject
* obj2
= 0 ;
21470 char *kwnames
[] = {
21471 (char *) "self",(char *) "w",(char *) "h", NULL
21474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21477 arg2
= (int) SWIG_AsInt(obj1
);
21478 if (PyErr_Occurred()) SWIG_fail
;
21479 arg3
= (int) SWIG_AsInt(obj2
);
21480 if (PyErr_Occurred()) SWIG_fail
;
21482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21483 (arg1
)->SetPageSizeMM(arg2
,arg3
);
21485 wxPyEndAllowThreads(__tstate
);
21486 if (PyErr_Occurred()) SWIG_fail
;
21488 Py_INCREF(Py_None
); resultobj
= Py_None
;
21495 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21496 PyObject
*resultobj
;
21497 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21498 int *arg2
= (int *) 0 ;
21499 int *arg3
= (int *) 0 ;
21502 PyObject
* obj0
= 0 ;
21503 char *kwnames
[] = {
21504 (char *) "self", NULL
21509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
21510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21514 (arg1
)->GetPageSizeMM(arg2
,arg3
);
21516 wxPyEndAllowThreads(__tstate
);
21517 if (PyErr_Occurred()) SWIG_fail
;
21519 Py_INCREF(Py_None
); resultobj
= Py_None
;
21521 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21522 resultobj
= t_output_helper(resultobj
,o
);
21525 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21526 resultobj
= t_output_helper(resultobj
,o
);
21534 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21535 PyObject
*resultobj
;
21536 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21539 PyObject
* obj0
= 0 ;
21540 PyObject
* obj1
= 0 ;
21541 PyObject
* obj2
= 0 ;
21542 char *kwnames
[] = {
21543 (char *) "self",(char *) "x",(char *) "y", NULL
21546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21549 arg2
= (int) SWIG_AsInt(obj1
);
21550 if (PyErr_Occurred()) SWIG_fail
;
21551 arg3
= (int) SWIG_AsInt(obj2
);
21552 if (PyErr_Occurred()) SWIG_fail
;
21554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21555 (arg1
)->SetPPIScreen(arg2
,arg3
);
21557 wxPyEndAllowThreads(__tstate
);
21558 if (PyErr_Occurred()) SWIG_fail
;
21560 Py_INCREF(Py_None
); resultobj
= Py_None
;
21567 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21568 PyObject
*resultobj
;
21569 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21570 int *arg2
= (int *) 0 ;
21571 int *arg3
= (int *) 0 ;
21574 PyObject
* obj0
= 0 ;
21575 char *kwnames
[] = {
21576 (char *) "self", NULL
21581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
21582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21586 (arg1
)->GetPPIScreen(arg2
,arg3
);
21588 wxPyEndAllowThreads(__tstate
);
21589 if (PyErr_Occurred()) SWIG_fail
;
21591 Py_INCREF(Py_None
); resultobj
= Py_None
;
21593 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21594 resultobj
= t_output_helper(resultobj
,o
);
21597 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21598 resultobj
= t_output_helper(resultobj
,o
);
21606 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21607 PyObject
*resultobj
;
21608 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21611 PyObject
* obj0
= 0 ;
21612 PyObject
* obj1
= 0 ;
21613 PyObject
* obj2
= 0 ;
21614 char *kwnames
[] = {
21615 (char *) "self",(char *) "x",(char *) "y", NULL
21618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21621 arg2
= (int) SWIG_AsInt(obj1
);
21622 if (PyErr_Occurred()) SWIG_fail
;
21623 arg3
= (int) SWIG_AsInt(obj2
);
21624 if (PyErr_Occurred()) SWIG_fail
;
21626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21627 (arg1
)->SetPPIPrinter(arg2
,arg3
);
21629 wxPyEndAllowThreads(__tstate
);
21630 if (PyErr_Occurred()) SWIG_fail
;
21632 Py_INCREF(Py_None
); resultobj
= Py_None
;
21639 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21640 PyObject
*resultobj
;
21641 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21642 int *arg2
= (int *) 0 ;
21643 int *arg3
= (int *) 0 ;
21646 PyObject
* obj0
= 0 ;
21647 char *kwnames
[] = {
21648 (char *) "self", NULL
21653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
21654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21658 (arg1
)->GetPPIPrinter(arg2
,arg3
);
21660 wxPyEndAllowThreads(__tstate
);
21661 if (PyErr_Occurred()) SWIG_fail
;
21663 Py_INCREF(Py_None
); resultobj
= Py_None
;
21665 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21666 resultobj
= t_output_helper(resultobj
,o
);
21669 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21670 resultobj
= t_output_helper(resultobj
,o
);
21678 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21679 PyObject
*resultobj
;
21680 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21682 PyObject
* obj0
= 0 ;
21683 char *kwnames
[] = {
21684 (char *) "self", NULL
21687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
21688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21692 result
= (bool)(arg1
)->IsPreview();
21694 wxPyEndAllowThreads(__tstate
);
21695 if (PyErr_Occurred()) SWIG_fail
;
21698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21706 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21707 PyObject
*resultobj
;
21708 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21710 PyObject
* obj0
= 0 ;
21711 PyObject
* obj1
= 0 ;
21712 char *kwnames
[] = {
21713 (char *) "self",(char *) "p", NULL
21716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
21717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21719 arg2
= (bool) SWIG_AsBool(obj1
);
21720 if (PyErr_Occurred()) SWIG_fail
;
21722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21723 (arg1
)->SetIsPreview(arg2
);
21725 wxPyEndAllowThreads(__tstate
);
21726 if (PyErr_Occurred()) SWIG_fail
;
21728 Py_INCREF(Py_None
); resultobj
= Py_None
;
21735 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21736 PyObject
*resultobj
;
21737 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21741 PyObject
* obj0
= 0 ;
21742 PyObject
* obj1
= 0 ;
21743 PyObject
* obj2
= 0 ;
21744 char *kwnames
[] = {
21745 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
21748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21751 arg2
= (int) SWIG_AsInt(obj1
);
21752 if (PyErr_Occurred()) SWIG_fail
;
21753 arg3
= (int) SWIG_AsInt(obj2
);
21754 if (PyErr_Occurred()) SWIG_fail
;
21756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21757 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
21759 wxPyEndAllowThreads(__tstate
);
21760 if (PyErr_Occurred()) SWIG_fail
;
21763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21771 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21772 PyObject
*resultobj
;
21773 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21774 PyObject
* obj0
= 0 ;
21775 char *kwnames
[] = {
21776 (char *) "self", NULL
21779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
21780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21784 (arg1
)->base_OnEndDocument();
21786 wxPyEndAllowThreads(__tstate
);
21787 if (PyErr_Occurred()) SWIG_fail
;
21789 Py_INCREF(Py_None
); resultobj
= Py_None
;
21796 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21797 PyObject
*resultobj
;
21798 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21799 PyObject
* obj0
= 0 ;
21800 char *kwnames
[] = {
21801 (char *) "self", NULL
21804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
21805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21809 (arg1
)->base_OnBeginPrinting();
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21814 Py_INCREF(Py_None
); resultobj
= Py_None
;
21821 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21822 PyObject
*resultobj
;
21823 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21824 PyObject
* obj0
= 0 ;
21825 char *kwnames
[] = {
21826 (char *) "self", NULL
21829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
21830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21834 (arg1
)->base_OnEndPrinting();
21836 wxPyEndAllowThreads(__tstate
);
21837 if (PyErr_Occurred()) SWIG_fail
;
21839 Py_INCREF(Py_None
); resultobj
= Py_None
;
21846 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21847 PyObject
*resultobj
;
21848 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21849 PyObject
* obj0
= 0 ;
21850 char *kwnames
[] = {
21851 (char *) "self", NULL
21854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
21855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21859 (arg1
)->base_OnPreparePrinting();
21861 wxPyEndAllowThreads(__tstate
);
21862 if (PyErr_Occurred()) SWIG_fail
;
21864 Py_INCREF(Py_None
); resultobj
= Py_None
;
21871 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21872 PyObject
*resultobj
;
21873 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21876 PyObject
* obj0
= 0 ;
21877 PyObject
* obj1
= 0 ;
21878 char *kwnames
[] = {
21879 (char *) "self",(char *) "page", NULL
21882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21885 arg2
= (int) SWIG_AsInt(obj1
);
21886 if (PyErr_Occurred()) SWIG_fail
;
21888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21889 result
= (bool)(arg1
)->base_HasPage(arg2
);
21891 wxPyEndAllowThreads(__tstate
);
21892 if (PyErr_Occurred()) SWIG_fail
;
21895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21903 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21904 PyObject
*resultobj
;
21905 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21906 int *arg2
= (int *) 0 ;
21907 int *arg3
= (int *) 0 ;
21908 int *arg4
= (int *) 0 ;
21909 int *arg5
= (int *) 0 ;
21914 PyObject
* obj0
= 0 ;
21915 char *kwnames
[] = {
21916 (char *) "self", NULL
21923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
21924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21928 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
21930 wxPyEndAllowThreads(__tstate
);
21931 if (PyErr_Occurred()) SWIG_fail
;
21933 Py_INCREF(Py_None
); resultobj
= Py_None
;
21935 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21936 resultobj
= t_output_helper(resultobj
,o
);
21939 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21940 resultobj
= t_output_helper(resultobj
,o
);
21943 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
21944 resultobj
= t_output_helper(resultobj
,o
);
21947 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
21948 resultobj
= t_output_helper(resultobj
,o
);
21956 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
21958 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21959 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
21961 return Py_BuildValue((char *)"");
21963 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21964 PyObject
*resultobj
;
21965 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21966 wxWindow
*arg2
= (wxWindow
*) 0 ;
21967 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21968 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21969 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21970 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21971 long arg5
= (long) 0 ;
21972 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
21973 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21974 wxPreviewCanvas
*result
;
21977 bool temp6
= False
;
21978 PyObject
* obj0
= 0 ;
21979 PyObject
* obj1
= 0 ;
21980 PyObject
* obj2
= 0 ;
21981 PyObject
* obj3
= 0 ;
21982 PyObject
* obj4
= 0 ;
21983 PyObject
* obj5
= 0 ;
21984 char *kwnames
[] = {
21985 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
21990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21991 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21996 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22002 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22006 arg5
= (long) SWIG_AsLong(obj4
);
22007 if (PyErr_Occurred()) SWIG_fail
;
22011 arg6
= wxString_in_helper(obj5
);
22012 if (arg6
== NULL
) SWIG_fail
;
22017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22018 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22020 wxPyEndAllowThreads(__tstate
);
22021 if (PyErr_Occurred()) SWIG_fail
;
22023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
22038 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
22040 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22041 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
22043 return Py_BuildValue((char *)"");
22045 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22046 PyObject
*resultobj
;
22047 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22048 wxFrame
*arg2
= (wxFrame
*) 0 ;
22049 wxString
*arg3
= 0 ;
22050 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22051 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22052 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22053 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22054 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22055 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22056 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22057 wxPreviewFrame
*result
;
22058 bool temp3
= False
;
22061 bool temp7
= False
;
22062 PyObject
* obj0
= 0 ;
22063 PyObject
* obj1
= 0 ;
22064 PyObject
* obj2
= 0 ;
22065 PyObject
* obj3
= 0 ;
22066 PyObject
* obj4
= 0 ;
22067 PyObject
* obj5
= 0 ;
22068 PyObject
* obj6
= 0 ;
22069 char *kwnames
[] = {
22070 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22076 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22079 arg3
= wxString_in_helper(obj2
);
22080 if (arg3
== NULL
) SWIG_fail
;
22086 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22092 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22096 arg6
= (long) SWIG_AsLong(obj5
);
22097 if (PyErr_Occurred()) SWIG_fail
;
22101 arg7
= wxString_in_helper(obj6
);
22102 if (arg7
== NULL
) SWIG_fail
;
22107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22108 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22110 wxPyEndAllowThreads(__tstate
);
22111 if (PyErr_Occurred()) SWIG_fail
;
22113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
22136 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22137 PyObject
*resultobj
;
22138 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22139 PyObject
* obj0
= 0 ;
22140 char *kwnames
[] = {
22141 (char *) "self", NULL
22144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
22145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22149 (arg1
)->Initialize();
22151 wxPyEndAllowThreads(__tstate
);
22152 if (PyErr_Occurred()) SWIG_fail
;
22154 Py_INCREF(Py_None
); resultobj
= Py_None
;
22161 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22162 PyObject
*resultobj
;
22163 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22164 PyObject
* obj0
= 0 ;
22165 char *kwnames
[] = {
22166 (char *) "self", NULL
22169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22174 (arg1
)->CreateControlBar();
22176 wxPyEndAllowThreads(__tstate
);
22177 if (PyErr_Occurred()) SWIG_fail
;
22179 Py_INCREF(Py_None
); resultobj
= Py_None
;
22186 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22187 PyObject
*resultobj
;
22188 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22189 PyObject
* obj0
= 0 ;
22190 char *kwnames
[] = {
22191 (char *) "self", NULL
22194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22199 (arg1
)->CreateCanvas();
22201 wxPyEndAllowThreads(__tstate
);
22202 if (PyErr_Occurred()) SWIG_fail
;
22204 Py_INCREF(Py_None
); resultobj
= Py_None
;
22211 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22212 PyObject
*resultobj
;
22213 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22214 wxPreviewControlBar
*result
;
22215 PyObject
* obj0
= 0 ;
22216 char *kwnames
[] = {
22217 (char *) "self", NULL
22220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
22221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22225 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
22227 wxPyEndAllowThreads(__tstate
);
22228 if (PyErr_Occurred()) SWIG_fail
;
22230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
22237 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22239 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22240 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
22242 return Py_BuildValue((char *)"");
22244 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22245 PyObject
*resultobj
;
22246 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22248 wxWindow
*arg3
= (wxWindow
*) 0 ;
22249 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22250 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22251 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22252 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22253 long arg6
= (long) wxTAB_TRAVERSAL
;
22254 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22255 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22256 wxPreviewControlBar
*result
;
22259 bool temp7
= False
;
22260 PyObject
* obj0
= 0 ;
22261 PyObject
* obj1
= 0 ;
22262 PyObject
* obj2
= 0 ;
22263 PyObject
* obj3
= 0 ;
22264 PyObject
* obj4
= 0 ;
22265 PyObject
* obj5
= 0 ;
22266 PyObject
* obj6
= 0 ;
22267 char *kwnames
[] = {
22268 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22274 arg2
= (long) SWIG_AsLong(obj1
);
22275 if (PyErr_Occurred()) SWIG_fail
;
22276 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
22277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22281 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22287 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22291 arg6
= (long) SWIG_AsLong(obj5
);
22292 if (PyErr_Occurred()) SWIG_fail
;
22296 arg7
= wxString_in_helper(obj6
);
22297 if (arg7
== NULL
) SWIG_fail
;
22302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22303 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22305 wxPyEndAllowThreads(__tstate
);
22306 if (PyErr_Occurred()) SWIG_fail
;
22308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
22323 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22324 PyObject
*resultobj
;
22325 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22327 PyObject
* obj0
= 0 ;
22328 char *kwnames
[] = {
22329 (char *) "self", NULL
22332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
22333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22337 result
= (int)(arg1
)->GetZoomControl();
22339 wxPyEndAllowThreads(__tstate
);
22340 if (PyErr_Occurred()) SWIG_fail
;
22342 resultobj
= SWIG_FromInt((int)result
);
22349 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22350 PyObject
*resultobj
;
22351 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22353 PyObject
* obj0
= 0 ;
22354 PyObject
* obj1
= 0 ;
22355 char *kwnames
[] = {
22356 (char *) "self",(char *) "zoom", NULL
22359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22362 arg2
= (int) SWIG_AsInt(obj1
);
22363 if (PyErr_Occurred()) SWIG_fail
;
22365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22366 (arg1
)->SetZoomControl(arg2
);
22368 wxPyEndAllowThreads(__tstate
);
22369 if (PyErr_Occurred()) SWIG_fail
;
22371 Py_INCREF(Py_None
); resultobj
= Py_None
;
22378 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22379 PyObject
*resultobj
;
22380 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22381 wxPrintPreview
*result
;
22382 PyObject
* obj0
= 0 ;
22383 char *kwnames
[] = {
22384 (char *) "self", NULL
22387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
22388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22392 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
22394 wxPyEndAllowThreads(__tstate
);
22395 if (PyErr_Occurred()) SWIG_fail
;
22397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
22404 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22405 PyObject
*resultobj
;
22406 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22407 PyObject
* obj0
= 0 ;
22408 char *kwnames
[] = {
22409 (char *) "self", NULL
22412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
22413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22419 wxPyEndAllowThreads(__tstate
);
22420 if (PyErr_Occurred()) SWIG_fail
;
22422 Py_INCREF(Py_None
); resultobj
= Py_None
;
22429 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22430 PyObject
*resultobj
;
22431 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22432 PyObject
* obj0
= 0 ;
22433 char *kwnames
[] = {
22434 (char *) "self", NULL
22437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
22438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22442 (arg1
)->OnPrevious();
22444 wxPyEndAllowThreads(__tstate
);
22445 if (PyErr_Occurred()) SWIG_fail
;
22447 Py_INCREF(Py_None
); resultobj
= Py_None
;
22454 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22455 PyObject
*resultobj
;
22456 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22457 PyObject
* obj0
= 0 ;
22458 char *kwnames
[] = {
22459 (char *) "self", NULL
22462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
22463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22469 wxPyEndAllowThreads(__tstate
);
22470 if (PyErr_Occurred()) SWIG_fail
;
22472 Py_INCREF(Py_None
); resultobj
= Py_None
;
22479 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22480 PyObject
*resultobj
;
22481 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22482 PyObject
* obj0
= 0 ;
22483 char *kwnames
[] = {
22484 (char *) "self", NULL
22487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
22488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22494 wxPyEndAllowThreads(__tstate
);
22495 if (PyErr_Occurred()) SWIG_fail
;
22497 Py_INCREF(Py_None
); resultobj
= Py_None
;
22504 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22505 PyObject
*resultobj
;
22506 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22507 PyObject
* obj0
= 0 ;
22508 char *kwnames
[] = {
22509 (char *) "self", NULL
22512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
22513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22519 wxPyEndAllowThreads(__tstate
);
22520 if (PyErr_Occurred()) SWIG_fail
;
22522 Py_INCREF(Py_None
); resultobj
= Py_None
;
22529 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
22531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22532 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
22534 return Py_BuildValue((char *)"");
22536 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
22537 PyObject
*resultobj
;
22538 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22539 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22540 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
22541 wxPrintPreview
*result
;
22542 PyObject
* obj0
= 0 ;
22543 PyObject
* obj1
= 0 ;
22544 PyObject
* obj2
= 0 ;
22546 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22549 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22552 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
22553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22557 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
22559 wxPyEndAllowThreads(__tstate
);
22560 if (PyErr_Occurred()) SWIG_fail
;
22562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
22569 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
22570 PyObject
*resultobj
;
22571 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22572 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22573 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
22574 wxPrintPreview
*result
;
22575 PyObject
* obj0
= 0 ;
22576 PyObject
* obj1
= 0 ;
22577 PyObject
* obj2
= 0 ;
22579 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22584 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
22585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22588 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
22590 wxPyEndAllowThreads(__tstate
);
22591 if (PyErr_Occurred()) SWIG_fail
;
22593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
22600 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
22605 argc
= PyObject_Length(args
);
22606 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
22607 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22609 if ((argc
>= 2) && (argc
<= 3)) {
22613 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22623 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22632 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
22636 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
22644 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
22653 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22663 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22673 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22681 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
22687 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
22692 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22693 PyObject
*resultobj
;
22694 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22697 PyObject
* obj0
= 0 ;
22698 PyObject
* obj1
= 0 ;
22699 char *kwnames
[] = {
22700 (char *) "self",(char *) "pageNum", NULL
22703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22706 arg2
= (int) SWIG_AsInt(obj1
);
22707 if (PyErr_Occurred()) SWIG_fail
;
22709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22710 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
22712 wxPyEndAllowThreads(__tstate
);
22713 if (PyErr_Occurred()) SWIG_fail
;
22716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22724 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22725 PyObject
*resultobj
;
22726 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22728 PyObject
* obj0
= 0 ;
22729 char *kwnames
[] = {
22730 (char *) "self", NULL
22733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
22734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22738 result
= (int)(arg1
)->GetCurrentPage();
22740 wxPyEndAllowThreads(__tstate
);
22741 if (PyErr_Occurred()) SWIG_fail
;
22743 resultobj
= SWIG_FromInt((int)result
);
22750 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22751 PyObject
*resultobj
;
22752 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22753 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22754 PyObject
* obj0
= 0 ;
22755 PyObject
* obj1
= 0 ;
22756 char *kwnames
[] = {
22757 (char *) "self",(char *) "printout", NULL
22760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
22761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22767 (arg1
)->SetPrintout(arg2
);
22769 wxPyEndAllowThreads(__tstate
);
22770 if (PyErr_Occurred()) SWIG_fail
;
22772 Py_INCREF(Py_None
); resultobj
= Py_None
;
22779 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22780 PyObject
*resultobj
;
22781 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22782 wxPyPrintout
*result
;
22783 PyObject
* obj0
= 0 ;
22784 char *kwnames
[] = {
22785 (char *) "self", NULL
22788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
22789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22793 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
22795 wxPyEndAllowThreads(__tstate
);
22796 if (PyErr_Occurred()) SWIG_fail
;
22799 resultobj
= wxPyMake_wxObject(result
);
22807 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22808 PyObject
*resultobj
;
22809 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22810 wxPyPrintout
*result
;
22811 PyObject
* obj0
= 0 ;
22812 char *kwnames
[] = {
22813 (char *) "self", NULL
22816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
22817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22821 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
22823 wxPyEndAllowThreads(__tstate
);
22824 if (PyErr_Occurred()) SWIG_fail
;
22827 resultobj
= wxPyMake_wxObject(result
);
22835 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22836 PyObject
*resultobj
;
22837 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22838 wxFrame
*arg2
= (wxFrame
*) 0 ;
22839 PyObject
* obj0
= 0 ;
22840 PyObject
* obj1
= 0 ;
22841 char *kwnames
[] = {
22842 (char *) "self",(char *) "frame", NULL
22845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
22846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22848 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22852 (arg1
)->SetFrame(arg2
);
22854 wxPyEndAllowThreads(__tstate
);
22855 if (PyErr_Occurred()) SWIG_fail
;
22857 Py_INCREF(Py_None
); resultobj
= Py_None
;
22864 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22865 PyObject
*resultobj
;
22866 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22867 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22868 PyObject
* obj0
= 0 ;
22869 PyObject
* obj1
= 0 ;
22870 char *kwnames
[] = {
22871 (char *) "self",(char *) "canvas", NULL
22874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
22875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22877 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22881 (arg1
)->SetCanvas(arg2
);
22883 wxPyEndAllowThreads(__tstate
);
22884 if (PyErr_Occurred()) SWIG_fail
;
22886 Py_INCREF(Py_None
); resultobj
= Py_None
;
22893 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22894 PyObject
*resultobj
;
22895 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22897 PyObject
* obj0
= 0 ;
22898 char *kwnames
[] = {
22899 (char *) "self", NULL
22902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
22903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22907 result
= (wxFrame
*)(arg1
)->GetFrame();
22909 wxPyEndAllowThreads(__tstate
);
22910 if (PyErr_Occurred()) SWIG_fail
;
22913 resultobj
= wxPyMake_wxObject(result
);
22921 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22922 PyObject
*resultobj
;
22923 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22924 wxPreviewCanvas
*result
;
22925 PyObject
* obj0
= 0 ;
22926 char *kwnames
[] = {
22927 (char *) "self", NULL
22930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
22931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22935 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
22937 wxPyEndAllowThreads(__tstate
);
22938 if (PyErr_Occurred()) SWIG_fail
;
22940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
22947 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22948 PyObject
*resultobj
;
22949 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22950 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22953 PyObject
* obj0
= 0 ;
22954 PyObject
* obj1
= 0 ;
22955 PyObject
* obj2
= 0 ;
22956 char *kwnames
[] = {
22957 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22963 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22965 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
22966 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22968 if (arg3
== NULL
) {
22969 PyErr_SetString(PyExc_TypeError
,"null reference");
22973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22974 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
22976 wxPyEndAllowThreads(__tstate
);
22977 if (PyErr_Occurred()) SWIG_fail
;
22980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22988 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22989 PyObject
*resultobj
;
22990 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22991 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22994 PyObject
* obj0
= 0 ;
22995 PyObject
* obj1
= 0 ;
22996 PyObject
* obj2
= 0 ;
22997 char *kwnames
[] = {
22998 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23004 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23006 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23007 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23009 if (arg3
== NULL
) {
23010 PyErr_SetString(PyExc_TypeError
,"null reference");
23014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23015 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
23017 wxPyEndAllowThreads(__tstate
);
23018 if (PyErr_Occurred()) SWIG_fail
;
23021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23029 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23030 PyObject
*resultobj
;
23031 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23034 PyObject
* obj0
= 0 ;
23035 PyObject
* obj1
= 0 ;
23036 char *kwnames
[] = {
23037 (char *) "self",(char *) "pageNum", NULL
23040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23043 arg2
= (int) SWIG_AsInt(obj1
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23047 result
= (bool)(arg1
)->RenderPage(arg2
);
23049 wxPyEndAllowThreads(__tstate
);
23050 if (PyErr_Occurred()) SWIG_fail
;
23053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23061 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23062 PyObject
*resultobj
;
23063 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23064 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23065 PyObject
* obj0
= 0 ;
23066 PyObject
* obj1
= 0 ;
23067 char *kwnames
[] = {
23068 (char *) "self",(char *) "canvas", NULL
23071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
23072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23074 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23078 (arg1
)->AdjustScrollbars(arg2
);
23080 wxPyEndAllowThreads(__tstate
);
23081 if (PyErr_Occurred()) SWIG_fail
;
23083 Py_INCREF(Py_None
); resultobj
= Py_None
;
23090 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23091 PyObject
*resultobj
;
23092 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23093 wxPrintDialogData
*result
;
23094 PyObject
* obj0
= 0 ;
23095 char *kwnames
[] = {
23096 (char *) "self", NULL
23099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23105 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23106 result
= (wxPrintDialogData
*) &_result_ref
;
23109 wxPyEndAllowThreads(__tstate
);
23110 if (PyErr_Occurred()) SWIG_fail
;
23112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23119 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23120 PyObject
*resultobj
;
23121 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23123 PyObject
* obj0
= 0 ;
23124 PyObject
* obj1
= 0 ;
23125 char *kwnames
[] = {
23126 (char *) "self",(char *) "percent", NULL
23129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23132 arg2
= (int) SWIG_AsInt(obj1
);
23133 if (PyErr_Occurred()) SWIG_fail
;
23135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23136 (arg1
)->SetZoom(arg2
);
23138 wxPyEndAllowThreads(__tstate
);
23139 if (PyErr_Occurred()) SWIG_fail
;
23141 Py_INCREF(Py_None
); resultobj
= Py_None
;
23148 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23149 PyObject
*resultobj
;
23150 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23152 PyObject
* obj0
= 0 ;
23153 char *kwnames
[] = {
23154 (char *) "self", NULL
23157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
23158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23162 result
= (int)(arg1
)->GetZoom();
23164 wxPyEndAllowThreads(__tstate
);
23165 if (PyErr_Occurred()) SWIG_fail
;
23167 resultobj
= SWIG_FromInt((int)result
);
23174 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23175 PyObject
*resultobj
;
23176 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23178 PyObject
* obj0
= 0 ;
23179 char *kwnames
[] = {
23180 (char *) "self", NULL
23183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23188 result
= (int)(arg1
)->GetMaxPage();
23190 wxPyEndAllowThreads(__tstate
);
23191 if (PyErr_Occurred()) SWIG_fail
;
23193 resultobj
= SWIG_FromInt((int)result
);
23200 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23201 PyObject
*resultobj
;
23202 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23204 PyObject
* obj0
= 0 ;
23205 char *kwnames
[] = {
23206 (char *) "self", NULL
23209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
23210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23214 result
= (int)(arg1
)->GetMinPage();
23216 wxPyEndAllowThreads(__tstate
);
23217 if (PyErr_Occurred()) SWIG_fail
;
23219 resultobj
= SWIG_FromInt((int)result
);
23226 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23227 PyObject
*resultobj
;
23228 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23230 PyObject
* obj0
= 0 ;
23231 char *kwnames
[] = {
23232 (char *) "self", NULL
23235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
23236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23240 result
= (bool)(arg1
)->Ok();
23242 wxPyEndAllowThreads(__tstate
);
23243 if (PyErr_Occurred()) SWIG_fail
;
23246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23254 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23255 PyObject
*resultobj
;
23256 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23258 PyObject
* obj0
= 0 ;
23259 PyObject
* obj1
= 0 ;
23260 char *kwnames
[] = {
23261 (char *) "self",(char *) "ok", NULL
23264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
23265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23267 arg2
= (bool) SWIG_AsBool(obj1
);
23268 if (PyErr_Occurred()) SWIG_fail
;
23270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23271 (arg1
)->SetOk(arg2
);
23273 wxPyEndAllowThreads(__tstate
);
23274 if (PyErr_Occurred()) SWIG_fail
;
23276 Py_INCREF(Py_None
); resultobj
= Py_None
;
23283 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23284 PyObject
*resultobj
;
23285 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23288 PyObject
* obj0
= 0 ;
23289 PyObject
* obj1
= 0 ;
23290 char *kwnames
[] = {
23291 (char *) "self",(char *) "interactive", NULL
23294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23297 arg2
= (bool) SWIG_AsBool(obj1
);
23298 if (PyErr_Occurred()) SWIG_fail
;
23300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23301 result
= (bool)(arg1
)->Print(arg2
);
23303 wxPyEndAllowThreads(__tstate
);
23304 if (PyErr_Occurred()) SWIG_fail
;
23307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23315 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23316 PyObject
*resultobj
;
23317 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23318 PyObject
* obj0
= 0 ;
23319 char *kwnames
[] = {
23320 (char *) "self", NULL
23323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23328 (arg1
)->DetermineScaling();
23330 wxPyEndAllowThreads(__tstate
);
23331 if (PyErr_Occurred()) SWIG_fail
;
23333 Py_INCREF(Py_None
); resultobj
= Py_None
;
23340 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
23342 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23343 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
23345 return Py_BuildValue((char *)"");
23347 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23348 PyObject
*resultobj
;
23349 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23350 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23351 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23352 wxPyPrintPreview
*result
;
23353 PyObject
* obj0
= 0 ;
23354 PyObject
* obj1
= 0 ;
23355 PyObject
* obj2
= 0 ;
23357 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23360 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23363 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23368 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23370 wxPyEndAllowThreads(__tstate
);
23371 if (PyErr_Occurred()) SWIG_fail
;
23373 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23380 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23381 PyObject
*resultobj
;
23382 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23383 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23384 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23385 wxPyPrintPreview
*result
;
23386 PyObject
* obj0
= 0 ;
23387 PyObject
* obj1
= 0 ;
23388 PyObject
* obj2
= 0 ;
23390 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23393 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23395 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23399 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23401 wxPyEndAllowThreads(__tstate
);
23402 if (PyErr_Occurred()) SWIG_fail
;
23404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23411 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
23416 argc
= PyObject_Length(args
);
23417 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23418 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23420 if ((argc
>= 2) && (argc
<= 3)) {
23424 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23434 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23443 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23447 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23455 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23464 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23474 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23484 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23492 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
23498 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
23503 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23504 PyObject
*resultobj
;
23505 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23506 PyObject
*arg2
= (PyObject
*) 0 ;
23507 PyObject
*arg3
= (PyObject
*) 0 ;
23508 PyObject
* obj0
= 0 ;
23509 PyObject
* obj1
= 0 ;
23510 PyObject
* obj2
= 0 ;
23511 char *kwnames
[] = {
23512 (char *) "self",(char *) "self",(char *) "_class", NULL
23515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23522 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23524 wxPyEndAllowThreads(__tstate
);
23525 if (PyErr_Occurred()) SWIG_fail
;
23527 Py_INCREF(Py_None
); resultobj
= Py_None
;
23534 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23535 PyObject
*resultobj
;
23536 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23539 PyObject
* obj0
= 0 ;
23540 PyObject
* obj1
= 0 ;
23541 char *kwnames
[] = {
23542 (char *) "self",(char *) "pageNum", NULL
23545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23548 arg2
= (int) SWIG_AsInt(obj1
);
23549 if (PyErr_Occurred()) SWIG_fail
;
23551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23552 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
23554 wxPyEndAllowThreads(__tstate
);
23555 if (PyErr_Occurred()) SWIG_fail
;
23558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23566 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23567 PyObject
*resultobj
;
23568 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23569 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23572 PyObject
* obj0
= 0 ;
23573 PyObject
* obj1
= 0 ;
23574 PyObject
* obj2
= 0 ;
23575 char *kwnames
[] = {
23576 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23584 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23585 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23587 if (arg3
== NULL
) {
23588 PyErr_SetString(PyExc_TypeError
,"null reference");
23592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23593 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
23595 wxPyEndAllowThreads(__tstate
);
23596 if (PyErr_Occurred()) SWIG_fail
;
23599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23607 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23608 PyObject
*resultobj
;
23609 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23610 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23613 PyObject
* obj0
= 0 ;
23614 PyObject
* obj1
= 0 ;
23615 PyObject
* obj2
= 0 ;
23616 char *kwnames
[] = {
23617 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23623 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23625 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23626 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23628 if (arg3
== NULL
) {
23629 PyErr_SetString(PyExc_TypeError
,"null reference");
23633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23634 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
23636 wxPyEndAllowThreads(__tstate
);
23637 if (PyErr_Occurred()) SWIG_fail
;
23640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23648 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23649 PyObject
*resultobj
;
23650 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23653 PyObject
* obj0
= 0 ;
23654 PyObject
* obj1
= 0 ;
23655 char *kwnames
[] = {
23656 (char *) "self",(char *) "pageNum", NULL
23659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23662 arg2
= (int) SWIG_AsInt(obj1
);
23663 if (PyErr_Occurred()) SWIG_fail
;
23665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23666 result
= (bool)(arg1
)->base_RenderPage(arg2
);
23668 wxPyEndAllowThreads(__tstate
);
23669 if (PyErr_Occurred()) SWIG_fail
;
23672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23680 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23681 PyObject
*resultobj
;
23682 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23684 PyObject
* obj0
= 0 ;
23685 PyObject
* obj1
= 0 ;
23686 char *kwnames
[] = {
23687 (char *) "self",(char *) "percent", NULL
23690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23693 arg2
= (int) SWIG_AsInt(obj1
);
23694 if (PyErr_Occurred()) SWIG_fail
;
23696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23697 (arg1
)->base_SetZoom(arg2
);
23699 wxPyEndAllowThreads(__tstate
);
23700 if (PyErr_Occurred()) SWIG_fail
;
23702 Py_INCREF(Py_None
); resultobj
= Py_None
;
23709 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23710 PyObject
*resultobj
;
23711 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23714 PyObject
* obj0
= 0 ;
23715 PyObject
* obj1
= 0 ;
23716 char *kwnames
[] = {
23717 (char *) "self",(char *) "interactive", NULL
23720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23723 arg2
= (bool) SWIG_AsBool(obj1
);
23724 if (PyErr_Occurred()) SWIG_fail
;
23726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23727 result
= (bool)(arg1
)->base_Print(arg2
);
23729 wxPyEndAllowThreads(__tstate
);
23730 if (PyErr_Occurred()) SWIG_fail
;
23733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23741 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23742 PyObject
*resultobj
;
23743 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23744 PyObject
* obj0
= 0 ;
23745 char *kwnames
[] = {
23746 (char *) "self", NULL
23749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23754 (arg1
)->base_DetermineScaling();
23756 wxPyEndAllowThreads(__tstate
);
23757 if (PyErr_Occurred()) SWIG_fail
;
23759 Py_INCREF(Py_None
); resultobj
= Py_None
;
23766 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
23768 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23769 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
23771 return Py_BuildValue((char *)"");
23773 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23774 PyObject
*resultobj
;
23775 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23776 wxFrame
*arg2
= (wxFrame
*) 0 ;
23777 wxString
*arg3
= 0 ;
23778 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23779 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23780 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23781 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23782 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
23783 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
23784 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23785 wxPyPreviewFrame
*result
;
23786 bool temp3
= False
;
23789 bool temp7
= False
;
23790 PyObject
* obj0
= 0 ;
23791 PyObject
* obj1
= 0 ;
23792 PyObject
* obj2
= 0 ;
23793 PyObject
* obj3
= 0 ;
23794 PyObject
* obj4
= 0 ;
23795 PyObject
* obj5
= 0 ;
23796 PyObject
* obj6
= 0 ;
23797 char *kwnames
[] = {
23798 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23804 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23807 arg3
= wxString_in_helper(obj2
);
23808 if (arg3
== NULL
) SWIG_fail
;
23814 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23820 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23824 arg6
= (long) SWIG_AsLong(obj5
);
23825 if (PyErr_Occurred()) SWIG_fail
;
23829 arg7
= wxString_in_helper(obj6
);
23830 if (arg7
== NULL
) SWIG_fail
;
23835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23836 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23838 wxPyEndAllowThreads(__tstate
);
23839 if (PyErr_Occurred()) SWIG_fail
;
23841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
23864 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23865 PyObject
*resultobj
;
23866 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23867 PyObject
*arg2
= (PyObject
*) 0 ;
23868 PyObject
*arg3
= (PyObject
*) 0 ;
23869 PyObject
* obj0
= 0 ;
23870 PyObject
* obj1
= 0 ;
23871 PyObject
* obj2
= 0 ;
23872 char *kwnames
[] = {
23873 (char *) "self",(char *) "self",(char *) "_class", NULL
23876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23883 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23885 wxPyEndAllowThreads(__tstate
);
23886 if (PyErr_Occurred()) SWIG_fail
;
23888 Py_INCREF(Py_None
); resultobj
= Py_None
;
23895 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23896 PyObject
*resultobj
;
23897 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23898 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23899 PyObject
* obj0
= 0 ;
23900 PyObject
* obj1
= 0 ;
23901 char *kwnames
[] = {
23902 (char *) "self",(char *) "canvas", NULL
23905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23908 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23912 (arg1
)->SetPreviewCanvas(arg2
);
23914 wxPyEndAllowThreads(__tstate
);
23915 if (PyErr_Occurred()) SWIG_fail
;
23917 Py_INCREF(Py_None
); resultobj
= Py_None
;
23924 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23925 PyObject
*resultobj
;
23926 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23927 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
23928 PyObject
* obj0
= 0 ;
23929 PyObject
* obj1
= 0 ;
23930 char *kwnames
[] = {
23931 (char *) "self",(char *) "bar", NULL
23934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
23935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23937 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
23938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23941 (arg1
)->SetControlBar(arg2
);
23943 wxPyEndAllowThreads(__tstate
);
23944 if (PyErr_Occurred()) SWIG_fail
;
23946 Py_INCREF(Py_None
); resultobj
= Py_None
;
23953 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23954 PyObject
*resultobj
;
23955 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23956 PyObject
* obj0
= 0 ;
23957 char *kwnames
[] = {
23958 (char *) "self", NULL
23961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
23962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23966 (arg1
)->base_Initialize();
23968 wxPyEndAllowThreads(__tstate
);
23969 if (PyErr_Occurred()) SWIG_fail
;
23971 Py_INCREF(Py_None
); resultobj
= Py_None
;
23978 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23979 PyObject
*resultobj
;
23980 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23981 PyObject
* obj0
= 0 ;
23982 char *kwnames
[] = {
23983 (char *) "self", NULL
23986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
23987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23991 (arg1
)->base_CreateCanvas();
23993 wxPyEndAllowThreads(__tstate
);
23994 if (PyErr_Occurred()) SWIG_fail
;
23996 Py_INCREF(Py_None
); resultobj
= Py_None
;
24003 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24004 PyObject
*resultobj
;
24005 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24006 PyObject
* obj0
= 0 ;
24007 char *kwnames
[] = {
24008 (char *) "self", NULL
24011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
24012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24016 (arg1
)->base_CreateControlBar();
24018 wxPyEndAllowThreads(__tstate
);
24019 if (PyErr_Occurred()) SWIG_fail
;
24021 Py_INCREF(Py_None
); resultobj
= Py_None
;
24028 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
24030 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24031 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
24033 return Py_BuildValue((char *)"");
24035 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24036 PyObject
*resultobj
;
24037 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24039 wxWindow
*arg3
= (wxWindow
*) 0 ;
24040 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24041 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24042 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24043 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24044 long arg6
= (long) 0 ;
24045 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24046 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24047 wxPyPreviewControlBar
*result
;
24050 bool temp7
= False
;
24051 PyObject
* obj0
= 0 ;
24052 PyObject
* obj1
= 0 ;
24053 PyObject
* obj2
= 0 ;
24054 PyObject
* obj3
= 0 ;
24055 PyObject
* obj4
= 0 ;
24056 PyObject
* obj5
= 0 ;
24057 PyObject
* obj6
= 0 ;
24058 char *kwnames
[] = {
24059 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24065 arg2
= (long) SWIG_AsLong(obj1
);
24066 if (PyErr_Occurred()) SWIG_fail
;
24067 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
24068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24072 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24078 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24082 arg6
= (long) SWIG_AsLong(obj5
);
24083 if (PyErr_Occurred()) SWIG_fail
;
24087 arg7
= wxString_in_helper(obj6
);
24088 if (arg7
== NULL
) SWIG_fail
;
24093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24094 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24096 wxPyEndAllowThreads(__tstate
);
24097 if (PyErr_Occurred()) SWIG_fail
;
24099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
24114 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24115 PyObject
*resultobj
;
24116 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24117 PyObject
*arg2
= (PyObject
*) 0 ;
24118 PyObject
*arg3
= (PyObject
*) 0 ;
24119 PyObject
* obj0
= 0 ;
24120 PyObject
* obj1
= 0 ;
24121 PyObject
* obj2
= 0 ;
24122 char *kwnames
[] = {
24123 (char *) "self",(char *) "self",(char *) "_class", NULL
24126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24133 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24135 wxPyEndAllowThreads(__tstate
);
24136 if (PyErr_Occurred()) SWIG_fail
;
24138 Py_INCREF(Py_None
); resultobj
= Py_None
;
24145 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24146 PyObject
*resultobj
;
24147 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24148 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
24149 PyObject
* obj0
= 0 ;
24150 PyObject
* obj1
= 0 ;
24151 char *kwnames
[] = {
24152 (char *) "self",(char *) "preview", NULL
24155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24158 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
24159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24162 (arg1
)->SetPrintPreview(arg2
);
24164 wxPyEndAllowThreads(__tstate
);
24165 if (PyErr_Occurred()) SWIG_fail
;
24167 Py_INCREF(Py_None
); resultobj
= Py_None
;
24174 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24175 PyObject
*resultobj
;
24176 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24177 PyObject
* obj0
= 0 ;
24178 char *kwnames
[] = {
24179 (char *) "self", NULL
24182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
24183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24187 (arg1
)->base_CreateButtons();
24189 wxPyEndAllowThreads(__tstate
);
24190 if (PyErr_Occurred()) SWIG_fail
;
24192 Py_INCREF(Py_None
); resultobj
= Py_None
;
24199 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24200 PyObject
*resultobj
;
24201 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24203 PyObject
* obj0
= 0 ;
24204 PyObject
* obj1
= 0 ;
24205 char *kwnames
[] = {
24206 (char *) "self",(char *) "zoom", NULL
24209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
24210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24212 arg2
= (int) SWIG_AsInt(obj1
);
24213 if (PyErr_Occurred()) SWIG_fail
;
24215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24216 (arg1
)->base_SetZoomControl(arg2
);
24218 wxPyEndAllowThreads(__tstate
);
24219 if (PyErr_Occurred()) SWIG_fail
;
24221 Py_INCREF(Py_None
); resultobj
= Py_None
;
24228 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
24230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24231 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
24233 return Py_BuildValue((char *)"");
24235 static PyMethodDef SwigMethods
[] = {
24236 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
24237 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
24238 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
24239 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24240 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
24241 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24242 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24243 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24244 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24245 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
24246 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24247 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24248 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
24249 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
24250 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
24251 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
24252 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
24253 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24254 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24255 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
24256 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
24257 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24258 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
24259 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24260 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24261 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
24262 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24263 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24264 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
24265 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
24266 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
24267 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24268 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24269 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
24270 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24271 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24272 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24273 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24274 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
24275 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
24276 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
24277 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
24278 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24279 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
24280 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
24281 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24282 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24283 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
24284 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24285 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24286 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24287 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24288 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24289 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24290 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24291 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24292 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24293 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24294 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24295 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24296 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
24297 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
24298 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
24299 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
24300 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
24301 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
24302 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24303 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24304 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
24305 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
24306 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
24307 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24308 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
24309 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
},
24310 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
24311 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24312 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24313 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24314 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
24315 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
24316 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24317 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24318 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
24319 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
24320 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
24321 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24322 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
24323 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
24324 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24325 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24326 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
24327 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24328 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24329 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24330 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24331 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24332 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24333 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24334 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
24335 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
24336 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
24337 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
24338 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
24339 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24340 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24341 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24342 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
24343 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
24344 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24345 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24346 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24347 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
24348 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
24349 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
24350 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
24351 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
},
24352 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
24353 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24354 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24355 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24356 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24357 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24358 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24359 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24360 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24361 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24362 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24363 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24364 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24365 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
24366 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
24367 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24368 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24369 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
24370 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
24371 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
24372 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
24373 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24374 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24375 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24376 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24377 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24378 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
24379 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
24380 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
24381 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24382 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24383 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24384 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24385 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24386 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24387 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24388 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24389 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24390 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24391 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24392 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24393 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24394 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24395 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
24396 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
24397 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24398 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24399 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24400 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24401 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24402 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24403 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
24404 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
24405 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24406 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24407 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24408 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24409 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
24410 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
24411 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24412 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24413 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24414 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24415 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
24416 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
24417 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24418 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24419 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
24420 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
24421 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
24422 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24423 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24424 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24425 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24426 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24427 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24428 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
24429 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24430 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
24431 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24432 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24433 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
24434 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
24435 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24436 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
24437 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24438 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24439 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24440 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
24441 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
24442 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24443 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24444 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24445 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
24446 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
24447 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
24448 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
24449 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
24450 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
24451 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
24452 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24453 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24454 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24455 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24456 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24457 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
24458 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
24459 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
24460 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
24461 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
24462 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
24463 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
24464 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
24465 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24466 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24467 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24468 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
24469 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
24470 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
24471 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
24472 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24473 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
24474 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24475 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
24476 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24477 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
24478 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
24479 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
24480 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
24481 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
24482 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
24483 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
24484 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24485 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
24486 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24487 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
24488 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
24489 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
24490 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
24491 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
24492 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
24493 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
24494 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
24495 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
24496 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
24497 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
24498 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24499 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
24500 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
24501 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24502 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
24503 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
24504 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
24505 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24506 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
24507 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24508 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
24509 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
24510 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
24511 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
24512 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
24513 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
24514 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
24515 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
24516 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24517 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
24518 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
24519 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24520 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
24521 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
24522 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
24523 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
24524 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
24525 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
24526 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
24527 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24528 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24529 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24530 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
24531 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
24532 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
24533 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24534 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
24535 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
24536 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24537 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
24538 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24539 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
24540 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24541 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
24542 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
24543 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24544 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
24545 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24546 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
24547 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
24548 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
24549 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
24550 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24551 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
24552 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
24553 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
24554 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24555 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24556 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
24557 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24558 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
24559 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
24560 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
24561 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
24562 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
24563 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
24564 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
24565 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
24566 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
24567 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24568 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
24569 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
24570 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
24571 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
24572 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
24573 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
24574 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24575 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
24576 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
24577 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
24578 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
24579 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
24580 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
24581 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
24582 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
24583 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
24584 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
24585 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
24586 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
24587 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
24588 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
24589 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24590 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24591 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24592 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
24593 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24594 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24595 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24596 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
24597 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
24598 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
24599 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24600 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24601 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24602 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24603 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24604 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24605 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
24606 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24607 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24608 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
24609 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
24610 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
24611 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
24612 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
24613 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
24614 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24615 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
24616 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
24617 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
24618 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
24619 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
24620 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24621 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24622 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
24623 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
24624 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
24625 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
24626 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24627 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
24628 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24629 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24630 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
24631 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24632 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24633 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24634 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
24635 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
24636 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
},
24637 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24638 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24639 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24640 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24641 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24642 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24643 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24644 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24645 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24646 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24647 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24648 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24649 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24650 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24651 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24652 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24653 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24654 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24655 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24656 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24657 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24658 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
24659 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
24660 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
},
24661 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24662 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24663 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24664 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24665 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24666 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24667 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24668 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24669 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24670 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24671 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24672 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24673 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24674 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24675 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24676 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24677 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24678 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24679 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24680 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24681 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24682 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
24683 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24684 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24685 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24686 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24687 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24688 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24689 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24690 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24691 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24692 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24693 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24694 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24695 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24696 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24697 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24698 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24699 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24700 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24701 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24702 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24703 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24704 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24705 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24706 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
},
24707 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
24708 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
24709 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24710 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24711 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24712 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24713 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
24714 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24715 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
24716 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24717 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24718 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
24719 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24720 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24721 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24722 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
24723 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24724 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
24725 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24726 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24727 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
24728 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
24729 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
24730 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
24731 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24732 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
24733 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24734 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24735 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
24736 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
24737 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
24738 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
24739 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
24740 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
24741 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24742 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
24743 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24744 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24745 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
24746 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
24747 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
24748 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
24749 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
24750 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
24751 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
24752 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
24753 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24754 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24755 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24756 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
24757 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24758 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
24759 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
24760 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
24761 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
24762 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24763 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
24764 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
24765 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24766 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
24767 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24768 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24769 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24770 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24771 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24772 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24773 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24774 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24775 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
24776 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
24777 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24778 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24779 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24780 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24781 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24782 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24783 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24784 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
24785 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
24786 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
24787 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24788 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
24789 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
},
24790 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24791 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
24792 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
24793 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
24794 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
24795 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24796 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
24797 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24798 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24799 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24800 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
24801 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
24802 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
24803 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
24804 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
24805 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24806 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
24807 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24808 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24809 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24810 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
24811 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24812 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
24813 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
24814 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24815 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24816 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
24817 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
24818 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24819 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24820 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24821 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24822 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
24823 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
24824 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24825 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
24826 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24827 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
24828 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
24829 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
24830 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
24831 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24832 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
24833 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
24834 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
24835 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
24836 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
24837 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
24838 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
24839 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
24840 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24841 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24842 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
24843 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
24844 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
24845 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
24846 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
24847 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
24848 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
24849 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
24850 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
24851 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
24852 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
24853 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
24854 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
24855 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
24856 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
24857 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
24858 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
24859 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
24860 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
24861 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
24862 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24863 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
24864 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
24865 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24866 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24867 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24868 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24869 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
24870 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24871 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
24872 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
24873 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
24874 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
24875 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
24876 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
24877 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
24878 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
24879 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
24880 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
},
24881 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
24882 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
24883 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
24884 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
24885 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
24886 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
24887 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24888 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
24889 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24890 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
24891 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
24892 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
24893 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24894 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24895 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
24896 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
24897 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
24898 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
24899 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24900 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
24901 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
24902 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
24903 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
24904 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
},
24905 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24906 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
24907 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
24908 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
24909 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
24910 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
24911 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
24912 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
24913 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
24914 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
24915 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24916 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24917 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24918 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24919 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24920 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24921 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
24922 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24923 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24924 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
24925 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
24926 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
24927 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
24932 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
24934 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
24935 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24937 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
24938 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
24940 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
24941 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
24943 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
24944 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
24946 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
24947 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
24949 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
24950 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
24952 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
24953 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
24955 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
24956 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
24958 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
24959 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
24961 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
24962 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
24964 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
24965 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
24967 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
24968 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
24970 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
24971 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
24973 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
24974 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
24976 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
24977 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
24979 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
24980 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
24982 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
24983 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
24985 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
24986 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
24988 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
24989 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
24991 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
24992 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
24994 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
24995 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
24997 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
24998 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25000 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25001 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25003 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25004 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25006 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25007 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25009 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25010 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25012 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25013 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25015 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25016 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25018 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25019 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25021 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25022 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25024 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25025 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25027 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25028 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25030 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
25031 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
25033 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
25034 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25036 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25037 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25039 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25040 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25042 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25043 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25045 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25046 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25048 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25049 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25051 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25052 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25054 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25055 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25057 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
25058 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25060 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
25061 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25063 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
25064 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25066 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
25067 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25069 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
25070 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25072 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25073 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25075 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25076 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25078 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25079 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25081 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25082 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25084 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
25085 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25087 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
25088 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25090 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
25091 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25093 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
25094 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25096 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
25097 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25099 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
25100 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25102 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
25103 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25105 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
25106 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
25108 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
25109 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
25111 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
25112 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25114 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
25115 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25117 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
25118 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25120 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
25121 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
25123 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
25124 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25126 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
25127 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
25129 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
25130 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
25132 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
25133 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
25135 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25136 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25138 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
25139 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25141 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
25142 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
25144 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
25145 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
25147 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
25148 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25150 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25151 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25153 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
25154 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25156 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
25157 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25159 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
25160 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25162 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25163 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25165 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25166 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25168 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
25169 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
25171 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
25172 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25174 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
25175 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25177 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
25178 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25180 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25181 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25183 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25184 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25186 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
25187 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25189 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
25190 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25192 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
25193 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25195 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
25196 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25198 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
25199 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25201 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
25202 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25204 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
25205 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25207 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
25208 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25210 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
25211 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25213 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
25214 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25216 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
25217 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
25219 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
25220 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
25222 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
25223 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
25225 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
25226 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25228 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
25229 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
25231 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
25232 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
25234 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
25235 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
25237 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25238 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25240 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
25241 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25243 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
25244 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25246 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
25247 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25249 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25250 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25252 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25253 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25255 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25256 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25258 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25259 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25261 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25262 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25264 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25265 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25267 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25268 return (void *)((wxObject
*) ((wxSizer
*) x
));
25270 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25271 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25273 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25274 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25276 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
25277 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25279 static void *_p_wxEventTo_p_wxObject(void *x
) {
25280 return (void *)((wxObject
*) ((wxEvent
*) x
));
25282 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
25283 return (void *)((wxObject
*) ((wxFontData
*) x
));
25285 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
25286 return (void *)((wxObject
*) ((wxPrintData
*) x
));
25288 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25289 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25291 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25292 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25294 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25295 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25297 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
25298 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
25300 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
25301 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25303 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
25304 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25306 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25307 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25309 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25310 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25312 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25313 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25315 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25316 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25318 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25319 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25321 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25322 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25324 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
25325 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25327 static void *_p_wxControlTo_p_wxObject(void *x
) {
25328 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25330 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25331 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25333 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
25334 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25336 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25337 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25339 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
25340 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
25342 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25343 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25345 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
25346 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25348 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
25349 return (void *)((wxObject
*) ((wxColourData
*) x
));
25351 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25352 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25354 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25355 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25357 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
25358 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
25360 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
25361 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25363 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
25364 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25366 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
25367 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25369 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
25370 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25372 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
25373 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25375 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
25376 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25378 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
25379 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25381 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
25382 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25384 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25385 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25387 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
25388 return (void *)((wxObject
*) ((wxPrinter
*) x
));
25390 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25391 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25393 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25394 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25396 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25397 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25399 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25400 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25402 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25403 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25405 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25406 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25408 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25409 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25411 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25412 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25414 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25415 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25417 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25418 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25420 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25421 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25423 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25424 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25426 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25427 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25429 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25430 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25432 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25433 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25435 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25436 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25438 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25439 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25441 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25442 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25444 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25445 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25447 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25448 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25450 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25451 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25453 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25454 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25456 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
25457 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25459 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
25460 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25462 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
25463 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25465 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25466 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25468 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
25469 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25471 static void *_p_wxImageTo_p_wxObject(void *x
) {
25472 return (void *)((wxObject
*) ((wxImage
*) x
));
25474 static void *_p_wxFrameTo_p_wxObject(void *x
) {
25475 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25477 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
25478 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
25480 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25481 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
25483 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
25484 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25486 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
25487 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
25489 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
25490 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25492 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
25493 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25495 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
25496 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25498 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
25499 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
25501 static void *_p_wxWindowTo_p_wxObject(void *x
) {
25502 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
25504 static void *_p_wxMenuTo_p_wxObject(void *x
) {
25505 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
25507 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
25508 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
25510 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
25511 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25513 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
25514 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
25516 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
25517 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
25519 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
25520 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
25522 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
25523 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
25525 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
25526 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25528 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
25529 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
25531 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
25532 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25534 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
25535 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25537 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
25538 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25540 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
25541 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
25543 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
25544 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25546 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
25547 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
25549 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
25550 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
25552 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
25553 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
25555 static void *_p_wxPanelTo_p_wxObject(void *x
) {
25556 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
25558 static void *_p_wxDialogTo_p_wxObject(void *x
) {
25559 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25561 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
25562 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25564 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
25565 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25567 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
25568 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25570 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
25571 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25573 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
25574 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25576 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
25577 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
25579 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
25580 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25582 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
25583 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
25585 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
25586 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
25588 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
25589 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
25591 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
25592 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
25594 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
25595 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
25597 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
25598 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25600 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
25601 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
25603 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
25604 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25606 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
25607 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25609 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
25610 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
25612 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
25613 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
25615 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
25616 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25618 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
25619 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25621 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
25622 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
25624 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
25625 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
25627 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
25628 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
25630 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
25631 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
25633 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
25634 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25636 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
25637 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25639 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
25640 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25642 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
25643 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25645 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
25646 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25648 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
25649 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25651 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
25652 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
25654 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
25655 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
25657 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
25658 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
25660 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
25661 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
25663 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
25664 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
25666 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
25667 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
25669 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
25670 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
25672 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
25673 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
25675 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
25676 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
25678 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
25679 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
25681 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
25682 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
25684 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
25685 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
25687 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
25688 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
25690 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
25691 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
25693 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
25694 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
25696 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
25697 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25699 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
25700 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25702 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
25703 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
25705 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
25706 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
25708 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
25709 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25711 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
25712 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25714 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
25715 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25717 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
25718 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
25720 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
25721 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
25723 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
25724 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25726 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
25727 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25729 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
25730 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25732 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
25733 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25735 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
25736 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25738 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
25739 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25741 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
25742 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25744 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
25745 return (void *)((wxWindow
*) ((wxPanel
*) x
));
25747 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
25748 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
25750 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
25751 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
25753 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
25754 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25756 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
25757 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25759 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
25760 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25762 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
25763 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
25765 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
25766 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25768 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
25769 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
25771 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
25772 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
25774 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
25775 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
25777 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
25778 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
25780 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
25781 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
25783 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
25784 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25786 static void *_p_wxControlTo_p_wxWindow(void *x
) {
25787 return (void *)((wxWindow
*) ((wxControl
*) x
));
25789 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
25790 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25792 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
25793 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25795 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
25796 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25798 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
25799 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
25801 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
25802 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
25804 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
25805 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25807 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
25808 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25810 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
25811 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25813 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
25814 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
25816 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
25817 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25819 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
25820 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
25822 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
25823 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25825 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
25826 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25828 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
25829 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25831 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
25832 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
25834 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
25835 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25837 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
25838 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25840 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
25841 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25843 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
25844 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25846 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
25847 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25849 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
25850 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
25852 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
25853 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
25855 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
25856 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
25858 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
25859 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
25861 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
25862 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
25864 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
25865 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
25867 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
25868 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
25870 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
25871 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25873 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
25874 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25876 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
25877 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
25879 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
25880 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
25882 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
25883 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
25885 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
25886 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
25888 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
25889 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25891 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
25892 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25894 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
25895 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25897 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
25898 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25900 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
25901 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
25903 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
25904 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25906 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
25907 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
25909 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
25910 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25912 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
25913 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25915 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
25916 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
25918 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
25919 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25921 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
25922 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25924 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
25925 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25927 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
25928 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25930 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
25931 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25933 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
25934 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25936 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
25937 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25939 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
25940 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25942 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
25943 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
25945 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
25946 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25948 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}};
25949 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}};
25950 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}};
25951 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}};
25952 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}};
25953 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}};
25954 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}};
25955 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}};
25956 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}};
25957 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}};
25958 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}};
25959 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}};
25960 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}};
25961 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}};
25962 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}};
25963 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}};
25964 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}};
25965 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}};
25966 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}};
25967 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}};
25968 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}};
25969 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}};
25970 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}};
25971 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}};
25972 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}};
25973 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}};
25974 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}};
25975 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}};
25976 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}};
25977 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}};
25978 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}};
25979 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}};
25980 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}};
25981 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}};
25982 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}};
25983 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_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_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_wxDialog", _p_wxDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25984 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}};
25985 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}};
25986 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}};
25987 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}};
25988 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}};
25989 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}};
25990 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}};
25991 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}};
25992 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}};
25993 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}};
25994 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}};
25995 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}};
25996 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}};
25997 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_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_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}};
25998 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}};
25999 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}};
26000 static swig_type_info _swigt__p_wxPyScrolledWindow
[] = {{"_p_wxPyScrolledWindow", 0, "wxPyScrolledWindow *", 0, 0, 0, 0},{"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26001 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}};
26002 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}};
26003 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}};
26004 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}};
26005 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}};
26006 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}};
26007 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}};
26008 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}};
26009 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}};
26010 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_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_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_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26011 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26012 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}};
26013 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}};
26014 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}};
26015 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}};
26016 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}};
26017 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}};
26018 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}};
26019 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}};
26020 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}};
26021 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}};
26022 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_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_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}};
26023 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}};
26024 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}};
26025 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}};
26026 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}};
26027 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}};
26028 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}};
26029 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}};
26030 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}};
26031 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}};
26032 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}};
26034 static swig_type_info
*swig_types_initial
[] = {
26035 _swigt__p_wxQueryLayoutInfoEvent
,
26036 _swigt__p_wxPreviewFrame
,
26037 _swigt__p_wxPyPreviewFrame
,
26038 _swigt__p_wxPyPanel
,
26040 _swigt__p_wxPrintData
,
26041 _swigt__p_wxFontData
,
26043 _swigt__p_wxTaskBarIcon
,
26044 _swigt__p_wxIconBundle
,
26045 _swigt__p_wxLayoutAlgorithm
,
26046 _swigt__p_wxFindDialogEvent
,
26047 _swigt__p_wxPreviewCanvas
,
26049 _swigt__p_wxSplitterEvent
,
26050 _swigt__p_wxRegion
,
26051 _swigt__p_wxFindReplaceData
,
26056 _swigt__p_wxMDIChildFrame
,
26057 _swigt__p_wxColourData
,
26058 _swigt__p_wxNotifyEvent
,
26059 _swigt__p_wxPyWindow
,
26060 _swigt__p_wxSplashScreen
,
26061 _swigt__p_wxFindReplaceDialog
,
26062 _swigt__p_wxProgressDialog
,
26063 _swigt__p_wxMessageDialog
,
26064 _swigt__p_wxTextEntryDialog
,
26065 _swigt__p_wxSingleChoiceDialog
,
26066 _swigt__p_wxMultiChoiceDialog
,
26067 _swigt__p_wxFileDialog
,
26068 _swigt__p_wxPrinter
,
26069 _swigt__p_wxArrayInt
,
26070 _swigt__p_wxEvtHandler
,
26071 _swigt__p_wxCalculateLayoutEvent
,
26072 _swigt__p_wxPyHtmlListBox
,
26073 _swigt__p_wxPyVListBox
,
26076 _swigt__p_wxMiniFrame
,
26078 _swigt__p_wxPyPrintout
,
26079 _swigt__p_wxTaskBarIconEvent
,
26080 _swigt__p_wxScrollWinEvent
,
26081 _swigt__p_wxStatusBar
,
26082 _swigt__p_wxMDIParentFrame
,
26084 _swigt__p_wxObject
,
26085 _swigt__p_wxOutputStream
,
26086 _swigt__p_unsigned_long
,
26087 _swigt__p_wxPyScrolledWindow
,
26088 _swigt__p_wxMDIClientWindow
,
26089 _swigt__p_wxTipWindow
,
26090 _swigt__p_wxSashLayoutWindow
,
26091 _swigt__p_wxSplitterWindow
,
26092 _swigt__p_wxPyVScrolledWindow
,
26093 _swigt__p_wxPyPopupTransientWindow
,
26094 _swigt__p_wxPopupWindow
,
26095 _swigt__p_wxSashWindow
,
26096 _swigt__p_wxTopLevelWindow
,
26097 _swigt__p_wxWindow
,
26098 _swigt__p_wxScrolledWindow
,
26099 _swigt__p_wxSplashScreenWindow
,
26100 _swigt__p_wxMenuBar
,
26101 _swigt__p_wxPrintPreview
,
26102 _swigt__p_wxSashEvent
,
26103 _swigt__p_wxString
,
26104 _swigt__p_wxPyPrintPreview
,
26105 _swigt__p_wxFontDialog
,
26106 _swigt__p_wxDirDialog
,
26107 _swigt__p_wxColourDialog
,
26108 _swigt__p_wxDialog
,
26110 _swigt__p_wxPageSetupDialog
,
26111 _swigt__p_wxPrintDialog
,
26112 _swigt__p_wxBitmap
,
26113 _swigt__p_wxCommandEvent
,
26114 _swigt__p_wxPreviewControlBar
,
26115 _swigt__p_wxPyPreviewControlBar
,
26116 _swigt__p_wxColour
,
26117 _swigt__p_wxToolBar
,
26118 _swigt__p_wxPageSetupDialogData
,
26119 _swigt__p_wxPrintDialogData
,
26124 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26126 static swig_const_info swig_const_table
[] = {
26136 SWIGEXPORT(void) SWIG_init(void) {
26137 static PyObject
*SWIG_globals
= 0;
26138 static int typeinit
= 0;
26141 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26142 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26143 d
= PyModule_GetDict(m
);
26146 for (i
= 0; swig_types_initial
[i
]; i
++) {
26147 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26151 SWIG_InstallConstants(d
,swig_const_table
);
26153 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26154 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
26155 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
26156 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
26157 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
26158 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
26159 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
26160 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
26161 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
26162 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
26163 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
26164 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
26165 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
26166 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
26167 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
26168 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
26169 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
26170 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
26171 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
26172 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
26173 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
26174 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
26175 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
26176 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
26177 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
26178 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
26179 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
26180 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
26181 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
26182 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
26183 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
26184 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
26185 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
26186 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
26187 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
26188 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
26189 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
26190 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
26191 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
26192 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
26193 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
26194 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
26195 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
26196 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
26197 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
26198 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
26199 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
26200 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
26201 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
26202 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
26203 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
26204 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
26205 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
26206 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
26207 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
26208 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
26209 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
26210 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
26211 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
26212 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
26213 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
26214 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
26215 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
26216 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
26217 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
26218 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
26219 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
26220 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
26222 // Map renamed classes back to their common name for OOR
26223 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26224 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26225 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26227 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
26228 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
26229 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
26230 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
26231 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
26232 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
26233 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
26234 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
26235 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
26236 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
26237 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
26238 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
26239 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
26240 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
26241 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
26242 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
26243 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
26244 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
26245 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
26246 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
26247 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
26248 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
26249 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
26250 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
26251 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
26252 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
26253 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26254 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26255 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26256 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26257 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26258 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26259 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26260 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26261 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
26262 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
26263 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
26264 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
26265 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
26266 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
26267 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
26268 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
26269 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
26270 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
26271 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
26272 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
26273 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
26274 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
26275 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
26276 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
26277 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
26278 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
26279 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
26280 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
26281 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
26282 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
26283 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
26284 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
26285 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
26286 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
26288 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");